0s autopkgtest [01:01:35]: starting date and time: 2024-03-14 01:01:35+0000 0s autopkgtest [01:01:35]: git checkout: b506e79c ssh-setup/nova: fix ARCH having two lines of data 0s autopkgtest [01:01:35]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.4vgd2pnw/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:glib2.0,src:elfutils --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos01-ppc64el-11.secgroup --name adt-noble-ppc64el-glib2.0-20240314-010135-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/ 107s autopkgtest [01:03:22]: testbed dpkg architecture: ppc64el 107s autopkgtest [01:03:22]: testbed apt version: 2.7.12 107s autopkgtest [01:03:22]: @@@@@@@@@@@@@@@@@@@@ test bed setup 108s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 108s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [2818 kB] 109s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [4812 B] 109s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [45.5 kB] 109s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [449 kB] 109s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el Packages [596 kB] 109s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el c-n-f Metadata [3116 B] 109s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted ppc64el Packages [1372 B] 109s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted ppc64el c-n-f Metadata [116 B] 109s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el Packages [3177 kB] 109s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el c-n-f Metadata [8652 B] 109s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse ppc64el Packages [41.2 kB] 109s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse ppc64el c-n-f Metadata [116 B] 112s Fetched 7261 kB in 2s (3851 kB/s) 112s Reading package lists... 114s Reading package lists... 115s Building dependency tree... 115s Reading state information... 115s Calculating upgrade... 115s The following packages will be REMOVED: 115s libglib2.0-0 115s The following NEW packages will be installed: 115s libglib2.0-0t64 xdg-user-dirs 115s The following packages will be upgraded: 115s gir1.2-glib-2.0 libglib2.0-data 115s 2 upgraded, 2 newly installed, 1 to remove and 0 not upgraded. 115s Need to get 2022 kB of archives. 115s After this operation, 204 kB of additional disk space will be used. 115s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el gir1.2-glib-2.0 ppc64el 2.79.3-3ubuntu5 [182 kB] 115s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libglib2.0-0t64 ppc64el 2.79.3-3ubuntu5 [1773 kB] 116s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libglib2.0-data all 2.79.3-3ubuntu5 [46.6 kB] 116s Get:4 http://ftpmaster.internal/ubuntu noble/main ppc64el xdg-user-dirs ppc64el 0.18-1 [20.0 kB] 116s Fetched 2022 kB in 1s (2986 kB/s) 116s (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 ... 70096 files and directories currently installed.) 116s Preparing to unpack .../gir1.2-glib-2.0_2.79.3-3ubuntu5_ppc64el.deb ... 116s Unpacking gir1.2-glib-2.0:ppc64el (2.79.3-3ubuntu5) over (2.79.2-1~ubuntu1) ... 116s dpkg: libglib2.0-0:ppc64el: dependency problems, but removing anyway as you requested: 116s udisks2 depends on libglib2.0-0 (>= 2.77.0). 116s shared-mime-info depends on libglib2.0-0 (>= 2.75.3). 116s python3-gi depends on libglib2.0-0 (>= 2.77.0). 116s python3-dbus depends on libglib2.0-0 (>= 2.16.0). 116s netplan.io depends on libglib2.0-0 (>= 2.70.0). 116s netplan-generator depends on libglib2.0-0 (>= 2.70.0). 116s libxmlb2:ppc64el depends on libglib2.0-0 (>= 2.54.0). 116s libvolume-key1:ppc64el depends on libglib2.0-0 (>= 2.18.0). 116s libudisks2-0:ppc64el depends on libglib2.0-0 (>= 2.75.3). 116s libqrtr-glib0:ppc64el depends on libglib2.0-0 (>= 2.56). 116s libqmi-proxy depends on libglib2.0-0 (>= 2.30.0). 116s libqmi-glib5:ppc64el depends on libglib2.0-0 (>= 2.54.0). 116s libpolkit-gobject-1-0:ppc64el depends on libglib2.0-0 (>= 2.38.0). 116s libpolkit-agent-1-0:ppc64el depends on libglib2.0-0 (>= 2.38.0). 116s libnetplan0:ppc64el depends on libglib2.0-0 (>= 2.75.3). 116s libmm-glib0:ppc64el depends on libglib2.0-0 (>= 2.62.0). 116s libmbim-proxy depends on libglib2.0-0 (>= 2.56). 116s libmbim-glib4:ppc64el depends on libglib2.0-0 (>= 2.56). 116s libjson-glib-1.0-0:ppc64el depends on libglib2.0-0 (>= 2.75.3). 116s libjcat1:ppc64el depends on libglib2.0-0 (>= 2.75.3). 116s libgusb2:ppc64el depends on libglib2.0-0 (>= 2.75.3). 116s libgudev-1.0-0:ppc64el depends on libglib2.0-0 (>= 2.38.0). 116s libgirepository-1.0-1:ppc64el depends on libglib2.0-0 (>= 2.79.0). 116s libfwupd2:ppc64el depends on libglib2.0-0 (>= 2.79.0). 116s libblockdev3:ppc64el depends on libglib2.0-0 (>= 2.42.2). 116s libblockdev-utils3:ppc64el depends on libglib2.0-0 (>= 2.75.3). 116s libblockdev-swap3:ppc64el depends on libglib2.0-0 (>= 2.42.2). 116s libblockdev-part3:ppc64el depends on libglib2.0-0 (>= 2.42.2). 116s libblockdev-nvme3:ppc64el depends on libglib2.0-0 (>= 2.42.2). 116s libblockdev-mdraid3:ppc64el depends on libglib2.0-0 (>= 2.42.2). 116s libblockdev-loop3:ppc64el depends on libglib2.0-0 (>= 2.42.2). 116s libblockdev-fs3:ppc64el depends on libglib2.0-0 (>= 2.42.2). 116s libblockdev-crypto3:ppc64el depends on libglib2.0-0 (>= 2.42.2). 116s fwupd depends on libglib2.0-0 (>= 2.79.0). 116s bolt depends on libglib2.0-0 (>= 2.56.0). 116s 116s (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 ... 70096 files and directories currently installed.) 116s Removing libglib2.0-0:ppc64el (2.79.2-1~ubuntu1) ... 116s Selecting previously unselected package libglib2.0-0t64:ppc64el. 116s (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 ... 70071 files and directories currently installed.) 116s Preparing to unpack .../libglib2.0-0t64_2.79.3-3ubuntu5_ppc64el.deb ... 116s 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... 116s removed '/var/lib/dpkg/info/libglib2.0-0:ppc64el.postrm' 116s Unpacking libglib2.0-0t64:ppc64el (2.79.3-3ubuntu5) ... 116s Preparing to unpack .../libglib2.0-data_2.79.3-3ubuntu5_all.deb ... 116s Unpacking libglib2.0-data (2.79.3-3ubuntu5) over (2.79.2-1~ubuntu1) ... 116s Selecting previously unselected package xdg-user-dirs. 116s Preparing to unpack .../xdg-user-dirs_0.18-1_ppc64el.deb ... 116s Unpacking xdg-user-dirs (0.18-1) ... 116s Setting up xdg-user-dirs (0.18-1) ... 116s Setting up libglib2.0-0t64:ppc64el (2.79.3-3ubuntu5) ... 116s No schema files found: doing nothing. 116s Setting up libglib2.0-data (2.79.3-3ubuntu5) ... 116s Setting up gir1.2-glib-2.0:ppc64el (2.79.3-3ubuntu5) ... 116s Processing triggers for man-db (2.12.0-3) ... 117s Processing triggers for libc-bin (2.39-0ubuntu2) ... 117s Reading package lists... 117s Building dependency tree... 117s Reading state information... 117s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 118s Hit:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease 118s Hit:2 http://ftpmaster.internal/ubuntu noble InRelease 118s Hit:3 http://ftpmaster.internal/ubuntu noble-updates InRelease 118s Hit:4 http://ftpmaster.internal/ubuntu noble-security InRelease 119s Reading package lists... 119s Reading package lists... 119s Building dependency tree... 119s Reading state information... 119s Calculating upgrade... 119s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 119s Reading package lists... 120s Building dependency tree... 120s Reading state information... 120s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 122s autopkgtest [01:03:37]: testbed running kernel: Linux 6.8.0-11-generic #11-Ubuntu SMP Wed Feb 14 00:33:03 UTC 2024 123s autopkgtest [01:03:38]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 130s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main glib2.0 2.79.3-3ubuntu5 (dsc) [4537 B] 130s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main glib2.0 2.79.3-3ubuntu5 (tar) [263 kB] 130s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main glib2.0 2.79.3-3ubuntu5 (tar) [5507 kB] 130s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main glib2.0 2.79.3-3ubuntu5 (diff) [129 kB] 130s gpgv: Signature made Mon Mar 11 01:27:21 2024 UTC 130s gpgv: using RSA key AC483F68DE728F43F2202FCA568D30F321B2133D 130s gpgv: issuer "steve.langasek@ubuntu.com" 130s gpgv: Can't check signature: No public key 130s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.79.3-3ubuntu5.dsc: no acceptable signature found 131s autopkgtest [01:03:46]: testing package glib2.0 version 2.79.3-3ubuntu5 134s autopkgtest [01:03:49]: build not needed 282s autopkgtest [01:06:17]: test build: preparing testbed 285s Reading package lists... 285s Building dependency tree... 285s Reading state information... 285s Starting pkgProblemResolver with broken count: 0 285s Starting 2 pkgProblemResolver with broken count: 0 285s Done 286s The following additional packages will be installed: 286s build-essential cpp cpp-13 cpp-13-powerpc64le-linux-gnu 286s cpp-powerpc64le-linux-gnu g++ g++-13 g++-13-powerpc64le-linux-gnu 286s g++-powerpc64le-linux-gnu gcc gcc-13 gcc-13-powerpc64le-linux-gnu 286s gcc-powerpc64le-linux-gnu libasan8 libatomic1 libblkid-dev libc-dev-bin 286s libc6-dev libcc1-0 libcrypt-dev libelf1t64 libffi-dev libgcc-13-dev 286s libgirepository-2.0-0 libglib2.0-bin libglib2.0-dev libglib2.0-dev-bin 286s libgomp1 libisl23 libitm1 liblsan0 libmount-dev libmpc3 libnsl-dev 286s libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 286s libquadmath0 libselinux1-dev libsepol-dev libstdc++-13-dev libtirpc-dev 286s libtsan2 libubsan1 linux-libc-dev pkgconf pkgconf-bin python3-packaging 286s rpcsvc-proto uuid-dev zlib1g-dev 286s Suggested packages: 286s cpp-doc gcc-13-locales cpp-13-doc gcc-13-doc gcc-multilib manpages-dev 286s autoconf automake libtool flex bison gdb gcc-doc gdb-powerpc64le-linux-gnu 286s glibc-doc gir1.2-glib-2.0-dev libglib2.0-doc libgdk-pixbuf2.0-bin 286s libxml2-utils libstdc++-13-doc 286s Recommended packages: 286s manpages manpages-dev libc-devtools 286s The following packages will be REMOVED: 286s libelf1 286s The following NEW packages will be installed: 286s autopkgtest-satdep build-essential cpp cpp-13 cpp-13-powerpc64le-linux-gnu 286s cpp-powerpc64le-linux-gnu g++ g++-13 g++-13-powerpc64le-linux-gnu 286s g++-powerpc64le-linux-gnu gcc gcc-13 gcc-13-powerpc64le-linux-gnu 286s gcc-powerpc64le-linux-gnu libasan8 libatomic1 libblkid-dev libc-dev-bin 286s libc6-dev libcc1-0 libcrypt-dev libelf1t64 libffi-dev libgcc-13-dev 286s libgirepository-2.0-0 libglib2.0-bin libglib2.0-dev libglib2.0-dev-bin 286s libgomp1 libisl23 libitm1 liblsan0 libmount-dev libmpc3 libnsl-dev 286s libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 286s libquadmath0 libselinux1-dev libsepol-dev libstdc++-13-dev libtirpc-dev 286s libtsan2 libubsan1 linux-libc-dev pkgconf pkgconf-bin python3-packaging 286s rpcsvc-proto uuid-dev zlib1g-dev 286s 0 upgraded, 54 newly installed, 1 to remove and 0 not upgraded. 286s Need to get 67.9 MB/67.9 MB of archives. 286s After this operation, 267 MB of additional disk space will be used. 286s Get:1 /tmp/autopkgtest.4l9LOF/1-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [724 B] 286s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libelf1t64 ppc64el 0.190-1.1build1 [69.3 kB] 286s Get:3 http://ftpmaster.internal/ubuntu noble/main ppc64el libc-dev-bin ppc64el 2.39-0ubuntu2 [21.3 kB] 286s Get:4 http://ftpmaster.internal/ubuntu noble/main ppc64el linux-libc-dev ppc64el 6.8.0-11.11 [1585 kB] 286s Get:5 http://ftpmaster.internal/ubuntu noble/main ppc64el libcrypt-dev ppc64el 1:4.4.36-4 [167 kB] 286s Get:6 http://ftpmaster.internal/ubuntu noble/main ppc64el libtirpc-dev ppc64el 1.3.4+ds-1build1 [262 kB] 286s Get:7 http://ftpmaster.internal/ubuntu noble/main ppc64el libnsl-dev ppc64el 1.3.0-3 [79.2 kB] 286s Get:8 http://ftpmaster.internal/ubuntu noble/main ppc64el rpcsvc-proto ppc64el 1.4.2-0ubuntu6 [82.3 kB] 286s Get:9 http://ftpmaster.internal/ubuntu noble/main ppc64el libc6-dev ppc64el 2.39-0ubuntu2 [2102 kB] 286s Get:10 http://ftpmaster.internal/ubuntu noble/main ppc64el libisl23 ppc64el 0.26-3 [864 kB] 286s Get:11 http://ftpmaster.internal/ubuntu noble/main ppc64el libmpc3 ppc64el 1.3.1-1 [61.2 kB] 286s Get:12 http://ftpmaster.internal/ubuntu noble/main ppc64el cpp-13-powerpc64le-linux-gnu ppc64el 13.2.0-17ubuntu2 [10.7 MB] 287s Get:13 http://ftpmaster.internal/ubuntu noble/main ppc64el cpp-13 ppc64el 13.2.0-17ubuntu2 [1038 B] 287s Get:14 http://ftpmaster.internal/ubuntu noble/main ppc64el cpp-powerpc64le-linux-gnu ppc64el 4:13.2.0-7ubuntu1 [5330 B] 287s Get:15 http://ftpmaster.internal/ubuntu noble/main ppc64el cpp ppc64el 4:13.2.0-7ubuntu1 [22.5 kB] 287s Get:16 http://ftpmaster.internal/ubuntu noble/main ppc64el libcc1-0 ppc64el 14-20240303-1ubuntu1 [48.1 kB] 287s Get:17 http://ftpmaster.internal/ubuntu noble/main ppc64el libgomp1 ppc64el 14-20240303-1ubuntu1 [161 kB] 287s Get:18 http://ftpmaster.internal/ubuntu noble/main ppc64el libitm1 ppc64el 14-20240303-1ubuntu1 [32.4 kB] 287s Get:19 http://ftpmaster.internal/ubuntu noble/main ppc64el libatomic1 ppc64el 14-20240303-1ubuntu1 [10.7 kB] 287s Get:20 http://ftpmaster.internal/ubuntu noble/main ppc64el libasan8 ppc64el 14-20240303-1ubuntu1 [2973 kB] 287s Get:21 http://ftpmaster.internal/ubuntu noble/main ppc64el liblsan0 ppc64el 14-20240303-1ubuntu1 [1325 kB] 287s Get:22 http://ftpmaster.internal/ubuntu noble/main ppc64el libtsan2 ppc64el 14-20240303-1ubuntu1 [2734 kB] 287s Get:23 http://ftpmaster.internal/ubuntu noble/main ppc64el libubsan1 ppc64el 14-20240303-1ubuntu1 [1194 kB] 287s Get:24 http://ftpmaster.internal/ubuntu noble/main ppc64el libquadmath0 ppc64el 14-20240303-1ubuntu1 [158 kB] 287s Get:25 http://ftpmaster.internal/ubuntu noble/main ppc64el libgcc-13-dev ppc64el 13.2.0-17ubuntu2 [1581 kB] 287s Get:26 http://ftpmaster.internal/ubuntu noble/main ppc64el gcc-13-powerpc64le-linux-gnu ppc64el 13.2.0-17ubuntu2 [20.6 MB] 288s Get:27 http://ftpmaster.internal/ubuntu noble/main ppc64el gcc-13 ppc64el 13.2.0-17ubuntu2 [477 kB] 288s Get:28 http://ftpmaster.internal/ubuntu noble/main ppc64el gcc-powerpc64le-linux-gnu ppc64el 4:13.2.0-7ubuntu1 [1224 B] 288s Get:29 http://ftpmaster.internal/ubuntu noble/main ppc64el gcc ppc64el 4:13.2.0-7ubuntu1 [5022 B] 288s Get:30 http://ftpmaster.internal/ubuntu noble/main ppc64el libstdc++-13-dev ppc64el 13.2.0-17ubuntu2 [2445 kB] 288s Get:31 http://ftpmaster.internal/ubuntu noble/main ppc64el g++-13-powerpc64le-linux-gnu ppc64el 13.2.0-17ubuntu2 [12.2 MB] 289s Get:32 http://ftpmaster.internal/ubuntu noble/main ppc64el g++-13 ppc64el 13.2.0-17ubuntu2 [14.5 kB] 289s Get:33 http://ftpmaster.internal/ubuntu noble/main ppc64el g++-powerpc64le-linux-gnu ppc64el 4:13.2.0-7ubuntu1 [968 B] 289s Get:34 http://ftpmaster.internal/ubuntu noble/main ppc64el g++ ppc64el 4:13.2.0-7ubuntu1 [1086 B] 289s Get:35 http://ftpmaster.internal/ubuntu noble/main ppc64el build-essential ppc64el 12.10ubuntu1 [4936 B] 289s Get:36 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libgirepository-2.0-0 ppc64el 2.79.3-3ubuntu5 [84.2 kB] 289s Get:37 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libglib2.0-bin ppc64el 2.79.3-3ubuntu5 [111 kB] 289s Get:38 http://ftpmaster.internal/ubuntu noble/main ppc64el libffi-dev ppc64el 3.4.6-1 [67.4 kB] 289s Get:39 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-packaging all 23.2-1 [40.6 kB] 289s Get:40 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libglib2.0-dev-bin ppc64el 2.79.3-3ubuntu5 [245 kB] 289s Get:41 http://ftpmaster.internal/ubuntu noble/main ppc64el uuid-dev ppc64el 2.39.3-6ubuntu2 [37.6 kB] 289s Get:42 http://ftpmaster.internal/ubuntu noble/main ppc64el libblkid-dev ppc64el 2.39.3-6ubuntu2 [260 kB] 289s Get:43 http://ftpmaster.internal/ubuntu noble/main ppc64el libsepol-dev ppc64el 3.5-2 [471 kB] 289s Get:44 http://ftpmaster.internal/ubuntu noble/main ppc64el libpcre2-16-0 ppc64el 10.42-4ubuntu1 [245 kB] 289s Get:45 http://ftpmaster.internal/ubuntu noble/main ppc64el libpcre2-32-0 ppc64el 10.42-4ubuntu1 [228 kB] 289s Get:46 http://ftpmaster.internal/ubuntu noble/main ppc64el libpcre2-posix3 ppc64el 10.42-4ubuntu1 [7016 B] 289s Get:47 http://ftpmaster.internal/ubuntu noble/main ppc64el libpcre2-dev ppc64el 10.42-4ubuntu1 [794 kB] 289s Get:48 http://ftpmaster.internal/ubuntu noble/main ppc64el libselinux1-dev ppc64el 3.5-2build1 [192 kB] 289s Get:49 http://ftpmaster.internal/ubuntu noble/main ppc64el libmount-dev ppc64el 2.39.3-6ubuntu2 [14.9 kB] 289s Get:50 http://ftpmaster.internal/ubuntu noble/main ppc64el libpkgconf3 ppc64el 1.8.1-2 [36.9 kB] 289s Get:51 http://ftpmaster.internal/ubuntu noble/main ppc64el pkgconf-bin ppc64el 1.8.1-2 [22.0 kB] 289s Get:52 http://ftpmaster.internal/ubuntu noble/main ppc64el pkgconf ppc64el 1.8.1-2 [16.7 kB] 289s Get:53 http://ftpmaster.internal/ubuntu noble/main ppc64el zlib1g-dev ppc64el 1:1.3.dfsg-3ubuntu1 [902 kB] 289s Get:54 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libglib2.0-dev ppc64el 2.79.3-3ubuntu5 [2147 kB] 289s Fetched 67.9 MB in 3s (20.3 MB/s) 289s dpkg: libelf1:ppc64el: dependency problems, but removing anyway as you requested: 289s linux-headers-6.8.0-11-generic depends on libelf1 (>= 0.144). 289s libbpf1:ppc64el depends on libelf1 (>= 0.144). 289s iproute2 depends on libelf1 (>= 0.131). 289s 289s (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 ... 70110 files and directories currently installed.) 289s Removing libelf1:ppc64el (0.190-1) ... 289s Selecting previously unselected package libelf1t64:ppc64el. 289s (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 ... 70105 files and directories currently installed.) 289s Preparing to unpack .../00-libelf1t64_0.190-1.1build1_ppc64el.deb ... 289s Unpacking libelf1t64:ppc64el (0.190-1.1build1) ... 289s Selecting previously unselected package libc-dev-bin. 289s Preparing to unpack .../01-libc-dev-bin_2.39-0ubuntu2_ppc64el.deb ... 289s Unpacking libc-dev-bin (2.39-0ubuntu2) ... 289s Selecting previously unselected package linux-libc-dev:ppc64el. 289s Preparing to unpack .../02-linux-libc-dev_6.8.0-11.11_ppc64el.deb ... 289s Unpacking linux-libc-dev:ppc64el (6.8.0-11.11) ... 289s Selecting previously unselected package libcrypt-dev:ppc64el. 289s Preparing to unpack .../03-libcrypt-dev_1%3a4.4.36-4_ppc64el.deb ... 289s Unpacking libcrypt-dev:ppc64el (1:4.4.36-4) ... 290s Selecting previously unselected package libtirpc-dev:ppc64el. 290s Preparing to unpack .../04-libtirpc-dev_1.3.4+ds-1build1_ppc64el.deb ... 290s Unpacking libtirpc-dev:ppc64el (1.3.4+ds-1build1) ... 290s Selecting previously unselected package libnsl-dev:ppc64el. 290s Preparing to unpack .../05-libnsl-dev_1.3.0-3_ppc64el.deb ... 290s Unpacking libnsl-dev:ppc64el (1.3.0-3) ... 290s Selecting previously unselected package rpcsvc-proto. 290s Preparing to unpack .../06-rpcsvc-proto_1.4.2-0ubuntu6_ppc64el.deb ... 290s Unpacking rpcsvc-proto (1.4.2-0ubuntu6) ... 290s Selecting previously unselected package libc6-dev:ppc64el. 290s Preparing to unpack .../07-libc6-dev_2.39-0ubuntu2_ppc64el.deb ... 290s Unpacking libc6-dev:ppc64el (2.39-0ubuntu2) ... 290s Selecting previously unselected package libisl23:ppc64el. 290s Preparing to unpack .../08-libisl23_0.26-3_ppc64el.deb ... 290s Unpacking libisl23:ppc64el (0.26-3) ... 290s Selecting previously unselected package libmpc3:ppc64el. 290s Preparing to unpack .../09-libmpc3_1.3.1-1_ppc64el.deb ... 290s Unpacking libmpc3:ppc64el (1.3.1-1) ... 290s Selecting previously unselected package cpp-13-powerpc64le-linux-gnu. 290s Preparing to unpack .../10-cpp-13-powerpc64le-linux-gnu_13.2.0-17ubuntu2_ppc64el.deb ... 290s Unpacking cpp-13-powerpc64le-linux-gnu (13.2.0-17ubuntu2) ... 290s Selecting previously unselected package cpp-13. 290s Preparing to unpack .../11-cpp-13_13.2.0-17ubuntu2_ppc64el.deb ... 290s Unpacking cpp-13 (13.2.0-17ubuntu2) ... 290s Selecting previously unselected package cpp-powerpc64le-linux-gnu. 290s Preparing to unpack .../12-cpp-powerpc64le-linux-gnu_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 290s Unpacking cpp-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 290s Selecting previously unselected package cpp. 290s Preparing to unpack .../13-cpp_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 290s Unpacking cpp (4:13.2.0-7ubuntu1) ... 290s Selecting previously unselected package libcc1-0:ppc64el. 290s Preparing to unpack .../14-libcc1-0_14-20240303-1ubuntu1_ppc64el.deb ... 290s Unpacking libcc1-0:ppc64el (14-20240303-1ubuntu1) ... 290s Selecting previously unselected package libgomp1:ppc64el. 290s Preparing to unpack .../15-libgomp1_14-20240303-1ubuntu1_ppc64el.deb ... 290s Unpacking libgomp1:ppc64el (14-20240303-1ubuntu1) ... 290s Selecting previously unselected package libitm1:ppc64el. 290s Preparing to unpack .../16-libitm1_14-20240303-1ubuntu1_ppc64el.deb ... 290s Unpacking libitm1:ppc64el (14-20240303-1ubuntu1) ... 290s Selecting previously unselected package libatomic1:ppc64el. 290s Preparing to unpack .../17-libatomic1_14-20240303-1ubuntu1_ppc64el.deb ... 290s Unpacking libatomic1:ppc64el (14-20240303-1ubuntu1) ... 290s Selecting previously unselected package libasan8:ppc64el. 290s Preparing to unpack .../18-libasan8_14-20240303-1ubuntu1_ppc64el.deb ... 290s Unpacking libasan8:ppc64el (14-20240303-1ubuntu1) ... 290s Selecting previously unselected package liblsan0:ppc64el. 290s Preparing to unpack .../19-liblsan0_14-20240303-1ubuntu1_ppc64el.deb ... 290s Unpacking liblsan0:ppc64el (14-20240303-1ubuntu1) ... 290s Selecting previously unselected package libtsan2:ppc64el. 290s Preparing to unpack .../20-libtsan2_14-20240303-1ubuntu1_ppc64el.deb ... 290s Unpacking libtsan2:ppc64el (14-20240303-1ubuntu1) ... 290s Selecting previously unselected package libubsan1:ppc64el. 290s Preparing to unpack .../21-libubsan1_14-20240303-1ubuntu1_ppc64el.deb ... 290s Unpacking libubsan1:ppc64el (14-20240303-1ubuntu1) ... 290s Selecting previously unselected package libquadmath0:ppc64el. 290s Preparing to unpack .../22-libquadmath0_14-20240303-1ubuntu1_ppc64el.deb ... 290s Unpacking libquadmath0:ppc64el (14-20240303-1ubuntu1) ... 290s Selecting previously unselected package libgcc-13-dev:ppc64el. 290s Preparing to unpack .../23-libgcc-13-dev_13.2.0-17ubuntu2_ppc64el.deb ... 290s Unpacking libgcc-13-dev:ppc64el (13.2.0-17ubuntu2) ... 290s Selecting previously unselected package gcc-13-powerpc64le-linux-gnu. 290s Preparing to unpack .../24-gcc-13-powerpc64le-linux-gnu_13.2.0-17ubuntu2_ppc64el.deb ... 291s Unpacking gcc-13-powerpc64le-linux-gnu (13.2.0-17ubuntu2) ... 291s Selecting previously unselected package gcc-13. 291s Preparing to unpack .../25-gcc-13_13.2.0-17ubuntu2_ppc64el.deb ... 291s Unpacking gcc-13 (13.2.0-17ubuntu2) ... 291s Selecting previously unselected package gcc-powerpc64le-linux-gnu. 291s Preparing to unpack .../26-gcc-powerpc64le-linux-gnu_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 291s Unpacking gcc-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 291s Selecting previously unselected package gcc. 291s Preparing to unpack .../27-gcc_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 291s Unpacking gcc (4:13.2.0-7ubuntu1) ... 291s Selecting previously unselected package libstdc++-13-dev:ppc64el. 291s Preparing to unpack .../28-libstdc++-13-dev_13.2.0-17ubuntu2_ppc64el.deb ... 291s Unpacking libstdc++-13-dev:ppc64el (13.2.0-17ubuntu2) ... 291s Selecting previously unselected package g++-13-powerpc64le-linux-gnu. 291s Preparing to unpack .../29-g++-13-powerpc64le-linux-gnu_13.2.0-17ubuntu2_ppc64el.deb ... 291s Unpacking g++-13-powerpc64le-linux-gnu (13.2.0-17ubuntu2) ... 292s Selecting previously unselected package g++-13. 292s Preparing to unpack .../30-g++-13_13.2.0-17ubuntu2_ppc64el.deb ... 292s Unpacking g++-13 (13.2.0-17ubuntu2) ... 292s Selecting previously unselected package g++-powerpc64le-linux-gnu. 292s Preparing to unpack .../31-g++-powerpc64le-linux-gnu_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 292s Unpacking g++-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 292s Selecting previously unselected package g++. 292s Preparing to unpack .../32-g++_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 292s Unpacking g++ (4:13.2.0-7ubuntu1) ... 292s Selecting previously unselected package build-essential. 292s Preparing to unpack .../33-build-essential_12.10ubuntu1_ppc64el.deb ... 292s Unpacking build-essential (12.10ubuntu1) ... 292s Selecting previously unselected package libgirepository-2.0-0:ppc64el. 292s Preparing to unpack .../34-libgirepository-2.0-0_2.79.3-3ubuntu5_ppc64el.deb ... 292s Unpacking libgirepository-2.0-0:ppc64el (2.79.3-3ubuntu5) ... 292s Selecting previously unselected package libglib2.0-bin. 292s Preparing to unpack .../35-libglib2.0-bin_2.79.3-3ubuntu5_ppc64el.deb ... 292s Unpacking libglib2.0-bin (2.79.3-3ubuntu5) ... 292s Selecting previously unselected package libffi-dev:ppc64el. 292s Preparing to unpack .../36-libffi-dev_3.4.6-1_ppc64el.deb ... 292s Unpacking libffi-dev:ppc64el (3.4.6-1) ... 292s Selecting previously unselected package python3-packaging. 292s Preparing to unpack .../37-python3-packaging_23.2-1_all.deb ... 292s Unpacking python3-packaging (23.2-1) ... 292s Selecting previously unselected package libglib2.0-dev-bin. 292s Preparing to unpack .../38-libglib2.0-dev-bin_2.79.3-3ubuntu5_ppc64el.deb ... 292s Unpacking libglib2.0-dev-bin (2.79.3-3ubuntu5) ... 292s Selecting previously unselected package uuid-dev:ppc64el. 292s Preparing to unpack .../39-uuid-dev_2.39.3-6ubuntu2_ppc64el.deb ... 292s Unpacking uuid-dev:ppc64el (2.39.3-6ubuntu2) ... 292s Selecting previously unselected package libblkid-dev:ppc64el. 292s Preparing to unpack .../40-libblkid-dev_2.39.3-6ubuntu2_ppc64el.deb ... 292s Unpacking libblkid-dev:ppc64el (2.39.3-6ubuntu2) ... 292s Selecting previously unselected package libsepol-dev:ppc64el. 292s Preparing to unpack .../41-libsepol-dev_3.5-2_ppc64el.deb ... 292s Unpacking libsepol-dev:ppc64el (3.5-2) ... 292s Selecting previously unselected package libpcre2-16-0:ppc64el. 292s Preparing to unpack .../42-libpcre2-16-0_10.42-4ubuntu1_ppc64el.deb ... 292s Unpacking libpcre2-16-0:ppc64el (10.42-4ubuntu1) ... 292s Selecting previously unselected package libpcre2-32-0:ppc64el. 292s Preparing to unpack .../43-libpcre2-32-0_10.42-4ubuntu1_ppc64el.deb ... 292s Unpacking libpcre2-32-0:ppc64el (10.42-4ubuntu1) ... 292s Selecting previously unselected package libpcre2-posix3:ppc64el. 292s Preparing to unpack .../44-libpcre2-posix3_10.42-4ubuntu1_ppc64el.deb ... 292s Unpacking libpcre2-posix3:ppc64el (10.42-4ubuntu1) ... 292s Selecting previously unselected package libpcre2-dev:ppc64el. 292s Preparing to unpack .../45-libpcre2-dev_10.42-4ubuntu1_ppc64el.deb ... 292s Unpacking libpcre2-dev:ppc64el (10.42-4ubuntu1) ... 292s Selecting previously unselected package libselinux1-dev:ppc64el. 292s Preparing to unpack .../46-libselinux1-dev_3.5-2build1_ppc64el.deb ... 292s Unpacking libselinux1-dev:ppc64el (3.5-2build1) ... 292s Selecting previously unselected package libmount-dev:ppc64el. 292s Preparing to unpack .../47-libmount-dev_2.39.3-6ubuntu2_ppc64el.deb ... 292s Unpacking libmount-dev:ppc64el (2.39.3-6ubuntu2) ... 292s Selecting previously unselected package libpkgconf3:ppc64el. 292s Preparing to unpack .../48-libpkgconf3_1.8.1-2_ppc64el.deb ... 292s Unpacking libpkgconf3:ppc64el (1.8.1-2) ... 292s Selecting previously unselected package pkgconf-bin. 292s Preparing to unpack .../49-pkgconf-bin_1.8.1-2_ppc64el.deb ... 292s Unpacking pkgconf-bin (1.8.1-2) ... 292s Selecting previously unselected package pkgconf:ppc64el. 292s Preparing to unpack .../50-pkgconf_1.8.1-2_ppc64el.deb ... 292s Unpacking pkgconf:ppc64el (1.8.1-2) ... 292s Selecting previously unselected package zlib1g-dev:ppc64el. 292s Preparing to unpack .../51-zlib1g-dev_1%3a1.3.dfsg-3ubuntu1_ppc64el.deb ... 292s Unpacking zlib1g-dev:ppc64el (1:1.3.dfsg-3ubuntu1) ... 292s Selecting previously unselected package libglib2.0-dev:ppc64el. 292s Preparing to unpack .../52-libglib2.0-dev_2.79.3-3ubuntu5_ppc64el.deb ... 292s Unpacking libglib2.0-dev:ppc64el (2.79.3-3ubuntu5) ... 292s Selecting previously unselected package autopkgtest-satdep. 292s Preparing to unpack .../53-1-autopkgtest-satdep.deb ... 292s Unpacking autopkgtest-satdep (0) ... 292s Setting up libgirepository-2.0-0:ppc64el (2.79.3-3ubuntu5) ... 292s Setting up linux-libc-dev:ppc64el (6.8.0-11.11) ... 292s Setting up libgomp1:ppc64el (14-20240303-1ubuntu1) ... 292s Setting up libffi-dev:ppc64el (3.4.6-1) ... 292s Setting up libpcre2-16-0:ppc64el (10.42-4ubuntu1) ... 292s Setting up libelf1t64:ppc64el (0.190-1.1build1) ... 292s Setting up libpcre2-32-0:ppc64el (10.42-4ubuntu1) ... 292s Setting up python3-packaging (23.2-1) ... 292s Setting up libtirpc-dev:ppc64el (1.3.4+ds-1build1) ... 292s Setting up libpkgconf3:ppc64el (1.8.1-2) ... 292s Setting up rpcsvc-proto (1.4.2-0ubuntu6) ... 292s Setting up libquadmath0:ppc64el (14-20240303-1ubuntu1) ... 292s Setting up libmpc3:ppc64el (1.3.1-1) ... 292s Setting up libatomic1:ppc64el (14-20240303-1ubuntu1) ... 292s Setting up libsepol-dev:ppc64el (3.5-2) ... 292s Setting up pkgconf-bin (1.8.1-2) ... 292s Setting up libubsan1:ppc64el (14-20240303-1ubuntu1) ... 292s Setting up libpcre2-posix3:ppc64el (10.42-4ubuntu1) ... 292s Setting up libnsl-dev:ppc64el (1.3.0-3) ... 292s Setting up libcrypt-dev:ppc64el (1:4.4.36-4) ... 292s Setting up libasan8:ppc64el (14-20240303-1ubuntu1) ... 292s Setting up libtsan2:ppc64el (14-20240303-1ubuntu1) ... 292s Setting up libisl23:ppc64el (0.26-3) ... 292s Setting up libc-dev-bin (2.39-0ubuntu2) ... 292s Setting up cpp-13-powerpc64le-linux-gnu (13.2.0-17ubuntu2) ... 292s Setting up libcc1-0:ppc64el (14-20240303-1ubuntu1) ... 292s Setting up liblsan0:ppc64el (14-20240303-1ubuntu1) ... 292s Setting up libitm1:ppc64el (14-20240303-1ubuntu1) ... 292s Setting up cpp-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 292s Setting up libglib2.0-dev-bin (2.79.3-3ubuntu5) ... 292s Setting up cpp-13 (13.2.0-17ubuntu2) ... 292s Setting up libglib2.0-bin (2.79.3-3ubuntu5) ... 292s Setting up pkgconf:ppc64el (1.8.1-2) ... 292s Setting up libgcc-13-dev:ppc64el (13.2.0-17ubuntu2) ... 292s Setting up cpp (4:13.2.0-7ubuntu1) ... 293s Setting up libc6-dev:ppc64el (2.39-0ubuntu2) ... 293s Setting up libstdc++-13-dev:ppc64el (13.2.0-17ubuntu2) ... 293s Setting up libpcre2-dev:ppc64el (10.42-4ubuntu1) ... 293s Setting up libselinux1-dev:ppc64el (3.5-2build1) ... 293s Setting up uuid-dev:ppc64el (2.39.3-6ubuntu2) ... 293s Setting up gcc-13-powerpc64le-linux-gnu (13.2.0-17ubuntu2) ... 293s Setting up gcc-13 (13.2.0-17ubuntu2) ... 293s Setting up zlib1g-dev:ppc64el (1:1.3.dfsg-3ubuntu1) ... 293s Setting up libblkid-dev:ppc64el (2.39.3-6ubuntu2) ... 293s Setting up g++-13-powerpc64le-linux-gnu (13.2.0-17ubuntu2) ... 293s Setting up gcc-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 293s Setting up libmount-dev:ppc64el (2.39.3-6ubuntu2) ... 293s Setting up g++-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 293s Setting up g++-13 (13.2.0-17ubuntu2) ... 293s Setting up gcc (4:13.2.0-7ubuntu1) ... 293s Setting up libglib2.0-dev:ppc64el (2.79.3-3ubuntu5) ... 293s Setting up g++ (4:13.2.0-7ubuntu1) ... 293s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 293s Setting up build-essential (12.10ubuntu1) ... 293s Processing triggers for libc-bin (2.39-0ubuntu2) ... 293s Processing triggers for man-db (2.12.0-3) ... 293s Processing triggers for libglib2.0-0t64:ppc64el (2.79.3-3ubuntu5) ... 293s No schema files found: doing nothing. 293s Processing triggers for install-info (7.1-3) ... 293s Setting up autopkgtest-satdep (0) ... 296s (Reading database ... 73939 files and directories currently installed.) 296s Removing autopkgtest-satdep (0) ... 296s autopkgtest [01:06:31]: test build: [----------------------- 296s + mode=dynamic 296s + getopt -o --long static -n debian/tests/build -- 296s + getopt_temp= -- 296s + eval set -- -- 296s + set -- -- 296s + true 296s + shift 296s + break 296s + mktemp -d 296s + WORKDIR=/tmp/tmp.Y9jK8eEREi 296s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 296s + cd /tmp/tmp.Y9jK8eEREi 296s + [ -n ] 296s + CROSS_COMPILE= 296s + cat 296s + cat 296s + cat 296s + cat 296s + cat 296s + cat 296s + cflags= 296s + pcflags= 296s + packages=glib-2.0 296s + pkg-config --cflags --libs glib-2.0 296s + 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 297s + build (glib, dynamic): OK 297s run (glib, dynamic): OK 297s echo build (glib, dynamic): OK 297s + [ -x glib-dynamic ] 297s + foo=bar ./glib-dynamic 297s + echo run (glib, dynamic): OK 297s + cflags= 297s + pcflags= 297s + packages=gobject-2.0 297s + pkg-config --cflags --libs gobject-2.0 297s + 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 297s build (gobject, dynamic): OK 297s + echo build (gobject, dynamic): OK 297s + [ -x gobject-dynamic ] 297s + foo=bar ./gobject-dynamic 297s + echo run (gobject, dynamic): OK 297s + cflags=run (gobject, dynamic): OK 297s 297s + pcflags= 297s + packages=gio-2.0 297s + pkg-config --cflags --libs gio-2.0 297s + 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 297s build (gio, dynamic): OK 297s + echo build (gio, dynamic): OK 297s + [ -x gio-dynamic ] 297s + foo=bar ./gio-dynamic 297s + echo run (gio, dynamic): OK 297s + run (gio, dynamic): OK 297s cflags= 297s + pcflags= 297s + packages=gio-unix-2.0 297s + pkg-config --cflags --libs gio-unix-2.0 297s + 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 297s build (gio-unix, dynamic): OK 297s + echo build (gio-unix, dynamic): OK 297s + [ -x gio-unix-dynamic ] 297s + foo=bar ./gio-unix-dynamic 297s + echo run (gio-unix, dynamic): OK 297s + run (gio-unix, dynamic): OK 297s cflags= 297s + pcflags= 297s + packages=gmodule-2.0 297s + pkg-config --cflags --libs gmodule-2.0 297s + 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 297s build (gmodule, dynamic): OK 297s + echo build (gmodule, dynamic): OK 297s + [ -x gmodule-dynamic ] 297s + foo=bar ./gmodule-dynamic 297s + echo run (gmodule, dynamic): OK 297s + cflags=run (gmodule, dynamic): OK 297s 297s + pcflags= 297s + packages=gthread-2.0 297s + pkg-config --cflags --libs gthread-2.0 297s + 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 297s + echo build (gthread, dynamic): OK 297s + [ -x gthread-dynamic ] 297s + foo=bar ./gthread-dynamic 297s build (gthread, dynamic): OK 297s + echo run (gthread, dynamic): OK 297s run (gthread, dynamic): OK 297s + rm -rf /tmp/tmp.Y9jK8eEREi 298s autopkgtest [01:06:33]: test build: -----------------------] 298s autopkgtest [01:06:33]: test build: - - - - - - - - - - results - - - - - - - - - - 298s build PASS (superficial) 298s autopkgtest [01:06:33]: test build-static: preparing testbed 300s Reading package lists... 300s Building dependency tree... 300s Reading state information... 300s Starting pkgProblemResolver with broken count: 0 300s Starting 2 pkgProblemResolver with broken count: 0 300s Done 300s The following NEW packages will be installed: 300s autopkgtest-satdep 300s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 300s Need to get 0 B/724 B of archives. 300s After this operation, 0 B of additional disk space will be used. 300s Get:1 /tmp/autopkgtest.4l9LOF/2-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [724 B] 300s Selecting previously unselected package autopkgtest-satdep. 301s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 73939 files and directories currently installed.) 301s Preparing to unpack .../2-autopkgtest-satdep.deb ... 301s Unpacking autopkgtest-satdep (0) ... 301s Setting up autopkgtest-satdep (0) ... 302s (Reading database ... 73939 files and directories currently installed.) 302s Removing autopkgtest-satdep (0) ... 303s autopkgtest [01:06:38]: test build-static: [----------------------- 303s + mode=dynamic 303s + getopt -o --long static -n debian/tests/build -- --static 303s + getopt_temp= --static -- 303s + eval set -- --static -- 303s + set -- --static -- 303s + true 303s + mode=static 303s + shift 303s + continue 303s + true 303s + shift 303s + break 303s + mktemp -d 303s + WORKDIR=/tmp/tmp.pJBoiBHKFv 303s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 303s + cd /tmp/tmp.pJBoiBHKFv 303s + [ -n ] 303s + CROSS_COMPILE= 303s + cat 303s + cat 303s + cat 303s + cat 303s + cat 303s + cat 303s + cflags= 303s + pcflags= 303s + packages=glib-2.0 303s + cflags=-static 303s + pcflags=--static 303s + pkg-config --static --cflags --libs glib-2.0 303s + 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 303s /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': 303s (.text+0x170): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 303s /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 303s /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 303s + echo build (glib, static): OK 303s + [ -x glib-static ] 303s + foo=bar ./glib-static 303s + echo run (glib, static): OK 303s + cflags= 303s + pcflags= 303s + packages=gobject-2.0 303s + cflags=-static 303s + pcflags=--static 303s + pkg-config --static --cflags --libs gobject-2.0 303s build (glib, static): OK 303s run (glib, static): OK 303s + 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 303s /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': 303s (.text+0x170): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 303s /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 303s /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 303s + build (gobject, static): OK 303s echo build (gobject, static): OK 303s + [ -x gobject-static ] 303s + foo=bar ./gobject-static 303s + echorun (gobject, static): OK 303s run (gobject, static): OK 303s + cflags= 303s + pcflags= 303s + packages=gio-2.0 303s + cflags=-static 303s + pcflags=--static 303s + continue 303s + cflags= 303s + pcflags= 303s + packages=gio-unix-2.0 303s + cflags=-static 303s + pcflags=--static 303s + continue 303s + cflags= 303s + pcflags= 303s + packages=gmodule-2.0 303s + cflags=-static 303s + pcflags=--static 303s + pkg-config --static --cflags --libs gmodule-2.0 303s + 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 303s /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': 303s (.text+0x9b8): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 303s /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': 303s (.text+0x170): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 303s /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 303s /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 303s + echo build (gmodule, static): OKbuild (gmodule, static): OK 303s 303s + [ -x gmodule-static ] 303s + foo=bar ./gmodule-static 303s + echo run (gmodule, static): OKrun (gmodule, static): OK 303s 303s + cflags= 303s + pcflags= 303s + packages=gthread-2.0 303s + cflags=-static 303s + pcflags=--static 303s + pkg-config --static --cflags --libs gthread-2.0 303s + 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 304s /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': 304s (.text+0x170): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 304s /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 304s /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 304s build (gthread, static): OK 304s + echo build (gthread, static): OK 304s + [ -x gthread-static ] 304s + foo=bar ./gthread-static 304s + run (gthread, static): OK 304s echo run (gthread, static): OK 304s + rm -rf /tmp/tmp.pJBoiBHKFv 304s autopkgtest [01:06:39]: test build-static: -----------------------] 304s autopkgtest [01:06:39]: test build-static: - - - - - - - - - - results - - - - - - - - - - 304s build-static PASS (superficial) 305s autopkgtest [01:06:40]: test installed-tests: preparing testbed 433s autopkgtest [01:08:48]: testbed dpkg architecture: ppc64el 434s autopkgtest [01:08:49]: testbed apt version: 2.7.12 434s autopkgtest [01:08:49]: @@@@@@@@@@@@@@@@@@@@ test bed setup 435s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 435s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [2818 kB] 436s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [449 kB] 437s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [4812 B] 437s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [45.5 kB] 437s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el Packages [596 kB] 437s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el c-n-f Metadata [3116 B] 437s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted ppc64el Packages [1372 B] 437s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted ppc64el c-n-f Metadata [116 B] 437s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el Packages [3177 kB] 438s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el c-n-f Metadata [8652 B] 438s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse ppc64el Packages [41.2 kB] 438s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse ppc64el c-n-f Metadata [116 B] 440s Fetched 7261 kB in 4s (1996 kB/s) 441s Reading package lists... 443s Reading package lists... 443s Building dependency tree... 443s Reading state information... 443s Calculating upgrade... 443s The following packages will be REMOVED: 443s libglib2.0-0 443s The following NEW packages will be installed: 443s libglib2.0-0t64 xdg-user-dirs 443s The following packages will be upgraded: 443s gir1.2-glib-2.0 libglib2.0-data 443s 2 upgraded, 2 newly installed, 1 to remove and 0 not upgraded. 443s Need to get 2022 kB of archives. 443s After this operation, 204 kB of additional disk space will be used. 443s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el gir1.2-glib-2.0 ppc64el 2.79.3-3ubuntu5 [182 kB] 444s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libglib2.0-0t64 ppc64el 2.79.3-3ubuntu5 [1773 kB] 444s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libglib2.0-data all 2.79.3-3ubuntu5 [46.6 kB] 444s Get:4 http://ftpmaster.internal/ubuntu noble/main ppc64el xdg-user-dirs ppc64el 0.18-1 [20.0 kB] 445s Fetched 2022 kB in 1s (1434 kB/s) 445s (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 ... 70096 files and directories currently installed.) 445s Preparing to unpack .../gir1.2-glib-2.0_2.79.3-3ubuntu5_ppc64el.deb ... 445s Unpacking gir1.2-glib-2.0:ppc64el (2.79.3-3ubuntu5) over (2.79.2-1~ubuntu1) ... 445s dpkg: libglib2.0-0:ppc64el: dependency problems, but removing anyway as you requested: 445s udisks2 depends on libglib2.0-0 (>= 2.77.0). 445s shared-mime-info depends on libglib2.0-0 (>= 2.75.3). 445s python3-gi depends on libglib2.0-0 (>= 2.77.0). 445s python3-dbus depends on libglib2.0-0 (>= 2.16.0). 445s netplan.io depends on libglib2.0-0 (>= 2.70.0). 445s netplan-generator depends on libglib2.0-0 (>= 2.70.0). 445s libxmlb2:ppc64el depends on libglib2.0-0 (>= 2.54.0). 445s libvolume-key1:ppc64el depends on libglib2.0-0 (>= 2.18.0). 445s libudisks2-0:ppc64el depends on libglib2.0-0 (>= 2.75.3). 445s libqrtr-glib0:ppc64el depends on libglib2.0-0 (>= 2.56). 445s libqmi-proxy depends on libglib2.0-0 (>= 2.30.0). 445s libqmi-glib5:ppc64el depends on libglib2.0-0 (>= 2.54.0). 445s libpolkit-gobject-1-0:ppc64el depends on libglib2.0-0 (>= 2.38.0). 445s libpolkit-agent-1-0:ppc64el depends on libglib2.0-0 (>= 2.38.0). 445s libnetplan0:ppc64el depends on libglib2.0-0 (>= 2.75.3). 445s libmm-glib0:ppc64el depends on libglib2.0-0 (>= 2.62.0). 445s libmbim-proxy depends on libglib2.0-0 (>= 2.56). 445s libmbim-glib4:ppc64el depends on libglib2.0-0 (>= 2.56). 445s libjson-glib-1.0-0:ppc64el depends on libglib2.0-0 (>= 2.75.3). 445s libjcat1:ppc64el depends on libglib2.0-0 (>= 2.75.3). 445s libgusb2:ppc64el depends on libglib2.0-0 (>= 2.75.3). 445s libgudev-1.0-0:ppc64el depends on libglib2.0-0 (>= 2.38.0). 445s libgirepository-1.0-1:ppc64el depends on libglib2.0-0 (>= 2.79.0). 445s libfwupd2:ppc64el depends on libglib2.0-0 (>= 2.79.0). 445s libblockdev3:ppc64el depends on libglib2.0-0 (>= 2.42.2). 445s libblockdev-utils3:ppc64el depends on libglib2.0-0 (>= 2.75.3). 445s libblockdev-swap3:ppc64el depends on libglib2.0-0 (>= 2.42.2). 445s libblockdev-part3:ppc64el depends on libglib2.0-0 (>= 2.42.2). 445s libblockdev-nvme3:ppc64el depends on libglib2.0-0 (>= 2.42.2). 445s libblockdev-mdraid3:ppc64el depends on libglib2.0-0 (>= 2.42.2). 445s libblockdev-loop3:ppc64el depends on libglib2.0-0 (>= 2.42.2). 445s libblockdev-fs3:ppc64el depends on libglib2.0-0 (>= 2.42.2). 445s libblockdev-crypto3:ppc64el depends on libglib2.0-0 (>= 2.42.2). 445s fwupd depends on libglib2.0-0 (>= 2.79.0). 445s bolt depends on libglib2.0-0 (>= 2.56.0). 445s 445s (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 ... 70096 files and directories currently installed.) 445s Removing libglib2.0-0:ppc64el (2.79.2-1~ubuntu1) ... 445s Selecting previously unselected package libglib2.0-0t64:ppc64el. 445s (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 ... 70071 files and directories currently installed.) 445s Preparing to unpack .../libglib2.0-0t64_2.79.3-3ubuntu5_ppc64el.deb ... 445s 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... 445s removed '/var/lib/dpkg/info/libglib2.0-0:ppc64el.postrm' 445s Unpacking libglib2.0-0t64:ppc64el (2.79.3-3ubuntu5) ... 445s Preparing to unpack .../libglib2.0-data_2.79.3-3ubuntu5_all.deb ... 445s Unpacking libglib2.0-data (2.79.3-3ubuntu5) over (2.79.2-1~ubuntu1) ... 445s Selecting previously unselected package xdg-user-dirs. 445s Preparing to unpack .../xdg-user-dirs_0.18-1_ppc64el.deb ... 445s Unpacking xdg-user-dirs (0.18-1) ... 445s Setting up xdg-user-dirs (0.18-1) ... 445s Setting up libglib2.0-0t64:ppc64el (2.79.3-3ubuntu5) ... 445s No schema files found: doing nothing. 445s Setting up libglib2.0-data (2.79.3-3ubuntu5) ... 445s Setting up gir1.2-glib-2.0:ppc64el (2.79.3-3ubuntu5) ... 445s Processing triggers for man-db (2.12.0-3) ... 446s Processing triggers for libc-bin (2.39-0ubuntu2) ... 446s Reading package lists... 446s Building dependency tree... 446s Reading state information... 446s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 447s Hit:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease 447s Hit:2 http://ftpmaster.internal/ubuntu noble InRelease 447s Hit:3 http://ftpmaster.internal/ubuntu noble-updates InRelease 447s Hit:4 http://ftpmaster.internal/ubuntu noble-security InRelease 448s Reading package lists... 448s Reading package lists... 448s Building dependency tree... 448s Reading state information... 449s Calculating upgrade... 449s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 449s Reading package lists... 449s Building dependency tree... 449s Reading state information... 449s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 454s Reading package lists... 454s Building dependency tree... 454s Reading state information... 454s Starting pkgProblemResolver with broken count: 0 454s Starting 2 pkgProblemResolver with broken count: 0 454s Done 454s The following additional packages will be installed: 454s dbus-x11 desktop-file-utils gnome-desktop-testing libdrm-amdgpu1 454s libdrm-nouveau2 libdrm-radeon1 libelf1t64 libfontenc1 libgirepository-2.0-0 454s libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-bin libglib2.0-dev-bin 454s libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 libllvm17 454s libpixman-1-0 libsm6 libunwind8 libvulkan1 libx11-xcb1 libxaw7 libxcb-dri2-0 454s libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-shm0 454s libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 libxkbfile1 libxmu6 libxpm4 454s libxrandr2 libxrender1 libxshmfence1 libxt6 libxxf86vm1 python3-dbusmock 454s python3-packaging x11-common x11-xkb-utils xserver-common xvfb 454s Suggested packages: 454s libgdk-pixbuf2.0-bin libxml2-utils python3-pytest 455s Recommended packages: 455s libgl1-amber-dri xdg-desktop-portal mesa-vulkan-drivers | vulkan-icd 455s xfonts-base 455s The following packages will be REMOVED: 455s libelf1 455s The following NEW packages will be installed: 455s autopkgtest-satdep dbus-x11 desktop-file-utils gnome-desktop-testing 455s libdrm-amdgpu1 libdrm-nouveau2 libdrm-radeon1 libelf1t64 libfontenc1 455s libgirepository-2.0-0 libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-bin 455s libglib2.0-dev-bin libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 455s libllvm17 libpixman-1-0 libsm6 libunwind8 libvulkan1 libx11-xcb1 libxaw7 455s libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 455s libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 libxkbfile1 455s libxmu6 libxpm4 libxrandr2 libxrender1 libxshmfence1 libxt6 libxxf86vm1 455s python3-dbusmock python3-packaging x11-common x11-xkb-utils xserver-common 455s xvfb 455s 0 upgraded, 51 newly installed, 1 to remove and 0 not upgraded. 455s Need to get 39.5 MB/39.5 MB of archives. 455s After this operation, 211 MB of additional disk space will be used. 455s Get:1 /tmp/autopkgtest.4l9LOF/3-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [776 B] 455s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libelf1t64 ppc64el 0.190-1.1build1 [69.3 kB] 455s Get:3 http://ftpmaster.internal/ubuntu noble/main ppc64el dbus-x11 ppc64el 1.14.10-4ubuntu1 [24.4 kB] 455s Get:4 http://ftpmaster.internal/ubuntu noble/main ppc64el desktop-file-utils ppc64el 0.26-1ubuntu5 [62.5 kB] 455s Get:5 http://ftpmaster.internal/ubuntu noble/universe ppc64el gnome-desktop-testing ppc64el 2021.1-3 [16.9 kB] 455s Get:6 http://ftpmaster.internal/ubuntu noble/main ppc64el libdrm-amdgpu1 ppc64el 2.4.120-2 [24.5 kB] 455s Get:7 http://ftpmaster.internal/ubuntu noble/main ppc64el libdrm-nouveau2 ppc64el 2.4.120-2 [21.2 kB] 455s Get:8 http://ftpmaster.internal/ubuntu noble/main ppc64el libdrm-radeon1 ppc64el 2.4.120-2 [30.6 kB] 455s Get:9 http://ftpmaster.internal/ubuntu noble/main ppc64el libfontenc1 ppc64el 1:1.1.4-1build3 [16.2 kB] 455s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libgirepository-2.0-0 ppc64el 2.79.3-3ubuntu5 [84.2 kB] 455s Get:11 http://ftpmaster.internal/ubuntu noble/main ppc64el libvulkan1 ppc64el 1.3.275.0-1 [176 kB] 455s Get:12 http://ftpmaster.internal/ubuntu noble/main ppc64el libglapi-mesa ppc64el 24.0.1-1ubuntu1 [41.8 kB] 455s Get:13 http://ftpmaster.internal/ubuntu noble/main ppc64el libllvm17 ppc64el 1:17.0.6-5build1 [27.3 MB] 458s Get:14 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-dri3-0 ppc64el 1.15-1 [7392 B] 458s Get:15 http://ftpmaster.internal/ubuntu noble/main ppc64el libgl1-mesa-dri ppc64el 24.0.1-1ubuntu1 [5885 kB] 458s Get:16 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libglib2.0-bin ppc64el 2.79.3-3ubuntu5 [111 kB] 458s Get:17 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-packaging all 23.2-1 [40.6 kB] 458s Get:18 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libglib2.0-dev-bin ppc64el 2.79.3-3ubuntu5 [245 kB] 458s Get:19 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-dbusmock all 0.31.1-1 [85.5 kB] 458s Get:20 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el libglib2.0-tests ppc64el 2.79.3-3ubuntu5 [2192 kB] 458s Get:21 http://ftpmaster.internal/ubuntu noble/main ppc64el libx11-xcb1 ppc64el 2:1.8.7-1 [7866 B] 458s Get:22 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-dri2-0 ppc64el 1.15-1 [7444 B] 458s Get:23 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-glx0 ppc64el 1.15-1 [26.2 kB] 458s Get:24 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-present0 ppc64el 1.15-1 [5814 B] 458s Get:25 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-randr0 ppc64el 1.15-1 [18.9 kB] 458s Get:26 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-shm0 ppc64el 1.15-1 [5896 B] 458s Get:27 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-sync1 ppc64el 1.15-1 [9720 B] 458s Get:28 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-xfixes0 ppc64el 1.15-1 [10.6 kB] 458s Get:29 http://ftpmaster.internal/ubuntu noble/main ppc64el libxfixes3 ppc64el 1:6.0.0-2 [11.6 kB] 458s Get:30 http://ftpmaster.internal/ubuntu noble/main ppc64el libxshmfence1 ppc64el 1.3-1build4 [5566 B] 458s Get:31 http://ftpmaster.internal/ubuntu noble/main ppc64el libxxf86vm1 ppc64el 1:1.1.4-1build3 [11.8 kB] 458s Get:32 http://ftpmaster.internal/ubuntu noble/main ppc64el libglx-mesa0 ppc64el 24.0.1-1ubuntu1 [160 kB] 458s Get:33 http://ftpmaster.internal/ubuntu noble/main ppc64el x11-common all 1:7.7+23ubuntu2 [23.4 kB] 458s Get:34 http://ftpmaster.internal/ubuntu noble/main ppc64el libice6 ppc64el 2:1.0.10-1build2 [49.3 kB] 458s Get:35 http://ftpmaster.internal/ubuntu noble/main ppc64el libpixman-1-0 ppc64el 0.42.2-1 [300 kB] 458s Get:36 http://ftpmaster.internal/ubuntu noble/main ppc64el libsm6 ppc64el 2:1.2.3-1build2 [18.5 kB] 458s Get:37 http://ftpmaster.internal/ubuntu noble/main ppc64el libunwind8 ppc64el 1.6.2-3 [59.9 kB] 458s Get:38 http://ftpmaster.internal/ubuntu noble/main ppc64el libxt6 ppc64el 1:1.2.1-1.1 [198 kB] 458s Get:39 http://ftpmaster.internal/ubuntu noble/main ppc64el libxmu6 ppc64el 2:1.1.3-3 [57.2 kB] 458s Get:40 http://ftpmaster.internal/ubuntu noble/main ppc64el libxpm4 ppc64el 1:3.5.17-1 [48.6 kB] 458s Get:41 http://ftpmaster.internal/ubuntu noble/main ppc64el libxaw7 ppc64el 2:1.0.14-1 [227 kB] 458s Get:42 http://ftpmaster.internal/ubuntu noble/main ppc64el libxfont2 ppc64el 1:2.0.6-1 [115 kB] 458s Get:43 http://ftpmaster.internal/ubuntu noble/main ppc64el libxkbfile1 ppc64el 1:1.1.0-1build3 [89.3 kB] 458s Get:44 http://ftpmaster.internal/ubuntu noble/main ppc64el libxrender1 ppc64el 1:0.9.10-1.1 [23.3 kB] 458s Get:45 http://ftpmaster.internal/ubuntu noble/main ppc64el libxrandr2 ppc64el 2:1.5.2-2 [22.7 kB] 459s Get:46 http://ftpmaster.internal/ubuntu noble/main ppc64el x11-xkb-utils ppc64el 7.7+8 [199 kB] 459s Get:47 http://ftpmaster.internal/ubuntu noble/main ppc64el xserver-common all 2:21.1.11-2ubuntu1 [32.6 kB] 459s Get:48 http://ftpmaster.internal/ubuntu noble/main ppc64el libglvnd0 ppc64el 1.7.0-1 [84.0 kB] 459s Get:49 http://ftpmaster.internal/ubuntu noble/main ppc64el libglx0 ppc64el 1.7.0-1 [42.1 kB] 459s Get:50 http://ftpmaster.internal/ubuntu noble/main ppc64el libgl1 ppc64el 1.7.0-1 [108 kB] 459s Get:51 http://ftpmaster.internal/ubuntu noble/universe ppc64el xvfb ppc64el 2:21.1.11-2ubuntu1 [1093 kB] 459s Fetched 39.5 MB in 4s (9636 kB/s) 459s dpkg: libelf1:ppc64el: dependency problems, but removing anyway as you requested: 459s linux-headers-6.8.0-11-generic depends on libelf1 (>= 0.144). 459s libbpf1:ppc64el depends on libelf1 (>= 0.144). 459s iproute2 depends on libelf1 (>= 0.131). 459s 459s (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 ... 70110 files and directories currently installed.) 459s Removing libelf1:ppc64el (0.190-1) ... 459s Selecting previously unselected package libelf1t64:ppc64el. 459s (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 ... 70105 files and directories currently installed.) 459s Preparing to unpack .../00-libelf1t64_0.190-1.1build1_ppc64el.deb ... 459s Unpacking libelf1t64:ppc64el (0.190-1.1build1) ... 459s Selecting previously unselected package dbus-x11. 459s Preparing to unpack .../01-dbus-x11_1.14.10-4ubuntu1_ppc64el.deb ... 459s Unpacking dbus-x11 (1.14.10-4ubuntu1) ... 459s Selecting previously unselected package desktop-file-utils. 459s Preparing to unpack .../02-desktop-file-utils_0.26-1ubuntu5_ppc64el.deb ... 459s Unpacking desktop-file-utils (0.26-1ubuntu5) ... 459s Selecting previously unselected package gnome-desktop-testing. 459s Preparing to unpack .../03-gnome-desktop-testing_2021.1-3_ppc64el.deb ... 459s Unpacking gnome-desktop-testing (2021.1-3) ... 459s Selecting previously unselected package libdrm-amdgpu1:ppc64el. 459s Preparing to unpack .../04-libdrm-amdgpu1_2.4.120-2_ppc64el.deb ... 459s Unpacking libdrm-amdgpu1:ppc64el (2.4.120-2) ... 459s Selecting previously unselected package libdrm-nouveau2:ppc64el. 459s Preparing to unpack .../05-libdrm-nouveau2_2.4.120-2_ppc64el.deb ... 459s Unpacking libdrm-nouveau2:ppc64el (2.4.120-2) ... 459s Selecting previously unselected package libdrm-radeon1:ppc64el. 459s Preparing to unpack .../06-libdrm-radeon1_2.4.120-2_ppc64el.deb ... 459s Unpacking libdrm-radeon1:ppc64el (2.4.120-2) ... 459s Selecting previously unselected package libfontenc1:ppc64el. 459s Preparing to unpack .../07-libfontenc1_1%3a1.1.4-1build3_ppc64el.deb ... 459s Unpacking libfontenc1:ppc64el (1:1.1.4-1build3) ... 459s Selecting previously unselected package libgirepository-2.0-0:ppc64el. 459s Preparing to unpack .../08-libgirepository-2.0-0_2.79.3-3ubuntu5_ppc64el.deb ... 459s Unpacking libgirepository-2.0-0:ppc64el (2.79.3-3ubuntu5) ... 459s Selecting previously unselected package libvulkan1:ppc64el. 459s Preparing to unpack .../09-libvulkan1_1.3.275.0-1_ppc64el.deb ... 459s Unpacking libvulkan1:ppc64el (1.3.275.0-1) ... 459s Selecting previously unselected package libglapi-mesa:ppc64el. 459s Preparing to unpack .../10-libglapi-mesa_24.0.1-1ubuntu1_ppc64el.deb ... 459s Unpacking libglapi-mesa:ppc64el (24.0.1-1ubuntu1) ... 459s Selecting previously unselected package libllvm17:ppc64el. 459s Preparing to unpack .../11-libllvm17_1%3a17.0.6-5build1_ppc64el.deb ... 459s Unpacking libllvm17:ppc64el (1:17.0.6-5build1) ... 460s Selecting previously unselected package libxcb-dri3-0:ppc64el. 460s Preparing to unpack .../12-libxcb-dri3-0_1.15-1_ppc64el.deb ... 460s Unpacking libxcb-dri3-0:ppc64el (1.15-1) ... 460s Selecting previously unselected package libgl1-mesa-dri:ppc64el. 460s Preparing to unpack .../13-libgl1-mesa-dri_24.0.1-1ubuntu1_ppc64el.deb ... 460s Unpacking libgl1-mesa-dri:ppc64el (24.0.1-1ubuntu1) ... 460s Selecting previously unselected package libglib2.0-bin. 460s Preparing to unpack .../14-libglib2.0-bin_2.79.3-3ubuntu5_ppc64el.deb ... 460s Unpacking libglib2.0-bin (2.79.3-3ubuntu5) ... 460s Selecting previously unselected package python3-packaging. 460s Preparing to unpack .../15-python3-packaging_23.2-1_all.deb ... 460s Unpacking python3-packaging (23.2-1) ... 460s Selecting previously unselected package libglib2.0-dev-bin. 460s Preparing to unpack .../16-libglib2.0-dev-bin_2.79.3-3ubuntu5_ppc64el.deb ... 460s Unpacking libglib2.0-dev-bin (2.79.3-3ubuntu5) ... 460s Selecting previously unselected package python3-dbusmock. 460s Preparing to unpack .../17-python3-dbusmock_0.31.1-1_all.deb ... 460s Unpacking python3-dbusmock (0.31.1-1) ... 460s Selecting previously unselected package libglib2.0-tests. 460s Preparing to unpack .../18-libglib2.0-tests_2.79.3-3ubuntu5_ppc64el.deb ... 460s Unpacking libglib2.0-tests (2.79.3-3ubuntu5) ... 461s Selecting previously unselected package libx11-xcb1:ppc64el. 461s Preparing to unpack .../19-libx11-xcb1_2%3a1.8.7-1_ppc64el.deb ... 461s Unpacking libx11-xcb1:ppc64el (2:1.8.7-1) ... 461s Selecting previously unselected package libxcb-dri2-0:ppc64el. 461s Preparing to unpack .../20-libxcb-dri2-0_1.15-1_ppc64el.deb ... 461s Unpacking libxcb-dri2-0:ppc64el (1.15-1) ... 461s Selecting previously unselected package libxcb-glx0:ppc64el. 461s Preparing to unpack .../21-libxcb-glx0_1.15-1_ppc64el.deb ... 461s Unpacking libxcb-glx0:ppc64el (1.15-1) ... 461s Selecting previously unselected package libxcb-present0:ppc64el. 461s Preparing to unpack .../22-libxcb-present0_1.15-1_ppc64el.deb ... 461s Unpacking libxcb-present0:ppc64el (1.15-1) ... 461s Selecting previously unselected package libxcb-randr0:ppc64el. 461s Preparing to unpack .../23-libxcb-randr0_1.15-1_ppc64el.deb ... 461s Unpacking libxcb-randr0:ppc64el (1.15-1) ... 461s Selecting previously unselected package libxcb-shm0:ppc64el. 461s Preparing to unpack .../24-libxcb-shm0_1.15-1_ppc64el.deb ... 461s Unpacking libxcb-shm0:ppc64el (1.15-1) ... 461s Selecting previously unselected package libxcb-sync1:ppc64el. 461s Preparing to unpack .../25-libxcb-sync1_1.15-1_ppc64el.deb ... 461s Unpacking libxcb-sync1:ppc64el (1.15-1) ... 461s Selecting previously unselected package libxcb-xfixes0:ppc64el. 461s Preparing to unpack .../26-libxcb-xfixes0_1.15-1_ppc64el.deb ... 461s Unpacking libxcb-xfixes0:ppc64el (1.15-1) ... 461s Selecting previously unselected package libxfixes3:ppc64el. 461s Preparing to unpack .../27-libxfixes3_1%3a6.0.0-2_ppc64el.deb ... 461s Unpacking libxfixes3:ppc64el (1:6.0.0-2) ... 461s Selecting previously unselected package libxshmfence1:ppc64el. 461s Preparing to unpack .../28-libxshmfence1_1.3-1build4_ppc64el.deb ... 461s Unpacking libxshmfence1:ppc64el (1.3-1build4) ... 461s Selecting previously unselected package libxxf86vm1:ppc64el. 461s Preparing to unpack .../29-libxxf86vm1_1%3a1.1.4-1build3_ppc64el.deb ... 461s Unpacking libxxf86vm1:ppc64el (1:1.1.4-1build3) ... 461s Selecting previously unselected package libglx-mesa0:ppc64el. 461s Preparing to unpack .../30-libglx-mesa0_24.0.1-1ubuntu1_ppc64el.deb ... 461s Unpacking libglx-mesa0:ppc64el (24.0.1-1ubuntu1) ... 461s Selecting previously unselected package x11-common. 461s Preparing to unpack .../31-x11-common_1%3a7.7+23ubuntu2_all.deb ... 461s Unpacking x11-common (1:7.7+23ubuntu2) ... 461s Selecting previously unselected package libice6:ppc64el. 461s Preparing to unpack .../32-libice6_2%3a1.0.10-1build2_ppc64el.deb ... 461s Unpacking libice6:ppc64el (2:1.0.10-1build2) ... 461s Selecting previously unselected package libpixman-1-0:ppc64el. 461s Preparing to unpack .../33-libpixman-1-0_0.42.2-1_ppc64el.deb ... 461s Unpacking libpixman-1-0:ppc64el (0.42.2-1) ... 461s Selecting previously unselected package libsm6:ppc64el. 461s Preparing to unpack .../34-libsm6_2%3a1.2.3-1build2_ppc64el.deb ... 461s Unpacking libsm6:ppc64el (2:1.2.3-1build2) ... 461s Selecting previously unselected package libunwind8:ppc64el. 461s Preparing to unpack .../35-libunwind8_1.6.2-3_ppc64el.deb ... 461s Unpacking libunwind8:ppc64el (1.6.2-3) ... 461s Selecting previously unselected package libxt6:ppc64el. 461s Preparing to unpack .../36-libxt6_1%3a1.2.1-1.1_ppc64el.deb ... 461s Unpacking libxt6:ppc64el (1:1.2.1-1.1) ... 461s Selecting previously unselected package libxmu6:ppc64el. 461s Preparing to unpack .../37-libxmu6_2%3a1.1.3-3_ppc64el.deb ... 461s Unpacking libxmu6:ppc64el (2:1.1.3-3) ... 461s Selecting previously unselected package libxpm4:ppc64el. 461s Preparing to unpack .../38-libxpm4_1%3a3.5.17-1_ppc64el.deb ... 461s Unpacking libxpm4:ppc64el (1:3.5.17-1) ... 461s Selecting previously unselected package libxaw7:ppc64el. 461s Preparing to unpack .../39-libxaw7_2%3a1.0.14-1_ppc64el.deb ... 461s Unpacking libxaw7:ppc64el (2:1.0.14-1) ... 461s Selecting previously unselected package libxfont2:ppc64el. 461s Preparing to unpack .../40-libxfont2_1%3a2.0.6-1_ppc64el.deb ... 461s Unpacking libxfont2:ppc64el (1:2.0.6-1) ... 461s Selecting previously unselected package libxkbfile1:ppc64el. 461s Preparing to unpack .../41-libxkbfile1_1%3a1.1.0-1build3_ppc64el.deb ... 461s Unpacking libxkbfile1:ppc64el (1:1.1.0-1build3) ... 461s Selecting previously unselected package libxrender1:ppc64el. 461s Preparing to unpack .../42-libxrender1_1%3a0.9.10-1.1_ppc64el.deb ... 461s Unpacking libxrender1:ppc64el (1:0.9.10-1.1) ... 461s Selecting previously unselected package libxrandr2:ppc64el. 461s Preparing to unpack .../43-libxrandr2_2%3a1.5.2-2_ppc64el.deb ... 461s Unpacking libxrandr2:ppc64el (2:1.5.2-2) ... 461s Selecting previously unselected package x11-xkb-utils. 461s Preparing to unpack .../44-x11-xkb-utils_7.7+8_ppc64el.deb ... 461s Unpacking x11-xkb-utils (7.7+8) ... 461s Selecting previously unselected package xserver-common. 461s Preparing to unpack .../45-xserver-common_2%3a21.1.11-2ubuntu1_all.deb ... 461s Unpacking xserver-common (2:21.1.11-2ubuntu1) ... 461s Selecting previously unselected package libglvnd0:ppc64el. 461s Preparing to unpack .../46-libglvnd0_1.7.0-1_ppc64el.deb ... 461s Unpacking libglvnd0:ppc64el (1.7.0-1) ... 461s Selecting previously unselected package libglx0:ppc64el. 461s Preparing to unpack .../47-libglx0_1.7.0-1_ppc64el.deb ... 461s Unpacking libglx0:ppc64el (1.7.0-1) ... 461s Selecting previously unselected package libgl1:ppc64el. 461s Preparing to unpack .../48-libgl1_1.7.0-1_ppc64el.deb ... 461s Unpacking libgl1:ppc64el (1.7.0-1) ... 461s Selecting previously unselected package xvfb. 461s Preparing to unpack .../49-xvfb_2%3a21.1.11-2ubuntu1_ppc64el.deb ... 461s Unpacking xvfb (2:21.1.11-2ubuntu1) ... 461s Selecting previously unselected package autopkgtest-satdep. 461s Preparing to unpack .../50-3-autopkgtest-satdep.deb ... 461s Unpacking autopkgtest-satdep (0) ... 461s Setting up gnome-desktop-testing (2021.1-3) ... 461s Setting up libxcb-dri3-0:ppc64el (1.15-1) ... 461s Setting up libpixman-1-0:ppc64el (0.42.2-1) ... 461s Setting up libx11-xcb1:ppc64el (2:1.8.7-1) ... 461s Setting up libdrm-nouveau2:ppc64el (2.4.120-2) ... 461s Setting up libxcb-xfixes0:ppc64el (1.15-1) ... 461s Setting up desktop-file-utils (0.26-1ubuntu5) ... 461s Setting up libxpm4:ppc64el (1:3.5.17-1) ... 461s Setting up libxrender1:ppc64el (1:0.9.10-1.1) ... 461s Setting up libgirepository-2.0-0:ppc64el (2.79.3-3ubuntu5) ... 461s Setting up libdrm-radeon1:ppc64el (2.4.120-2) ... 461s Setting up libglvnd0:ppc64el (1.7.0-1) ... 461s Setting up libxcb-glx0:ppc64el (1.15-1) ... 461s Setting up x11-common (1:7.7+23ubuntu2) ... 462s Setting up libxcb-shm0:ppc64el (1.15-1) ... 462s Setting up libunwind8:ppc64el (1.6.2-3) ... 462s Setting up libelf1t64:ppc64el (0.190-1.1build1) ... 462s Setting up libxxf86vm1:ppc64el (1:1.1.4-1build3) ... 462s Setting up libxcb-present0:ppc64el (1.15-1) ... 462s Setting up libfontenc1:ppc64el (1:1.1.4-1build3) ... 462s Setting up python3-packaging (23.2-1) ... 462s Setting up libxfixes3:ppc64el (1:6.0.0-2) ... 462s Setting up libxcb-sync1:ppc64el (1.15-1) ... 462s Setting up libxrandr2:ppc64el (2:1.5.2-2) ... 462s Setting up libglapi-mesa:ppc64el (24.0.1-1ubuntu1) ... 462s Setting up libvulkan1:ppc64el (1.3.275.0-1) ... 462s Setting up libxcb-dri2-0:ppc64el (1.15-1) ... 462s Setting up libxshmfence1:ppc64el (1.3-1build4) ... 462s Setting up dbus-x11 (1.14.10-4ubuntu1) ... 462s Setting up libxcb-randr0:ppc64el (1.15-1) ... 462s Setting up libxkbfile1:ppc64el (1:1.1.0-1build3) ... 462s Setting up libllvm17:ppc64el (1:17.0.6-5build1) ... 462s Setting up libxfont2:ppc64el (1:2.0.6-1) ... 462s Setting up libdrm-amdgpu1:ppc64el (2.4.120-2) ... 462s Setting up libglib2.0-dev-bin (2.79.3-3ubuntu5) ... 462s Setting up libice6:ppc64el (2:1.0.10-1build2) ... 462s Setting up libgl1-mesa-dri:ppc64el (24.0.1-1ubuntu1) ... 462s Setting up libglib2.0-bin (2.79.3-3ubuntu5) ... 462s Setting up python3-dbusmock (0.31.1-1) ... 462s Setting up libglib2.0-tests (2.79.3-3ubuntu5) ... 462s Setting up libsm6:ppc64el (2:1.2.3-1build2) ... 462s Setting up libglx-mesa0:ppc64el (24.0.1-1ubuntu1) ... 462s Setting up libglx0:ppc64el (1.7.0-1) ... 462s Setting up libgl1:ppc64el (1.7.0-1) ... 462s Setting up libxt6:ppc64el (1:1.2.1-1.1) ... 462s Setting up libxmu6:ppc64el (2:1.1.3-3) ... 462s Setting up libxaw7:ppc64el (2:1.0.14-1) ... 462s Setting up x11-xkb-utils (7.7+8) ... 462s Setting up xserver-common (2:21.1.11-2ubuntu1) ... 462s Setting up xvfb (2:21.1.11-2ubuntu1) ... 462s Setting up autopkgtest-satdep (0) ... 462s Processing triggers for man-db (2.12.0-3) ... 463s Processing triggers for libc-bin (2.39-0ubuntu2) ... 466s (Reading database ... 71554 files and directories currently installed.) 466s Removing autopkgtest-satdep (0) ... 484s autopkgtest [01:09:39]: test installed-tests: [----------------------- 484s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),104(lxd) 484s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 484s group entry: ubuntu:x:1000: 484s Environment: 484s ADTTMP=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp 484s ADT_ARTIFACTS=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts 484s ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 484s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts 484s AUTOPKGTEST_TESTBED_ARCH=ppc64el 484s AUTOPKGTEST_TEST_ARCH=ppc64el 484s AUTOPKGTEST_TMP=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp 484s DEBIAN_FRONTEND=noninteractive 484s DEB_BUILD_OPTIONS=parallel=1 484s GIO_USE_VFS=local 484s GIO_USE_VOLUME_MONITOR=unix 484s HOME=/home/ubuntu 484s LANG=C.UTF-8 484s LOGNAME=ubuntu 484s MAIL=/var/mail/ubuntu 484s OLDPWD=/home/ubuntu 484s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 484s PWD=/tmp/autopkgtest.4l9LOF/build.Xk2/src 484s SHELL=/bin/bash 484s SHLVL=1 484s SUDO_COMMAND=/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests 484s SUDO_GID=1000 484s SUDO_UID=1000 484s SUDO_USER=ubuntu 484s TERM=linux 484s USER=ubuntu 484s XDG_RUNTIME_DIR=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp 484s http_proxy=http://squid.internal:3128 484s https_proxy=http://squid.internal:3128 484s no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com 484s run-with-locales: de_DE=ISO-8859-1... 484s Character set: ISO-8859-1 484s Source file: de_DE 484s Output: /tmp/tmp.RK383b3RHV/de_DE 485s run-with-locales: de_DE.utf8... 485s Character set: UTF-8 485s Source file: de_DE 485s Output: /tmp/tmp.RK383b3RHV/de_DE.utf8 486s run-with-locales: de_DE@euro.utf8... 486s Character set: UTF-8 486s Source file: de_DE@euro 486s Output: /tmp/tmp.RK383b3RHV/de_DE@euro.utf8 487s run-with-locales: el_GR.utf8... 487s Character set: UTF-8 487s Source file: el_GR 487s Output: /tmp/tmp.RK383b3RHV/el_GR.utf8 489s run-with-locales: en_GB=ISO-8859-1... 489s Character set: ISO-8859-1 489s Source file: en_GB 489s Output: /tmp/tmp.RK383b3RHV/en_GB 489s run-with-locales: en_GB.utf8... 489s Character set: UTF-8 489s Source file: en_GB 489s Output: /tmp/tmp.RK383b3RHV/en_GB.utf8 490s run-with-locales: en_US=ISO-8859-1... 490s Character set: ISO-8859-1 490s Source file: en_US 490s Output: /tmp/tmp.RK383b3RHV/en_US 491s run-with-locales: en_US.utf8... 491s Character set: UTF-8 491s Source file: en_US 491s Output: /tmp/tmp.RK383b3RHV/en_US.utf8 492s run-with-locales: es_ES.utf8... 492s Character set: UTF-8 492s Source file: es_ES 492s Output: /tmp/tmp.RK383b3RHV/es_ES.utf8 494s run-with-locales: fa_IR=UTF-8... 494s Character set: UTF-8 494s Source file: fa_IR 494s Output: /tmp/tmp.RK383b3RHV/fa_IR 495s run-with-locales: fa_IR.utf8... 495s Character set: UTF-8 495s Source file: fa_IR 495s Output: /tmp/tmp.RK383b3RHV/fa_IR.utf8 496s run-with-locales: fr_FR.utf8... 496s Character set: UTF-8 496s Source file: fr_FR 496s Output: /tmp/tmp.RK383b3RHV/fr_FR.utf8 497s run-with-locales: hr_HR.utf8... 497s Character set: UTF-8 497s Source file: hr_HR 497s Output: /tmp/tmp.RK383b3RHV/hr_HR.utf8 499s run-with-locales: ja_JP.utf8... 499s Character set: UTF-8 499s Source file: ja_JP 499s Output: /tmp/tmp.RK383b3RHV/ja_JP.utf8 499s run-with-locales: ja_JP.EUC-JP... 499s Character set: EUC-JP 499s Source file: ja_JP 499s Output: /tmp/tmp.RK383b3RHV/ja_JP.eucjp 500s run-with-locales: lt_LT.utf8... 500s Character set: UTF-8 500s Source file: lt_LT 500s Output: /tmp/tmp.RK383b3RHV/lt_LT.utf8 501s run-with-locales: pl_PL=ISO-8859-2... 501s Character set: ISO-8859-2 501s Source file: pl_PL 501s Output: /tmp/tmp.RK383b3RHV/pl_PL 502s run-with-locales: pl_PL.ISO-8859-2... 502s Character set: ISO-8859-2 502s Source file: pl_PL 502s Output: /tmp/tmp.RK383b3RHV/pl_PL.iso88592 502s run-with-locales: pl_PL.utf8... 502s Character set: UTF-8 502s Source file: pl_PL 502s Output: /tmp/tmp.RK383b3RHV/pl_PL.utf8 503s run-with-locales: ru_RU=ISO-8859-5... 503s Character set: ISO-8859-5 503s Source file: ru_RU 503s Output: /tmp/tmp.RK383b3RHV/ru_RU 504s run-with-locales: ru_RU.utf8... 504s Character set: UTF-8 504s Source file: ru_RU 504s Output: /tmp/tmp.RK383b3RHV/ru_RU.utf8 505s run-with-locales: sr_RS=UTF-8... 505s Character set: UTF-8 505s Source file: sr_RS 505s Output: /tmp/tmp.RK383b3RHV/sr_RS 506s run-with-locales: sr_RS@latin=UTF-8... 506s Character set: UTF-8 506s Source file: sr_RS@latin 506s Output: /tmp/tmp.RK383b3RHV/sr_RS@latin 508s run-with-locales: sv_SE=ISO-8859-1... 508s Character set: ISO-8859-1 508s Source file: sv_SE 508s Output: /tmp/tmp.RK383b3RHV/sv_SE 508s run-with-locales: sv_SE.utf8... 508s Character set: UTF-8 508s Source file: sv_SE 508s Output: /tmp/tmp.RK383b3RHV/sv_SE.utf8 509s run-with-locales: tr_TR=ISO-8859-9... 509s Character set: ISO-8859-9 509s Source file: tr_TR 509s Output: /tmp/tmp.RK383b3RHV/tr_TR 510s run-with-locales: tr_TR.utf8... 510s Character set: UTF-8 510s Source file: tr_TR 510s Output: /tmp/tmp.RK383b3RHV/tr_TR.utf8 511s run-with-locales: tt_RU=UTF-8... 511s Character set: UTF-8 511s Source file: tt_RU 511s Output: /tmp/tmp.RK383b3RHV/tt_RU 512s run-with-locales: tt_RU.utf8... 512s Character set: UTF-8 512s Source file: tt_RU 512s Output: /tmp/tmp.RK383b3RHV/tt_RU.utf8 514s run-with-locales: tt_RU@iqtelif=UTF-8... 514s Character set: UTF-8 514s Source file: tt_RU@iqtelif 514s Output: /tmp/tmp.RK383b3RHV/tt_RU@iqtelif 515s /tmp/tmp.RK383b3RHV 515s /tmp/tmp.RK383b3RHV/ja_JP.utf8 515s /tmp/tmp.RK383b3RHV/ja_JP.utf8/LC_MONETARY 515s /tmp/tmp.RK383b3RHV/ja_JP.utf8/LC_NUMERIC 515s /tmp/tmp.RK383b3RHV/ja_JP.utf8/LC_CTYPE 515s /tmp/tmp.RK383b3RHV/ja_JP.utf8/LC_NAME 515s /tmp/tmp.RK383b3RHV/ja_JP.utf8/LC_ADDRESS 515s /tmp/tmp.RK383b3RHV/ja_JP.utf8/LC_IDENTIFICATION 515s /tmp/tmp.RK383b3RHV/ja_JP.utf8/LC_COLLATE 515s /tmp/tmp.RK383b3RHV/ja_JP.utf8/LC_TELEPHONE 515s /tmp/tmp.RK383b3RHV/ja_JP.utf8/LC_PAPER 515s /tmp/tmp.RK383b3RHV/ja_JP.utf8/LC_MEASUREMENT 515s /tmp/tmp.RK383b3RHV/ja_JP.utf8/LC_TIME 515s /tmp/tmp.RK383b3RHV/ja_JP.utf8/LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/es_ES.utf8 515s /tmp/tmp.RK383b3RHV/es_ES.utf8/LC_MONETARY 515s /tmp/tmp.RK383b3RHV/es_ES.utf8/LC_NUMERIC 515s /tmp/tmp.RK383b3RHV/es_ES.utf8/LC_CTYPE 515s /tmp/tmp.RK383b3RHV/es_ES.utf8/LC_NAME 515s /tmp/tmp.RK383b3RHV/es_ES.utf8/LC_ADDRESS 515s /tmp/tmp.RK383b3RHV/es_ES.utf8/LC_IDENTIFICATION 515s /tmp/tmp.RK383b3RHV/es_ES.utf8/LC_COLLATE 515s /tmp/tmp.RK383b3RHV/es_ES.utf8/LC_TELEPHONE 515s /tmp/tmp.RK383b3RHV/es_ES.utf8/LC_PAPER 515s /tmp/tmp.RK383b3RHV/es_ES.utf8/LC_MEASUREMENT 515s /tmp/tmp.RK383b3RHV/es_ES.utf8/LC_TIME 515s /tmp/tmp.RK383b3RHV/es_ES.utf8/LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/pl_PL.iso88592 515s /tmp/tmp.RK383b3RHV/pl_PL.iso88592/LC_MONETARY 515s /tmp/tmp.RK383b3RHV/pl_PL.iso88592/LC_NUMERIC 515s /tmp/tmp.RK383b3RHV/pl_PL.iso88592/LC_CTYPE 515s /tmp/tmp.RK383b3RHV/pl_PL.iso88592/LC_NAME 515s /tmp/tmp.RK383b3RHV/pl_PL.iso88592/LC_ADDRESS 515s /tmp/tmp.RK383b3RHV/pl_PL.iso88592/LC_IDENTIFICATION 515s /tmp/tmp.RK383b3RHV/pl_PL.iso88592/LC_COLLATE 515s /tmp/tmp.RK383b3RHV/pl_PL.iso88592/LC_TELEPHONE 515s /tmp/tmp.RK383b3RHV/pl_PL.iso88592/LC_PAPER 515s /tmp/tmp.RK383b3RHV/pl_PL.iso88592/LC_MEASUREMENT 515s /tmp/tmp.RK383b3RHV/pl_PL.iso88592/LC_TIME 515s /tmp/tmp.RK383b3RHV/pl_PL.iso88592/LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/en_GB 515s /tmp/tmp.RK383b3RHV/en_GB/LC_MONETARY 515s /tmp/tmp.RK383b3RHV/en_GB/LC_NUMERIC 515s /tmp/tmp.RK383b3RHV/en_GB/LC_CTYPE 515s /tmp/tmp.RK383b3RHV/en_GB/LC_NAME 515s /tmp/tmp.RK383b3RHV/en_GB/LC_ADDRESS 515s /tmp/tmp.RK383b3RHV/en_GB/LC_IDENTIFICATION 515s /tmp/tmp.RK383b3RHV/en_GB/LC_COLLATE 515s /tmp/tmp.RK383b3RHV/en_GB/LC_TELEPHONE 515s /tmp/tmp.RK383b3RHV/en_GB/LC_PAPER 515s /tmp/tmp.RK383b3RHV/en_GB/LC_MEASUREMENT 515s /tmp/tmp.RK383b3RHV/en_GB/LC_TIME 515s /tmp/tmp.RK383b3RHV/en_GB/LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/sv_SE.utf8 515s /tmp/tmp.RK383b3RHV/sv_SE.utf8/LC_MONETARY 515s /tmp/tmp.RK383b3RHV/sv_SE.utf8/LC_NUMERIC 515s /tmp/tmp.RK383b3RHV/sv_SE.utf8/LC_CTYPE 515s /tmp/tmp.RK383b3RHV/sv_SE.utf8/LC_NAME 515s /tmp/tmp.RK383b3RHV/sv_SE.utf8/LC_ADDRESS 515s /tmp/tmp.RK383b3RHV/sv_SE.utf8/LC_IDENTIFICATION 515s /tmp/tmp.RK383b3RHV/sv_SE.utf8/LC_COLLATE 515s /tmp/tmp.RK383b3RHV/sv_SE.utf8/LC_TELEPHONE 515s /tmp/tmp.RK383b3RHV/sv_SE.utf8/LC_PAPER 515s /tmp/tmp.RK383b3RHV/sv_SE.utf8/LC_MEASUREMENT 515s /tmp/tmp.RK383b3RHV/sv_SE.utf8/LC_TIME 515s /tmp/tmp.RK383b3RHV/sv_SE.utf8/LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/en_US 515s /tmp/tmp.RK383b3RHV/en_US/LC_MONETARY 515s /tmp/tmp.RK383b3RHV/en_US/LC_NUMERIC 515s /tmp/tmp.RK383b3RHV/en_US/LC_CTYPE 515s /tmp/tmp.RK383b3RHV/en_US/LC_NAME 515s /tmp/tmp.RK383b3RHV/en_US/LC_ADDRESS 515s /tmp/tmp.RK383b3RHV/en_US/LC_IDENTIFICATION 515s /tmp/tmp.RK383b3RHV/en_US/LC_COLLATE 515s /tmp/tmp.RK383b3RHV/en_US/LC_TELEPHONE 515s /tmp/tmp.RK383b3RHV/en_US/LC_PAPER 515s /tmp/tmp.RK383b3RHV/en_US/LC_MEASUREMENT 515s /tmp/tmp.RK383b3RHV/en_US/LC_TIME 515s /tmp/tmp.RK383b3RHV/en_US/LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/en_US/LC_MESSAGES/SYS_LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/ru_RU 515s /tmp/tmp.RK383b3RHV/ru_RU/LC_MONETARY 515s /tmp/tmp.RK383b3RHV/ru_RU/LC_NUMERIC 515s /tmp/tmp.RK383b3RHV/ru_RU/LC_CTYPE 515s /tmp/tmp.RK383b3RHV/ru_RU/LC_NAME 515s /tmp/tmp.RK383b3RHV/ru_RU/LC_ADDRESS 515s /tmp/tmp.RK383b3RHV/ru_RU/LC_IDENTIFICATION 515s /tmp/tmp.RK383b3RHV/ru_RU/LC_COLLATE 515s /tmp/tmp.RK383b3RHV/ru_RU/LC_TELEPHONE 515s /tmp/tmp.RK383b3RHV/ru_RU/LC_PAPER 515s /tmp/tmp.RK383b3RHV/ru_RU/LC_MEASUREMENT 515s /tmp/tmp.RK383b3RHV/ru_RU/LC_TIME 515s /tmp/tmp.RK383b3RHV/ru_RU/LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/tr_TR.utf8 515s /tmp/tmp.RK383b3RHV/tr_TR.utf8/LC_MONETARY 515s /tmp/tmp.RK383b3RHV/tr_TR.utf8/LC_NUMERIC 515s /tmp/tmp.RK383b3RHV/tr_TR.utf8/LC_CTYPE 515s /tmp/tmp.RK383b3RHV/tr_TR.utf8/LC_NAME 515s /tmp/tmp.RK383b3RHV/tr_TR.utf8/LC_ADDRESS 515s /tmp/tmp.RK383b3RHV/tr_TR.utf8/LC_IDENTIFICATION 515s /tmp/tmp.RK383b3RHV/tr_TR.utf8/LC_COLLATE 515s /tmp/tmp.RK383b3RHV/tr_TR.utf8/LC_TELEPHONE 515s /tmp/tmp.RK383b3RHV/tr_TR.utf8/LC_PAPER 515s /tmp/tmp.RK383b3RHV/tr_TR.utf8/LC_MEASUREMENT 515s /tmp/tmp.RK383b3RHV/tr_TR.utf8/LC_TIME 515s /tmp/tmp.RK383b3RHV/tr_TR.utf8/LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/en_GB.utf8 515s /tmp/tmp.RK383b3RHV/en_GB.utf8/LC_MONETARY 515s /tmp/tmp.RK383b3RHV/en_GB.utf8/LC_NUMERIC 515s /tmp/tmp.RK383b3RHV/en_GB.utf8/LC_CTYPE 515s /tmp/tmp.RK383b3RHV/en_GB.utf8/LC_NAME 515s /tmp/tmp.RK383b3RHV/en_GB.utf8/LC_ADDRESS 515s /tmp/tmp.RK383b3RHV/en_GB.utf8/LC_IDENTIFICATION 515s /tmp/tmp.RK383b3RHV/en_GB.utf8/LC_COLLATE 515s /tmp/tmp.RK383b3RHV/en_GB.utf8/LC_TELEPHONE 515s /tmp/tmp.RK383b3RHV/en_GB.utf8/LC_PAPER 515s /tmp/tmp.RK383b3RHV/en_GB.utf8/LC_MEASUREMENT 515s /tmp/tmp.RK383b3RHV/en_GB.utf8/LC_TIME 515s /tmp/tmp.RK383b3RHV/en_GB.utf8/LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/pl_PL.utf8 515s /tmp/tmp.RK383b3RHV/pl_PL.utf8/LC_MONETARY 515s /tmp/tmp.RK383b3RHV/pl_PL.utf8/LC_NUMERIC 515s /tmp/tmp.RK383b3RHV/pl_PL.utf8/LC_CTYPE 515s /tmp/tmp.RK383b3RHV/pl_PL.utf8/LC_NAME 515s /tmp/tmp.RK383b3RHV/pl_PL.utf8/LC_ADDRESS 515s /tmp/tmp.RK383b3RHV/pl_PL.utf8/LC_IDENTIFICATION 515s /tmp/tmp.RK383b3RHV/pl_PL.utf8/LC_COLLATE 515s /tmp/tmp.RK383b3RHV/pl_PL.utf8/LC_TELEPHONE 515s /tmp/tmp.RK383b3RHV/pl_PL.utf8/LC_PAPER 515s /tmp/tmp.RK383b3RHV/pl_PL.utf8/LC_MEASUREMENT 515s /tmp/tmp.RK383b3RHV/pl_PL.utf8/LC_TIME 515s /tmp/tmp.RK383b3RHV/pl_PL.utf8/LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/sv_SE 515s /tmp/tmp.RK383b3RHV/sv_SE/LC_MONETARY 515s /tmp/tmp.RK383b3RHV/sv_SE/LC_NUMERIC 515s /tmp/tmp.RK383b3RHV/sv_SE/LC_CTYPE 515s /tmp/tmp.RK383b3RHV/sv_SE/LC_NAME 515s /tmp/tmp.RK383b3RHV/sv_SE/LC_ADDRESS 515s /tmp/tmp.RK383b3RHV/sv_SE/LC_IDENTIFICATION 515s /tmp/tmp.RK383b3RHV/sv_SE/LC_COLLATE 515s /tmp/tmp.RK383b3RHV/sv_SE/LC_TELEPHONE 515s /tmp/tmp.RK383b3RHV/sv_SE/LC_PAPER 515s /tmp/tmp.RK383b3RHV/sv_SE/LC_MEASUREMENT 515s /tmp/tmp.RK383b3RHV/sv_SE/LC_TIME 515s /tmp/tmp.RK383b3RHV/sv_SE/LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/ja_JP.eucjp 515s /tmp/tmp.RK383b3RHV/ja_JP.eucjp/LC_MONETARY 515s /tmp/tmp.RK383b3RHV/ja_JP.eucjp/LC_NUMERIC 515s /tmp/tmp.RK383b3RHV/ja_JP.eucjp/LC_CTYPE 515s /tmp/tmp.RK383b3RHV/ja_JP.eucjp/LC_NAME 515s /tmp/tmp.RK383b3RHV/ja_JP.eucjp/LC_ADDRESS 515s /tmp/tmp.RK383b3RHV/ja_JP.eucjp/LC_IDENTIFICATION 515s /tmp/tmp.RK383b3RHV/ja_JP.eucjp/LC_COLLATE 515s /tmp/tmp.RK383b3RHV/ja_JP.eucjp/LC_TELEPHONE 515s /tmp/tmp.RK383b3RHV/ja_JP.eucjp/LC_PAPER 515s /tmp/tmp.RK383b3RHV/ja_JP.eucjp/LC_MEASUREMENT 515s /tmp/tmp.RK383b3RHV/ja_JP.eucjp/LC_TIME 515s /tmp/tmp.RK383b3RHV/ja_JP.eucjp/LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/fa_IR 515s /tmp/tmp.RK383b3RHV/fa_IR/LC_MONETARY 515s /tmp/tmp.RK383b3RHV/fa_IR/LC_NUMERIC 515s /tmp/tmp.RK383b3RHV/fa_IR/LC_CTYPE 515s /tmp/tmp.RK383b3RHV/fa_IR/LC_NAME 515s /tmp/tmp.RK383b3RHV/fa_IR/LC_ADDRESS 515s /tmp/tmp.RK383b3RHV/fa_IR/LC_IDENTIFICATION 515s /tmp/tmp.RK383b3RHV/fa_IR/LC_COLLATE 515s /tmp/tmp.RK383b3RHV/fa_IR/LC_TELEPHONE 515s /tmp/tmp.RK383b3RHV/fa_IR/LC_PAPER 515s /tmp/tmp.RK383b3RHV/fa_IR/LC_MEASUREMENT 515s /tmp/tmp.RK383b3RHV/fa_IR/LC_TIME 515s /tmp/tmp.RK383b3RHV/fa_IR/LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/hr_HR.utf8 515s /tmp/tmp.RK383b3RHV/hr_HR.utf8/LC_MONETARY 515s /tmp/tmp.RK383b3RHV/hr_HR.utf8/LC_NUMERIC 515s /tmp/tmp.RK383b3RHV/hr_HR.utf8/LC_CTYPE 515s /tmp/tmp.RK383b3RHV/hr_HR.utf8/LC_NAME 515s /tmp/tmp.RK383b3RHV/hr_HR.utf8/LC_ADDRESS 515s /tmp/tmp.RK383b3RHV/hr_HR.utf8/LC_IDENTIFICATION 515s /tmp/tmp.RK383b3RHV/hr_HR.utf8/LC_COLLATE 515s /tmp/tmp.RK383b3RHV/hr_HR.utf8/LC_TELEPHONE 515s /tmp/tmp.RK383b3RHV/hr_HR.utf8/LC_PAPER 515s /tmp/tmp.RK383b3RHV/hr_HR.utf8/LC_MEASUREMENT 515s /tmp/tmp.RK383b3RHV/hr_HR.utf8/LC_TIME 515s /tmp/tmp.RK383b3RHV/hr_HR.utf8/LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/fa_IR.utf8 515s /tmp/tmp.RK383b3RHV/fa_IR.utf8/LC_MONETARY 515s /tmp/tmp.RK383b3RHV/fa_IR.utf8/LC_NUMERIC 515s /tmp/tmp.RK383b3RHV/fa_IR.utf8/LC_CTYPE 515s /tmp/tmp.RK383b3RHV/fa_IR.utf8/LC_NAME 515s /tmp/tmp.RK383b3RHV/fa_IR.utf8/LC_ADDRESS 515s /tmp/tmp.RK383b3RHV/fa_IR.utf8/LC_IDENTIFICATION 515s /tmp/tmp.RK383b3RHV/fa_IR.utf8/LC_COLLATE 515s /tmp/tmp.RK383b3RHV/fa_IR.utf8/LC_TELEPHONE 515s /tmp/tmp.RK383b3RHV/fa_IR.utf8/LC_PAPER 515s /tmp/tmp.RK383b3RHV/fa_IR.utf8/LC_MEASUREMENT 515s /tmp/tmp.RK383b3RHV/fa_IR.utf8/LC_TIME 515s /tmp/tmp.RK383b3RHV/fa_IR.utf8/LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/de_DE.utf8 515s /tmp/tmp.RK383b3RHV/de_DE.utf8/LC_MONETARY 515s /tmp/tmp.RK383b3RHV/de_DE.utf8/LC_NUMERIC 515s /tmp/tmp.RK383b3RHV/de_DE.utf8/LC_CTYPE 515s /tmp/tmp.RK383b3RHV/de_DE.utf8/LC_NAME 515s /tmp/tmp.RK383b3RHV/de_DE.utf8/LC_ADDRESS 515s /tmp/tmp.RK383b3RHV/de_DE.utf8/LC_IDENTIFICATION 515s /tmp/tmp.RK383b3RHV/de_DE.utf8/LC_COLLATE 515s /tmp/tmp.RK383b3RHV/de_DE.utf8/LC_TELEPHONE 515s /tmp/tmp.RK383b3RHV/de_DE.utf8/LC_PAPER 515s /tmp/tmp.RK383b3RHV/de_DE.utf8/LC_MEASUREMENT 515s /tmp/tmp.RK383b3RHV/de_DE.utf8/LC_TIME 515s /tmp/tmp.RK383b3RHV/de_DE.utf8/LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/en_US.utf8 515s /tmp/tmp.RK383b3RHV/en_US.utf8/LC_MONETARY 515s /tmp/tmp.RK383b3RHV/en_US.utf8/LC_NUMERIC 515s /tmp/tmp.RK383b3RHV/en_US.utf8/LC_CTYPE 515s /tmp/tmp.RK383b3RHV/en_US.utf8/LC_NAME 515s /tmp/tmp.RK383b3RHV/en_US.utf8/LC_ADDRESS 515s /tmp/tmp.RK383b3RHV/en_US.utf8/LC_IDENTIFICATION 515s /tmp/tmp.RK383b3RHV/en_US.utf8/LC_COLLATE 515s /tmp/tmp.RK383b3RHV/en_US.utf8/LC_TELEPHONE 515s /tmp/tmp.RK383b3RHV/en_US.utf8/LC_PAPER 515s /tmp/tmp.RK383b3RHV/en_US.utf8/LC_MEASUREMENT 515s /tmp/tmp.RK383b3RHV/en_US.utf8/LC_TIME 515s /tmp/tmp.RK383b3RHV/en_US.utf8/LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/de_DE 515s /tmp/tmp.RK383b3RHV/de_DE/LC_MONETARY 515s /tmp/tmp.RK383b3RHV/de_DE/LC_NUMERIC 515s /tmp/tmp.RK383b3RHV/de_DE/LC_CTYPE 515s /tmp/tmp.RK383b3RHV/de_DE/LC_NAME 515s /tmp/tmp.RK383b3RHV/de_DE/LC_ADDRESS 515s /tmp/tmp.RK383b3RHV/de_DE/LC_IDENTIFICATION 515s /tmp/tmp.RK383b3RHV/de_DE/LC_COLLATE 515s /tmp/tmp.RK383b3RHV/de_DE/LC_TELEPHONE 515s /tmp/tmp.RK383b3RHV/de_DE/LC_PAPER 515s /tmp/tmp.RK383b3RHV/de_DE/LC_MEASUREMENT 515s /tmp/tmp.RK383b3RHV/de_DE/LC_TIME 515s /tmp/tmp.RK383b3RHV/de_DE/LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/tt_RU@iqtelif 515s /tmp/tmp.RK383b3RHV/tt_RU@iqtelif/LC_MONETARY 515s /tmp/tmp.RK383b3RHV/tt_RU@iqtelif/LC_NUMERIC 515s /tmp/tmp.RK383b3RHV/tt_RU@iqtelif/LC_CTYPE 515s /tmp/tmp.RK383b3RHV/tt_RU@iqtelif/LC_NAME 515s /tmp/tmp.RK383b3RHV/tt_RU@iqtelif/LC_ADDRESS 515s /tmp/tmp.RK383b3RHV/tt_RU@iqtelif/LC_IDENTIFICATION 515s /tmp/tmp.RK383b3RHV/tt_RU@iqtelif/LC_COLLATE 515s /tmp/tmp.RK383b3RHV/tt_RU@iqtelif/LC_TELEPHONE 515s /tmp/tmp.RK383b3RHV/tt_RU@iqtelif/LC_PAPER 515s /tmp/tmp.RK383b3RHV/tt_RU@iqtelif/LC_MEASUREMENT 515s /tmp/tmp.RK383b3RHV/tt_RU@iqtelif/LC_TIME 515s /tmp/tmp.RK383b3RHV/tt_RU@iqtelif/LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/el_GR.utf8 515s /tmp/tmp.RK383b3RHV/el_GR.utf8/LC_MONETARY 515s /tmp/tmp.RK383b3RHV/el_GR.utf8/LC_NUMERIC 515s /tmp/tmp.RK383b3RHV/el_GR.utf8/LC_CTYPE 515s /tmp/tmp.RK383b3RHV/el_GR.utf8/LC_NAME 515s /tmp/tmp.RK383b3RHV/el_GR.utf8/LC_ADDRESS 515s /tmp/tmp.RK383b3RHV/el_GR.utf8/LC_IDENTIFICATION 515s /tmp/tmp.RK383b3RHV/el_GR.utf8/LC_COLLATE 515s /tmp/tmp.RK383b3RHV/el_GR.utf8/LC_TELEPHONE 515s /tmp/tmp.RK383b3RHV/el_GR.utf8/LC_PAPER 515s /tmp/tmp.RK383b3RHV/el_GR.utf8/LC_MEASUREMENT 515s /tmp/tmp.RK383b3RHV/el_GR.utf8/LC_TIME 515s /tmp/tmp.RK383b3RHV/el_GR.utf8/LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/tr_TR 515s /tmp/tmp.RK383b3RHV/tr_TR/LC_MONETARY 515s /tmp/tmp.RK383b3RHV/tr_TR/LC_NUMERIC 515s /tmp/tmp.RK383b3RHV/tr_TR/LC_CTYPE 515s /tmp/tmp.RK383b3RHV/tr_TR/LC_NAME 515s /tmp/tmp.RK383b3RHV/tr_TR/LC_ADDRESS 515s /tmp/tmp.RK383b3RHV/tr_TR/LC_IDENTIFICATION 515s /tmp/tmp.RK383b3RHV/tr_TR/LC_COLLATE 515s /tmp/tmp.RK383b3RHV/tr_TR/LC_TELEPHONE 515s /tmp/tmp.RK383b3RHV/tr_TR/LC_PAPER 515s /tmp/tmp.RK383b3RHV/tr_TR/LC_MEASUREMENT 515s /tmp/tmp.RK383b3RHV/tr_TR/LC_TIME 515s /tmp/tmp.RK383b3RHV/tr_TR/LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/fr_FR.utf8 515s /tmp/tmp.RK383b3RHV/fr_FR.utf8/LC_MONETARY 515s /tmp/tmp.RK383b3RHV/fr_FR.utf8/LC_NUMERIC 515s /tmp/tmp.RK383b3RHV/fr_FR.utf8/LC_CTYPE 515s /tmp/tmp.RK383b3RHV/fr_FR.utf8/LC_NAME 515s /tmp/tmp.RK383b3RHV/fr_FR.utf8/LC_ADDRESS 515s /tmp/tmp.RK383b3RHV/fr_FR.utf8/LC_IDENTIFICATION 515s /tmp/tmp.RK383b3RHV/fr_FR.utf8/LC_COLLATE 515s /tmp/tmp.RK383b3RHV/fr_FR.utf8/LC_TELEPHONE 515s /tmp/tmp.RK383b3RHV/fr_FR.utf8/LC_PAPER 515s /tmp/tmp.RK383b3RHV/fr_FR.utf8/LC_MEASUREMENT 515s /tmp/tmp.RK383b3RHV/fr_FR.utf8/LC_TIME 515s /tmp/tmp.RK383b3RHV/fr_FR.utf8/LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/de_DE@euro.utf8 515s /tmp/tmp.RK383b3RHV/de_DE@euro.utf8/LC_MONETARY 515s /tmp/tmp.RK383b3RHV/de_DE@euro.utf8/LC_NUMERIC 515s /tmp/tmp.RK383b3RHV/de_DE@euro.utf8/LC_CTYPE 515s /tmp/tmp.RK383b3RHV/de_DE@euro.utf8/LC_NAME 515s /tmp/tmp.RK383b3RHV/de_DE@euro.utf8/LC_ADDRESS 515s /tmp/tmp.RK383b3RHV/de_DE@euro.utf8/LC_IDENTIFICATION 515s /tmp/tmp.RK383b3RHV/de_DE@euro.utf8/LC_COLLATE 515s /tmp/tmp.RK383b3RHV/de_DE@euro.utf8/LC_TELEPHONE 515s /tmp/tmp.RK383b3RHV/de_DE@euro.utf8/LC_PAPER 515s /tmp/tmp.RK383b3RHV/de_DE@euro.utf8/LC_MEASUREMENT 515s /tmp/tmp.RK383b3RHV/de_DE@euro.utf8/LC_TIME 515s /tmp/tmp.RK383b3RHV/de_DE@euro.utf8/LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/lt_LT.utf8 515s /tmp/tmp.RK383b3RHV/lt_LT.utf8/LC_MONETARY 515s /tmp/tmp.RK383b3RHV/lt_LT.utf8/LC_NUMERIC 515s /tmp/tmp.RK383b3RHV/lt_LT.utf8/LC_CTYPE 515s /tmp/tmp.RK383b3RHV/lt_LT.utf8/LC_NAME 515s /tmp/tmp.RK383b3RHV/lt_LT.utf8/LC_ADDRESS 515s /tmp/tmp.RK383b3RHV/lt_LT.utf8/LC_IDENTIFICATION 515s /tmp/tmp.RK383b3RHV/lt_LT.utf8/LC_COLLATE 515s /tmp/tmp.RK383b3RHV/lt_LT.utf8/LC_TELEPHONE 515s /tmp/tmp.RK383b3RHV/lt_LT.utf8/LC_PAPER 515s /tmp/tmp.RK383b3RHV/lt_LT.utf8/LC_MEASUREMENT 515s /tmp/tmp.RK383b3RHV/lt_LT.utf8/LC_TIME 515s /tmp/tmp.RK383b3RHV/lt_LT.utf8/LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/sr_RS 515s /tmp/tmp.RK383b3RHV/sr_RS/LC_MONETARY 515s /tmp/tmp.RK383b3RHV/sr_RS/LC_NUMERIC 515s /tmp/tmp.RK383b3RHV/sr_RS/LC_CTYPE 515s /tmp/tmp.RK383b3RHV/sr_RS/LC_NAME 515s /tmp/tmp.RK383b3RHV/sr_RS/LC_ADDRESS 515s /tmp/tmp.RK383b3RHV/sr_RS/LC_IDENTIFICATION 515s /tmp/tmp.RK383b3RHV/sr_RS/LC_COLLATE 515s /tmp/tmp.RK383b3RHV/sr_RS/LC_TELEPHONE 515s /tmp/tmp.RK383b3RHV/sr_RS/LC_PAPER 515s /tmp/tmp.RK383b3RHV/sr_RS/LC_MEASUREMENT 515s /tmp/tmp.RK383b3RHV/sr_RS/LC_TIME 515s /tmp/tmp.RK383b3RHV/sr_RS/LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/pl_PL 515s /tmp/tmp.RK383b3RHV/pl_PL/LC_MONETARY 515s /tmp/tmp.RK383b3RHV/pl_PL/LC_NUMERIC 515s /tmp/tmp.RK383b3RHV/pl_PL/LC_CTYPE 515s /tmp/tmp.RK383b3RHV/pl_PL/LC_NAME 515s /tmp/tmp.RK383b3RHV/pl_PL/LC_ADDRESS 515s /tmp/tmp.RK383b3RHV/pl_PL/LC_IDENTIFICATION 515s /tmp/tmp.RK383b3RHV/pl_PL/LC_COLLATE 515s /tmp/tmp.RK383b3RHV/pl_PL/LC_TELEPHONE 515s /tmp/tmp.RK383b3RHV/pl_PL/LC_PAPER 515s /tmp/tmp.RK383b3RHV/pl_PL/LC_MEASUREMENT 515s /tmp/tmp.RK383b3RHV/pl_PL/LC_TIME 515s /tmp/tmp.RK383b3RHV/pl_PL/LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/sr_RS@latin 515s /tmp/tmp.RK383b3RHV/sr_RS@latin/LC_MONETARY 515s /tmp/tmp.RK383b3RHV/sr_RS@latin/LC_NUMERIC 515s /tmp/tmp.RK383b3RHV/sr_RS@latin/LC_CTYPE 515s /tmp/tmp.RK383b3RHV/sr_RS@latin/LC_NAME 515s /tmp/tmp.RK383b3RHV/sr_RS@latin/LC_ADDRESS 515s /tmp/tmp.RK383b3RHV/sr_RS@latin/LC_IDENTIFICATION 515s /tmp/tmp.RK383b3RHV/sr_RS@latin/LC_COLLATE 515s /tmp/tmp.RK383b3RHV/sr_RS@latin/LC_TELEPHONE 515s /tmp/tmp.RK383b3RHV/sr_RS@latin/LC_PAPER 515s /tmp/tmp.RK383b3RHV/sr_RS@latin/LC_MEASUREMENT 515s /tmp/tmp.RK383b3RHV/sr_RS@latin/LC_TIME 515s /tmp/tmp.RK383b3RHV/sr_RS@latin/LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/tt_RU.utf8 515s /tmp/tmp.RK383b3RHV/tt_RU.utf8/LC_MONETARY 515s /tmp/tmp.RK383b3RHV/tt_RU.utf8/LC_NUMERIC 515s /tmp/tmp.RK383b3RHV/tt_RU.utf8/LC_CTYPE 515s /tmp/tmp.RK383b3RHV/tt_RU.utf8/LC_NAME 515s /tmp/tmp.RK383b3RHV/tt_RU.utf8/LC_ADDRESS 515s /tmp/tmp.RK383b3RHV/tt_RU.utf8/LC_IDENTIFICATION 515s /tmp/tmp.RK383b3RHV/tt_RU.utf8/LC_COLLATE 515s /tmp/tmp.RK383b3RHV/tt_RU.utf8/LC_TELEPHONE 515s /tmp/tmp.RK383b3RHV/tt_RU.utf8/LC_PAPER 515s /tmp/tmp.RK383b3RHV/tt_RU.utf8/LC_MEASUREMENT 515s /tmp/tmp.RK383b3RHV/tt_RU.utf8/LC_TIME 515s /tmp/tmp.RK383b3RHV/tt_RU.utf8/LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/ru_RU.utf8 515s /tmp/tmp.RK383b3RHV/ru_RU.utf8/LC_MONETARY 515s /tmp/tmp.RK383b3RHV/ru_RU.utf8/LC_NUMERIC 515s /tmp/tmp.RK383b3RHV/ru_RU.utf8/LC_CTYPE 515s /tmp/tmp.RK383b3RHV/ru_RU.utf8/LC_NAME 515s /tmp/tmp.RK383b3RHV/ru_RU.utf8/LC_ADDRESS 515s /tmp/tmp.RK383b3RHV/ru_RU.utf8/LC_IDENTIFICATION 515s /tmp/tmp.RK383b3RHV/ru_RU.utf8/LC_COLLATE 515s /tmp/tmp.RK383b3RHV/ru_RU.utf8/LC_TELEPHONE 515s /tmp/tmp.RK383b3RHV/ru_RU.utf8/LC_PAPER 515s /tmp/tmp.RK383b3RHV/ru_RU.utf8/LC_MEASUREMENT 515s /tmp/tmp.RK383b3RHV/ru_RU.utf8/LC_TIME 515s /tmp/tmp.RK383b3RHV/ru_RU.utf8/LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/tt_RU 515s /tmp/tmp.RK383b3RHV/tt_RU/LC_MONETARY 515s /tmp/tmp.RK383b3RHV/tt_RU/LC_NUMERIC 515s /tmp/tmp.RK383b3RHV/tt_RU/LC_CTYPE 515s /tmp/tmp.RK383b3RHV/tt_RU/LC_NAME 515s /tmp/tmp.RK383b3RHV/tt_RU/LC_ADDRESS 515s /tmp/tmp.RK383b3RHV/tt_RU/LC_IDENTIFICATION 515s /tmp/tmp.RK383b3RHV/tt_RU/LC_COLLATE 515s /tmp/tmp.RK383b3RHV/tt_RU/LC_TELEPHONE 515s /tmp/tmp.RK383b3RHV/tt_RU/LC_PAPER 515s /tmp/tmp.RK383b3RHV/tt_RU/LC_MEASUREMENT 515s /tmp/tmp.RK383b3RHV/tt_RU/LC_TIME 515s /tmp/tmp.RK383b3RHV/tt_RU/LC_MESSAGES 515s /tmp/tmp.RK383b3RHV/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 515s 1..316 515s # Running test: glib/proxy-test.test 515s TAP version 13 515s # random seed: R02Sc2a071e6c7567e63da0dade3904c5e19 515s 1..11 515s # Start of proxy tests 515s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ?gio-proxy-resolver? 515s ok 1 /proxy/direct_sync 515s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 515s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x176565170980 and GSocketClientAsyncConnectData 0x176565166260 515s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 515s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 515s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x176565171390 for GSocketClientAsyncConnectData 0x176565166260 515s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 515s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 515s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 515s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 515s ok 2 /proxy/direct_async 515s ok 3 /proxy/single_sync 515s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 515s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x176565172c90 and GSocketClientAsyncConnectData 0x176565171de0 515s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 515s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 515s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1765651737f0 for GSocketClientAsyncConnectData 0x176565171de0 515s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 515s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 515s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 515s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 515s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 515s ok 4 /proxy/single_async 515s ok 5 /proxy/multiple_sync 515s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 515s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x176565173520 and GSocketClientAsyncConnectData 0x1765651732f0 515s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 515s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 515s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x176565173e70 for GSocketClientAsyncConnectData 0x1765651732f0 515s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 515s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 515s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 515s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 515s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 515s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 515s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x176565173880 for GSocketClientAsyncConnectData 0x1765651732f0 515s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 515s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 515s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 515s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 515s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 515s ok 6 /proxy/multiple_async 515s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 515s ok 7 /proxy/invalid-uris-sync 515s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 515s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 515s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x176565173c00 and GSocketClientAsyncConnectData 0x176565173100 515s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 515s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 515s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 515s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 515s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 515s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x176565173c00 and GSocketClientAsyncConnectData 0x176565173100 515s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 515s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 515s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 515s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 515s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 515s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x176565173c00 and GSocketClientAsyncConnectData 0x176565173100 515s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 515s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 515s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x176565171ba0 for GSocketClientAsyncConnectData 0x176565173100 515s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 515s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 515s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 515s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 515s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 515s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x176565173520 and GSocketClientAsyncConnectData 0x1765651735e0 515s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 515s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 515s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1765651710a0 for GSocketClientAsyncConnectData 0x1765651735e0 515s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 515s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 515s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 515s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 515s ok 8 /proxy/invalid-uris-async 515s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 515s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x176565173c00 and GSocketClientAsyncConnectData 0x176565173100 515s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 515s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 515s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 515s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 515s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 515s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 515s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 515s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x176565173520 and GSocketClientAsyncConnectData 0x1765651735e0 515s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 515s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 515s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x176565171ba0 for GSocketClientAsyncConnectData 0x1765651735e0 515s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 515s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 515s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 515s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 515s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 515s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 515s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 515s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 515s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 515s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x176565172db0 and GSocketClientAsyncConnectData 0x176565174110 515s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 515s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 515s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x176565173f30 for GSocketClientAsyncConnectData 0x176565174110 515s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 515s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 515s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 515s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 515s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 515s ok 9 /proxy/dns 515s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 515s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1765651737f0 and GSocketClientAsyncConnectData 0x17656516d9c0 515s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 515s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 515s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1765651738b0 for GSocketClientAsyncConnectData 0x17656516d9c0 515s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 515s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 515s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 515s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 515s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 515s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 515s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 515s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 515s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 515s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1765651717d0 and GSocketClientAsyncConnectData 0x176565174330 515s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 515s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 515s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1765651738b0 for GSocketClientAsyncConnectData 0x176565174330 515s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 515s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 515s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 515s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 515s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 515s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 515s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1765651729a0 and GSocketClientAsyncConnectData 0x17656516d9c0 515s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 515s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 515s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x176565174490 for GSocketClientAsyncConnectData 0x17656516d9c0 515s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 515s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 515s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 515s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 515s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 515s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 515s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 515s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 515s ok 10 /proxy/override 515s ok 11 /proxy/enumerator-ports 515s # End of proxy tests 515s ok - glib/proxy-test.test 515s # Running test: glib/cxx-17.test 515s TAP version 13 515s # random seed: R02Sb3adad85832010fab27c5393a30db6bf 515s 1..2 515s # Start of gtask tests 515s # 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. 515s ok 1 /gtask/name 515s # Start of name tests 515s # 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. 515s ok 2 /gtask/name/macro-wrapper 515s # End of name tests 515s # End of gtask tests 515s ok - glib/cxx-17.test 515s # Running test: glib/g-file-info-filesystem-readonly.test 515s TAP version 13 515s # random seed: R02Sc2ab3441623180a057f4ee7dc56c2d56 515s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 515s 1..2 515s # Start of g-file-info-filesystem-readonly tests 515s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 515s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 515s # End of g-file-info-filesystem-readonly tests 515s ok - glib/g-file-info-filesystem-readonly.test 515s # Running test: glib/null-settings-backend.test 515s TAP version 13 515s # random seed: R02S179a7adac66ef8d52cdc7eb36d109fda 515s 1..1 515s # Start of null-settings-backend tests 515s ok 1 /null-settings-backend/extension-point-registered 515s # End of null-settings-backend tests 515s ok - glib/null-settings-backend.test 515s # Running test: glib/resolver-parsing.test 515s TAP version 13 515s # random seed: R02S7ee8b82f2d5f4a05bd5f685f0f541349 515s 1..20 515s # Start of gresolver tests 515s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/invalid-header/.dirs/home 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/invalid-header/.dirs/cache 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_M68WK2/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_M68WK2/gresolver/invalid-header/.dirs/system-config2 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/invalid-header/.dirs/config 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_M68WK2/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_M68WK2/gresolver/invalid-header/.dirs/system-data2 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/invalid-header/.dirs/data 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/invalid-header/.dirs/state 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_M68WK2/gresolver/invalid-header/.dirs/runtime 515s ok 1 /gresolver/invalid-header 515s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/unknown-record-type/.dirs/home 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/unknown-record-type/.dirs/cache 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_M68WK2/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_M68WK2/gresolver/unknown-record-type/.dirs/system-config2 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/unknown-record-type/.dirs/config 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_M68WK2/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_M68WK2/gresolver/unknown-record-type/.dirs/system-data2 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/unknown-record-type/.dirs/data 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/unknown-record-type/.dirs/state 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_M68WK2/gresolver/unknown-record-type/.dirs/runtime 515s # GLib-GIO-DEBUG: Unrecognised DNS record type 20 515s ok 2 /gresolver/unknown-record-type 515s # Start of mx tests 515s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/mx/valid/.dirs/home 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/mx/valid/.dirs/cache 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_M68WK2/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_M68WK2/gresolver/mx/valid/.dirs/system-config2 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/mx/valid/.dirs/config 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_M68WK2/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_M68WK2/gresolver/mx/valid/.dirs/system-data2 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/mx/valid/.dirs/data 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/mx/valid/.dirs/state 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_M68WK2/gresolver/mx/valid/.dirs/runtime 515s ok 3 /gresolver/mx/valid 515s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/mx/invalid/.dirs/home 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/mx/invalid/.dirs/cache 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_M68WK2/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_M68WK2/gresolver/mx/invalid/.dirs/system-config2 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/mx/invalid/.dirs/config 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_M68WK2/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_M68WK2/gresolver/mx/invalid/.dirs/system-data2 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/mx/invalid/.dirs/data 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/mx/invalid/.dirs/state 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_M68WK2/gresolver/mx/invalid/.dirs/runtime 515s ok 4 /gresolver/mx/invalid 515s # Start of invalid tests 515s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/mx/invalid/too-short/.dirs/home 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/mx/invalid/too-short/.dirs/cache 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_M68WK2/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_M68WK2/gresolver/mx/invalid/too-short/.dirs/system-config2 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/mx/invalid/too-short/.dirs/config 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_M68WK2/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_M68WK2/gresolver/mx/invalid/too-short/.dirs/system-data2 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/mx/invalid/too-short/.dirs/data 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/mx/invalid/too-short/.dirs/state 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_M68WK2/gresolver/mx/invalid/too-short/.dirs/runtime 515s ok 5 /gresolver/mx/invalid/too-short 515s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/mx/invalid/too-short2/.dirs/home 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/mx/invalid/too-short2/.dirs/cache 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_M68WK2/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_M68WK2/gresolver/mx/invalid/too-short2/.dirs/system-config2 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/mx/invalid/too-short2/.dirs/config 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_M68WK2/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_M68WK2/gresolver/mx/invalid/too-short2/.dirs/system-data2 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/mx/invalid/too-short2/.dirs/data 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/mx/invalid/too-short2/.dirs/state 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_M68WK2/gresolver/mx/invalid/too-short2/.dirs/runtime 515s ok 6 /gresolver/mx/invalid/too-short2 515s # End of invalid tests 515s # End of mx tests 515s # Start of ns tests 515s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/ns/valid/.dirs/home 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/ns/valid/.dirs/cache 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_M68WK2/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_M68WK2/gresolver/ns/valid/.dirs/system-config2 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/ns/valid/.dirs/config 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_M68WK2/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_M68WK2/gresolver/ns/valid/.dirs/system-data2 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/ns/valid/.dirs/data 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/ns/valid/.dirs/state 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_M68WK2/gresolver/ns/valid/.dirs/runtime 515s ok 7 /gresolver/ns/valid 515s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/ns/invalid/.dirs/home 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/ns/invalid/.dirs/cache 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_M68WK2/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_M68WK2/gresolver/ns/invalid/.dirs/system-config2 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/ns/invalid/.dirs/config 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_M68WK2/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_M68WK2/gresolver/ns/invalid/.dirs/system-data2 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/ns/invalid/.dirs/data 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/ns/invalid/.dirs/state 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_M68WK2/gresolver/ns/invalid/.dirs/runtime 515s ok 8 /gresolver/ns/invalid 515s # End of ns tests 515s # Start of soa tests 515s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/soa/valid/.dirs/home 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/soa/valid/.dirs/cache 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_M68WK2/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_M68WK2/gresolver/soa/valid/.dirs/system-config2 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/soa/valid/.dirs/config 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_M68WK2/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_M68WK2/gresolver/soa/valid/.dirs/system-data2 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/soa/valid/.dirs/data 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/soa/valid/.dirs/state 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_M68WK2/gresolver/soa/valid/.dirs/runtime 515s ok 9 /gresolver/soa/valid 515s # Start of invalid tests 515s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/soa/invalid/mname/.dirs/home 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/soa/invalid/mname/.dirs/cache 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_M68WK2/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_M68WK2/gresolver/soa/invalid/mname/.dirs/system-config2 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/soa/invalid/mname/.dirs/config 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_M68WK2/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_M68WK2/gresolver/soa/invalid/mname/.dirs/system-data2 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/soa/invalid/mname/.dirs/data 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/soa/invalid/mname/.dirs/state 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_M68WK2/gresolver/soa/invalid/mname/.dirs/runtime 515s ok 10 /gresolver/soa/invalid/mname 515s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/soa/invalid/rname/.dirs/home 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/soa/invalid/rname/.dirs/cache 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_M68WK2/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_M68WK2/gresolver/soa/invalid/rname/.dirs/system-config2 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/soa/invalid/rname/.dirs/config 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_M68WK2/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_M68WK2/gresolver/soa/invalid/rname/.dirs/system-data2 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/soa/invalid/rname/.dirs/data 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/soa/invalid/rname/.dirs/state 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_M68WK2/gresolver/soa/invalid/rname/.dirs/runtime 515s ok 11 /gresolver/soa/invalid/rname 515s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/soa/invalid/too-short/.dirs/home 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/soa/invalid/too-short/.dirs/cache 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_M68WK2/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_M68WK2/gresolver/soa/invalid/too-short/.dirs/system-config2 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/soa/invalid/too-short/.dirs/config 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_M68WK2/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_M68WK2/gresolver/soa/invalid/too-short/.dirs/system-data2 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/soa/invalid/too-short/.dirs/data 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/soa/invalid/too-short/.dirs/state 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_M68WK2/gresolver/soa/invalid/too-short/.dirs/runtime 515s ok 12 /gresolver/soa/invalid/too-short 515s # End of invalid tests 515s # End of soa tests 515s # Start of srv tests 515s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/srv/valid/.dirs/home 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/srv/valid/.dirs/cache 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_M68WK2/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_M68WK2/gresolver/srv/valid/.dirs/system-config2 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/srv/valid/.dirs/config 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_M68WK2/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_M68WK2/gresolver/srv/valid/.dirs/system-data2 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/srv/valid/.dirs/data 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/srv/valid/.dirs/state 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_M68WK2/gresolver/srv/valid/.dirs/runtime 515s ok 13 /gresolver/srv/valid 515s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/srv/invalid/.dirs/home 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/srv/invalid/.dirs/cache 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_M68WK2/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_M68WK2/gresolver/srv/invalid/.dirs/system-config2 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/srv/invalid/.dirs/config 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_M68WK2/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_M68WK2/gresolver/srv/invalid/.dirs/system-data2 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/srv/invalid/.dirs/data 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/srv/invalid/.dirs/state 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_M68WK2/gresolver/srv/invalid/.dirs/runtime 515s ok 14 /gresolver/srv/invalid 515s # Start of invalid tests 515s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/srv/invalid/too-short/.dirs/home 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/srv/invalid/too-short/.dirs/cache 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_M68WK2/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_M68WK2/gresolver/srv/invalid/too-short/.dirs/system-config2 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/srv/invalid/too-short/.dirs/config 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_M68WK2/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_M68WK2/gresolver/srv/invalid/too-short/.dirs/system-data2 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/srv/invalid/too-short/.dirs/data 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/srv/invalid/too-short/.dirs/state 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_M68WK2/gresolver/srv/invalid/too-short/.dirs/runtime 515s ok 15 /gresolver/srv/invalid/too-short 515s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/srv/invalid/too-short2/.dirs/home 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/srv/invalid/too-short2/.dirs/cache 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_M68WK2/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_M68WK2/gresolver/srv/invalid/too-short2/.dirs/system-config2 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/srv/invalid/too-short2/.dirs/config 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_M68WK2/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_M68WK2/gresolver/srv/invalid/too-short2/.dirs/system-data2 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/srv/invalid/too-short2/.dirs/data 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/srv/invalid/too-short2/.dirs/state 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_M68WK2/gresolver/srv/invalid/too-short2/.dirs/runtime 515s ok 16 /gresolver/srv/invalid/too-short2 515s # End of invalid tests 515s # End of srv tests 515s # Start of txt tests 515s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/txt/valid/.dirs/home 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/txt/valid/.dirs/cache 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_M68WK2/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_M68WK2/gresolver/txt/valid/.dirs/system-config2 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/txt/valid/.dirs/config 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_M68WK2/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_M68WK2/gresolver/txt/valid/.dirs/system-data2 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/txt/valid/.dirs/data 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/txt/valid/.dirs/state 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_M68WK2/gresolver/txt/valid/.dirs/runtime 515s ok 17 /gresolver/txt/valid 515s # Start of valid tests 515s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/txt/valid/multiple-strings/.dirs/home 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/txt/valid/multiple-strings/.dirs/cache 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_M68WK2/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_M68WK2/gresolver/txt/valid/multiple-strings/.dirs/system-config2 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/txt/valid/multiple-strings/.dirs/config 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_M68WK2/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_M68WK2/gresolver/txt/valid/multiple-strings/.dirs/system-data2 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/txt/valid/multiple-strings/.dirs/data 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/txt/valid/multiple-strings/.dirs/state 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_M68WK2/gresolver/txt/valid/multiple-strings/.dirs/runtime 515s ok 18 /gresolver/txt/valid/multiple-strings 515s # End of valid tests 515s # Start of invalid tests 515s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/txt/invalid/empty/.dirs/home 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/txt/invalid/empty/.dirs/cache 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_M68WK2/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_M68WK2/gresolver/txt/invalid/empty/.dirs/system-config2 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/txt/invalid/empty/.dirs/config 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_M68WK2/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_M68WK2/gresolver/txt/invalid/empty/.dirs/system-data2 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/txt/invalid/empty/.dirs/data 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/txt/invalid/empty/.dirs/state 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_M68WK2/gresolver/txt/invalid/empty/.dirs/runtime 515s ok 19 /gresolver/txt/invalid/empty 515s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/txt/invalid/overflow/.dirs/home 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/txt/invalid/overflow/.dirs/cache 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_M68WK2/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_M68WK2/gresolver/txt/invalid/overflow/.dirs/system-config2 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/txt/invalid/overflow/.dirs/config 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_M68WK2/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_M68WK2/gresolver/txt/invalid/overflow/.dirs/system-data2 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/txt/invalid/overflow/.dirs/data 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_M68WK2/gresolver/txt/invalid/overflow/.dirs/state 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_M68WK2/gresolver/txt/invalid/overflow/.dirs/runtime 515s ok 20 /gresolver/txt/invalid/overflow 515s # End of invalid tests 515s # End of txt tests 515s # End of gresolver tests 515s ok - glib/resolver-parsing.test 515s # Running test: glib/deprecated-properties.test 515s TAP version 13 515s # random seed: R02S328777472161bbbc3f66a136b2e54d0d 515s 1..3 515s # Start of deprecated-properties tests 515s ok 1 /deprecated-properties/construct 515s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 515s ok 2 /deprecated-properties/default-construct 515s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 515s ok 3 /deprecated-properties/set 515s # End of deprecated-properties tests 515s ok - glib/deprecated-properties.test 515s # Running test: glib/portal-support-snap-classic.test 515s TAP version 13 515s # random seed: R02S0f1102752c76194d058abbc6d7bfd3f1 515s 1..3 515s # Start of portal-support tests 515s # Start of snap-classic tests 515s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_IEGYK2/portal-support/snap-classic/no-snapctl/.dirs/home 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_IEGYK2/portal-support/snap-classic/no-snapctl/.dirs/cache 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_IEGYK2/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_IEGYK2/portal-support/snap-classic/no-snapctl/.dirs/system-config2 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_IEGYK2/portal-support/snap-classic/no-snapctl/.dirs/config 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_IEGYK2/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_IEGYK2/portal-support/snap-classic/no-snapctl/.dirs/system-data2 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_IEGYK2/portal-support/snap-classic/no-snapctl/.dirs/data 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_IEGYK2/portal-support/snap-classic/no-snapctl/.dirs/state 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_IEGYK2/portal-support/snap-classic/no-snapctl/.dirs/runtime 515s ok 1 /portal-support/snap-classic/no-snapctl 515s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_IEGYK2/portal-support/snap-classic/none/.dirs/home 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_IEGYK2/portal-support/snap-classic/none/.dirs/cache 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_IEGYK2/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_IEGYK2/portal-support/snap-classic/none/.dirs/system-config2 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_IEGYK2/portal-support/snap-classic/none/.dirs/config 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_IEGYK2/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_IEGYK2/portal-support/snap-classic/none/.dirs/system-data2 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_IEGYK2/portal-support/snap-classic/none/.dirs/data 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_IEGYK2/portal-support/snap-classic/none/.dirs/state 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_IEGYK2/portal-support/snap-classic/none/.dirs/runtime 515s # Created snap.yaml in /tmp/test_portal-support-snap-classic_IEGYK2/meta/snap.yaml 515s # Created snapctl in /tmp/test_portal-support-snap-classic_IEGYK2/portal-support/snap-classic/none/.dirs/runtime/snapctl 515s ok 2 /portal-support/snap-classic/none 515s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_IEGYK2/portal-support/snap-classic/all/.dirs/home 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_IEGYK2/portal-support/snap-classic/all/.dirs/cache 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_IEGYK2/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_IEGYK2/portal-support/snap-classic/all/.dirs/system-config2 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_IEGYK2/portal-support/snap-classic/all/.dirs/config 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_IEGYK2/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_IEGYK2/portal-support/snap-classic/all/.dirs/system-data2 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_IEGYK2/portal-support/snap-classic/all/.dirs/data 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_IEGYK2/portal-support/snap-classic/all/.dirs/state 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_IEGYK2/portal-support/snap-classic/all/.dirs/runtime 515s # Created snap.yaml in /tmp/test_portal-support-snap-classic_IEGYK2/meta/snap.yaml 515s # Created snapctl in /tmp/test_portal-support-snap-classic_IEGYK2/portal-support/snap-classic/all/.dirs/runtime/snapctl 515s ok 3 /portal-support/snap-classic/all 515s # End of snap-classic tests 515s # End of portal-support tests 515s ok - glib/portal-support-snap-classic.test 515s # Running test: glib/param.test 515s TAP version 13 515s # random seed: R02Sa8d9097f3814d48a8806fa8c45934392 515s 1..32 515s # Start of param tests 515s ok 1 /param/value 515s ok 2 /param/strings 515s ok 3 /param/qdata 515s ok 4 /param/validate 515s ok 5 /param/convert 515s ok 6 /param/implement # SKIP Skipping slow /param/implement test 515s ok 7 /param/default 515s ok 8 /param/is-valid-name 515s # Start of invalid-name tests 515s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 515s ok 9 /param/invalid-name/colon 515s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 515s ok 10 /param/invalid-name/first-char 515s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 515s ok 11 /param/invalid-name/empty 515s # End of invalid-name tests 515s # Start of implement tests 515s # Start of subprocess tests 515s # End of subprocess tests 515s # End of implement tests 515s # End of param tests 515s # Start of value tests 515s ok 12 /value/transform 515s # End of value tests 515s # Start of paramspec tests 515s ok 13 /paramspec/char 515s ok 14 /paramspec/uchar 515s ok 15 /paramspec/int 515s ok 16 /paramspec/uint 515s ok 17 /paramspec/long 515s ok 18 /paramspec/ulong 515s ok 19 /paramspec/int64 515s ok 20 /paramspec/uint64 515s ok 21 /paramspec/float 515s ok 22 /paramspec/double 515s ok 23 /paramspec/unichar 515s ok 24 /paramspec/param 515s ok 25 /paramspec/null-param 515s ok 26 /paramspec/string 515s ok 27 /paramspec/override 515s ok 28 /paramspec/gtype 515s ok 29 /paramspec/variant 515s ok 30 /paramspec/custom 515s ok 31 /paramspec/pool 515s # Start of variant tests 515s ok 32 /paramspec/variant/cmp 515s # End of variant tests 515s # End of paramspec tests 515s ok - glib/param.test 515s # Running test: glib/gdbus-address-get-session.test 515s TAP version 13 515s # random seed: R02Se5b0ba9f43540feae9192ff26ce7c157 515s 1..2 515s # Start of gdbus tests 515s ok 1 /gdbus/x11-autolaunch 515s ok 2 /gdbus/xdg-runtime 515s # End of gdbus tests 515s ok - glib/gdbus-address-get-session.test 515s # Running test: glib/portal-support-flatpak-full.test 515s TAP version 13 515s # random seed: R02S72a90f8c7c98848035ad3ed00047e943 515s 1..1 515s # Start of portal-support tests 515s # Start of flatpak tests 515s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_5A3VK2/portal-support/flatpak/full/.dirs/home 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_5A3VK2/portal-support/flatpak/full/.dirs/cache 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_5A3VK2/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_5A3VK2/portal-support/flatpak/full/.dirs/system-config2 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_5A3VK2/portal-support/flatpak/full/.dirs/config 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_5A3VK2/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_5A3VK2/portal-support/flatpak/full/.dirs/system-data2 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_5A3VK2/portal-support/flatpak/full/.dirs/data 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_5A3VK2/portal-support/flatpak/full/.dirs/state 515s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_5A3VK2/portal-support/flatpak/full/.dirs/runtime 515s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_5A3VK2/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 515s ok 1 /portal-support/flatpak/full 515s # End of flatpak tests 515s # End of portal-support tests 515s ok - glib/portal-support-flatpak-full.test 515s # Running test: glib/mkenums.py.test 515s TAP version 13 515s ok 1 __main__.TestMkenums.test_available_in 515s # tmpdir: /tmp/tmpnm9o9w3r 515s # rspfile: False, mkenums: /usr/bin/glib-mkenums 515s # /tmp/tmpnm9o9w3r/tmpn9qadj65.h: 515s # typedef enum { 515s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 515s # } GDBusServerFlags; 515s # 515s # /tmp/tmpnm9o9w3r/tmpt7yda6y5.template: 515s # /*** BEGIN file-header ***/ 515s # file-header 515s # /*** END file-header ***/ 515s # 515s # /*** BEGIN file-production ***/ 515s # file-production 515s # filename: @filename@ 515s # basename: @basename@ 515s # /*** END file-production ***/ 515s # 515s # /*** BEGIN enumeration-production ***/ 515s # enumeration-production 515s # EnumName: @EnumName@ 515s # enum_name: @enum_name@ 515s # ENUMNAME: @ENUMNAME@ 515s # ENUMSHORT: @ENUMSHORT@ 515s # ENUMPREFIX: @ENUMPREFIX@ 515s # enumsince: @enumsince@ 515s # type: @type@ 515s # Type: @Type@ 515s # TYPE: @TYPE@ 515s # /*** END enumeration-production ***/ 515s # 515s # /*** BEGIN value-header ***/ 515s # value-header 515s # EnumName: @EnumName@ 515s # enum_name: @enum_name@ 515s # ENUMNAME: @ENUMNAME@ 515s # ENUMSHORT: @ENUMSHORT@ 515s # ENUMPREFIX: @ENUMPREFIX@ 515s # enumsince: @enumsince@ 515s # type: @type@ 515s # Type: @Type@ 515s # TYPE: @TYPE@ 515s # /*** END value-header ***/ 515s # 515s # /*** BEGIN value-production ***/ 515s # value-production 515s # VALUENAME: @VALUENAME@ 515s # valuenick: @valuenick@ 515s # valuenum: @valuenum@ 515s # type: @type@ 515s # Type: @Type@ 515s # TYPE: @TYPE@ 515s # /*** END value-production ***/ 515s # 515s # /*** BEGIN value-tail ***/ 515s # value-tail 515s # EnumName: @EnumName@ 515s # enum_name: @enum_name@ 515s # ENUMNAME: @ENUMNAME@ 515s # ENUMSHORT: @ENUMSHORT@ 515s # ENUMPREFIX: @ENUMPREFIX@ 515s # enumsince: @enumsince@ 515s # type: @type@ 515s # Type: @Type@ 515s # TYPE: @TYPE@ 515s # /*** END value-tail ***/ 515s # 515s # /*** BEGIN comment ***/ 515s # comment 515s # comment: @comment@ 515s # /*** END comment ***/ 515s # 515s # /*** BEGIN file-tail ***/ 515s # file-tail 515s # /*** END file-tail ***/ 515s # 515s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpnm9o9w3r/tmpt7yda6y5.template', '/tmp/tmpnm9o9w3r/tmpn9qadj65.h'] 515s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 515s # Output: comment 515s # 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. 515s # 515s # 515s # file-header 515s # file-production 515s # filename: /tmp/tmpnm9o9w3r/tmpn9qadj65.h 515s # basename: tmpn9qadj65.h 515s # enumeration-production 515s # EnumName: GDBusServerFlags 515s # enum_name: g_dbus_server_flags 515s # ENUMNAME: G_DBUS_SERVER_FLAGS 515s # ENUMSHORT: DBUS_SERVER_FLAGS 515s # ENUMPREFIX: G 515s # enumsince: 515s # type: flags 515s # Type: Flags 515s # TYPE: FLAGS 515s # value-header 515s # EnumName: GDBusServerFlags 515s # enum_name: g_dbus_server_flags 515s # ENUMNAME: G_DBUS_SERVER_FLAGS 515s # ENUMSHORT: DBUS_SERVER_FLAGS 515s # ENUMPREFIX: G 515s # enumsince: 515s # type: flags 515s # Type: Flags 515s # TYPE: FLAGS 515s # value-production 515s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 515s # valuenick: user 515s # valuenum: 4 515s # type: flags 515s # Type: Flags 515s # TYPE: FLAGS 515s # value-tail 515s # EnumName: GDBusServerFlags 515s # enum_name: g_dbus_server_flags 515s # ENUMNAME: G_DBUS_SERVER_FLAGS 515s # ENUMSHORT: DBUS_SERVER_FLAGS 515s # ENUMPREFIX: G 515s # enumsince: 515s # type: flags 515s # Type: Flags 515s # TYPE: FLAGS 515s # file-tail 515s # 515s # comment 515s # comment: Generated data ends here 515s ok 2 __main__.TestMkenums.test_comma_in_enum_value 515s # tmpdir: /tmp/tmpvu88e_jn 515s # rspfile: False, mkenums: /usr/bin/glib-mkenums 515s # /tmp/tmpvu88e_jn/tmpl5pxnlnl.h: 515s # typedef enum { 515s # ENUM_VALUE_WITH_COMMA = ',', 515s # } TestCommaEnum; 515s # 515s # /tmp/tmpvu88e_jn/tmps6u8uq3a.template: 515s # /*** BEGIN file-header ***/ 515s # file-header 515s # /*** END file-header ***/ 515s # 515s # /*** BEGIN file-production ***/ 515s # file-production 515s # filename: @filename@ 515s # basename: @basename@ 515s # /*** END file-production ***/ 515s # 515s # /*** BEGIN enumeration-production ***/ 515s # enumeration-production 515s # EnumName: @EnumName@ 515s # enum_name: @enum_name@ 515s # ENUMNAME: @ENUMNAME@ 515s # ENUMSHORT: @ENUMSHORT@ 515s # ENUMPREFIX: @ENUMPREFIX@ 515s # enumsince: @enumsince@ 515s # type: @type@ 515s # Type: @Type@ 515s # TYPE: @TYPE@ 515s # /*** END enumeration-production ***/ 515s # 515s # /*** BEGIN value-header ***/ 515s # value-header 515s # EnumName: @EnumName@ 515s # enum_name: @enum_name@ 515s # ENUMNAME: @ENUMNAME@ 515s # ENUMSHORT: @ENUMSHORT@ 515s # ENUMPREFIX: @ENUMPREFIX@ 515s # enumsince: @enumsince@ 515s # type: @type@ 515s # Type: @Type@ 515s # TYPE: @TYPE@ 515s # /*** END value-header ***/ 515s # 515s # /*** BEGIN value-production ***/ 515s # value-production 515s # VALUENAME: @VALUENAME@ 515s # valuenick: @valuenick@ 515s # valuenum: @valuenum@ 515s # type: @type@ 515s # Type: @Type@ 515s # TYPE: @TYPE@ 515s # /*** END value-production ***/ 515s # 515s # /*** BEGIN value-tail ***/ 515s # value-tail 515s # EnumName: @EnumName@ 515s # enum_name: @enum_name@ 515s # ENUMNAME: @ENUMNAME@ 515s # ENUMSHORT: @ENUMSHORT@ 515s # ENUMPREFIX: @ENUMPREFIX@ 515s # enumsince: @enumsince@ 515s # type: @type@ 515s # Type: @Type@ 515s # TYPE: @TYPE@ 515s # /*** END value-tail ***/ 515s # 515s # /*** BEGIN comment ***/ 515s # comment 515s # comment: @comment@ 515s # /*** END comment ***/ 515s # 515s # /*** BEGIN file-tail ***/ 515s # file-tail 515s # /*** END file-tail ***/ 515s # 515s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpvu88e_jn/tmps6u8uq3a.template', '/tmp/tmpvu88e_jn/tmpl5pxnlnl.h'] 515s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 515s # Output: comment 515s # 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. 515s # 515s # 515s # file-header 515s # file-production 515s # filename: /tmp/tmpvu88e_jn/tmpl5pxnlnl.h 515s # basename: tmpl5pxnlnl.h 515s # enumeration-production 515s # EnumName: TestCommaEnum 515s # enum_name: test_comma_enum 515s # ENUMNAME: TEST_COMMA_ENUM 515s # ENUMSHORT: COMMA_ENUM 515s # ENUMPREFIX: TEST 515s # enumsince: 515s # type: enum 515s # Type: Enum 515s # TYPE: ENUM 515s # value-header 515s # EnumName: TestCommaEnum 515s # enum_name: test_comma_enum 515s # ENUMNAME: TEST_COMMA_ENUM 515s # ENUMSHORT: COMMA_ENUM 515s # ENUMPREFIX: TEST 515s # enumsince: 515s # type: enum 515s # Type: Enum 515s # TYPE: ENUM 515s # value-production 515s # VALUENAME: ENUM_VALUE_WITH_COMMA 515s # valuenick: comma 515s # valuenum: 44 515s # type: enum 515s # Type: Enum 515s # TYPE: ENUM 515s # value-tail 515s # EnumName: TestCommaEnum 515s # enum_name: test_comma_enum 515s # ENUMNAME: TEST_COMMA_ENUM 515s # ENUMSHORT: COMMA_ENUM 515s # ENUMPREFIX: TEST 515s # enumsince: 515s # type: enum 515s # Type: Enum 515s # TYPE: ENUM 515s # file-tail 515s # 515s # comment 515s # comment: Generated data ends here 515s ok 3 __main__.TestMkenums.test_deprecated_in 515s # tmpdir: /tmp/tmpc57vd7g7 515s # rspfile: False, mkenums: /usr/bin/glib-mkenums 515s # /tmp/tmpc57vd7g7/tmplgd8okqh.h: 515s # typedef enum { 515s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 515s # } GDBusServerFlags; 515s # 515s # /tmp/tmpc57vd7g7/tmpboroe_j_.template: 515s # /*** BEGIN file-header ***/ 515s # file-header 515s # /*** END file-header ***/ 515s # 515s # /*** BEGIN file-production ***/ 515s # file-production 515s # filename: @filename@ 515s # basename: @basename@ 515s # /*** END file-production ***/ 515s # 515s # /*** BEGIN enumeration-production ***/ 515s # enumeration-production 515s # EnumName: @EnumName@ 515s # enum_name: @enum_name@ 515s # ENUMNAME: @ENUMNAME@ 515s # ENUMSHORT: @ENUMSHORT@ 515s # ENUMPREFIX: @ENUMPREFIX@ 515s # enumsince: @enumsince@ 515s # type: @type@ 515s # Type: @Type@ 515s # TYPE: @TYPE@ 515s # /*** END enumeration-production ***/ 515s # 515s # /*** BEGIN value-header ***/ 515s # value-header 515s # EnumName: @EnumName@ 515s # enum_name: @enum_name@ 515s # ENUMNAME: @ENUMNAME@ 515s # ENUMSHORT: @ENUMSHORT@ 515s # ENUMPREFIX: @ENUMPREFIX@ 515s # enumsince: @enumsince@ 515s # type: @type@ 515s # Type: @Type@ 515s # TYPE: @TYPE@ 515s # /*** END value-header ***/ 515s # 515s # /*** BEGIN value-production ***/ 515s # value-production 515s # VALUENAME: @VALUENAME@ 515s # valuenick: @valuenick@ 515s # valuenum: @valuenum@ 515s # type: @type@ 515s # Type: @Type@ 515s # TYPE: @TYPE@ 515s # /*** END value-production ***/ 515s # 515s # /*** BEGIN value-tail ***/ 515s # value-tail 515s # EnumName: @EnumName@ 515s # enum_name: @enum_name@ 515s # ENUMNAME: @ENUMNAME@ 515s # ENUMSHORT: @ENUMSHORT@ 515s # ENUMPREFIX: @ENUMPREFIX@ 515s # enumsince: @enumsince@ 515s # type: @type@ 515s # Type: @Type@ 515s # TYPE: @TYPE@ 515s # /*** END value-tail ***/ 515s # 515s # /*** BEGIN comment ***/ 515s # comment 515s # comment: @comment@ 515s # /*** END comment ***/ 515s # 515s # /*** BEGIN file-tail ***/ 515s # file-tail 515s # /*** END file-tail ***/ 515s # 515s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpc57vd7g7/tmpboroe_j_.template', '/tmp/tmpc57vd7g7/tmplgd8okqh.h'] 515s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 515s # Output: comment 515s # 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. 515s # 515s # 515s # file-header 515s # file-production 515s # filename: /tmp/tmpc57vd7g7/tmplgd8okqh.h 515s # basename: tmplgd8okqh.h 515s # enumeration-production 515s # EnumName: GDBusServerFlags 515s # enum_name: g_dbus_server_flags 515s # ENUMNAME: G_DBUS_SERVER_FLAGS 515s # ENUMSHORT: DBUS_SERVER_FLAGS 515s # ENUMPREFIX: G 515s # enumsince: 515s # type: flags 515s # Type: Flags 515s # TYPE: FLAGS 515s # value-header 515s # EnumName: GDBusServerFlags 515s # enum_name: g_dbus_server_flags 515s # ENUMNAME: G_DBUS_SERVER_FLAGS 515s # ENUMSHORT: DBUS_SERVER_FLAGS 515s # ENUMPREFIX: G 515s # enumsince: 515s # type: flags 515s # Type: Flags 515s # TYPE: FLAGS 515s # value-production 515s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 515s # valuenick: user 515s # valuenum: 4 515s # type: flags 515s # Type: Flags 515s # TYPE: FLAGS 515s # value-tail 515s # EnumName: GDBusServerFlags 515s # enum_name: g_dbus_server_flags 515s # ENUMNAME: G_DBUS_SERVER_FLAGS 515s # ENUMSHORT: DBUS_SERVER_FLAGS 515s # ENUMPREFIX: G 515s # enumsince: 515s # type: flags 515s # Type: Flags 515s # TYPE: FLAGS 515s # file-tail 515s # 515s # comment 515s # comment: Generated data ends here 515s ok 4 __main__.TestMkenums.test_deprecated_in_for 515s # tmpdir: /tmp/tmpzd0iigxo 515s # rspfile: False, mkenums: /usr/bin/glib-mkenums 515s # /tmp/tmpzd0iigxo/tmp3ow98230.h: 515s # typedef enum { 515s # 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) 515s # } GDBusServerFlags; 515s # 515s # /tmp/tmpzd0iigxo/tmpgys3s02o.template: 515s # /*** BEGIN file-header ***/ 515s # file-header 515s # /*** END file-header ***/ 515s # 515s # /*** BEGIN file-production ***/ 515s # file-production 515s # filename: @filename@ 515s # basename: @basename@ 515s # /*** END file-production ***/ 515s # 515s # /*** BEGIN enumeration-production ***/ 515s # enumeration-production 515s # EnumName: @EnumName@ 515s # enum_name: @enum_name@ 515s # ENUMNAME: @ENUMNAME@ 515s # ENUMSHORT: @ENUMSHORT@ 515s # ENUMPREFIX: @ENUMPREFIX@ 515s # enumsince: @enumsince@ 515s # type: @type@ 515s # Type: @Type@ 515s # TYPE: @TYPE@ 515s # /*** END enumeration-production ***/ 515s # 515s # /*** BEGIN value-header ***/ 515s # value-header 515s # EnumName: @EnumName@ 515s # enum_name: @enum_name@ 515s # ENUMNAME: @ENUMNAME@ 515s # ENUMSHORT: @ENUMSHORT@ 515s # ENUMPREFIX: @ENUMPREFIX@ 515s # enumsince: @enumsince@ 515s # type: @type@ 515s # Type: @Type@ 515s # TYPE: @TYPE@ 515s # /*** END value-header ***/ 515s # 515s # /*** BEGIN value-production ***/ 515s # value-production 515s # VALUENAME: @VALUENAME@ 515s # valuenick: @valuenick@ 515s # valuenum: @valuenum@ 515s # type: @type@ 515s # Type: @Type@ 515s # TYPE: @TYPE@ 515s # /*** END value-production ***/ 515s # 515s # /*** BEGIN value-tail ***/ 515s # value-tail 515s # EnumName: @EnumName@ 515s # enum_name: @enum_name@ 515s # ENUMNAME: @ENUMNAME@ 515s # ENUMSHORT: @ENUMSHORT@ 515s # ENUMPREFIX: @ENUMPREFIX@ 515s # enumsince: @enumsince@ 515s # type: @type@ 515s # Type: @Type@ 515s # TYPE: @TYPE@ 515s # /*** END value-tail ***/ 515s # 515s # /*** BEGIN comment ***/ 515s # comment 515s # comment: @comment@ 515s # /*** END comment ***/ 515s # 515s # /*** BEGIN file-tail ***/ 515s # file-tail 515s # /*** END file-tail ***/ 515s # 515s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpzd0iigxo/tmpgys3s02o.template', '/tmp/tmpzd0iigxo/tmp3ow98230.h'] 515s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 515s # Output: comment 515s # 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. 515s # 515s # 515s # file-header 515s # file-production 515s # filename: /tmp/tmpzd0iigxo/tmp3ow98230.h 515s # basename: tmp3ow98230.h 515s # enumeration-production 515s # EnumName: GDBusServerFlags 515s # enum_name: g_dbus_server_flags 515s # ENUMNAME: G_DBUS_SERVER_FLAGS 515s # ENUMSHORT: DBUS_SERVER_FLAGS 515s # ENUMPREFIX: G 515s # enumsince: 515s # type: flags 515s # Type: Flags 515s # TYPE: FLAGS 515s # value-header 515s # EnumName: GDBusServerFlags 515s # enum_name: g_dbus_server_flags 515s # ENUMNAME: G_DBUS_SERVER_FLAGS 515s # ENUMSHORT: DBUS_SERVER_FLAGS 515s # ENUMPREFIX: G 515s # enumsince: 515s # type: flags 515s # Type: Flags 515s # TYPE: FLAGS 515s # value-production 515s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 515s # valuenick: user 515s # valuenum: 4 515s # type: flags 515s # Type: Flags 515s # TYPE: FLAGS 515s # value-tail 515s # EnumName: GDBusServerFlags 515s # enum_name: g_dbus_server_flags 515s # ENUMNAME: G_DBUS_SERVER_FLAGS 515s # ENUMSHORT: DBUS_SERVER_FLAGS 515s # ENUMPREFIX: G 515s # enumsince: 516s # type: flags 516s # Type: Flags 516s # TYPE: FLAGS 516s # file-tail 516s # 516s # comment 516s # comment: Generated data ends here 516s ok 5 __main__.TestMkenums.test_empty_header 516s # tmpdir: /tmp/tmpqp2zhc57 516s # rspfile: False, mkenums: /usr/bin/glib-mkenums 516s # /tmp/tmpqp2zhc57/tmpfrvj0fu7.h: 516s # /tmp/tmpqp2zhc57/tmpq_13djsa.template: 516s # /*** BEGIN file-header ***/ 516s # file-header 516s # /*** END file-header ***/ 516s # 516s # /*** BEGIN file-production ***/ 516s # file-production 516s # filename: @filename@ 516s # basename: @basename@ 516s # /*** END file-production ***/ 516s # 516s # /*** BEGIN enumeration-production ***/ 516s # enumeration-production 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END enumeration-production ***/ 516s # 516s # /*** BEGIN value-header ***/ 516s # value-header 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-header ***/ 516s # 516s # /*** BEGIN value-production ***/ 516s # value-production 516s # VALUENAME: @VALUENAME@ 516s # valuenick: @valuenick@ 516s # valuenum: @valuenum@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-production ***/ 516s # 516s # /*** BEGIN value-tail ***/ 516s # value-tail 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-tail ***/ 516s # 516s # /*** BEGIN comment ***/ 516s # comment 516s # comment: @comment@ 516s # /*** END comment ***/ 516s # 516s # /*** BEGIN file-tail ***/ 516s # file-tail 516s # /*** END file-tail ***/ 516s # 516s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpqp2zhc57/tmpq_13djsa.template', '/tmp/tmpqp2zhc57/tmpfrvj0fu7.h'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # Output: comment 516s # 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. 516s # 516s # 516s # file-header 516s # file-tail 516s # 516s # comment 516s # comment: Generated data ends here 516s ok 6 __main__.TestMkenums.test_empty_template 516s # tmpdir: /tmp/tmp6wtje0nj 516s # rspfile: False, mkenums: /usr/bin/glib-mkenums 516s # /tmp/tmp6wtje0nj/tmppynas5ex.template: 516s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp6wtje0nj/tmppynas5ex.template'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # 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. */ 516s # 516s # 516s # /* Generated data ends here */ 516s ok 7 __main__.TestMkenums.test_enum_name 516s # tmpdir: /tmp/tmp680a27ya 516s # rspfile: False, mkenums: /usr/bin/glib-mkenums 516s # /tmp/tmp680a27ya/tmpcipaqzku.h: 516s # typedef enum _SomeEnumIdentifier { 516s # ENUM_VALUE 516s # } SomeEnumIdentifier; 516s # 516s # /tmp/tmp680a27ya/tmpgbzi_3dn.template: 516s # /*** BEGIN file-header ***/ 516s # file-header 516s # /*** END file-header ***/ 516s # 516s # /*** BEGIN file-production ***/ 516s # file-production 516s # filename: @filename@ 516s # basename: @basename@ 516s # /*** END file-production ***/ 516s # 516s # /*** BEGIN enumeration-production ***/ 516s # enumeration-production 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END enumeration-production ***/ 516s # 516s # /*** BEGIN value-header ***/ 516s # value-header 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-header ***/ 516s # 516s # /*** BEGIN value-production ***/ 516s # value-production 516s # VALUENAME: @VALUENAME@ 516s # valuenick: @valuenick@ 516s # valuenum: @valuenum@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-production ***/ 516s # 516s # /*** BEGIN value-tail ***/ 516s # value-tail 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-tail ***/ 516s # 516s # /*** BEGIN comment ***/ 516s # comment 516s # comment: @comment@ 516s # /*** END comment ***/ 516s # 516s # /*** BEGIN file-tail ***/ 516s # file-tail 516s # /*** END file-tail ***/ 516s # 516s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp680a27ya/tmpgbzi_3dn.template', '/tmp/tmp680a27ya/tmpcipaqzku.h'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # Output: comment 516s # 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. 516s # 516s # 516s # file-header 516s # file-production 516s # filename: /tmp/tmp680a27ya/tmpcipaqzku.h 516s # basename: tmpcipaqzku.h 516s # enumeration-production 516s # EnumName: SomeEnumIdentifier 516s # enum_name: some_enum_identifier 516s # ENUMNAME: SOME_ENUM_IDENTIFIER 516s # ENUMSHORT: ENUM_IDENTIFIER 516s # ENUMPREFIX: SOME 516s # enumsince: 516s # type: enum 516s # Type: Enum 516s # TYPE: ENUM 516s # value-header 516s # EnumName: SomeEnumIdentifier 516s # enum_name: some_enum_identifier 516s # ENUMNAME: SOME_ENUM_IDENTIFIER 516s # ENUMSHORT: ENUM_IDENTIFIER 516s # ENUMPREFIX: SOME 516s # enumsince: 516s # type: enum 516s # Type: Enum 516s # TYPE: ENUM 516s # value-production 516s # VALUENAME: ENUM_VALUE 516s # valuenick: value 516s # valuenum: 0 516s # type: enum 516s # Type: Enum 516s # TYPE: ENUM 516s # value-tail 516s # EnumName: SomeEnumIdentifier 516s # enum_name: some_enum_identifier 516s # ENUMNAME: SOME_ENUM_IDENTIFIER 516s # ENUMSHORT: ENUM_IDENTIFIER 516s # ENUMPREFIX: SOME 516s # enumsince: 516s # type: enum 516s # Type: Enum 516s # TYPE: ENUM 516s # file-tail 516s # 516s # comment 516s # comment: Generated data ends here 516s ok 8 __main__.TestMkenums.test_enum_private_public 516s # tmpdir: /tmp/tmpx16utrie 516s # rspfile: False, mkenums: /usr/bin/glib-mkenums 516s # /tmp/tmpx16utrie/tmp92nz80lb.h: 516s # typedef enum { 516s # ENUM_VALUE_PUBLIC1, 516s # /*< private >*/ 516s # ENUM_VALUE_PRIVATE, 516s # } SomeEnumA 516s # 516s # /tmp/tmpx16utrie/tmp8495j4vh.template: 516s # /*** BEGIN file-header ***/ 516s # file-header 516s # /*** END file-header ***/ 516s # 516s # /*** BEGIN file-production ***/ 516s # file-production 516s # filename: @filename@ 516s # basename: @basename@ 516s # /*** END file-production ***/ 516s # 516s # /*** BEGIN enumeration-production ***/ 516s # enumeration-production 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END enumeration-production ***/ 516s # 516s # /*** BEGIN value-header ***/ 516s # value-header 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-header ***/ 516s # 516s # /*** BEGIN value-production ***/ 516s # value-production 516s # VALUENAME: @VALUENAME@ 516s # valuenick: @valuenick@ 516s # valuenum: @valuenum@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-production ***/ 516s # 516s # /*** BEGIN value-tail ***/ 516s # value-tail 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-tail ***/ 516s # 516s # /*** BEGIN comment ***/ 516s # comment 516s # comment: @comment@ 516s # /*** END comment ***/ 516s # 516s # /*** BEGIN file-tail ***/ 516s # file-tail 516s # /*** END file-tail ***/ 516s # 516s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpx16utrie/tmp8495j4vh.template', '/tmp/tmpx16utrie/tmp92nz80lb.h'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # Output: comment 516s # 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. 516s # 516s # 516s # file-header 516s # file-production 516s # filename: /tmp/tmpx16utrie/tmp92nz80lb.h 516s # basename: tmp92nz80lb.h 516s # enumeration-production 516s # EnumName: SomeEnumA 516s # enum_name: some_enum_a 516s # ENUMNAME: SOME_ENUM_A 516s # ENUMSHORT: ENUM_A 516s # ENUMPREFIX: SOME 516s # enumsince: 516s # type: enum 516s # Type: Enum 516s # TYPE: ENUM 516s # value-header 516s # EnumName: SomeEnumA 516s # enum_name: some_enum_a 516s # ENUMNAME: SOME_ENUM_A 516s # ENUMSHORT: ENUM_A 516s # ENUMPREFIX: SOME 516s # enumsince: 516s # type: enum 516s # Type: Enum 516s # TYPE: ENUM 516s # value-production 516s # VALUENAME: ENUM_VALUE_PUBLIC1 516s # valuenick: public1 516s # valuenum: 0 516s # type: enum 516s # Type: Enum 516s # TYPE: ENUM 516s # value-tail 516s # EnumName: SomeEnumA 516s # enum_name: some_enum_a 516s # ENUMNAME: SOME_ENUM_A 516s # ENUMSHORT: ENUM_A 516s # ENUMPREFIX: SOME 516s # enumsince: 516s # type: enum 516s # Type: Enum 516s # TYPE: ENUM 516s # file-tail 516s # 516s # comment 516s # comment: Generated data ends here 516s # /tmp/tmpx16utrie/tmpd4m3ktte.h: 516s # typedef enum { 516s # /*< private >*/ 516s # ENUM_VALUE_PRIVATE, 516s # /*< public >*/ 516s # ENUM_VALUE_PUBLIC2, 516s # } SomeEnumB; 516s # 516s # /tmp/tmpx16utrie/tmpe83nu4q_.template: 516s # /*** BEGIN file-header ***/ 516s # file-header 516s # /*** END file-header ***/ 516s # 516s # /*** BEGIN file-production ***/ 516s # file-production 516s # filename: @filename@ 516s # basename: @basename@ 516s # /*** END file-production ***/ 516s # 516s # /*** BEGIN enumeration-production ***/ 516s # enumeration-production 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END enumeration-production ***/ 516s # 516s # /*** BEGIN value-header ***/ 516s # value-header 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-header ***/ 516s # 516s # /*** BEGIN value-production ***/ 516s # value-production 516s # VALUENAME: @VALUENAME@ 516s # valuenick: @valuenick@ 516s # valuenum: @valuenum@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-production ***/ 516s # 516s # /*** BEGIN value-tail ***/ 516s # value-tail 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-tail ***/ 516s # 516s # /*** BEGIN comment ***/ 516s # comment 516s # comment: @comment@ 516s # /*** END comment ***/ 516s # 516s # /*** BEGIN file-tail ***/ 516s # file-tail 516s # /*** END file-tail ***/ 516s # 516s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpx16utrie/tmpe83nu4q_.template', '/tmp/tmpx16utrie/tmpd4m3ktte.h'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # Output: comment 516s # 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. 516s # 516s # 516s # file-header 516s # file-production 516s # filename: /tmp/tmpx16utrie/tmpd4m3ktte.h 516s # basename: tmpd4m3ktte.h 516s # enumeration-production 516s # EnumName: SomeEnumB 516s # enum_name: some_enum_b 516s # ENUMNAME: SOME_ENUM_B 516s # ENUMSHORT: ENUM_B 516s # ENUMPREFIX: SOME 516s # enumsince: 516s # type: enum 516s # Type: Enum 516s # TYPE: ENUM 516s # value-header 516s # EnumName: SomeEnumB 516s # enum_name: some_enum_b 516s # ENUMNAME: SOME_ENUM_B 516s # ENUMSHORT: ENUM_B 516s # ENUMPREFIX: SOME 516s # enumsince: 516s # type: enum 516s # Type: Enum 516s # TYPE: ENUM 516s # value-production 516s # VALUENAME: ENUM_VALUE_PUBLIC2 516s # valuenick: public2 516s # valuenum: 1 516s # type: enum 516s # Type: Enum 516s # TYPE: ENUM 516s # value-tail 516s # EnumName: SomeEnumB 516s # enum_name: some_enum_b 516s # ENUMNAME: SOME_ENUM_B 516s # ENUMSHORT: ENUM_B 516s # ENUMPREFIX: SOME 516s # enumsince: 516s # type: enum 516s # Type: Enum 516s # TYPE: ENUM 516s # file-tail 516s # 516s # comment 516s # comment: Generated data ends here 516s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 516s # tmpdir: /tmp/tmp22v3d7pj 516s # rspfile: False, mkenums: /usr/bin/glib-mkenums 516s # /tmp/tmp22v3d7pj/tmpzjkov504.h: 516s # typedef enum { 516s # /*< private >*/ 516s # ENUM_VALUE_PRIVATE = 5, 516s # /*< public >*/ 516s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 516s # } TestSymbolicEnum; 516s # 516s # /tmp/tmp22v3d7pj/tmphjyryyes.template: 516s # /*** BEGIN file-header ***/ 516s # file-header 516s # /*** END file-header ***/ 516s # 516s # /*** BEGIN file-production ***/ 516s # file-production 516s # filename: @filename@ 516s # basename: @basename@ 516s # /*** END file-production ***/ 516s # 516s # /*** BEGIN enumeration-production ***/ 516s # enumeration-production 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END enumeration-production ***/ 516s # 516s # /*** BEGIN value-header ***/ 516s # value-header 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-header ***/ 516s # 516s # /*** BEGIN value-production ***/ 516s # value-production 516s # VALUENAME: @VALUENAME@ 516s # valuenick: @valuenick@ 516s # valuenum: @valuenum@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-production ***/ 516s # 516s # /*** BEGIN value-tail ***/ 516s # value-tail 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-tail ***/ 516s # 516s # /*** BEGIN comment ***/ 516s # comment 516s # comment: @comment@ 516s # /*** END comment ***/ 516s # 516s # /*** BEGIN file-tail ***/ 516s # file-tail 516s # /*** END file-tail ***/ 516s # 516s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp22v3d7pj/tmphjyryyes.template', '/tmp/tmp22v3d7pj/tmpzjkov504.h'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # Output: comment 516s # 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. 516s # 516s # 516s # file-header 516s # file-production 516s # filename: /tmp/tmp22v3d7pj/tmpzjkov504.h 516s # basename: tmpzjkov504.h 516s # enumeration-production 516s # EnumName: TestSymbolicEnum 516s # enum_name: test_symbolic_enum 516s # ENUMNAME: TEST_SYMBOLIC_ENUM 516s # ENUMSHORT: SYMBOLIC_ENUM 516s # ENUMPREFIX: TEST 516s # enumsince: 516s # type: enum 516s # Type: Enum 516s # TYPE: ENUM 516s # value-header 516s # EnumName: TestSymbolicEnum 516s # enum_name: test_symbolic_enum 516s # ENUMNAME: TEST_SYMBOLIC_ENUM 516s # ENUMSHORT: SYMBOLIC_ENUM 516s # ENUMPREFIX: TEST 516s # enumsince: 516s # type: enum 516s # Type: Enum 516s # TYPE: ENUM 516s # value-production 516s # VALUENAME: ENUM_VALUE_PUBLIC 516s # valuenick: public 516s # valuenum: 7 516s # type: enum 516s # Type: Enum 516s # TYPE: ENUM 516s # value-tail 516s # EnumName: TestSymbolicEnum 516s # enum_name: test_symbolic_enum 516s # ENUMNAME: TEST_SYMBOLIC_ENUM 516s # ENUMSHORT: SYMBOLIC_ENUM 516s # ENUMPREFIX: TEST 516s # enumsince: 516s # type: enum 516s # Type: Enum 516s # TYPE: ENUM 516s # file-tail 516s # 516s # comment 516s # comment: Generated data ends here 516s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 516s # tmpdir: /tmp/tmppz0o87_p 516s # rspfile: False, mkenums: /usr/bin/glib-mkenums 516s # /tmp/tmppz0o87_p/tmpgf22aphi.template: 516s # /*** BEGIN file-header ***/ 516s # file-header 516s # filename: @filename@ 516s # basename: @basename@ 516s # /*** END file-header ***/ 516s # 516s # /*** BEGIN comment ***/ 516s # comment 516s # comment: @comment@ 516s # /*** END comment ***/ 516s # 516s # /*** BEGIN file-tail ***/ 516s # file-tail 516s # filename: @filename@ 516s # basename: @basename@ 516s # /*** END file-tail ***/ 516s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmppz0o87_p/tmpgf22aphi.template'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # Output: comment 516s # 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. 516s # 516s # 516s # file-header 516s # filename: @filename@ 516s # basename: @basename@ 516s # file-tail 516s # filename: @filename@ 516s # basename: @basename@ 516s # 516s # comment 516s # comment: Generated data ends here 516s ok 11 __main__.TestMkenums.test_help 516s # tmpdir: /tmp/tmpl83myrwj 516s # rspfile: False, mkenums: /usr/bin/glib-mkenums 516s # Running: ['/usr/bin/glib-mkenums', '--help'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 516s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 516s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 516s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 516s # [--comments COMMENT_TMPL] [--template TEMPLATE] 516s # [--output OUTPUT] [--version] 516s # [args ...] 516s # 516s # positional arguments: 516s # args One or more input files, or a single argument 516s # @rspfile_path pointing to a file that contains the 516s # actual arguments 516s # 516s # options: 516s # -h, --help show this help message and exit 516s # --identifier-prefix IDPREFIX 516s # Identifier prefix 516s # --symbol-prefix SYMPREFIX 516s # Symbol prefix 516s # --fhead FHEAD Output file header 516s # --ftail FTAIL Output file footer 516s # --fprod FPROD Put out TEXT every time a new input file is being 516s # processed. 516s # --eprod EPROD Per enum text, produced prior to value iterations 516s # --vhead VHEAD Value header, produced before iterating over enum 516s # values 516s # --vprod VPROD Value text, produced for each enum value. 516s # --vtail VTAIL Value tail, produced after iterating over enum values 516s # --comments COMMENT_TMPL 516s # Comment structure 516s # --template TEMPLATE Template file 516s # --output OUTPUT 516s # --version, -v Print version information 516s # 516s # Production text substitutions: 516s # @EnumName@ PrefixTheXEnum 516s # @enum_name@ prefix_the_xenum 516s # @ENUMNAME@ PREFIX_THE_XENUM 516s # @ENUMSHORT@ THE_XENUM 516s # @ENUMPREFIX@ PREFIX 516s # @enumsince@ the user-provided since value given 516s # @VALUENAME@ PREFIX_THE_XVALUE 516s # @valuenick@ the-xvalue 516s # @valuenum@ the integer value (limited support, Since: 2.26) 516s # @type@ either enum or flags 516s # @Type@ either Enum or Flags 516s # @TYPE@ either ENUM or FLAGS 516s # @filename@ name of current input file 516s # @basename@ base name of the current input file (Since: 2.22) 516s ok 12 __main__.TestMkenums.test_no_args 516s # tmpdir: /tmp/tmpyap5rrrx 516s # rspfile: False, mkenums: /usr/bin/glib-mkenums 516s # Running: ['/usr/bin/glib-mkenums'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # 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. */ 516s # 516s # 516s # /* Generated data ends here */ 516s ok 13 __main__.TestMkenums.test_no_headers 516s # tmpdir: /tmp/tmpwxxgpubx 516s # rspfile: False, mkenums: /usr/bin/glib-mkenums 516s # /tmp/tmpwxxgpubx/tmpel3cp5pb.template: 516s # /*** BEGIN file-header ***/ 516s # file-header 516s # /*** END file-header ***/ 516s # 516s # /*** BEGIN file-production ***/ 516s # file-production 516s # filename: @filename@ 516s # basename: @basename@ 516s # /*** END file-production ***/ 516s # 516s # /*** BEGIN enumeration-production ***/ 516s # enumeration-production 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END enumeration-production ***/ 516s # 516s # /*** BEGIN value-header ***/ 516s # value-header 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-header ***/ 516s # 516s # /*** BEGIN value-production ***/ 516s # value-production 516s # VALUENAME: @VALUENAME@ 516s # valuenick: @valuenick@ 516s # valuenum: @valuenum@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-production ***/ 516s # 516s # /*** BEGIN value-tail ***/ 516s # value-tail 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-tail ***/ 516s # 516s # /*** BEGIN comment ***/ 516s # comment 516s # comment: @comment@ 516s # /*** END comment ***/ 516s # 516s # /*** BEGIN file-tail ***/ 516s # file-tail 516s # /*** END file-tail ***/ 516s # 516s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpwxxgpubx/tmpel3cp5pb.template'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # Output: comment 516s # 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. 516s # 516s # 516s # file-header 516s # file-tail 516s # 516s # comment 516s # comment: Generated data ends here 516s ok 14 __main__.TestMkenums.test_no_nick 516s # tmpdir: /tmp/tmpmefzg186 516s # rspfile: False, mkenums: /usr/bin/glib-mkenums 516s # /tmp/tmpmefzg186/tmpspbhw6g0.h: 516s # typedef enum { 516s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 516s # } GeglSamplerType; 516s # 516s # /tmp/tmpmefzg186/tmpth6ro42w.template: 516s # /*** BEGIN file-header ***/ 516s # file-header 516s # /*** END file-header ***/ 516s # 516s # /*** BEGIN file-production ***/ 516s # file-production 516s # filename: @filename@ 516s # basename: @basename@ 516s # /*** END file-production ***/ 516s # 516s # /*** BEGIN enumeration-production ***/ 516s # enumeration-production 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END enumeration-production ***/ 516s # 516s # /*** BEGIN value-header ***/ 516s # value-header 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-header ***/ 516s # 516s # /*** BEGIN value-production ***/ 516s # value-production 516s # VALUENAME: @VALUENAME@ 516s # valuenick: @valuenick@ 516s # valuenum: @valuenum@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-production ***/ 516s # 516s # /*** BEGIN value-tail ***/ 516s # value-tail 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-tail ***/ 516s # 516s # /*** BEGIN comment ***/ 516s # comment 516s # comment: @comment@ 516s # /*** END comment ***/ 516s # 516s # /*** BEGIN file-tail ***/ 516s # file-tail 516s # /*** END file-tail ***/ 516s # 516s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpmefzg186/tmpth6ro42w.template', '/tmp/tmpmefzg186/tmpspbhw6g0.h'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # Output: comment 516s # 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. 516s # 516s # 516s # file-header 516s # file-production 516s # filename: /tmp/tmpmefzg186/tmpspbhw6g0.h 516s # basename: tmpspbhw6g0.h 516s # enumeration-production 516s # EnumName: GeglSamplerType 516s # enum_name: gegl_sampler_type 516s # ENUMNAME: GEGL_SAMPLER_TYPE 516s # ENUMSHORT: SAMPLER_TYPE 516s # ENUMPREFIX: GEGL 516s # enumsince: 516s # type: enum 516s # Type: Enum 516s # TYPE: ENUM 516s # value-header 516s # EnumName: GeglSamplerType 516s # enum_name: gegl_sampler_type 516s # ENUMNAME: GEGL_SAMPLER_TYPE 516s # ENUMSHORT: SAMPLER_TYPE 516s # ENUMPREFIX: GEGL 516s # enumsince: 516s # type: enum 516s # Type: Enum 516s # TYPE: ENUM 516s # value-production 516s # VALUENAME: GEGL_SAMPLER_NEAREST 516s # valuenick: nearest 516s # valuenum: 0 516s # type: enum 516s # Type: Enum 516s # TYPE: ENUM 516s # value-tail 516s # EnumName: GeglSamplerType 516s # enum_name: gegl_sampler_type 516s # ENUMNAME: GEGL_SAMPLER_TYPE 516s # ENUMSHORT: SAMPLER_TYPE 516s # ENUMPREFIX: GEGL 516s # enumsince: 516s # type: enum 516s # Type: Enum 516s # TYPE: ENUM 516s # file-tail 516s # 516s # comment 516s # comment: Generated data ends here 516s ok 15 __main__.TestMkenums.test_non_utf8_encoding 516s # tmpdir: /tmp/tmpv_o7nybr 516s # rspfile: False, mkenums: /usr/bin/glib-mkenums 516s # /tmp/tmpv_o7nybr/tmpzr1n3kyq.h: 516s # /* Copyright © La Peña */ 516s # typedef enum { 516s # ENUM_VALUE 516s # } SomeEnumIdentifier; 516s # 516s # /tmp/tmpv_o7nybr/tmpgh52ksl0.template: 516s # /*** BEGIN file-header ***/ 516s # file-header 516s # /*** END file-header ***/ 516s # 516s # /*** BEGIN file-production ***/ 516s # file-production 516s # filename: @filename@ 516s # basename: @basename@ 516s # /*** END file-production ***/ 516s # 516s # /*** BEGIN enumeration-production ***/ 516s # enumeration-production 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END enumeration-production ***/ 516s # 516s # /*** BEGIN value-header ***/ 516s # value-header 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-header ***/ 516s # 516s # /*** BEGIN value-production ***/ 516s # value-production 516s # VALUENAME: @VALUENAME@ 516s # valuenick: @valuenick@ 516s # valuenum: @valuenum@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-production ***/ 516s # 516s # /*** BEGIN value-tail ***/ 516s # value-tail 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-tail ***/ 516s # 516s # /*** BEGIN comment ***/ 516s # comment 516s # comment: @comment@ 516s # /*** END comment ***/ 516s # 516s # /*** BEGIN file-tail ***/ 516s # file-tail 516s # /*** END file-tail ***/ 516s # 516s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpv_o7nybr/tmpgh52ksl0.template', '/tmp/tmpv_o7nybr/tmpzr1n3kyq.h'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # Output: comment 516s # 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. 516s # 516s # 516s # file-header 516s # file-production 516s # filename: /tmp/tmpv_o7nybr/tmpzr1n3kyq.h 516s # basename: tmpzr1n3kyq.h 516s # enumeration-production 516s # EnumName: SomeEnumIdentifier 516s # enum_name: some_enum_identifier 516s # ENUMNAME: SOME_ENUM_IDENTIFIER 516s # ENUMSHORT: ENUM_IDENTIFIER 516s # ENUMPREFIX: SOME 516s # enumsince: 516s # type: enum 516s # Type: Enum 516s # TYPE: ENUM 516s # value-header 516s # EnumName: SomeEnumIdentifier 516s # enum_name: some_enum_identifier 516s # ENUMNAME: SOME_ENUM_IDENTIFIER 516s # ENUMSHORT: ENUM_IDENTIFIER 516s # ENUMPREFIX: SOME 516s # enumsince: 516s # type: enum 516s # Type: Enum 516s # TYPE: ENUM 516s # value-production 516s # VALUENAME: ENUM_VALUE 516s # valuenick: value 516s # valuenum: 0 516s # type: enum 516s # Type: Enum 516s # TYPE: ENUM 516s # value-tail 516s # EnumName: SomeEnumIdentifier 516s # enum_name: some_enum_identifier 516s # ENUMNAME: SOME_ENUM_IDENTIFIER 516s # ENUMSHORT: ENUM_IDENTIFIER 516s # ENUMPREFIX: SOME 516s # enumsince: 516s # type: enum 516s # Type: Enum 516s # TYPE: ENUM 516s # file-tail 516s # 516s # comment 516s # comment: Generated data ends here 516s ok 16 __main__.TestMkenums.test_reproducible 516s # tmpdir: /tmp/tmp4wedruki 516s # rspfile: False, mkenums: /usr/bin/glib-mkenums 516s # /tmp/tmp4wedruki/tmpkwlrip7d.template: template 516s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp4wedruki/tmpkwlrip7d.template', '/tmp/tmp4wedruki/tmp44ol51us1.h', '/tmp/tmp4wedruki/tmpvdhp6n852.h'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # 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. */ 516s # 516s # 516s # /* Generated data ends here */ 516s # /tmp/tmp4wedruki/tmpl8yr9nkv.template: template 516s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp4wedruki/tmpl8yr9nkv.template', '/tmp/tmp4wedruki/tmpvdhp6n852.h', '/tmp/tmp4wedruki/tmp44ol51us1.h'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # 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. */ 516s # 516s # 516s # /* Generated data ends here */ 516s ok 17 __main__.TestMkenums.test_since 516s # tmpdir: /tmp/tmp5zbm9e5b 516s # rspfile: False, mkenums: /usr/bin/glib-mkenums 516s # /tmp/tmp5zbm9e5b/tmpxae_j04k.h: 516s # typedef enum { /*< since=1.0 >*/ 516s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 516s # } QmiWmsMessageProtocol; 516s # 516s # /tmp/tmp5zbm9e5b/tmp6jfxxvtb.template: 516s # /*** BEGIN file-header ***/ 516s # file-header 516s # /*** END file-header ***/ 516s # 516s # /*** BEGIN file-production ***/ 516s # file-production 516s # filename: @filename@ 516s # basename: @basename@ 516s # /*** END file-production ***/ 516s # 516s # /*** BEGIN enumeration-production ***/ 516s # enumeration-production 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END enumeration-production ***/ 516s # 516s # /*** BEGIN value-header ***/ 516s # value-header 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-header ***/ 516s # 516s # /*** BEGIN value-production ***/ 516s # value-production 516s # VALUENAME: @VALUENAME@ 516s # valuenick: @valuenick@ 516s # valuenum: @valuenum@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-production ***/ 516s # 516s # /*** BEGIN value-tail ***/ 516s # value-tail 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-tail ***/ 516s # 516s # /*** BEGIN comment ***/ 516s # comment 516s # comment: @comment@ 516s # /*** END comment ***/ 516s # 516s # /*** BEGIN file-tail ***/ 516s # file-tail 516s # /*** END file-tail ***/ 516s # 516s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp5zbm9e5b/tmp6jfxxvtb.template', '/tmp/tmp5zbm9e5b/tmpxae_j04k.h'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # Output: comment 516s # 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. 516s # 516s # 516s # file-header 516s # file-production 516s # filename: /tmp/tmp5zbm9e5b/tmpxae_j04k.h 516s # basename: tmpxae_j04k.h 516s # enumeration-production 516s # EnumName: QmiWmsMessageProtocol 516s # enum_name: qmi_wms_message_protocol 516s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 516s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 516s # ENUMPREFIX: QMI 516s # enumsince: 1.0 516s # type: enum 516s # Type: Enum 516s # TYPE: ENUM 516s # value-header 516s # EnumName: QmiWmsMessageProtocol 516s # enum_name: qmi_wms_message_protocol 516s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 516s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 516s # ENUMPREFIX: QMI 516s # enumsince: 1.0 516s # type: enum 516s # Type: Enum 516s # TYPE: ENUM 516s # value-production 516s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 516s # valuenick: cdma 516s # valuenum: 0 516s # type: enum 516s # Type: Enum 516s # TYPE: ENUM 516s # value-tail 516s # EnumName: QmiWmsMessageProtocol 516s # enum_name: qmi_wms_message_protocol 516s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 516s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 516s # ENUMPREFIX: QMI 516s # enumsince: 1.0 516s # type: enum 516s # Type: Enum 516s # TYPE: ENUM 516s # file-tail 516s # 516s # comment 516s # comment: Generated data ends here 516s ok 18 __main__.TestMkenums.test_with_double_quotes 516s # tmpdir: /tmp/tmp80l0oje0 516s # rspfile: False, mkenums: /usr/bin/glib-mkenums 516s # /tmp/tmp80l0oje0/tmp3pfjrrcz.h: 516s # typedef enum { 516s # FOO_VALUE /*< nick="eek, a comma" >*/ 516s # } Foo; 516s # 516s # /tmp/tmp80l0oje0/tmpazt94t51.template: 516s # /*** BEGIN file-header ***/ 516s # file-header 516s # /*** END file-header ***/ 516s # 516s # /*** BEGIN file-production ***/ 516s # file-production 516s # filename: @filename@ 516s # basename: @basename@ 516s # /*** END file-production ***/ 516s # 516s # /*** BEGIN enumeration-production ***/ 516s # enumeration-production 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END enumeration-production ***/ 516s # 516s # /*** BEGIN value-header ***/ 516s # value-header 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-header ***/ 516s # 516s # /*** BEGIN value-production ***/ 516s # value-production 516s # VALUENAME: @VALUENAME@ 516s # valuenick: @valuenick@ 516s # valuenum: @valuenum@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-production ***/ 516s # 516s # /*** BEGIN value-tail ***/ 516s # value-tail 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-tail ***/ 516s # 516s # /*** BEGIN comment ***/ 516s # comment 516s # comment: @comment@ 516s # /*** END comment ***/ 516s # 516s # /*** BEGIN file-tail ***/ 516s # file-tail 516s # /*** END file-tail ***/ 516s # 516s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp80l0oje0/tmpazt94t51.template', '/tmp/tmp80l0oje0/tmp3pfjrrcz.h'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # Output: comment 516s # 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. 516s # 516s # 516s # file-header 516s # file-production 516s # filename: /tmp/tmp80l0oje0/tmp3pfjrrcz.h 516s # basename: tmp3pfjrrcz.h 516s # enumeration-production 516s # EnumName: Foo 516s # enum_name: foo_ 516s # ENUMNAME: FOO_ 516s # ENUMSHORT: 516s # ENUMPREFIX: FOO 516s # enumsince: 516s # type: enum 516s # Type: Enum 516s # TYPE: ENUM 516s # value-header 516s # EnumName: Foo 516s # enum_name: foo_ 516s # ENUMNAME: FOO_ 516s # ENUMSHORT: 516s # ENUMPREFIX: FOO 516s # enumsince: 516s # type: enum 516s # Type: Enum 516s # TYPE: ENUM 516s # value-production 516s # VALUENAME: FOO_VALUE 516s # valuenick: eek, a comma 516s # valuenum: 0 516s # type: enum 516s # Type: Enum 516s # TYPE: ENUM 516s # value-tail 516s # EnumName: Foo 516s # enum_name: foo_ 516s # ENUMNAME: FOO_ 516s # ENUMSHORT: 516s # ENUMPREFIX: FOO 516s # enumsince: 516s # type: enum 516s # Type: Enum 516s # TYPE: ENUM 516s # file-tail 516s # 516s # comment 516s # comment: Generated data ends here 516s ok 19 __main__.TestRspMkenums.test_available_in 516s # tmpdir: /tmp/tmpznzmw8zl 516s # rspfile: True, mkenums: /usr/bin/glib-mkenums 516s # /tmp/tmpznzmw8zl/tmpsftzko4i.h: 516s # typedef enum { 516s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 516s # } GDBusServerFlags; 516s # 516s # /tmp/tmpznzmw8zl/tmp6zb09aea.template: 516s # /*** BEGIN file-header ***/ 516s # file-header 516s # /*** END file-header ***/ 516s # 516s # /*** BEGIN file-production ***/ 516s # file-production 516s # filename: @filename@ 516s # basename: @basename@ 516s # /*** END file-production ***/ 516s # 516s # /*** BEGIN enumeration-production ***/ 516s # enumeration-production 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END enumeration-production ***/ 516s # 516s # /*** BEGIN value-header ***/ 516s # value-header 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-header ***/ 516s # 516s # /*** BEGIN value-production ***/ 516s # value-production 516s # VALUENAME: @VALUENAME@ 516s # valuenick: @valuenick@ 516s # valuenum: @valuenum@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-production ***/ 516s # 516s # /*** BEGIN value-tail ***/ 516s # value-tail 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-tail ***/ 516s # 516s # /*** BEGIN comment ***/ 516s # comment 516s # comment: @comment@ 516s # /*** END comment ***/ 516s # 516s # /*** BEGIN file-tail ***/ 516s # file-tail 516s # /*** END file-tail ***/ 516s # 516s # Response file contains: --template /tmp/tmpznzmw8zl/tmp6zb09aea.template /tmp/tmpznzmw8zl/tmpsftzko4i.h 516s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpznzmw8zl/tmpfp1nxwja'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # Output: comment 516s # 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. 516s # 516s # 516s # file-header 516s # file-production 516s # filename: /tmp/tmpznzmw8zl/tmpsftzko4i.h 516s # basename: tmpsftzko4i.h 516s # enumeration-production 516s # EnumName: GDBusServerFlags 516s # enum_name: g_dbus_server_flags 516s # ENUMNAME: G_DBUS_SERVER_FLAGS 516s # ENUMSHORT: DBUS_SERVER_FLAGS 516s # ENUMPREFIX: G 516s # enumsince: 516s # type: flags 516s # Type: Flags 516s # TYPE: FLAGS 516s # value-header 516s # EnumName: GDBusServerFlags 516s # enum_name: g_dbus_server_flags 516s # ENUMNAME: G_DBUS_SERVER_FLAGS 516s # ENUMSHORT: DBUS_SERVER_FLAGS 516s # ENUMPREFIX: G 516s # enumsince: 516s # type: flags 516s # Type: Flags 516s # TYPE: FLAGS 516s # value-production 516s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 516s # valuenick: user 516s # valuenum: 4 516s # type: flags 516s # Type: Flags 516s # TYPE: FLAGS 516s # value-tail 516s # EnumName: GDBusServerFlags 516s # enum_name: g_dbus_server_flags 516s # ENUMNAME: G_DBUS_SERVER_FLAGS 516s # ENUMSHORT: DBUS_SERVER_FLAGS 516s # ENUMPREFIX: G 516s # enumsince: 516s # type: flags 516s # Type: Flags 516s # TYPE: FLAGS 516s # file-tail 516s # 516s # comment 516s # comment: Generated data ends here 516s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 516s # tmpdir: /tmp/tmpce95_25e 516s # rspfile: True, mkenums: /usr/bin/glib-mkenums 516s # /tmp/tmpce95_25e/tmpu_olh5lx.h: 516s # typedef enum { 516s # ENUM_VALUE_WITH_COMMA = ',', 516s # } TestCommaEnum; 516s # 516s # /tmp/tmpce95_25e/tmpk465mrh_.template: 516s # /*** BEGIN file-header ***/ 516s # file-header 516s # /*** END file-header ***/ 516s # 516s # /*** BEGIN file-production ***/ 516s # file-production 516s # filename: @filename@ 516s # basename: @basename@ 516s # /*** END file-production ***/ 516s # 516s # /*** BEGIN enumeration-production ***/ 516s # enumeration-production 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END enumeration-production ***/ 516s # 516s # /*** BEGIN value-header ***/ 516s # value-header 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-header ***/ 516s # 516s # /*** BEGIN value-production ***/ 516s # value-production 516s # VALUENAME: @VALUENAME@ 516s # valuenick: @valuenick@ 516s # valuenum: @valuenum@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-production ***/ 516s # 516s # /*** BEGIN value-tail ***/ 516s # value-tail 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-tail ***/ 516s # 516s # /*** BEGIN comment ***/ 516s # comment 516s # comment: @comment@ 516s # /*** END comment ***/ 516s # 516s # /*** BEGIN file-tail ***/ 516s # file-tail 516s # /*** END file-tail ***/ 516s # 516s # Response file contains: --template /tmp/tmpce95_25e/tmpk465mrh_.template /tmp/tmpce95_25e/tmpu_olh5lx.h 516s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpce95_25e/tmpa8h3ycdf'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # Output: comment 516s # 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. 516s # 516s # 516s # file-header 516s # file-production 516s # filename: /tmp/tmpce95_25e/tmpu_olh5lx.h 516s # basename: tmpu_olh5lx.h 516s # enumeration-production 516s # EnumName: TestCommaEnum 516s # enum_name: test_comma_enum 516s # ENUMNAME: TEST_COMMA_ENUM 516s # ENUMSHORT: COMMA_ENUM 516s # ENUMPREFIX: TEST 516s # enumsince: 516s # type: enum 516s # Type: Enum 516s # TYPE: ENUM 516s # value-header 516s # EnumName: TestCommaEnum 516s # enum_name: test_comma_enum 516s # ENUMNAME: TEST_COMMA_ENUM 516s # ENUMSHORT: COMMA_ENUM 516s # ENUMPREFIX: TEST 516s # enumsince: 516s # type: enum 516s # Type: Enum 516s # TYPE: ENUM 516s # value-production 516s # VALUENAME: ENUM_VALUE_WITH_COMMA 516s # valuenick: comma 516s # valuenum: 44 516s # type: enum 516s # Type: Enum 516s # TYPE: ENUM 516s # value-tail 516s # EnumName: TestCommaEnum 516s # enum_name: test_comma_enum 516s # ENUMNAME: TEST_COMMA_ENUM 516s # ENUMSHORT: COMMA_ENUM 516s # ENUMPREFIX: TEST 516s # enumsince: 516s # type: enum 516s # Type: Enum 516s # TYPE: ENUM 516s # file-tail 516s # 516s # comment 516s # comment: Generated data ends here 516s ok 21 __main__.TestRspMkenums.test_deprecated_in 516s # tmpdir: /tmp/tmp3lzjpip8 516s # rspfile: True, mkenums: /usr/bin/glib-mkenums 516s # /tmp/tmp3lzjpip8/tmpgtsgxz9p.h: 516s # typedef enum { 516s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 516s # } GDBusServerFlags; 516s # 516s # /tmp/tmp3lzjpip8/tmp1hsyhgif.template: 516s # /*** BEGIN file-header ***/ 516s # file-header 516s # /*** END file-header ***/ 516s # 516s # /*** BEGIN file-production ***/ 516s # file-production 516s # filename: @filename@ 516s # basename: @basename@ 516s # /*** END file-production ***/ 516s # 516s # /*** BEGIN enumeration-production ***/ 516s # enumeration-production 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END enumeration-production ***/ 516s # 516s # /*** BEGIN value-header ***/ 516s # value-header 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-header ***/ 516s # 516s # /*** BEGIN value-production ***/ 516s # value-production 516s # VALUENAME: @VALUENAME@ 516s # valuenick: @valuenick@ 516s # valuenum: @valuenum@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-production ***/ 516s # 516s # /*** BEGIN value-tail ***/ 516s # value-tail 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-tail ***/ 516s # 516s # /*** BEGIN comment ***/ 516s # comment 516s # comment: @comment@ 516s # /*** END comment ***/ 516s # 516s # /*** BEGIN file-tail ***/ 516s # file-tail 516s # /*** END file-tail ***/ 516s # 516s # Response file contains: --template /tmp/tmp3lzjpip8/tmp1hsyhgif.template /tmp/tmp3lzjpip8/tmpgtsgxz9p.h 516s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp3lzjpip8/tmpzc9ffzx9'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # Output: comment 516s # 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. 516s # 516s # 516s # file-header 516s # file-production 516s # filename: /tmp/tmp3lzjpip8/tmpgtsgxz9p.h 516s # basename: tmpgtsgxz9p.h 516s # enumeration-production 516s # EnumName: GDBusServerFlags 516s # enum_name: g_dbus_server_flags 516s # ENUMNAME: G_DBUS_SERVER_FLAGS 516s # ENUMSHORT: DBUS_SERVER_FLAGS 516s # ENUMPREFIX: G 516s # enumsince: 516s # type: flags 516s # Type: Flags 516s # TYPE: FLAGS 516s # value-header 516s # EnumName: GDBusServerFlags 516s # enum_name: g_dbus_server_flags 516s # ENUMNAME: G_DBUS_SERVER_FLAGS 516s # ENUMSHORT: DBUS_SERVER_FLAGS 516s # ENUMPREFIX: G 516s # enumsince: 516s # type: flags 516s # Type: Flags 516s # TYPE: FLAGS 516s # value-production 516s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 516s # valuenick: user 516s # valuenum: 4 516s # type: flags 516s # Type: Flags 516s # TYPE: FLAGS 516s # value-tail 516s # EnumName: GDBusServerFlags 516s # enum_name: g_dbus_server_flags 516s # ENUMNAME: G_DBUS_SERVER_FLAGS 516s # ENUMSHORT: DBUS_SERVER_FLAGS 516s # ENUMPREFIX: G 516s # enumsince: 516s # type: flags 516s # Type: Flags 516s # TYPE: FLAGS 516s # file-tail 516s # 516s # comment 516s # comment: Generated data ends here 516s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 516s # tmpdir: /tmp/tmp4ihjp10j 516s # rspfile: True, mkenums: /usr/bin/glib-mkenums 516s # /tmp/tmp4ihjp10j/tmpalcxdf1u.h: 516s # typedef enum { 516s # 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) 516s # } GDBusServerFlags; 516s # 516s # /tmp/tmp4ihjp10j/tmpc0uk1cg8.template: 516s # /*** BEGIN file-header ***/ 516s # file-header 516s # /*** END file-header ***/ 516s # 516s # /*** BEGIN file-production ***/ 516s # file-production 516s # filename: @filename@ 516s # basename: @basename@ 516s # /*** END file-production ***/ 516s # 516s # /*** BEGIN enumeration-production ***/ 516s # enumeration-production 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END enumeration-production ***/ 516s # 516s # /*** BEGIN value-header ***/ 516s # value-header 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-header ***/ 516s # 516s # /*** BEGIN value-production ***/ 516s # value-production 516s # VALUENAME: @VALUENAME@ 516s # valuenick: @valuenick@ 516s # valuenum: @valuenum@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-production ***/ 516s # 516s # /*** BEGIN value-tail ***/ 516s # value-tail 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-tail ***/ 516s # 516s # /*** BEGIN comment ***/ 516s # comment 516s # comment: @comment@ 516s # /*** END comment ***/ 516s # 516s # /*** BEGIN file-tail ***/ 516s # file-tail 516s # /*** END file-tail ***/ 516s # 516s # Response file contains: --template /tmp/tmp4ihjp10j/tmpc0uk1cg8.template /tmp/tmp4ihjp10j/tmpalcxdf1u.h 516s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp4ihjp10j/tmpb2pfe9to'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # Output: comment 516s # 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. 516s # 516s # 516s # file-header 516s # file-production 516s # filename: /tmp/tmp4ihjp10j/tmpalcxdf1u.h 516s # basename: tmpalcxdf1u.h 516s # enumeration-production 516s # EnumName: GDBusServerFlags 516s # enum_name: g_dbus_server_flags 516s # ENUMNAME: G_DBUS_SERVER_FLAGS 516s # ENUMSHORT: DBUS_SERVER_FLAGS 516s # ENUMPREFIX: G 516s # enumsince: 516s # type: flags 516s # Type: Flags 516s # TYPE: FLAGS 516s # value-header 516s # EnumName: GDBusServerFlags 516s # enum_name: g_dbus_server_flags 516s # ENUMNAME: G_DBUS_SERVER_FLAGS 516s # ENUMSHORT: DBUS_SERVER_FLAGS 516s # ENUMPREFIX: G 516s # enumsince: 516s # type: flags 516s # Type: Flags 516s # TYPE: FLAGS 516s # value-production 516s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 516s # valuenick: user 516s # valuenum: 4 516s # type: flags 516s # Type: Flags 516s # TYPE: FLAGS 516s # value-tail 516s # EnumName: GDBusServerFlags 516s # enum_name: g_dbus_server_flags 516s # ENUMNAME: G_DBUS_SERVER_FLAGS 516s # ENUMSHORT: DBUS_SERVER_FLAGS 516s # ENUMPREFIX: G 516s # enumsince: 516s # type: flags 516s # Type: Flags 516s # TYPE: FLAGS 516s # file-tail 516s # 516s # comment 516s # comment: Generated data ends here 516s ok 23 __main__.TestRspMkenums.test_empty_header 516s # tmpdir: /tmp/tmp6qfbyiw0 516s # rspfile: True, mkenums: /usr/bin/glib-mkenums 516s # /tmp/tmp6qfbyiw0/tmpji42nxvf.h: 516s # /tmp/tmp6qfbyiw0/tmpjrzri7g4.template: 516s # /*** BEGIN file-header ***/ 516s # file-header 516s # /*** END file-header ***/ 516s # 516s # /*** BEGIN file-production ***/ 516s # file-production 516s # filename: @filename@ 516s # basename: @basename@ 516s # /*** END file-production ***/ 516s # 516s # /*** BEGIN enumeration-production ***/ 516s # enumeration-production 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END enumeration-production ***/ 516s # 516s # /*** BEGIN value-header ***/ 516s # value-header 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-header ***/ 516s # 516s # /*** BEGIN value-production ***/ 516s # value-production 516s # VALUENAME: @VALUENAME@ 516s # valuenick: @valuenick@ 516s # valuenum: @valuenum@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-production ***/ 516s # 516s # /*** BEGIN value-tail ***/ 516s # value-tail 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-tail ***/ 516s # 516s # /*** BEGIN comment ***/ 516s # comment 516s # comment: @comment@ 516s # /*** END comment ***/ 516s # 516s # /*** BEGIN file-tail ***/ 516s # file-tail 516s # /*** END file-tail ***/ 516s # 516s # Response file contains: --template /tmp/tmp6qfbyiw0/tmpjrzri7g4.template /tmp/tmp6qfbyiw0/tmpji42nxvf.h 516s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp6qfbyiw0/tmp61n5uh34'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # Output: comment 516s # 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. 516s # 516s # 516s # file-header 516s # file-tail 516s # 516s # comment 516s # comment: Generated data ends here 516s ok 24 __main__.TestRspMkenums.test_empty_template 516s # tmpdir: /tmp/tmpp76kc1ny 516s # rspfile: True, mkenums: /usr/bin/glib-mkenums 516s # /tmp/tmpp76kc1ny/tmpx8foae97.template: 516s # Response file contains: --template /tmp/tmpp76kc1ny/tmpx8foae97.template 516s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpp76kc1ny/tmpvlxw15lf'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # 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. */ 516s # 516s # 516s # /* Generated data ends here */ 516s ok 25 __main__.TestRspMkenums.test_enum_name 516s # tmpdir: /tmp/tmpp2t2xvjg 516s # rspfile: True, mkenums: /usr/bin/glib-mkenums 516s # /tmp/tmpp2t2xvjg/tmpxnk88dzf.h: 516s # typedef enum _SomeEnumIdentifier { 516s # ENUM_VALUE 516s # } SomeEnumIdentifier; 516s # 516s # /tmp/tmpp2t2xvjg/tmpj3n4h4rt.template: 516s # /*** BEGIN file-header ***/ 516s # file-header 516s # /*** END file-header ***/ 516s # 516s # /*** BEGIN file-production ***/ 516s # file-production 516s # filename: @filename@ 516s # basename: @basename@ 516s # /*** END file-production ***/ 516s # 516s # /*** BEGIN enumeration-production ***/ 516s # enumeration-production 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END enumeration-production ***/ 516s # 516s # /*** BEGIN value-header ***/ 516s # value-header 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-header ***/ 516s # 516s # /*** BEGIN value-production ***/ 516s # value-production 516s # VALUENAME: @VALUENAME@ 516s # valuenick: @valuenick@ 516s # valuenum: @valuenum@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-production ***/ 516s # 516s # /*** BEGIN value-tail ***/ 516s # value-tail 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-tail ***/ 516s # 516s # /*** BEGIN comment ***/ 516s # comment 516s # comment: @comment@ 516s # /*** END comment ***/ 516s # 516s # /*** BEGIN file-tail ***/ 516s # file-tail 516s # /*** END file-tail ***/ 516s # 516s # Response file contains: --template /tmp/tmpp2t2xvjg/tmpj3n4h4rt.template /tmp/tmpp2t2xvjg/tmpxnk88dzf.h 516s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpp2t2xvjg/tmp3dbmocq6'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # Output: comment 516s # 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. 516s # 516s # 516s # file-header 516s # file-production 516s # filename: /tmp/tmpp2t2xvjg/tmpxnk88dzf.h 516s # basename: tmpxnk88dzf.h 516s # enumeration-production 516s # EnumName: SomeEnumIdentifier 516s # enum_name: some_enum_identifier 516s # ENUMNAME: SOME_ENUM_IDENTIFIER 516s # ENUMSHORT: ENUM_IDENTIFIER 516s # ENUMPREFIX: SOME 516s # enumsince: 516s # type: enum 516s # Type: Enum 516s # TYPE: ENUM 516s # value-header 516s # EnumName: SomeEnumIdentifier 516s # enum_name: some_enum_identifier 516s # ENUMNAME: SOME_ENUM_IDENTIFIER 516s # ENUMSHORT: ENUM_IDENTIFIER 516s # ENUMPREFIX: SOME 516s # enumsince: 516s # type: enum 516s # Type: Enum 516s # TYPE: ENUM 516s # value-production 516s # VALUENAME: ENUM_VALUE 516s # valuenick: value 516s # valuenum: 0 516s # type: enum 516s # Type: Enum 516s # TYPE: ENUM 516s # value-tail 516s # EnumName: SomeEnumIdentifier 516s # enum_name: some_enum_identifier 516s # ENUMNAME: SOME_ENUM_IDENTIFIER 516s # ENUMSHORT: ENUM_IDENTIFIER 516s # ENUMPREFIX: SOME 516s # enumsince: 516s # type: enum 516s # Type: Enum 516s # TYPE: ENUM 516s # file-tail 516s # 516s # comment 516s # comment: Generated data ends here 516s ok 26 __main__.TestRspMkenums.test_enum_private_public 516s # tmpdir: /tmp/tmp9noxzpwe 516s # rspfile: True, mkenums: /usr/bin/glib-mkenums 516s # /tmp/tmp9noxzpwe/tmpzmwvi764.h: 516s # typedef enum { 516s # ENUM_VALUE_PUBLIC1, 516s # /*< private >*/ 516s # ENUM_VALUE_PRIVATE, 516s # } SomeEnumA 516s # 516s # /tmp/tmp9noxzpwe/tmpjjyv33zb.template: 516s # /*** BEGIN file-header ***/ 516s # file-header 516s # /*** END file-header ***/ 516s # 516s # /*** BEGIN file-production ***/ 516s # file-production 516s # filename: @filename@ 516s # basename: @basename@ 516s # /*** END file-production ***/ 516s # 516s # /*** BEGIN enumeration-production ***/ 516s # enumeration-production 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END enumeration-production ***/ 516s # 516s # /*** BEGIN value-header ***/ 516s # value-header 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-header ***/ 516s # 516s # /*** BEGIN value-production ***/ 516s # value-production 516s # VALUENAME: @VALUENAME@ 516s # valuenick: @valuenick@ 516s # valuenum: @valuenum@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-production ***/ 516s # 516s # /*** BEGIN value-tail ***/ 516s # value-tail 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-tail ***/ 516s # 516s # /*** BEGIN comment ***/ 516s # comment 516s # comment: @comment@ 516s # /*** END comment ***/ 516s # 516s # /*** BEGIN file-tail ***/ 516s # file-tail 516s # /*** END file-tail ***/ 516s # 516s # Response file contains: --template /tmp/tmp9noxzpwe/tmpjjyv33zb.template /tmp/tmp9noxzpwe/tmpzmwvi764.h 516s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp9noxzpwe/tmp116_010m'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # Output: comment 516s # 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. 516s # 516s # 516s # file-header 516s # file-production 516s # filename: /tmp/tmp9noxzpwe/tmpzmwvi764.h 516s # basename: tmpzmwvi764.h 516s # enumeration-production 516s # EnumName: SomeEnumA 516s # enum_name: some_enum_a 516s # ENUMNAME: SOME_ENUM_A 516s # ENUMSHORT: ENUM_A 516s # ENUMPREFIX: SOME 516s # enumsince: 516s # type: enum 516s # Type: Enum 516s # TYPE: ENUM 516s # value-header 516s # EnumName: SomeEnumA 516s # enum_name: some_enum_a 516s # ENUMNAME: SOME_ENUM_A 516s # ENUMSHORT: ENUM_A 516s # ENUMPREFIX: SOME 516s # enumsince: 516s # type: enum 516s # Type: Enum 516s # TYPE: ENUM 516s # value-production 516s # VALUENAME: ENUM_VALUE_PUBLIC1 516s # valuenick: public1 516s # valuenum: 0 516s # type: enum 516s # Type: Enum 516s # TYPE: ENUM 516s # value-tail 516s # EnumName: SomeEnumA 516s # enum_name: some_enum_a 516s # ENUMNAME: SOME_ENUM_A 516s # ENUMSHORT: ENUM_A 516s # ENUMPREFIX: SOME 516s # enumsince: 516s # type: enum 516s # Type: Enum 516s # TYPE: ENUM 516s # file-tail 516s # 516s # comment 516s # comment: Generated data ends here 516s # /tmp/tmp9noxzpwe/tmpj61ve0r5.h: 516s # typedef enum { 516s # /*< private >*/ 516s # ENUM_VALUE_PRIVATE, 516s # /*< public >*/ 516s # ENUM_VALUE_PUBLIC2, 516s # } SomeEnumB; 516s # 516s # /tmp/tmp9noxzpwe/tmppqsfhbl2.template: 516s # /*** BEGIN file-header ***/ 516s # file-header 516s # /*** END file-header ***/ 516s # 516s # /*** BEGIN file-production ***/ 516s # file-production 516s # filename: @filename@ 516s # basename: @basename@ 516s # /*** END file-production ***/ 516s # 516s # /*** BEGIN enumeration-production ***/ 516s # enumeration-production 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END enumeration-production ***/ 516s # 516s # /*** BEGIN value-header ***/ 516s # value-header 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-header ***/ 516s # 516s # /*** BEGIN value-production ***/ 516s # value-production 516s # VALUENAME: @VALUENAME@ 516s # valuenick: @valuenick@ 516s # valuenum: @valuenum@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-production ***/ 516s # 516s # /*** BEGIN value-tail ***/ 516s # value-tail 516s # EnumName: @EnumName@ 516s # enum_name: @enum_name@ 516s # ENUMNAME: @ENUMNAME@ 516s # ENUMSHORT: @ENUMSHORT@ 516s # ENUMPREFIX: @ENUMPREFIX@ 516s # enumsince: @enumsince@ 516s # type: @type@ 516s # Type: @Type@ 516s # TYPE: @TYPE@ 516s # /*** END value-tail ***/ 516s # 516s # /*** BEGIN comment ***/ 516s # comment 516s # comment: @comment@ 516s # /*** END comment ***/ 516s # 516s # /*** BEGIN file-tail ***/ 516s # file-tail 516s # /*** END file-tail ***/ 516s # 516s # Response file contains: --template /tmp/tmp9noxzpwe/tmppqsfhbl2.template /tmp/tmp9noxzpwe/tmpj61ve0r5.h 516s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp9noxzpwe/tmpk3fwds4a'] 516s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 516s # Output: comment 516s # 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. 516s # 516s # 516s # file-header 516s # file-production 516s # filename: /tmp/tmp9noxzpwe/tmpj61ve0r5.h 516s # basename: tmpj61ve0r5.h 516s # enumeration-production 516s # EnumName: SomeEnumB 516s # enum_name: some_enum_b 516s # ENUMNAME: SOME_ENUM_B 516s # ENUMSHORT: ENUM_B 516s # ENUMPREFIX: SOME 516s # enumsince: 516s # type: enum 516s # Type: Enum 516s # TYPE: ENUM 516s # value-header 516s # EnumName: SomeEnumB 516s # enum_name: some_enum_b 516s # ENUMNAME: SOME_ENUM_B 516s # ENUMSHORT: ENUM_B 516s # ENUMPREFIX: SOME 516s # enumsince: 516s # type: enum 516s # Type: Enum 516s # TYPE: ENUM 516s # value-production 516s # VALUENAME: ENUM_VALUE_PUBLIC2 516s # valuenick: public2 516s # valuenum: 1 516s # type: enum 516s # Type: Enum 516s # TYPE: ENUM 516s # value-tail 516s # EnumName: SomeEnumB 516s # enum_name: some_enum_b 516s # ENUMNAME: SOME_ENUM_B 516s # ENUMSHORT: ENUM_B 516s # ENUMPREFIX: SOME 516s # enumsince: 516s # type: enum 516s # Type: Enum 516s # TYPE: ENUM 516s # file-tail 516s # 516s # comment 516s # comment: Generated data ends here 517s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 517s # tmpdir: /tmp/tmpgy3f8xv8 517s # rspfile: True, mkenums: /usr/bin/glib-mkenums 517s # /tmp/tmpgy3f8xv8/tmp9a2ainxd.h: 517s # typedef enum { 517s # /*< private >*/ 517s # ENUM_VALUE_PRIVATE = 5, 517s # /*< public >*/ 517s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 517s # } TestSymbolicEnum; 517s # 517s # /tmp/tmpgy3f8xv8/tmp8ubehbnp.template: 517s # /*** BEGIN file-header ***/ 517s # file-header 517s # /*** END file-header ***/ 517s # 517s # /*** BEGIN file-production ***/ 517s # file-production 517s # filename: @filename@ 517s # basename: @basename@ 517s # /*** END file-production ***/ 517s # 517s # /*** BEGIN enumeration-production ***/ 517s # enumeration-production 517s # EnumName: @EnumName@ 517s # enum_name: @enum_name@ 517s # ENUMNAME: @ENUMNAME@ 517s # ENUMSHORT: @ENUMSHORT@ 517s # ENUMPREFIX: @ENUMPREFIX@ 517s # enumsince: @enumsince@ 517s # type: @type@ 517s # Type: @Type@ 517s # TYPE: @TYPE@ 517s # /*** END enumeration-production ***/ 517s # 517s # /*** BEGIN value-header ***/ 517s # value-header 517s # EnumName: @EnumName@ 517s # enum_name: @enum_name@ 517s # ENUMNAME: @ENUMNAME@ 517s # ENUMSHORT: @ENUMSHORT@ 517s # ENUMPREFIX: @ENUMPREFIX@ 517s # enumsince: @enumsince@ 517s # type: @type@ 517s # Type: @Type@ 517s # TYPE: @TYPE@ 517s # /*** END value-header ***/ 517s # 517s # /*** BEGIN value-production ***/ 517s # value-production 517s # VALUENAME: @VALUENAME@ 517s # valuenick: @valuenick@ 517s # valuenum: @valuenum@ 517s # type: @type@ 517s # Type: @Type@ 517s # TYPE: @TYPE@ 517s # /*** END value-production ***/ 517s # 517s # /*** BEGIN value-tail ***/ 517s # value-tail 517s # EnumName: @EnumName@ 517s # enum_name: @enum_name@ 517s # ENUMNAME: @ENUMNAME@ 517s # ENUMSHORT: @ENUMSHORT@ 517s # ENUMPREFIX: @ENUMPREFIX@ 517s # enumsince: @enumsince@ 517s # type: @type@ 517s # Type: @Type@ 517s # TYPE: @TYPE@ 517s # /*** END value-tail ***/ 517s # 517s # /*** BEGIN comment ***/ 517s # comment 517s # comment: @comment@ 517s # /*** END comment ***/ 517s # 517s # /*** BEGIN file-tail ***/ 517s # file-tail 517s # /*** END file-tail ***/ 517s # 517s # Response file contains: --template /tmp/tmpgy3f8xv8/tmp8ubehbnp.template /tmp/tmpgy3f8xv8/tmp9a2ainxd.h 517s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpgy3f8xv8/tmpcjx0luo7'] 517s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 517s # Output: comment 517s # 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. 517s # 517s # 517s # file-header 517s # file-production 517s # filename: /tmp/tmpgy3f8xv8/tmp9a2ainxd.h 517s # basename: tmp9a2ainxd.h 517s # enumeration-production 517s # EnumName: TestSymbolicEnum 517s # enum_name: test_symbolic_enum 517s # ENUMNAME: TEST_SYMBOLIC_ENUM 517s # ENUMSHORT: SYMBOLIC_ENUM 517s # ENUMPREFIX: TEST 517s # enumsince: 517s # type: enum 517s # Type: Enum 517s # TYPE: ENUM 517s # value-header 517s # EnumName: TestSymbolicEnum 517s # enum_name: test_symbolic_enum 517s # ENUMNAME: TEST_SYMBOLIC_ENUM 517s # ENUMSHORT: SYMBOLIC_ENUM 517s # ENUMPREFIX: TEST 517s # enumsince: 517s # type: enum 517s # Type: Enum 517s # TYPE: ENUM 517s # value-production 517s # VALUENAME: ENUM_VALUE_PUBLIC 517s # valuenick: public 517s # valuenum: 7 517s # type: enum 517s # Type: Enum 517s # TYPE: ENUM 517s # value-tail 517s # EnumName: TestSymbolicEnum 517s # enum_name: test_symbolic_enum 517s # ENUMNAME: TEST_SYMBOLIC_ENUM 517s # ENUMSHORT: SYMBOLIC_ENUM 517s # ENUMPREFIX: TEST 517s # enumsince: 517s # type: enum 517s # Type: Enum 517s # TYPE: ENUM 517s # file-tail 517s # 517s # comment 517s # comment: Generated data ends here 517s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 517s # tmpdir: /tmp/tmp6yea87v4 517s # rspfile: True, mkenums: /usr/bin/glib-mkenums 517s # /tmp/tmp6yea87v4/tmpe9cb80np.template: 517s # /*** BEGIN file-header ***/ 517s # file-header 517s # filename: @filename@ 517s # basename: @basename@ 517s # /*** END file-header ***/ 517s # 517s # /*** BEGIN comment ***/ 517s # comment 517s # comment: @comment@ 517s # /*** END comment ***/ 517s # 517s # /*** BEGIN file-tail ***/ 517s # file-tail 517s # filename: @filename@ 517s # basename: @basename@ 517s # /*** END file-tail ***/ 517s # Response file contains: --template /tmp/tmp6yea87v4/tmpe9cb80np.template 517s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp6yea87v4/tmp4l1ine1g'] 517s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 517s # Output: comment 517s # 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. 517s # 517s # 517s # file-header 517s # filename: @filename@ 517s # basename: @basename@ 517s # file-tail 517s # filename: @filename@ 517s # basename: @basename@ 517s # 517s # comment 517s # comment: Generated data ends here 517s ok 29 __main__.TestRspMkenums.test_help 517s # tmpdir: /tmp/tmphhzo1baj 517s # rspfile: True, mkenums: /usr/bin/glib-mkenums 517s # Response file contains: --help 517s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmphhzo1baj/tmpcy0ynff6'] 517s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 517s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 517s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 517s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 517s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 517s # [--comments COMMENT_TMPL] [--template TEMPLATE] 517s # [--output OUTPUT] [--version] 517s # [args ...] 517s # 517s # positional arguments: 517s # args One or more input files, or a single argument 517s # @rspfile_path pointing to a file that contains the 517s # actual arguments 517s # 517s # options: 517s # -h, --help show this help message and exit 517s # --identifier-prefix IDPREFIX 517s # Identifier prefix 517s # --symbol-prefix SYMPREFIX 517s # Symbol prefix 517s # --fhead FHEAD Output file header 517s # --ftail FTAIL Output file footer 517s # --fprod FPROD Put out TEXT every time a new input file is being 517s # processed. 517s # --eprod EPROD Per enum text, produced prior to value iterations 517s # --vhead VHEAD Value header, produced before iterating over enum 517s # values 517s # --vprod VPROD Value text, produced for each enum value. 517s # --vtail VTAIL Value tail, produced after iterating over enum values 517s # --comments COMMENT_TMPL 517s # Comment structure 517s # --template TEMPLATE Template file 517s # --output OUTPUT 517s # --version, -v Print version information 517s # 517s # Production text substitutions: 517s # @EnumName@ PrefixTheXEnum 517s # @enum_name@ prefix_the_xenum 517s # @ENUMNAME@ PREFIX_THE_XENUM 517s # @ENUMSHORT@ THE_XENUM 517s # @ENUMPREFIX@ PREFIX 517s # @enumsince@ the user-provided since value given 517s # @VALUENAME@ PREFIX_THE_XVALUE 517s # @valuenick@ the-xvalue 517s # @valuenum@ the integer value (limited support, Since: 2.26) 517s # @type@ either enum or flags 517s # @Type@ either Enum or Flags 517s # @TYPE@ either ENUM or FLAGS 517s # @filename@ name of current input file 517s # @basename@ base name of the current input file (Since: 2.22) 517s ok 30 __main__.TestRspMkenums.test_no_args 517s # tmpdir: /tmp/tmp0rk1rl4p 517s # rspfile: True, mkenums: /usr/bin/glib-mkenums 517s # Response file contains: 517s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp0rk1rl4p/tmp0pup17wx'] 517s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 517s # 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. */ 517s # 517s # 517s # /* Generated data ends here */ 517s ok 31 __main__.TestRspMkenums.test_no_headers 517s # tmpdir: /tmp/tmpxrb47l0v 517s # rspfile: True, mkenums: /usr/bin/glib-mkenums 517s # /tmp/tmpxrb47l0v/tmp4c9qsoxo.template: 517s # /*** BEGIN file-header ***/ 517s # file-header 517s # /*** END file-header ***/ 517s # 517s # /*** BEGIN file-production ***/ 517s # file-production 517s # filename: @filename@ 517s # basename: @basename@ 517s # /*** END file-production ***/ 517s # 517s # /*** BEGIN enumeration-production ***/ 517s # enumeration-production 517s # EnumName: @EnumName@ 517s # enum_name: @enum_name@ 517s # ENUMNAME: @ENUMNAME@ 517s # ENUMSHORT: @ENUMSHORT@ 517s # ENUMPREFIX: @ENUMPREFIX@ 517s # enumsince: @enumsince@ 517s # type: @type@ 517s # Type: @Type@ 517s # TYPE: @TYPE@ 517s # /*** END enumeration-production ***/ 517s # 517s # /*** BEGIN value-header ***/ 517s # value-header 517s # EnumName: @EnumName@ 517s # enum_name: @enum_name@ 517s # ENUMNAME: @ENUMNAME@ 517s # ENUMSHORT: @ENUMSHORT@ 517s # ENUMPREFIX: @ENUMPREFIX@ 517s # enumsince: @enumsince@ 517s # type: @type@ 517s # Type: @Type@ 517s # TYPE: @TYPE@ 517s # /*** END value-header ***/ 517s # 517s # /*** BEGIN value-production ***/ 517s # value-production 517s # VALUENAME: @VALUENAME@ 517s # valuenick: @valuenick@ 517s # valuenum: @valuenum@ 517s # type: @type@ 517s # Type: @Type@ 517s # TYPE: @TYPE@ 517s # /*** END value-production ***/ 517s # 517s # /*** BEGIN value-tail ***/ 517s # value-tail 517s # EnumName: @EnumName@ 517s # enum_name: @enum_name@ 517s # ENUMNAME: @ENUMNAME@ 517s # ENUMSHORT: @ENUMSHORT@ 517s # ENUMPREFIX: @ENUMPREFIX@ 517s # enumsince: @enumsince@ 517s # type: @type@ 517s # Type: @Type@ 517s # TYPE: @TYPE@ 517s # /*** END value-tail ***/ 517s # 517s # /*** BEGIN comment ***/ 517s # comment 517s # comment: @comment@ 517s # /*** END comment ***/ 517s # 517s # /*** BEGIN file-tail ***/ 517s # file-tail 517s # /*** END file-tail ***/ 517s # 517s # Response file contains: --template /tmp/tmpxrb47l0v/tmp4c9qsoxo.template 517s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpxrb47l0v/tmp2hep6c8g'] 517s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 517s # Output: comment 517s # 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. 517s # 517s # 517s # file-header 517s # file-tail 517s # 517s # comment 517s # comment: Generated data ends here 517s ok 32 __main__.TestRspMkenums.test_no_nick 517s # tmpdir: /tmp/tmpghrw3rt5 517s # rspfile: True, mkenums: /usr/bin/glib-mkenums 517s # /tmp/tmpghrw3rt5/tmpbuwa4r73.h: 517s # typedef enum { 517s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 517s # } GeglSamplerType; 517s # 517s # /tmp/tmpghrw3rt5/tmp30trzg8p.template: 517s # /*** BEGIN file-header ***/ 517s # file-header 517s # /*** END file-header ***/ 517s # 517s # /*** BEGIN file-production ***/ 517s # file-production 517s # filename: @filename@ 517s # basename: @basename@ 517s # /*** END file-production ***/ 517s # 517s # /*** BEGIN enumeration-production ***/ 517s # enumeration-production 517s # EnumName: @EnumName@ 517s # enum_name: @enum_name@ 517s # ENUMNAME: @ENUMNAME@ 517s # ENUMSHORT: @ENUMSHORT@ 517s # ENUMPREFIX: @ENUMPREFIX@ 517s # enumsince: @enumsince@ 517s # type: @type@ 517s # Type: @Type@ 517s # TYPE: @TYPE@ 517s # /*** END enumeration-production ***/ 517s # 517s # /*** BEGIN value-header ***/ 517s # value-header 517s # EnumName: @EnumName@ 517s # enum_name: @enum_name@ 517s # ENUMNAME: @ENUMNAME@ 517s # ENUMSHORT: @ENUMSHORT@ 517s # ENUMPREFIX: @ENUMPREFIX@ 517s # enumsince: @enumsince@ 517s # type: @type@ 517s # Type: @Type@ 517s # TYPE: @TYPE@ 517s # /*** END value-header ***/ 517s # 517s # /*** BEGIN value-production ***/ 517s # value-production 517s # VALUENAME: @VALUENAME@ 517s # valuenick: @valuenick@ 517s # valuenum: @valuenum@ 517s # type: @type@ 517s # Type: @Type@ 517s # TYPE: @TYPE@ 517s # /*** END value-production ***/ 517s # 517s # /*** BEGIN value-tail ***/ 517s # value-tail 517s # EnumName: @EnumName@ 517s # enum_name: @enum_name@ 517s # ENUMNAME: @ENUMNAME@ 517s # ENUMSHORT: @ENUMSHORT@ 517s # ENUMPREFIX: @ENUMPREFIX@ 517s # enumsince: @enumsince@ 517s # type: @type@ 517s # Type: @Type@ 517s # TYPE: @TYPE@ 517s # /*** END value-tail ***/ 517s # 517s # /*** BEGIN comment ***/ 517s # comment 517s # comment: @comment@ 517s # /*** END comment ***/ 517s # 517s # /*** BEGIN file-tail ***/ 517s # file-tail 517s # /*** END file-tail ***/ 517s # 517s # Response file contains: --template /tmp/tmpghrw3rt5/tmp30trzg8p.template /tmp/tmpghrw3rt5/tmpbuwa4r73.h 517s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpghrw3rt5/tmpu3aa0l9o'] 517s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 517s # Output: comment 517s # 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. 517s # 517s # 517s # file-header 517s # file-production 517s # filename: /tmp/tmpghrw3rt5/tmpbuwa4r73.h 517s # basename: tmpbuwa4r73.h 517s # enumeration-production 517s # EnumName: GeglSamplerType 517s # enum_name: gegl_sampler_type 517s # ENUMNAME: GEGL_SAMPLER_TYPE 517s # ENUMSHORT: SAMPLER_TYPE 517s # ENUMPREFIX: GEGL 517s # enumsince: 517s # type: enum 517s # Type: Enum 517s # TYPE: ENUM 517s # value-header 517s # EnumName: GeglSamplerType 517s # enum_name: gegl_sampler_type 517s # ENUMNAME: GEGL_SAMPLER_TYPE 517s # ENUMSHORT: SAMPLER_TYPE 517s # ENUMPREFIX: GEGL 517s # enumsince: 517s # type: enum 517s # Type: Enum 517s # TYPE: ENUM 517s # value-production 517s # VALUENAME: GEGL_SAMPLER_NEAREST 517s # valuenick: nearest 517s # valuenum: 0 517s # type: enum 517s # Type: Enum 517s # TYPE: ENUM 517s # value-tail 517s # EnumName: GeglSamplerType 517s # enum_name: gegl_sampler_type 517s # ENUMNAME: GEGL_SAMPLER_TYPE 517s # ENUMSHORT: SAMPLER_TYPE 517s # ENUMPREFIX: GEGL 517s # enumsince: 517s # type: enum 517s # Type: Enum 517s # TYPE: ENUM 517s # file-tail 517s # 517s # comment 517s # comment: Generated data ends here 517s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 517s # tmpdir: /tmp/tmp2fpm8jz2 517s # rspfile: True, mkenums: /usr/bin/glib-mkenums 517s # /tmp/tmp2fpm8jz2/tmpau6p4m96.h: 517s # /* Copyright © La Peña */ 517s # typedef enum { 517s # ENUM_VALUE 517s # } SomeEnumIdentifier; 517s # 517s # /tmp/tmp2fpm8jz2/tmp2u4xe31t.template: 517s # /*** BEGIN file-header ***/ 517s # file-header 517s # /*** END file-header ***/ 517s # 517s # /*** BEGIN file-production ***/ 517s # file-production 517s # filename: @filename@ 517s # basename: @basename@ 517s # /*** END file-production ***/ 517s # 517s # /*** BEGIN enumeration-production ***/ 517s # enumeration-production 517s # EnumName: @EnumName@ 517s # enum_name: @enum_name@ 517s # ENUMNAME: @ENUMNAME@ 517s # ENUMSHORT: @ENUMSHORT@ 517s # ENUMPREFIX: @ENUMPREFIX@ 517s # enumsince: @enumsince@ 517s # type: @type@ 517s # Type: @Type@ 517s # TYPE: @TYPE@ 517s # /*** END enumeration-production ***/ 517s # 517s # /*** BEGIN value-header ***/ 517s # value-header 517s # EnumName: @EnumName@ 517s # enum_name: @enum_name@ 517s # ENUMNAME: @ENUMNAME@ 517s # ENUMSHORT: @ENUMSHORT@ 517s # ENUMPREFIX: @ENUMPREFIX@ 517s # enumsince: @enumsince@ 517s # type: @type@ 517s # Type: @Type@ 517s # TYPE: @TYPE@ 517s # /*** END value-header ***/ 517s # 517s # /*** BEGIN value-production ***/ 517s # value-production 517s # VALUENAME: @VALUENAME@ 517s # valuenick: @valuenick@ 517s # valuenum: @valuenum@ 517s # type: @type@ 517s # Type: @Type@ 517s # TYPE: @TYPE@ 517s # /*** END value-production ***/ 517s # 517s # /*** BEGIN value-tail ***/ 517s # value-tail 517s # EnumName: @EnumName@ 517s # enum_name: @enum_name@ 517s # ENUMNAME: @ENUMNAME@ 517s # ENUMSHORT: @ENUMSHORT@ 517s # ENUMPREFIX: @ENUMPREFIX@ 517s # enumsince: @enumsince@ 517s # type: @type@ 517s # Type: @Type@ 517s # TYPE: @TYPE@ 517s # /*** END value-tail ***/ 517s # 517s # /*** BEGIN comment ***/ 517s # comment 517s # comment: @comment@ 517s # /*** END comment ***/ 517s # 517s # /*** BEGIN file-tail ***/ 517s # file-tail 517s # /*** END file-tail ***/ 517s # 517s # Response file contains: --template /tmp/tmp2fpm8jz2/tmp2u4xe31t.template /tmp/tmp2fpm8jz2/tmpau6p4m96.h 517s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp2fpm8jz2/tmpejyarur7'] 517s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 517s # Output: comment 517s # 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. 517s # 517s # 517s # file-header 517s # file-production 517s # filename: /tmp/tmp2fpm8jz2/tmpau6p4m96.h 517s # basename: tmpau6p4m96.h 517s # enumeration-production 517s # EnumName: SomeEnumIdentifier 517s # enum_name: some_enum_identifier 517s # ENUMNAME: SOME_ENUM_IDENTIFIER 517s # ENUMSHORT: ENUM_IDENTIFIER 517s # ENUMPREFIX: SOME 517s # enumsince: 517s # type: enum 517s # Type: Enum 517s # TYPE: ENUM 517s # value-header 517s # EnumName: SomeEnumIdentifier 517s # enum_name: some_enum_identifier 517s # ENUMNAME: SOME_ENUM_IDENTIFIER 517s # ENUMSHORT: ENUM_IDENTIFIER 517s # ENUMPREFIX: SOME 517s # enumsince: 517s # type: enum 517s # Type: Enum 517s # TYPE: ENUM 517s # value-production 517s # VALUENAME: ENUM_VALUE 517s # valuenick: value 517s # valuenum: 0 517s # type: enum 517s # Type: Enum 517s # TYPE: ENUM 517s # value-tail 517s # EnumName: SomeEnumIdentifier 517s # enum_name: some_enum_identifier 517s # ENUMNAME: SOME_ENUM_IDENTIFIER 517s # ENUMSHORT: ENUM_IDENTIFIER 517s # ENUMPREFIX: SOME 517s # enumsince: 517s # type: enum 517s # Type: Enum 517s # TYPE: ENUM 517s # file-tail 517s # 517s # comment 517s # comment: Generated data ends here 517s ok 34 __main__.TestRspMkenums.test_reproducible 517s # tmpdir: /tmp/tmp7gk5mrx6 517s # rspfile: True, mkenums: /usr/bin/glib-mkenums 517s # /tmp/tmp7gk5mrx6/tmpi2jvzlla.template: template 517s # Response file contains: --template /tmp/tmp7gk5mrx6/tmpi2jvzlla.template /tmp/tmp7gk5mrx6/tmp7ro4mhog1.h /tmp/tmp7gk5mrx6/tmpz46bqiks2.h 517s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp7gk5mrx6/tmp_07r8yl7'] 517s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 517s # 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. */ 517s # 517s # 517s # /* Generated data ends here */ 517s # /tmp/tmp7gk5mrx6/tmpgpdghn8m.template: template 517s # Response file contains: --template /tmp/tmp7gk5mrx6/tmpgpdghn8m.template /tmp/tmp7gk5mrx6/tmpz46bqiks2.h /tmp/tmp7gk5mrx6/tmp7ro4mhog1.h 517s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp7gk5mrx6/tmpc7hofqpc'] 517s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 517s # 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. */ 517s # 517s # 517s # /* Generated data ends here */ 517s ok 35 __main__.TestRspMkenums.test_since 517s # tmpdir: /tmp/tmpk2x2_x2r 517s # rspfile: True, mkenums: /usr/bin/glib-mkenums 517s # /tmp/tmpk2x2_x2r/tmp2ovqr754.h: 517s # typedef enum { /*< since=1.0 >*/ 517s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 517s # } QmiWmsMessageProtocol; 517s # 517s # /tmp/tmpk2x2_x2r/tmpq9rkne1p.template: 517s # /*** BEGIN file-header ***/ 517s # file-header 517s # /*** END file-header ***/ 517s # 517s # /*** BEGIN file-production ***/ 517s # file-production 517s # filename: @filename@ 517s # basename: @basename@ 517s # /*** END file-production ***/ 517s # 517s # /*** BEGIN enumeration-production ***/ 517s # enumeration-production 517s # EnumName: @EnumName@ 517s # enum_name: @enum_name@ 517s # ENUMNAME: @ENUMNAME@ 517s # ENUMSHORT: @ENUMSHORT@ 517s # ENUMPREFIX: @ENUMPREFIX@ 517s # enumsince: @enumsince@ 517s # type: @type@ 517s # Type: @Type@ 517s # TYPE: @TYPE@ 517s # /*** END enumeration-production ***/ 517s # 517s # /*** BEGIN value-header ***/ 517s # value-header 517s # EnumName: @EnumName@ 517s # enum_name: @enum_name@ 517s # ENUMNAME: @ENUMNAME@ 517s # ENUMSHORT: @ENUMSHORT@ 517s # ENUMPREFIX: @ENUMPREFIX@ 517s # enumsince: @enumsince@ 517s # type: @type@ 517s # Type: @Type@ 517s # TYPE: @TYPE@ 517s # /*** END value-header ***/ 517s # 517s # /*** BEGIN value-production ***/ 517s # value-production 517s # VALUENAME: @VALUENAME@ 517s # valuenick: @valuenick@ 517s # valuenum: @valuenum@ 517s # type: @type@ 517s # Type: @Type@ 517s # TYPE: @TYPE@ 517s # /*** END value-production ***/ 517s # 517s # /*** BEGIN value-tail ***/ 517s # value-tail 517s # EnumName: @EnumName@ 517s # enum_name: @enum_name@ 517s # ENUMNAME: @ENUMNAME@ 517s # ENUMSHORT: @ENUMSHORT@ 517s # ENUMPREFIX: @ENUMPREFIX@ 517s # enumsince: @enumsince@ 517s # type: @type@ 517s # Type: @Type@ 517s # TYPE: @TYPE@ 517s # /*** END value-tail ***/ 517s # 517s # /*** BEGIN comment ***/ 517s # comment 517s # comment: @comment@ 517s # /*** END comment ***/ 517s # 517s # /*** BEGIN file-tail ***/ 517s # file-tail 517s # /*** END file-tail ***/ 517s # 517s # Response file contains: --template /tmp/tmpk2x2_x2r/tmpq9rkne1p.template /tmp/tmpk2x2_x2r/tmp2ovqr754.h 517s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpk2x2_x2r/tmpe3thc471'] 517s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 517s # Output: comment 517s # 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. 517s # 517s # 517s # file-header 517s # file-production 517s # filename: /tmp/tmpk2x2_x2r/tmp2ovqr754.h 517s # basename: tmp2ovqr754.h 517s # enumeration-production 517s # EnumName: QmiWmsMessageProtocol 517s # enum_name: qmi_wms_message_protocol 517s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 517s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 517s # ENUMPREFIX: QMI 517s # enumsince: 1.0 517s # type: enum 517s # Type: Enum 517s # TYPE: ENUM 517s # value-header 517s # EnumName: QmiWmsMessageProtocol 517s # enum_name: qmi_wms_message_protocol 517s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 517s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 517s # ENUMPREFIX: QMI 517s # enumsince: 1.0 517s # type: enum 517s # Type: Enum 517s # TYPE: ENUM 517s # value-production 517s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 517s # valuenick: cdma 517s # valuenum: 0 517s # type: enum 517s # Type: Enum 517s # TYPE: ENUM 517s # value-tail 517s # EnumName: QmiWmsMessageProtocol 517s # enum_name: qmi_wms_message_protocol 517s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 517s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 517s # ENUMPREFIX: QMI 517s # enumsince: 1.0 517s # type: enum 517s # Type: Enum 517s # TYPE: ENUM 517s # file-tail 517s # 517s # comment 517s # comment: Generated data ends here 517s ok 36 __main__.TestRspMkenums.test_with_double_quotes 517s # tmpdir: /tmp/tmpty7l8cen 517s # rspfile: True, mkenums: /usr/bin/glib-mkenums 517s # /tmp/tmpty7l8cen/tmpr9gr9eno.h: 517s # typedef enum { 517s # FOO_VALUE /*< nick="eek, a comma" >*/ 517s # } Foo; 517s # 517s # /tmp/tmpty7l8cen/tmpqg4wxvco.template: 517s # /*** BEGIN file-header ***/ 517s # file-header 517s # /*** END file-header ***/ 517s # 517s # /*** BEGIN file-production ***/ 517s # file-production 517s # filename: @filename@ 517s # basename: @basename@ 517s # /*** END file-production ***/ 517s # 517s # /*** BEGIN enumeration-production ***/ 517s # enumeration-production 517s # EnumName: @EnumName@ 517s # enum_name: @enum_name@ 517s # ENUMNAME: @ENUMNAME@ 517s # ENUMSHORT: @ENUMSHORT@ 517s # ENUMPREFIX: @ENUMPREFIX@ 517s # enumsince: @enumsince@ 517s # type: @type@ 517s # Type: @Type@ 517s # TYPE: @TYPE@ 517s # /*** END enumeration-production ***/ 517s # 517s # /*** BEGIN value-header ***/ 517s # value-header 517s # EnumName: @EnumName@ 517s # enum_name: @enum_name@ 517s # ENUMNAME: @ENUMNAME@ 517s # ENUMSHORT: @ENUMSHORT@ 517s # ENUMPREFIX: @ENUMPREFIX@ 517s # enumsince: @enumsince@ 517s # type: @type@ 517s # Type: @Type@ 517s # TYPE: @TYPE@ 517s # /*** END value-header ***/ 517s # 517s # /*** BEGIN value-production ***/ 517s # value-production 517s # VALUENAME: @VALUENAME@ 517s # valuenick: @valuenick@ 517s # valuenum: @valuenum@ 517s # type: @type@ 517s # Type: @Type@ 517s # TYPE: @TYPE@ 517s # /*** END value-production ***/ 517s # 517s # /*** BEGIN value-tail ***/ 517s # value-tail 517s # EnumName: @EnumName@ 517s # enum_name: @enum_name@ 517s # ENUMNAME: @ENUMNAME@ 517s # ENUMSHORT: @ENUMSHORT@ 517s # ENUMPREFIX: @ENUMPREFIX@ 517s # enumsince: @enumsince@ 517s # type: @type@ 517s # Type: @Type@ 517s # TYPE: @TYPE@ 517s # /*** END value-tail ***/ 517s # 517s # /*** BEGIN comment ***/ 517s # comment 517s # comment: @comment@ 517s # /*** END comment ***/ 517s # 517s # /*** BEGIN file-tail ***/ 517s # file-tail 517s # /*** END file-tail ***/ 517s # 517s # Response file contains: --template /tmp/tmpty7l8cen/tmpqg4wxvco.template /tmp/tmpty7l8cen/tmpr9gr9eno.h 517s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpty7l8cen/tmp6nxvv_oc'] 517s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 517s # Output: comment 517s # 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. 517s # 517s # 517s # file-header 517s # file-production 517s # filename: /tmp/tmpty7l8cen/tmpr9gr9eno.h 517s # basename: tmpr9gr9eno.h 517s # enumeration-production 517s # EnumName: Foo 517s # enum_name: foo_ 517s # ENUMNAME: FOO_ 517s # ENUMSHORT: 517s # ENUMPREFIX: FOO 517s # enumsince: 517s # type: enum 517s # Type: Enum 517s # TYPE: ENUM 517s # value-header 517s # EnumName: Foo 517s # enum_name: foo_ 517s # ENUMNAME: FOO_ 517s # ENUMSHORT: 517s # ENUMPREFIX: FOO 517s # enumsince: 517s # type: enum 517s # Type: Enum 517s # TYPE: ENUM 517s # value-production 517s # VALUENAME: FOO_VALUE 517s # valuenick: eek, a comma 517s # valuenum: 0 517s # type: enum 517s # Type: Enum 517s # TYPE: ENUM 517s # value-tail 517s # EnumName: Foo 517s # enum_name: foo_ 517s # ENUMNAME: FOO_ 517s # ENUMSHORT: 517s # ENUMPREFIX: FOO 517s # enumsince: 517s # type: enum 517s # Type: Enum 517s # TYPE: ENUM 517s # file-tail 517s # 517s # comment 517s # comment: Generated data ends here 517s 1..36 517s ok - glib/mkenums.py.test 517s # Running test: glib/642026-ec.test 517s TAP version 13 517s # random seed: R02S834d6112532ab2e30ca97146d1665dd1 517s 1..1 517s # Start of glib tests 517s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 517s ok 1 /glib/642026 517s # End of glib tests 517s ok - glib/642026-ec.test 517s # Running test: glib/utf8-validate.test 517s TAP version 13 517s # random seed: R02S15a99bef87da4f205f8ecba3415921cf 517s 1..216 517s # Start of utf8 tests 517s # Vector 0 517s # Vector 1 517s # Vector 2 517s # Vector 3 517s # Vector 4 517s # Vector 5 517s # Vector 6 517s # Vector 7 517s # Vector 8 517s # Vector 9 517s # Vector 10 517s # Vector 11 517s # Vector 12 517s # Vector 13 517s # Vector 14 517s # Vector 15 517s # Vector 16 517s # Vector 17 517s # Vector 18 517s # Vector 19 517s # Vector 20 517s # Vector 21 517s # Vector 22 517s # Vector 23 517s # Vector 24 517s # Vector 25 517s # Vector 26 517s # Vector 27 517s ok 1 /utf8/get-char-validated 517s # Start of validate tests 517s ok 2 /utf8/validate/0 517s ok 3 /utf8/validate/1 517s ok 4 /utf8/validate/2 517s ok 5 /utf8/validate/3 517s ok 6 /utf8/validate/4 517s ok 7 /utf8/validate/5 517s ok 8 /utf8/validate/6 517s ok 9 /utf8/validate/7 517s ok 10 /utf8/validate/8 517s ok 11 /utf8/validate/9 517s ok 12 /utf8/validate/10 517s ok 13 /utf8/validate/11 517s ok 14 /utf8/validate/12 517s ok 15 /utf8/validate/13 517s ok 16 /utf8/validate/14 517s ok 17 /utf8/validate/15 517s ok 18 /utf8/validate/16 517s ok 19 /utf8/validate/17 517s ok 20 /utf8/validate/18 517s ok 21 /utf8/validate/19 517s ok 22 /utf8/validate/20 517s ok 23 /utf8/validate/21 517s ok 24 /utf8/validate/22 517s ok 25 /utf8/validate/23 517s ok 26 /utf8/validate/24 517s ok 27 /utf8/validate/25 517s ok 28 /utf8/validate/26 517s ok 29 /utf8/validate/27 517s ok 30 /utf8/validate/28 517s ok 31 /utf8/validate/29 517s ok 32 /utf8/validate/30 517s ok 33 /utf8/validate/31 517s ok 34 /utf8/validate/32 517s ok 35 /utf8/validate/33 517s ok 36 /utf8/validate/34 517s ok 37 /utf8/validate/35 517s ok 38 /utf8/validate/36 517s ok 39 /utf8/validate/37 517s ok 40 /utf8/validate/38 517s ok 41 /utf8/validate/39 517s ok 42 /utf8/validate/40 517s ok 43 /utf8/validate/41 517s ok 44 /utf8/validate/42 517s ok 45 /utf8/validate/43 517s ok 46 /utf8/validate/44 517s ok 47 /utf8/validate/45 517s ok 48 /utf8/validate/46 517s ok 49 /utf8/validate/47 517s ok 50 /utf8/validate/48 517s ok 51 /utf8/validate/49 517s ok 52 /utf8/validate/50 517s ok 53 /utf8/validate/51 517s ok 54 /utf8/validate/52 517s ok 55 /utf8/validate/53 517s ok 56 /utf8/validate/54 517s ok 57 /utf8/validate/55 517s ok 58 /utf8/validate/56 517s ok 59 /utf8/validate/57 517s ok 60 /utf8/validate/58 517s ok 61 /utf8/validate/59 517s ok 62 /utf8/validate/60 517s ok 63 /utf8/validate/61 517s ok 64 /utf8/validate/62 517s ok 65 /utf8/validate/63 517s ok 66 /utf8/validate/64 517s ok 67 /utf8/validate/65 517s ok 68 /utf8/validate/66 517s ok 69 /utf8/validate/67 517s ok 70 /utf8/validate/68 517s ok 71 /utf8/validate/69 517s ok 72 /utf8/validate/70 517s ok 73 /utf8/validate/71 517s ok 74 /utf8/validate/72 517s ok 75 /utf8/validate/73 517s ok 76 /utf8/validate/74 517s ok 77 /utf8/validate/75 517s ok 78 /utf8/validate/76 517s ok 79 /utf8/validate/77 517s ok 80 /utf8/validate/78 517s ok 81 /utf8/validate/79 517s ok 82 /utf8/validate/80 517s ok 83 /utf8/validate/81 517s ok 84 /utf8/validate/82 517s ok 85 /utf8/validate/83 517s ok 86 /utf8/validate/84 517s ok 87 /utf8/validate/85 517s ok 88 /utf8/validate/86 517s ok 89 /utf8/validate/87 517s ok 90 /utf8/validate/88 517s ok 91 /utf8/validate/89 517s ok 92 /utf8/validate/90 517s ok 93 /utf8/validate/91 517s ok 94 /utf8/validate/92 517s ok 95 /utf8/validate/93 517s ok 96 /utf8/validate/94 517s ok 97 /utf8/validate/95 517s ok 98 /utf8/validate/96 517s ok 99 /utf8/validate/97 517s ok 100 /utf8/validate/98 517s ok 101 /utf8/validate/99 517s ok 102 /utf8/validate/100 517s ok 103 /utf8/validate/101 517s ok 104 /utf8/validate/102 517s ok 105 /utf8/validate/103 517s ok 106 /utf8/validate/104 517s ok 107 /utf8/validate/105 517s ok 108 /utf8/validate/106 517s ok 109 /utf8/validate/107 517s ok 110 /utf8/validate/108 517s ok 111 /utf8/validate/109 517s ok 112 /utf8/validate/110 517s ok 113 /utf8/validate/111 517s ok 114 /utf8/validate/112 517s ok 115 /utf8/validate/113 517s ok 116 /utf8/validate/114 517s ok 117 /utf8/validate/115 517s ok 118 /utf8/validate/116 517s ok 119 /utf8/validate/117 517s ok 120 /utf8/validate/118 517s ok 121 /utf8/validate/119 517s ok 122 /utf8/validate/120 517s ok 123 /utf8/validate/121 517s ok 124 /utf8/validate/122 517s ok 125 /utf8/validate/123 517s ok 126 /utf8/validate/124 517s ok 127 /utf8/validate/125 517s ok 128 /utf8/validate/126 517s ok 129 /utf8/validate/127 517s ok 130 /utf8/validate/128 517s ok 131 /utf8/validate/129 517s ok 132 /utf8/validate/130 517s ok 133 /utf8/validate/131 517s ok 134 /utf8/validate/132 517s ok 135 /utf8/validate/133 517s ok 136 /utf8/validate/134 517s ok 137 /utf8/validate/135 517s ok 138 /utf8/validate/136 517s ok 139 /utf8/validate/137 517s ok 140 /utf8/validate/138 517s ok 141 /utf8/validate/139 517s ok 142 /utf8/validate/140 517s ok 143 /utf8/validate/141 517s ok 144 /utf8/validate/142 517s ok 145 /utf8/validate/143 517s ok 146 /utf8/validate/144 517s ok 147 /utf8/validate/145 517s ok 148 /utf8/validate/146 517s ok 149 /utf8/validate/147 517s ok 150 /utf8/validate/148 517s ok 151 /utf8/validate/149 517s ok 152 /utf8/validate/150 517s ok 153 /utf8/validate/151 517s ok 154 /utf8/validate/152 517s ok 155 /utf8/validate/153 517s ok 156 /utf8/validate/154 517s ok 157 /utf8/validate/155 517s ok 158 /utf8/validate/156 517s ok 159 /utf8/validate/157 517s ok 160 /utf8/validate/158 517s ok 161 /utf8/validate/159 517s ok 162 /utf8/validate/160 517s ok 163 /utf8/validate/161 517s ok 164 /utf8/validate/162 517s ok 165 /utf8/validate/163 517s ok 166 /utf8/validate/164 517s ok 167 /utf8/validate/165 517s ok 168 /utf8/validate/166 517s ok 169 /utf8/validate/167 517s ok 170 /utf8/validate/168 517s ok 171 /utf8/validate/169 517s ok 172 /utf8/validate/170 517s ok 173 /utf8/validate/171 517s ok 174 /utf8/validate/172 517s ok 175 /utf8/validate/173 517s ok 176 /utf8/validate/174 517s ok 177 /utf8/validate/175 517s ok 178 /utf8/validate/176 517s ok 179 /utf8/validate/177 517s ok 180 /utf8/validate/178 517s ok 181 /utf8/validate/179 517s ok 182 /utf8/validate/180 517s ok 183 /utf8/validate/181 517s ok 184 /utf8/validate/182 517s ok 185 /utf8/validate/183 517s ok 186 /utf8/validate/184 517s ok 187 /utf8/validate/185 517s ok 188 /utf8/validate/186 517s ok 189 /utf8/validate/187 517s ok 190 /utf8/validate/188 517s ok 191 /utf8/validate/189 517s ok 192 /utf8/validate/190 517s ok 193 /utf8/validate/191 517s ok 194 /utf8/validate/192 517s ok 195 /utf8/validate/193 517s ok 196 /utf8/validate/194 517s ok 197 /utf8/validate/195 517s ok 198 /utf8/validate/196 517s ok 199 /utf8/validate/197 517s ok 200 /utf8/validate/198 517s ok 201 /utf8/validate/199 517s ok 202 /utf8/validate/200 517s ok 203 /utf8/validate/201 517s ok 204 /utf8/validate/202 517s ok 205 /utf8/validate/203 517s ok 206 /utf8/validate/204 517s ok 207 /utf8/validate/205 517s ok 208 /utf8/validate/206 517s ok 209 /utf8/validate/207 517s ok 210 /utf8/validate/208 517s ok 211 /utf8/validate/209 517s ok 212 /utf8/validate/210 517s ok 213 /utf8/validate/211 517s ok 214 /utf8/validate/212 517s ok 215 /utf8/validate/213 517s ok 216 /utf8/validate/214 517s # End of validate tests 517s # End of utf8 tests 517s ok - glib/utf8-validate.test 517s # Running test: glib/file-thumbnail.test 517s TAP version 13 517s # random seed: R02S29f536d20ae31122f4f93bbc2c3e139c 517s 1..7 517s # Start of file-thumbnail tests 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/fail/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/fail/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_JDOOK2/file-thumbnail/fail/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/fail/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_JDOOK2/file-thumbnail/fail/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/fail/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/fail/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/fail/.dirs/runtime 517s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 517s # Created test thumbnail at /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 517s ok 1 /file-thumbnail/fail 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/size-priority/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/size-priority/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_JDOOK2/file-thumbnail/size-priority/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/size-priority/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_JDOOK2/file-thumbnail/size-priority/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/size-priority/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/size-priority/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/size-priority/.dirs/runtime 517s # Created test thumbnail at /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 517s # Created test thumbnail at /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 517s # Created test thumbnail at /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 517s # Created test thumbnail at /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 517s # Created test thumbnail at /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 517s ok 2 /file-thumbnail/size-priority 517s # Start of valid tests 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/valid/normal/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/valid/normal/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_JDOOK2/file-thumbnail/valid/normal/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/valid/normal/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_JDOOK2/file-thumbnail/valid/normal/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/valid/normal/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/valid/normal/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/valid/normal/.dirs/runtime 517s # Created test thumbnail at /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 517s ok 3 /file-thumbnail/valid/normal 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/valid/large/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/valid/large/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_JDOOK2/file-thumbnail/valid/large/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/valid/large/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_JDOOK2/file-thumbnail/valid/large/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/valid/large/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/valid/large/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/valid/large/.dirs/runtime 517s # Created test thumbnail at /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 517s ok 4 /file-thumbnail/valid/large 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/valid/x-large/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/valid/x-large/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_JDOOK2/file-thumbnail/valid/x-large/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/valid/x-large/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_JDOOK2/file-thumbnail/valid/x-large/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/valid/x-large/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/valid/x-large/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/valid/x-large/.dirs/runtime 517s # Created test thumbnail at /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 517s ok 5 /file-thumbnail/valid/x-large 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/valid/xx-large/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/valid/xx-large/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_JDOOK2/file-thumbnail/valid/xx-large/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/valid/xx-large/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_JDOOK2/file-thumbnail/valid/xx-large/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/valid/xx-large/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/valid/xx-large/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/valid/xx-large/.dirs/runtime 517s # Created test thumbnail at /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 517s ok 6 /file-thumbnail/valid/xx-large 517s # End of valid tests 517s # Start of unknown tests 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/unknown/super-large/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/unknown/super-large/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_JDOOK2/file-thumbnail/unknown/super-large/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/unknown/super-large/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_JDOOK2/file-thumbnail/unknown/super-large/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/unknown/super-large/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/unknown/super-large/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/unknown/super-large/.dirs/runtime 517s # Created test thumbnail at /tmp/test_file-thumbnail_JDOOK2/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 517s ok 7 /file-thumbnail/unknown/super-large 517s # End of unknown tests 517s # End of file-thumbnail tests 517s ok - glib/file-thumbnail.test 517s # Running test: glib/array-test.test 517s TAP version 13 517s # random seed: R02S8444776556422d5693ca35349421cf74 517s 1..113 517s # Start of array tests 517s ok 1 /array/ref-count 517s ok 2 /array/steal 517s ok 3 /array/clear-func 517s ok 4 /array/binary-search 517s # /array/copy-sized summary: Test that copying a newly-allocated sized array works. 517s ok 5 /array/copy-sized 517s ok 6 /array/overflow-append-vals 517s ok 7 /array/overflow-set-size 517s # Start of new tests 517s ok 8 /array/new/zero-terminated 517s ok 9 /array/new/take 517s ok 10 /array/new/take-zero-terminated 517s # Start of take tests 517s ok 11 /array/new/take/empty 517s ok 12 /array/new/take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 517s # End of take tests 517s # End of new tests 517s # Start of set-size tests 517s ok 13 /array/set-size/non-zero-terminated-no-clear 517s ok 14 /array/set-size/non-zero-terminated-clear 517s ok 15 /array/set-size/zero-terminated-no-clear 517s ok 16 /array/set-size/zero-terminated-clear 517s # Start of sized tests 517s ok 17 /array/set-size/sized/non-zero-terminated-no-clear 517s ok 18 /array/set-size/sized/non-zero-terminated-clear 517s ok 19 /array/set-size/sized/zero-terminated-no-clear 517s ok 20 /array/set-size/sized/zero-terminated-clear 517s # End of sized tests 517s # End of set-size tests 517s # Start of append-val tests 517s ok 21 /array/append-val/non-zero-terminated-no-clear 517s ok 22 /array/append-val/non-zero-terminated-clear 517s ok 23 /array/append-val/zero-terminated-no-clear 517s ok 24 /array/append-val/zero-terminated-clear 517s # End of append-val tests 517s # Start of prepend-val tests 517s ok 25 /array/prepend-val/non-zero-terminated-no-clear 517s ok 26 /array/prepend-val/non-zero-terminated-clear 517s ok 27 /array/prepend-val/zero-terminated-no-clear 517s ok 28 /array/prepend-val/zero-terminated-clear 517s # End of prepend-val tests 517s # Start of prepend-vals tests 517s ok 29 /array/prepend-vals/non-zero-terminated-no-clear 517s ok 30 /array/prepend-vals/non-zero-terminated-clear 517s ok 31 /array/prepend-vals/zero-terminated-no-clear 517s ok 32 /array/prepend-vals/zero-terminated-clear 517s # End of prepend-vals tests 517s # Start of insert-vals tests 517s ok 33 /array/insert-vals/non-zero-terminated-no-clear 517s ok 34 /array/insert-vals/non-zero-terminated-clear 517s ok 35 /array/insert-vals/zero-terminated-no-clear 517s ok 36 /array/insert-vals/zero-terminated-clear 517s # End of insert-vals tests 517s # Start of remove-index tests 517s ok 37 /array/remove-index/non-zero-terminated-no-clear 517s ok 38 /array/remove-index/non-zero-terminated-clear 517s ok 39 /array/remove-index/zero-terminated-no-clear 517s ok 40 /array/remove-index/zero-terminated-clear 517s # End of remove-index tests 517s # Start of remove-index-fast tests 517s ok 41 /array/remove-index-fast/non-zero-terminated-no-clear 517s ok 42 /array/remove-index-fast/non-zero-terminated-clear 517s ok 43 /array/remove-index-fast/zero-terminated-no-clear 517s ok 44 /array/remove-index-fast/zero-terminated-clear 517s # End of remove-index-fast tests 517s # Start of remove-range tests 517s ok 45 /array/remove-range/non-zero-terminated-no-clear 517s ok 46 /array/remove-range/non-zero-terminated-clear 517s ok 47 /array/remove-range/zero-terminated-no-clear 517s ok 48 /array/remove-range/zero-terminated-clear 517s # End of remove-range tests 517s # Start of copy tests 517s ok 49 /array/copy/non-zero-terminated-no-clear 517s ok 50 /array/copy/non-zero-terminated-clear 517s ok 51 /array/copy/zero-terminated-no-clear 517s ok 52 /array/copy/zero-terminated-clear 517s # End of copy tests 517s # Start of sort tests 517s ok 53 /array/sort/non-zero-terminated-no-clear 517s ok 54 /array/sort/non-zero-terminated-clear 517s ok 55 /array/sort/zero-terminated-no-clear 517s ok 56 /array/sort/zero-terminated-clear 517s # End of sort tests 517s # Start of sort-with-data tests 517s ok 57 /array/sort-with-data/non-zero-terminated-no-clear 517s ok 58 /array/sort-with-data/non-zero-terminated-clear 517s ok 59 /array/sort-with-data/zero-terminated-no-clear 517s ok 60 /array/sort-with-data/zero-terminated-clear 517s # End of sort-with-data tests 517s # End of array tests 517s # Start of pointerarray tests 517s ok 61 /pointerarray/add 517s ok 62 /pointerarray/insert 517s ok 63 /pointerarray/new-take 517s ok 64 /pointerarray/new-take-null-terminated 517s ok 65 /pointerarray/new-from-array 517s ok 66 /pointerarray/new-from-null-terminated-array 517s ok 67 /pointerarray/free-func 517s ok 68 /pointerarray/array_extend_and_steal 517s ok 69 /pointerarray/sort 517s ok 70 /pointerarray/sort-with-data 517s ok 71 /pointerarray/sort-values 517s ok 72 /pointerarray/sort-values-with-data 517s ok 73 /pointerarray/remove-range 517s ok 74 /pointerarray/steal 517s # Start of free tests 517s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 517s ok 75 /pointerarray/free/null-terminated 517s # End of free tests 517s # Start of new-take tests 517s ok 76 /pointerarray/new-take/empty 517s ok 77 /pointerarray/new-take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 517s ok 78 /pointerarray/new-take/with-free-func 517s # End of new-take tests 517s # Start of new-take-null-terminated tests 517s ok 79 /pointerarray/new-take-null-terminated/empty 517s ok 80 /pointerarray/new-take-null-terminated/with-free-func 517s ok 81 /pointerarray/new-take-null-terminated/from-gstrv 517s # End of new-take-null-terminated tests 517s # Start of new-from-array tests 517s ok 82 /pointerarray/new-from-array/empty 517s ok 83 /pointerarray/new-from-array/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 517s ok 84 /pointerarray/new-from-array/with-copy-and-free-func 517s # End of new-from-array tests 517s # Start of new-from-null-terminated-array tests 517s ok 85 /pointerarray/new-from-null-terminated-array/empty 517s ok 86 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 517s ok 87 /pointerarray/new-from-null-terminated-array/from-gstrv 517s # End of new-from-null-terminated-array tests 517s # Start of ref-count tests 517s ok 88 /pointerarray/ref-count/not-null-terminated 517s ok 89 /pointerarray/ref-count/null-terminated 517s # End of ref-count tests 517s # Start of array_copy tests 517s # /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 517s ok 90 /pointerarray/array_copy/not-null-terminated 517s # /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 517s ok 91 /pointerarray/array_copy/null-terminated 517s # End of array_copy tests 517s # Start of array_extend tests 517s ok 92 /pointerarray/array_extend/not-null-terminated 517s ok 93 /pointerarray/array_extend/null-terminated 517s # End of array_extend tests 517s # Start of sort tests 517s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 517s ok 94 /pointerarray/sort/example 517s # End of sort tests 517s # Start of sort-with-data tests 517s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 517s ok 95 /pointerarray/sort-with-data/example 517s # End of sort-with-data tests 517s # Start of sort-values tests 517s ok 96 /pointerarray/sort-values/example 517s # End of sort-values tests 517s # Start of sort-values-with-data tests 517s ok 97 /pointerarray/sort-values-with-data/example 517s # End of sort-values-with-data tests 517s # Start of find tests 517s ok 98 /pointerarray/find/empty 517s ok 99 /pointerarray/find/non-empty 517s # End of find tests 517s # Start of steal_index tests 517s ok 100 /pointerarray/steal_index/not-null-terminated 517s ok 101 /pointerarray/steal_index/null-terminated 517s # End of steal_index tests 517s # End of pointerarray tests 517s # Start of bytearray tests 517s ok 102 /bytearray/steal 517s ok 103 /bytearray/append 517s ok 104 /bytearray/prepend 517s ok 105 /bytearray/remove 517s ok 106 /bytearray/remove-fast 517s ok 107 /bytearray/remove-range 517s ok 108 /bytearray/ref-count 517s ok 109 /bytearray/sort 517s ok 110 /bytearray/sort-with-data 517s ok 111 /bytearray/new-take 517s ok 112 /bytearray/new-take-overflow # SKIP Overflow test requires G_MAXSIZE > G_MAXUINT. 517s ok 113 /bytearray/free-to-bytes 517s # End of bytearray tests 517s ok - glib/array-test.test 517s # Running test: glib/portal-support-flatpak-network-only.test 517s TAP version 13 517s # random seed: R02Scd7f603eeb44884ddc66c2b858d562fd 517s 1..1 517s # Start of portal-support tests 517s # Start of flatpak tests 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_4HJQK2/portal-support/flatpak/network/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_4HJQK2/portal-support/flatpak/network/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_4HJQK2/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_4HJQK2/portal-support/flatpak/network/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_4HJQK2/portal-support/flatpak/network/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_4HJQK2/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_4HJQK2/portal-support/flatpak/network/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_4HJQK2/portal-support/flatpak/network/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_4HJQK2/portal-support/flatpak/network/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_4HJQK2/portal-support/flatpak/network/.dirs/runtime 517s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_4HJQK2/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 517s ok 1 /portal-support/flatpak/network 517s # End of flatpak tests 517s # End of portal-support tests 517s ok - glib/portal-support-flatpak-network-only.test 517s # Running test: glib/unix-mounts.test 517s TAP version 13 517s # random seed: R02Sea15f276814080b48f86aa0f09c683d1 517s 1..2 517s # Start of unix-mounts tests 517s ok 1 /unix-mounts/is-system-fs-type 517s ok 2 /unix-mounts/is-system-device-path 517s # End of unix-mounts tests 517s ok - glib/unix-mounts.test 517s # Running test: glib/date.test 517s TAP version 13 517s # random seed: R02S85fd3a603893722a48d78c01c5199405 517s 1..121 517s # Start of date tests 517s ok 1 /date/basic 517s ok 2 /date/empty 517s ok 3 /date/dmy 517s ok 4 /date/julian 517s ok 5 /date/compare 517s ok 6 /date/dates 517s ok 7 /date/strftime 517s ok 8 /date/two-digit-years 517s ok 9 /date/parse 517s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 517s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 517s ok 11 /date/month_substring 517s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 517s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 517s ok 13 /date/clamp 517s ok 14 /date/order 517s ok 15 /date/copy 517s # Vector 0: 0000-00-00, invalid 517s # Vector 1: 0001-01-01, valid 517s # Vector 2: 0000-01-01, invalid 517s # Vector 3: 2000-02-30, invalid 517s # Vector 4: 2000-02-29, valid 517s # Vector 5: 2001-02-29, invalid 517s # Vector 6: 65535-01-01, valid 517s ok 16 /date/valid-dmy 517s # Start of parse tests 517s # Test 0 517s # Test 1 517s ok 17 /date/parse/invalid 517s # End of parse tests 517s # Start of year tests 517s ok 18 /date/year/1 517s ok 19 /date/year/2 517s ok 20 /date/year/3 517s ok 21 /date/year/4 517s ok 22 /date/year/5 517s ok 23 /date/year/6 517s ok 24 /date/year/7 517s ok 25 /date/year/8 517s ok 26 /date/year/9 517s ok 27 /date/year/10 517s ok 28 /date/year/11 517s ok 29 /date/year/12 517s ok 30 /date/year/13 517s ok 31 /date/year/14 517s ok 32 /date/year/98 517s ok 33 /date/year/99 517s ok 34 /date/year/100 517s ok 35 /date/year/101 517s ok 36 /date/year/102 517s ok 37 /date/year/103 517s ok 38 /date/year/397 517s ok 39 /date/year/398 517s ok 40 /date/year/399 517s ok 41 /date/year/400 517s ok 42 /date/year/401 517s ok 43 /date/year/402 517s ok 44 /date/year/403 517s ok 45 /date/year/404 517s ok 46 /date/year/405 517s ok 47 /date/year/406 517s ok 48 /date/year/1598 517s ok 49 /date/year/1599 517s ok 50 /date/year/1600 517s ok 51 /date/year/1601 517s ok 52 /date/year/1602 517s ok 53 /date/year/1650 517s ok 54 /date/year/1651 517s ok 55 /date/year/1897 517s ok 56 /date/year/1898 517s ok 57 /date/year/1899 517s ok 58 /date/year/1900 517s ok 59 /date/year/1901 517s ok 60 /date/year/1902 517s ok 61 /date/year/1903 517s ok 62 /date/year/1961 517s ok 63 /date/year/1962 517s ok 64 /date/year/1963 517s ok 65 /date/year/1964 517s ok 66 /date/year/1965 517s ok 67 /date/year/1967 517s ok 68 /date/year/1968 517s ok 69 /date/year/1969 517s ok 70 /date/year/1970 517s ok 71 /date/year/1971 517s ok 72 /date/year/1972 517s ok 73 /date/year/1973 517s ok 74 /date/year/1974 517s ok 75 /date/year/1975 517s ok 76 /date/year/1976 517s ok 77 /date/year/1977 517s ok 78 /date/year/1978 517s ok 79 /date/year/1979 517s ok 80 /date/year/1980 517s ok 81 /date/year/1981 517s ok 82 /date/year/1982 517s ok 83 /date/year/1983 517s ok 84 /date/year/1984 517s ok 85 /date/year/1985 517s ok 86 /date/year/1986 517s ok 87 /date/year/1987 517s ok 88 /date/year/1988 517s ok 89 /date/year/1989 517s ok 90 /date/year/1990 517s ok 91 /date/year/1991 517s ok 92 /date/year/1992 517s ok 93 /date/year/1993 517s ok 94 /date/year/1994 517s ok 95 /date/year/1995 517s ok 96 /date/year/1996 517s ok 97 /date/year/1997 517s ok 98 /date/year/1998 517s ok 99 /date/year/1999 517s ok 100 /date/year/2000 517s ok 101 /date/year/2001 517s ok 102 /date/year/2002 517s ok 103 /date/year/2003 517s ok 104 /date/year/2004 517s ok 105 /date/year/2005 517s ok 106 /date/year/2006 517s ok 107 /date/year/2007 517s ok 108 /date/year/2008 517s ok 109 /date/year/2009 517s ok 110 /date/year/2010 517s ok 111 /date/year/2011 517s ok 112 /date/year/2012 517s ok 113 /date/year/3000 517s ok 114 /date/year/3001 517s ok 115 /date/year/3002 517s ok 116 /date/year/3998 517s ok 117 /date/year/3999 517s ok 118 /date/year/4000 517s ok 119 /date/year/4001 517s ok 120 /date/year/4002 517s ok 121 /date/year/4003 517s # End of year tests 517s # End of date tests 517s ok - glib/date.test 517s # Running test: glib/gdbus-peer-object-manager.test 517s TAP version 13 517s # random seed: R02S52c46e47989ce077a8cbcb6e0affa874 517s 1..2 517s # Start of gdbus tests 517s # Start of peer-object-manager tests 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_W6L3K2/gdbus/peer-object-manager/normal/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_W6L3K2/gdbus/peer-object-manager/normal/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_W6L3K2/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_W6L3K2/gdbus/peer-object-manager/normal/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_W6L3K2/gdbus/peer-object-manager/normal/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_W6L3K2/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_W6L3K2/gdbus/peer-object-manager/normal/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_W6L3K2/gdbus/peer-object-manager/normal/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_W6L3K2/gdbus/peer-object-manager/normal/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_W6L3K2/gdbus/peer-object-manager/normal/.dirs/runtime 517s ok 1 /gdbus/peer-object-manager/normal 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_W6L3K2/gdbus/peer-object-manager/root/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_W6L3K2/gdbus/peer-object-manager/root/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_W6L3K2/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_W6L3K2/gdbus/peer-object-manager/root/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_W6L3K2/gdbus/peer-object-manager/root/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_W6L3K2/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_W6L3K2/gdbus/peer-object-manager/root/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_W6L3K2/gdbus/peer-object-manager/root/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_W6L3K2/gdbus/peer-object-manager/root/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_W6L3K2/gdbus/peer-object-manager/root/.dirs/runtime 517s ok 2 /gdbus/peer-object-manager/root 517s # End of peer-object-manager tests 517s # End of gdbus tests 517s ok - glib/gdbus-peer-object-manager.test 517s # Running test: glib/gdbus-exit-on-close.test 517s TAP version 13 517s # random seed: R02S4ecba75c84aabc27858d57552b514937 517s 1..4 517s # Start of gdbus tests 517s # Start of exit-on-close tests 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_OZR3K2/gdbus/exit-on-close/default/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_OZR3K2/gdbus/exit-on-close/default/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_OZR3K2/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_OZR3K2/gdbus/exit-on-close/default/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_OZR3K2/gdbus/exit-on-close/default/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_OZR3K2/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_OZR3K2/gdbus/exit-on-close/default/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_OZR3K2/gdbus/exit-on-close/default/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_OZR3K2/gdbus/exit-on-close/default/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_OZR3K2/gdbus/exit-on-close/default/.dirs/runtime 517s ok 1 /gdbus/exit-on-close/default 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_OZR3K2/gdbus/exit-on-close/true/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_OZR3K2/gdbus/exit-on-close/true/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_OZR3K2/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_OZR3K2/gdbus/exit-on-close/true/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_OZR3K2/gdbus/exit-on-close/true/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_OZR3K2/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_OZR3K2/gdbus/exit-on-close/true/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_OZR3K2/gdbus/exit-on-close/true/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_OZR3K2/gdbus/exit-on-close/true/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_OZR3K2/gdbus/exit-on-close/true/.dirs/runtime 518s ok 2 /gdbus/exit-on-close/true 518s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_OZR3K2/gdbus/exit-on-close/false/.dirs/home 518s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_OZR3K2/gdbus/exit-on-close/false/.dirs/cache 518s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_OZR3K2/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_OZR3K2/gdbus/exit-on-close/false/.dirs/system-config2 518s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_OZR3K2/gdbus/exit-on-close/false/.dirs/config 518s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_OZR3K2/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_OZR3K2/gdbus/exit-on-close/false/.dirs/system-data2 518s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_OZR3K2/gdbus/exit-on-close/false/.dirs/data 518s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_OZR3K2/gdbus/exit-on-close/false/.dirs/state 518s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_OZR3K2/gdbus/exit-on-close/false/.dirs/runtime 518s ok 3 /gdbus/exit-on-close/false 518s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_OZR3K2/gdbus/exit-on-close/we-close/.dirs/home 518s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_OZR3K2/gdbus/exit-on-close/we-close/.dirs/cache 518s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_OZR3K2/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_OZR3K2/gdbus/exit-on-close/we-close/.dirs/system-config2 518s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_OZR3K2/gdbus/exit-on-close/we-close/.dirs/config 518s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_OZR3K2/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_OZR3K2/gdbus/exit-on-close/we-close/.dirs/system-data2 518s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_OZR3K2/gdbus/exit-on-close/we-close/.dirs/data 518s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_OZR3K2/gdbus/exit-on-close/we-close/.dirs/state 518s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_OZR3K2/gdbus/exit-on-close/we-close/.dirs/runtime 518s ok 4 /gdbus/exit-on-close/we-close 518s # Start of default tests 518s # End of default tests 518s # Start of true tests 518s # End of true tests 518s # Start of false tests 518s # End of false tests 518s # Start of we-close tests 518s # End of we-close tests 518s # End of exit-on-close tests 518s # End of gdbus tests 518s ok - glib/gdbus-exit-on-close.test 518s # Running test: glib/network-address.test 518s TAP version 13 518s # random seed: R02Se9d849afa57152978a0d81524090a71b 518s 1..72 518s # Start of network-address tests 518s ok 1 /network-address/basic 518s ok 2 /network-address/scope-id 518s ok 3 /network-address/uri-scope-id 518s ok 4 /network-address/to-string 518s # Start of parse-host tests 518s ok 5 /network-address/parse-host/0 518s ok 6 /network-address/parse-host/1 518s ok 7 /network-address/parse-host/2 518s ok 8 /network-address/parse-host/3 518s ok 9 /network-address/parse-host/4 518s ok 10 /network-address/parse-host/5 518s ok 11 /network-address/parse-host/6 518s ok 12 /network-address/parse-host/7 518s ok 13 /network-address/parse-host/8 518s ok 14 /network-address/parse-host/9 518s ok 15 /network-address/parse-host/10 518s ok 16 /network-address/parse-host/11 518s ok 17 /network-address/parse-host/12 518s ok 18 /network-address/parse-host/13 518s # End of parse-host tests 518s # Start of parse-uri tests 518s ok 19 /network-address/parse-uri/0 518s ok 20 /network-address/parse-uri/1 518s ok 21 /network-address/parse-uri/2 518s ok 22 /network-address/parse-uri/3 518s ok 23 /network-address/parse-uri/4 518s ok 24 /network-address/parse-uri/5 518s ok 25 /network-address/parse-uri/6 518s ok 26 /network-address/parse-uri/7 518s ok 27 /network-address/parse-uri/8 518s ok 28 /network-address/parse-uri/9 518s # End of parse-uri tests 518s # Start of resolve-address tests 518s # Input: 192.168.1.2 518s ok 29 /network-address/resolve-address/0 518s # Input: fe80::42 518s ok 30 /network-address/resolve-address/1 518s # Input: 192.168.1.2:80 518s ok 31 /network-address/resolve-address/2 518s # Input: [fe80::42] 518s ok 32 /network-address/resolve-address/3 518s # Input: [fe80::42]:80 518s ok 33 /network-address/resolve-address/4 518s # Input: 192.168.258 518s ok 34 /network-address/resolve-address/5 518s # Input: 192.11010306 518s ok 35 /network-address/resolve-address/6 518s # Input: 3232235778 518s ok 36 /network-address/resolve-address/7 518s # Input: 0300.0250.0001.0001 518s ok 37 /network-address/resolve-address/8 518s # Input: 0xC0.0xA8.0x01.0x02 518s ok 38 /network-address/resolve-address/9 518s # Input: 0xc0.0xa8.0x01.0x02 518s ok 39 /network-address/resolve-address/10 518s # Input: 0xc0a80102 518s ok 40 /network-address/resolve-address/11 518s # End of resolve-address tests 518s # Start of loopback tests 518s ok 41 /network-address/loopback/basic 518s ok 42 /network-address/loopback/sync 518s ok 43 /network-address/loopback/async 518s # End of loopback tests 518s # Start of localhost tests 518s ok 44 /network-address/localhost/async 518s ok 45 /network-address/localhost/sync 518s # End of localhost tests 518s # Start of happy-eyeballs tests 518s ok 46 /network-address/happy-eyeballs/basic 518s ok 47 /network-address/happy-eyeballs/parallel 518s ok 48 /network-address/happy-eyeballs/slow-ipv4 518s ok 49 /network-address/happy-eyeballs/slow-ipv6 518s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 519s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 519s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 519s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 519s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 519s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 519s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 519s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 519s # /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. 519s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 519s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 519s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 519s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 519s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 519s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 519s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 519s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 519s ok 57 /network-address/happy-eyeballs/both-error 519s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 519s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 519s ok 58 /network-address/happy-eyeballs/both-error-delays-1 519s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 519s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 519s ok 59 /network-address/happy-eyeballs/both-error-delays-2 519s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 519s ok 60 /network-address/happy-eyeballs/both-error-delays-3 519s # End of happy-eyeballs tests 519s # End of network-address tests 519s # Start of gresolver tests 519s # Start of resolve-address tests 519s # Input: 192.168.1.2 519s ok 61 /gresolver/resolve-address/0 519s # Input: fe80::42 519s ok 62 /gresolver/resolve-address/1 519s # Input: 192.168.1.2:80 519s # Error: Error resolving ?192.168.1.2:80?: Name or service not known 519s ok 63 /gresolver/resolve-address/2 519s # Input: [fe80::42] 519s # Error: Error resolving ?[fe80::42]?: Name or service not known 519s ok 64 /gresolver/resolve-address/3 519s # Input: [fe80::42]:80 519s # Error: Error resolving ?[fe80::42]:80?: Name or service not known 519s ok 65 /gresolver/resolve-address/4 519s # Input: 192.168.258 519s # Error: Error resolving ?192.168.258?: Name or service not known 519s ok 66 /gresolver/resolve-address/5 519s # Input: 192.11010306 519s # Error: Error resolving ?192.11010306?: Name or service not known 519s ok 67 /gresolver/resolve-address/6 519s # Input: 3232235778 519s # Error: Error resolving ?3232235778?: Name or service not known 519s ok 68 /gresolver/resolve-address/7 519s # Input: 0300.0250.0001.0001 519s # Error: Error resolving ?0300.0250.0001.0001?: Name or service not known 519s ok 69 /gresolver/resolve-address/8 519s # Input: 0xC0.0xA8.0x01.0x02 519s # Error: Error resolving ?0xC0.0xA8.0x01.0x02?: Name or service not known 519s ok 70 /gresolver/resolve-address/9 519s # Input: 0xc0.0xa8.0x01.0x02 519s # Error: Error resolving ?0xc0.0xa8.0x01.0x02?: Name or service not known 519s ok 71 /gresolver/resolve-address/10 519s # Input: 0xc0a80102 519s # Error: Error resolving ?0xc0a80102?: Name or service not known 519s ok 72 /gresolver/resolve-address/11 519s # End of resolve-address tests 519s # End of gresolver tests 519s ok - glib/network-address.test 519s # Running test: glib/once.test 519s TAP version 13 519s # random seed: R02S66ade2bf38301ca6e4b79e941ba3d760 519s 1..5 519s # Start of once tests 519s # /once/single-threaded summary: Test g_once() usage from a single thread 519s ok 1 /once/single-threaded 519s # /once/multi-threaded summary: Test g_once() usage from multiple threads 519s ok 2 /once/multi-threaded 519s # End of once tests 519s # Start of once-init tests 519s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 519s ok 3 /once-init/single-threaded 519s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 519s ok 4 /once-init/multi-threaded 519s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 519s ok 5 /once-init/string 519s # End of once-init tests 519s ok - glib/once.test 519s # Running test: glib/io-stream.test 519s TAP version 13 519s # random seed: R02Scf8df1036005992f0e8c11b494026f69 519s 1..3 519s # Start of io-stream tests 519s ok 1 /io-stream/copy-chunks 519s # Start of close tests 519s # Start of async tests 519s ok 2 /io-stream/close/async/memory 519s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 519s ok 3 /io-stream/close/async/file 519s # End of async tests 519s # End of close tests 519s # End of io-stream tests 519s ok - glib/io-stream.test 519s # Running test: glib/rcbox.test 519s TAP version 13 519s # random seed: R02S05bfaa91854ddc959c13747d05f9ffc8 519s 1..8 519s # Start of rcbox tests 519s ok 1 /rcbox/new 519s # global_point = 0x14612ad488d0 519s ok 2 /rcbox/release-full 519s # global_point_a = 0x14612ad488d0 519s # global_point_b = 0x14612ad48890 519s ok 3 /rcbox/dup 519s ok 4 /rcbox/alignment 519s # End of rcbox tests 519s # Start of atomic-rcbox tests 519s ok 5 /atomic-rcbox/new 519s # global_point = 0x14612ad48aa0 519s ok 6 /atomic-rcbox/release-full 519s # global_point_a = 0x14612ad48aa0 519s # global_point_b = 0x14612ad48a60 519s ok 7 /atomic-rcbox/dup 519s ok 8 /atomic-rcbox/alignment 519s # End of atomic-rcbox tests 519s ok - glib/rcbox.test 519s # Running test: glib/gdbus-proxy-unique-name.test 519s TAP version 13 519s # random seed: R02S5729f1c52c131286265ed4f5328881e1 519s 1..1 519s # Start of gdbus tests 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_4452K2/gdbus/proxy-unique-name/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_4452K2/gdbus/proxy-unique-name/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_4452K2/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_4452K2/gdbus/proxy-unique-name/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_4452K2/gdbus/proxy-unique-name/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_4452K2/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_4452K2/gdbus/proxy-unique-name/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_4452K2/gdbus/proxy-unique-name/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_4452K2/gdbus/proxy-unique-name/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_4452K2/gdbus/proxy-unique-name/.dirs/runtime 519s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 519s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 519s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 519s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 519s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 519s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 519s ok 1 /gdbus/proxy-unique-name 519s # End of gdbus tests 519s ok - glib/gdbus-proxy-unique-name.test 519s # Running test: glib/bitlock.test 519s TAP version 13 519s # random seed: R02Sd9d8ca2a038554bee7d29583e5649320 519s 1..1 519s # Start of bitlock tests 519s # Start of performance tests 519s # max perf: iterations per second 519s ok 1 /bitlock/performance/uncontended 519s # End of performance tests 519s # End of bitlock tests 519s ok - glib/bitlock.test 519s # Running test: glib/buffered-output-stream.test 519s TAP version 13 519s # random seed: R02Sa9f020e95bd933254185610cf8e63506 519s 1..5 519s # Start of buffered-output-stream tests 519s ok 1 /buffered-output-stream/write 519s ok 2 /buffered-output-stream/grow 519s ok 3 /buffered-output-stream/seek 519s ok 4 /buffered-output-stream/truncate 519s # End of buffered-output-stream tests 519s # Start of filter-output-stream tests 519s ok 5 /filter-output-stream/close 519s # End of filter-output-stream tests 519s ok - glib/buffered-output-stream.test 519s # Running test: glib/utils-c-11.test 519s TAP version 13 519s # random seed: R02S441d5d3764aa085c5ec32def71b19ae9 519s 1..40 519s # Start of utils tests 519s ok 1 /utils/language-names 519s ok 2 /utils/locale-variants 519s ok 3 /utils/version 519s ok 4 /utils/appname 519s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 519s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 519s ok 5 /utils/prgname-thread-safety 519s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 519s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 519s ok 6 /utils/tmpdir 519s ok 7 /utils/basic_bits 519s ok 8 /utils/bits 519s ok 9 /utils/swap 519s ok 10 /utils/find-program 519s ok 11 /utils/find-program-for-path 519s ok 12 /utils/debug 519s ok 13 /utils/codeset 519s ok 14 /utils/codeset2 519s ok 15 /utils/console-charset 519s ok 16 /utils/gettext 519s ok 17 /utils/username 519s ok 18 /utils/realname 519s ok 19 /utils/hostname 519s ok 20 /utils/xdgdirs 519s ok 21 /utils/specialdir 519s # NAME: Ubuntu 519s ok 22 /utils/os-info 519s ok 23 /utils/clear-pointer 519s ok 24 /utils/clear-pointer-cast 519s ok 25 /utils/take-pointer 519s ok 26 /utils/clear-source 519s ok 27 /utils/misc-mem 519s # /utils/aligned-mem summary: Aligned memory allocator 519s # Alignment must not be zero 519s # Alignment must be a power of two 519s # Alignment must be a multiple of sizeof(void*) 519s ok 28 /utils/aligned-mem 519s # /utils/free-sized summary: Check that g_free_sized() works 519s ok 29 /utils/free-sized 519s ok 30 /utils/nullify 519s ok 31 /utils/atexit 519s ok 32 /utils/check-setuid 519s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 519s ok 33 /utils/int-limits 519s ok 34 /utils/clear-list 519s ok 35 /utils/clear-slist 519s # Start of specialdir tests 519s ok 36 /utils/specialdir/desktop 519s # End of specialdir tests 519s # Start of clear-pointer tests 519s ok 37 /utils/clear-pointer/side-effects 519s # End of clear-pointer tests 519s # Start of aligned-mem tests 519s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 519s ok 38 /utils/aligned-mem/alignment 519s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 519s ok 39 /utils/aligned-mem/zeroed 519s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 519s ok 40 /utils/aligned-mem/free-sized 519s # Start of subprocess tests 519s # End of subprocess tests 519s # End of aligned-mem tests 519s # End of utils tests 519s ok - glib/utils-c-11.test 519s # Running test: glib/ifaceproperties.test 519s TAP version 13 519s # random seed: R02Sf9dd63b2ff20b3548854798106ac0bd2 519s 1..7 519s # Start of interface tests 519s # Start of properties tests 519s ok 1 /interface/properties/set 519s ok 2 /interface/properties/notify 519s ok 3 /interface/properties/find-overridden 519s ok 4 /interface/properties/list-overridden 519s ok 5 /interface/properties/find-interface 519s ok 6 /interface/properties/list-interface 519s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 519s ok 7 /interface/properties/not-overridden 519s # End of properties tests 519s # End of interface tests 519s ok - glib/ifaceproperties.test 519s # Running test: glib/cache.test 519s TAP version 13 519s # random seed: R02S4aa1b812af60b9dff32d3124c54f99a9 519s 1..1 519s # Start of cache tests 519s ok 1 /cache/basic 519s # End of cache tests 519s ok - glib/cache.test 519s # Running test: glib/assert-msg-test.py.test 519s TAP version 13 519s ok 1 __main__.TestAssertMessage.test_gassert 519s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 519s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 519s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8'} 519s # Output: Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 519s # Error: ** 519s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 519s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 519s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 519s 1..2 519s ok - glib/assert-msg-test.py.test 519s # Running test: glib/spawn-path-search.test 519s TAP version 13 519s # random seed: R02S888c7def4d7879c8f674b69e78a30f0d 519s 1..7 519s # Start of spawn tests 519s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 519s # 519s # this is spawn-test-helper from glib/tests 519s # 519s ok 1 /spawn/do-not-search 519s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 519s # 519s # this is spawn-test-helper from path-test-subdir 519s # 519s ok 2 /spawn/search-path 519s # /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. 519s # 519s # this is spawn-test-helper from path-test-subdir 519s # 519s ok 3 /spawn/search-path-from-envp 519s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 519s # 519s # this is spawn-test-helper from path-test-subdir 519s # 519s ok 4 /spawn/search-path-ambiguous 519s # 519s # this is spawn-test-helper from path-test-subdir 519s # 519s ok 5 /spawn/search-path-heap-allocation 519s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 519s # 519s # this is spawn-test-helper from glib/tests 519s # 519s ok 6 /spawn/search-path-fallback-in-environ 519s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 520s # 520s # this is spawn-test-helper from glib/tests 520s # 520s ok 7 /spawn/search-path-fallback-in-envp 520s # End of spawn tests 520s ok - glib/spawn-path-search.test 520s # Running test: glib/atomic-c-90.test 520s TAP version 13 520s # random seed: R02S84258e5ad1f42c7aacc8583cfdeda648 520s 1..2 520s # Start of atomic tests 520s ok 1 /atomic/types 520s ok 2 /atomic/threaded 520s # End of atomic tests 520s ok - glib/atomic-c-90.test 520s # Running test: glib/cxx-20.test 520s TAP version 13 520s # random seed: R02Scd9556d80bb9e6f59a656422d10942fd 520s 1..2 520s # Start of gtask tests 520s # 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. 520s ok 1 /gtask/name 520s # Start of name tests 520s # 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. 520s ok 2 /gtask/name/macro-wrapper 520s # End of name tests 520s # End of gtask tests 520s ok - glib/cxx-20.test 520s # Running test: glib/642026.test 520s TAP version 13 520s # random seed: R02S37bd5997b4425ca397db0f8621c8ec6c 520s 1..1 520s # Start of glib tests 520s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 520s ok 1 /glib/642026 520s # End of glib tests 520s ok - glib/642026.test 520s # Running test: glib/gio-tool.py.test 520s TAP version 13 520s ok 1 __main__.TestGioTool.test_help 520s # tmpdir: /tmp/tmp74d6lhmn 520s # gio: /usr/bin/gio 520s # Running: ['/usr/bin/gio', '--help'] 520s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 520s # Output: Usage: 520s # gio COMMAND [ARGS…] 520s # 520s # Commands: 520s # help Print help 520s # version Print version 520s # cat Concatenate files to standard output 520s # copy Copy one or more files 520s # info Show information about locations 520s # launch Launch an application from a desktop file 520s # list List the contents of locations 520s # mime Get or set the handler for a mimetype 520s # mkdir Create directories 520s # monitor Monitor files and directories for changes 520s # mount Mount or unmount the locations 520s # move Move one or more files 520s # open Open files with the default application 520s # rename Rename a file 520s # remove Delete one or more files 520s # save Read from standard input and save 520s # set Set a file attribute 520s # trash Move files or directories to the trash 520s # tree Lists the contents of locations in a tree 520s # 520s # Use “gio help COMMAND” to get detailed help. 520s # Running: ['/usr/bin/gio', 'help'] 520s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 520s # Output: Usage: 520s # gio COMMAND [ARGS…] 520s # 520s # Commands: 520s # help Print help 520s # version Print version 520s # cat Concatenate files to standard output 520s # copy Copy one or more files 520s # info Show information about locations 520s # launch Launch an application from a desktop file 520s # list List the contents of locations 520s # mime Get or set the handler for a mimetype 520s # mkdir Create directories 520s # monitor Monitor files and directories for changes 520s # mount Mount or unmount the locations 520s # move Move one or more files 520s # open Open files with the default application 520s # rename Rename a file 520s # remove Delete one or more files 520s # save Read from standard input and save 520s # set Set a file attribute 520s # trash Move files or directories to the trash 520s # tree Lists the contents of locations in a tree 520s # 520s # Use “gio help COMMAND” to get detailed help. 520s ok 2 __main__.TestGioTool.test_info_non_default_attributes 520s # tmpdir: /tmp/tmpaw38952f 520s # gio: /usr/bin/gio 520s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmpaw38952f/tmpurcw___o'] 520s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 520s # Output: uri: file:///tmp/tmpaw38952f/tmpurcw___o 520s # local path: /tmp/tmpaw38952f/tmpurcw___o 520s # unix mount: /dev/sda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30 520s # attributes: 520s # standard::content-type: application/x-zerosize 520s ok 3 __main__.TestGioTool.test_no_args 520s # tmpdir: /tmp/tmp6i5t1ffk 520s # gio: /usr/bin/gio 520s # Running: ['/usr/bin/gio'] 520s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 520s 1..3 520s ok - glib/gio-tool.py.test 520s # Running test: glib/mount-operation.test 520s TAP version 13 520s # random seed: R02S22eee018fd0a381edba8cd977bf09cbb 520s 1..2 520s # Start of mount-operation tests 520s ok 1 /mount-operation/construction 520s ok 2 /mount-operation/properties 520s # End of mount-operation tests 520s ok - glib/mount-operation.test 520s # Running test: glib/notify-init2.test 520s TAP version 13 520s # random seed: R02Sab66b8b18418770647760fd5edab9a9e 520s 1..1 520s # Start of properties tests 520s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 520s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 520s ok 1 /properties/notify-in-init2 520s # End of properties tests 520s ok - glib/notify-init2.test 520s # Running test: glib/portal-support-flatpak-gsettings-only.test 520s TAP version 13 520s # random seed: R02Sac259e904e0961de669ea2973e138824 520s 1..1 520s # Start of portal-support tests 520s # Start of flatpak tests 520s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_Q99QK2/portal-support/flatpak/gsettings/.dirs/home 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_Q99QK2/portal-support/flatpak/gsettings/.dirs/cache 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_Q99QK2/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_Q99QK2/portal-support/flatpak/gsettings/.dirs/system-config2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_Q99QK2/portal-support/flatpak/gsettings/.dirs/config 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_Q99QK2/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_Q99QK2/portal-support/flatpak/gsettings/.dirs/system-data2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_Q99QK2/portal-support/flatpak/gsettings/.dirs/data 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_Q99QK2/portal-support/flatpak/gsettings/.dirs/state 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_Q99QK2/portal-support/flatpak/gsettings/.dirs/runtime 520s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_Q99QK2/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 520s ok 1 /portal-support/flatpak/gsettings 520s # End of flatpak tests 520s # End of portal-support tests 520s ok - glib/portal-support-flatpak-gsettings-only.test 520s # Running test: glib/thread-pool.test 520s TAP version 13 520s # random seed: R02S44e653c1e3158321f58bacba56fa3db5 520s 1..5 520s # Start of thread_pool tests 520s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 520s ok 1 /thread_pool/shared 520s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 520s ok 2 /thread_pool/exclusive 520s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 520s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 520s ok 3 /thread_pool/create_shared_after_exclusive 520s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 520s ok 4 /thread_pool/create_full 520s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 520s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 520s ok 5 /thread_pool/create_exclusive_after_shared 520s # End of thread_pool tests 520s ok - glib/thread-pool.test 520s # Running test: glib/autoptr-girepository.test 520s TAP version 13 520s # random seed: R02S141cf461fb7140353c90f0eb8c18e83a 520s 1..24 520s # Start of autoptr tests 520s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/repository/.dirs/home 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/repository/.dirs/cache 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_1OUQK2/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_1OUQK2/autoptr/repository/.dirs/system-config2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/repository/.dirs/config 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_1OUQK2/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_1OUQK2/autoptr/repository/.dirs/system-data2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/repository/.dirs/data 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/repository/.dirs/state 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_1OUQK2/autoptr/repository/.dirs/runtime 520s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 520s ok 1 /autoptr/repository 520s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/typelib/.dirs/home 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/typelib/.dirs/cache 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_1OUQK2/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_1OUQK2/autoptr/typelib/.dirs/system-config2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/typelib/.dirs/config 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_1OUQK2/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_1OUQK2/autoptr/typelib/.dirs/system-data2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/typelib/.dirs/data 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/typelib/.dirs/state 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_1OUQK2/autoptr/typelib/.dirs/runtime 520s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 520s ok 2 /autoptr/typelib 520s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/base-info/.dirs/home 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/base-info/.dirs/cache 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_1OUQK2/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_1OUQK2/autoptr/base-info/.dirs/system-config2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/base-info/.dirs/config 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_1OUQK2/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_1OUQK2/autoptr/base-info/.dirs/system-data2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/base-info/.dirs/data 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/base-info/.dirs/state 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_1OUQK2/autoptr/base-info/.dirs/runtime 520s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 520s ok 3 /autoptr/base-info 520s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/arg-info/.dirs/home 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/arg-info/.dirs/cache 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_1OUQK2/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_1OUQK2/autoptr/arg-info/.dirs/system-config2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/arg-info/.dirs/config 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_1OUQK2/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_1OUQK2/autoptr/arg-info/.dirs/system-data2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/arg-info/.dirs/data 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/arg-info/.dirs/state 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_1OUQK2/autoptr/arg-info/.dirs/runtime 520s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 520s ok 4 /autoptr/arg-info 520s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/callable-info/.dirs/home 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/callable-info/.dirs/cache 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_1OUQK2/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_1OUQK2/autoptr/callable-info/.dirs/system-config2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/callable-info/.dirs/config 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_1OUQK2/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_1OUQK2/autoptr/callable-info/.dirs/system-data2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/callable-info/.dirs/data 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/callable-info/.dirs/state 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_1OUQK2/autoptr/callable-info/.dirs/runtime 520s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 520s ok 5 /autoptr/callable-info 520s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/callback-info/.dirs/home 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/callback-info/.dirs/cache 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_1OUQK2/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_1OUQK2/autoptr/callback-info/.dirs/system-config2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/callback-info/.dirs/config 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_1OUQK2/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_1OUQK2/autoptr/callback-info/.dirs/system-data2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/callback-info/.dirs/data 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/callback-info/.dirs/state 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_1OUQK2/autoptr/callback-info/.dirs/runtime 520s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 520s ok 6 /autoptr/callback-info 520s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/constant-info/.dirs/home 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/constant-info/.dirs/cache 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_1OUQK2/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_1OUQK2/autoptr/constant-info/.dirs/system-config2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/constant-info/.dirs/config 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_1OUQK2/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_1OUQK2/autoptr/constant-info/.dirs/system-data2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/constant-info/.dirs/data 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/constant-info/.dirs/state 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_1OUQK2/autoptr/constant-info/.dirs/runtime 520s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 520s ok 7 /autoptr/constant-info 520s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/enum-info/.dirs/home 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/enum-info/.dirs/cache 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_1OUQK2/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_1OUQK2/autoptr/enum-info/.dirs/system-config2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/enum-info/.dirs/config 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_1OUQK2/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_1OUQK2/autoptr/enum-info/.dirs/system-data2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/enum-info/.dirs/data 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/enum-info/.dirs/state 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_1OUQK2/autoptr/enum-info/.dirs/runtime 520s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 520s ok 8 /autoptr/enum-info 520s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/field-info/.dirs/home 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/field-info/.dirs/cache 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_1OUQK2/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_1OUQK2/autoptr/field-info/.dirs/system-config2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/field-info/.dirs/config 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_1OUQK2/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_1OUQK2/autoptr/field-info/.dirs/system-data2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/field-info/.dirs/data 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/field-info/.dirs/state 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_1OUQK2/autoptr/field-info/.dirs/runtime 520s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 520s ok 9 /autoptr/field-info 520s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/flags-info/.dirs/home 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/flags-info/.dirs/cache 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_1OUQK2/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_1OUQK2/autoptr/flags-info/.dirs/system-config2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/flags-info/.dirs/config 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_1OUQK2/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_1OUQK2/autoptr/flags-info/.dirs/system-data2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/flags-info/.dirs/data 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/flags-info/.dirs/state 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_1OUQK2/autoptr/flags-info/.dirs/runtime 520s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 520s ok 10 /autoptr/flags-info 520s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/function-info/.dirs/home 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/function-info/.dirs/cache 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_1OUQK2/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_1OUQK2/autoptr/function-info/.dirs/system-config2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/function-info/.dirs/config 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_1OUQK2/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_1OUQK2/autoptr/function-info/.dirs/system-data2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/function-info/.dirs/data 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/function-info/.dirs/state 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_1OUQK2/autoptr/function-info/.dirs/runtime 520s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 520s ok 11 /autoptr/function-info 520s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/interface-info/.dirs/home 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/interface-info/.dirs/cache 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_1OUQK2/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_1OUQK2/autoptr/interface-info/.dirs/system-config2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/interface-info/.dirs/config 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_1OUQK2/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_1OUQK2/autoptr/interface-info/.dirs/system-data2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/interface-info/.dirs/data 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/interface-info/.dirs/state 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_1OUQK2/autoptr/interface-info/.dirs/runtime 520s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 520s ok 12 /autoptr/interface-info 520s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/object-info/.dirs/home 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/object-info/.dirs/cache 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_1OUQK2/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_1OUQK2/autoptr/object-info/.dirs/system-config2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/object-info/.dirs/config 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_1OUQK2/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_1OUQK2/autoptr/object-info/.dirs/system-data2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/object-info/.dirs/data 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/object-info/.dirs/state 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_1OUQK2/autoptr/object-info/.dirs/runtime 520s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 520s ok 13 /autoptr/object-info 520s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/property-info/.dirs/home 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/property-info/.dirs/cache 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_1OUQK2/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_1OUQK2/autoptr/property-info/.dirs/system-config2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/property-info/.dirs/config 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_1OUQK2/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_1OUQK2/autoptr/property-info/.dirs/system-data2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/property-info/.dirs/data 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/property-info/.dirs/state 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_1OUQK2/autoptr/property-info/.dirs/runtime 520s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 520s ok 14 /autoptr/property-info 520s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/registered-type-info/.dirs/home 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/registered-type-info/.dirs/cache 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_1OUQK2/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_1OUQK2/autoptr/registered-type-info/.dirs/system-config2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/registered-type-info/.dirs/config 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_1OUQK2/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_1OUQK2/autoptr/registered-type-info/.dirs/system-data2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/registered-type-info/.dirs/data 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/registered-type-info/.dirs/state 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_1OUQK2/autoptr/registered-type-info/.dirs/runtime 520s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 520s ok 15 /autoptr/registered-type-info 520s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/signal-info/.dirs/home 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/signal-info/.dirs/cache 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_1OUQK2/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_1OUQK2/autoptr/signal-info/.dirs/system-config2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/signal-info/.dirs/config 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_1OUQK2/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_1OUQK2/autoptr/signal-info/.dirs/system-data2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/signal-info/.dirs/data 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/signal-info/.dirs/state 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_1OUQK2/autoptr/signal-info/.dirs/runtime 520s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 520s ok 16 /autoptr/signal-info 520s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/struct-info/.dirs/home 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/struct-info/.dirs/cache 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_1OUQK2/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_1OUQK2/autoptr/struct-info/.dirs/system-config2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/struct-info/.dirs/config 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_1OUQK2/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_1OUQK2/autoptr/struct-info/.dirs/system-data2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/struct-info/.dirs/data 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/struct-info/.dirs/state 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_1OUQK2/autoptr/struct-info/.dirs/runtime 520s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 520s ok 17 /autoptr/struct-info 520s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/type-info/.dirs/home 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/type-info/.dirs/cache 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_1OUQK2/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_1OUQK2/autoptr/type-info/.dirs/system-config2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/type-info/.dirs/config 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_1OUQK2/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_1OUQK2/autoptr/type-info/.dirs/system-data2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/type-info/.dirs/data 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/type-info/.dirs/state 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_1OUQK2/autoptr/type-info/.dirs/runtime 520s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 520s ok 18 /autoptr/type-info 520s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/union-info/.dirs/home 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/union-info/.dirs/cache 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_1OUQK2/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_1OUQK2/autoptr/union-info/.dirs/system-config2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/union-info/.dirs/config 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_1OUQK2/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_1OUQK2/autoptr/union-info/.dirs/system-data2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/union-info/.dirs/data 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/union-info/.dirs/state 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_1OUQK2/autoptr/union-info/.dirs/runtime 520s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 520s ok 19 /autoptr/union-info 520s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/value-info/.dirs/home 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/value-info/.dirs/cache 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_1OUQK2/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_1OUQK2/autoptr/value-info/.dirs/system-config2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/value-info/.dirs/config 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_1OUQK2/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_1OUQK2/autoptr/value-info/.dirs/system-data2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/value-info/.dirs/data 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/value-info/.dirs/state 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_1OUQK2/autoptr/value-info/.dirs/runtime 520s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 520s ok 20 /autoptr/value-info 520s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/vfunc-info/.dirs/home 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/vfunc-info/.dirs/cache 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_1OUQK2/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_1OUQK2/autoptr/vfunc-info/.dirs/system-config2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/vfunc-info/.dirs/config 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_1OUQK2/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_1OUQK2/autoptr/vfunc-info/.dirs/system-data2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/vfunc-info/.dirs/data 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_1OUQK2/autoptr/vfunc-info/.dirs/state 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_1OUQK2/autoptr/vfunc-info/.dirs/runtime 520s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 520s ok 21 /autoptr/vfunc-info 520s # End of autoptr tests 520s # Start of auto tests 520s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_1OUQK2/auto/arg-info/.dirs/home 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_1OUQK2/auto/arg-info/.dirs/cache 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_1OUQK2/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_1OUQK2/auto/arg-info/.dirs/system-config2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_1OUQK2/auto/arg-info/.dirs/config 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_1OUQK2/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_1OUQK2/auto/arg-info/.dirs/system-data2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_1OUQK2/auto/arg-info/.dirs/data 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_1OUQK2/auto/arg-info/.dirs/state 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_1OUQK2/auto/arg-info/.dirs/runtime 520s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 520s ok 22 /auto/arg-info 520s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_1OUQK2/auto/type-info/.dirs/home 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_1OUQK2/auto/type-info/.dirs/cache 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_1OUQK2/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_1OUQK2/auto/type-info/.dirs/system-config2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_1OUQK2/auto/type-info/.dirs/config 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_1OUQK2/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_1OUQK2/auto/type-info/.dirs/system-data2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_1OUQK2/auto/type-info/.dirs/data 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_1OUQK2/auto/type-info/.dirs/state 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_1OUQK2/auto/type-info/.dirs/runtime 520s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 520s ok 23 /auto/type-info 520s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_1OUQK2/auto/function-invoker/.dirs/home 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_1OUQK2/auto/function-invoker/.dirs/cache 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_1OUQK2/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_1OUQK2/auto/function-invoker/.dirs/system-config2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_1OUQK2/auto/function-invoker/.dirs/config 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_1OUQK2/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_1OUQK2/auto/function-invoker/.dirs/system-data2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_1OUQK2/auto/function-invoker/.dirs/data 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_1OUQK2/auto/function-invoker/.dirs/state 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_1OUQK2/auto/function-invoker/.dirs/runtime 520s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 520s ok 24 /auto/function-invoker 520s # End of auto tests 520s ok - glib/autoptr-girepository.test 520s # Running test: glib/atomic-c-17.test 520s TAP version 13 520s # random seed: R02S158bc845ba1a3d7c50f44ee21395711b 520s 1..2 520s # Start of atomic tests 520s ok 1 /atomic/types 520s ok 2 /atomic/threaded 520s # End of atomic tests 520s ok - glib/atomic-c-17.test 520s # Running test: glib/logging.test 520s TAP version 13 520s # random seed: R02S73bb15f7e98d8d4d430d9f4e73c4e21d 520s 1..17 520s # Start of logging tests 520s ok 1 /logging/default-handler 520s ok 2 /logging/warnings 520s ok 3 /logging/fatal-log-mask 520s # bu-DEBUG: message 520s # ba-DEBUG: message 520s # ba-INFO: message 520s ok 4 /logging/set-handler 520s ok 5 /logging/print-handler 520s ok 6 /logging/printerr-handler 520s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 520s # The Log Message Handler 520s # 520s # The Good Fail Message Handler 520s # 520s ok 7 /logging/653052 520s ok 8 /logging/gibberish 520s # Start of default-handler tests 520s # Start of subprocess tests 520s # End of subprocess tests 520s # End of default-handler tests 520s # End of logging tests 520s # Start of structured-logging tests 520s ok 9 /structured-logging/no-state 520s ok 10 /structured-logging/some-state 520s ok 11 /structured-logging/robustness 520s ok 12 /structured-logging/roundtrip1 520s ok 13 /structured-logging/roundtrip2 520s ok 14 /structured-logging/roundtrip3 520s ok 15 /structured-logging/variant1 520s ok 16 /structured-logging/variant2 520s ok 17 /structured-logging/set-writer-func-twice 520s # End of structured-logging tests 520s ok - glib/logging.test 520s # Running test: glib/notify-init.test 520s TAP version 13 520s # random seed: R02Sde6685f700fb9142953eefa8bfec4ca2 520s 1..1 520s # Start of properties tests 520s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 520s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 520s ok 1 /properties/notify-in-init 520s # End of properties tests 520s ok - glib/notify-init.test 520s # Running test: glib/converter-stream.test 520s TAP version 13 520s # random seed: R02S25e3aa8d69ced7a875f034b47ba40c3b 520s 1..17 520s # Start of converter tests 520s ok 1 /converter/basics 520s # End of converter tests 520s # Start of converter-input-stream tests 520s ok 2 /converter-input-stream/expander 520s ok 3 /converter-input-stream/compressor 520s # Start of truncation tests 520s ok 4 /converter-input-stream/truncation/zlib 521s # Executing: glib/converter-stream.test 521s ok 5 /converter-input-stream/truncation/gzip 521s ok 6 /converter-input-stream/truncation/raw 521s # End of truncation tests 521s # Start of charset tests 521s ok 7 /converter-input-stream/charset/utf8->latin1 521s ok 8 /converter-input-stream/charset/latin1->utf8 521s ok 9 /converter-input-stream/charset/fallbacks 521s # End of charset tests 521s # End of converter-input-stream tests 521s # Start of converter-output-stream tests 521s # Start of roundtrip tests 521s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 521s ok 10 /converter-output-stream/roundtrip/zlib-0 521s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 521s ok 11 /converter-output-stream/roundtrip/zlib-9 521s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 521s ok 12 /converter-output-stream/roundtrip/gzip-0 521s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 521s ok 13 /converter-output-stream/roundtrip/gzip-9 521s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 521s ok 14 /converter-output-stream/roundtrip/raw-0 521s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 522s ok 15 /converter-output-stream/roundtrip/raw-9 522s # End of roundtrip tests 522s # End of converter-output-stream tests 522s # Start of converter-stream tests 522s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 522s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xa2f5fd79e80 and GSocketClientAsyncConnectData 0xa2f601652c0 522s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 522s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 522s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xa2f5fd82fe0 for GSocketClientAsyncConnectData 0xa2f601652c0 522s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 522s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 522s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 522s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 522s ok 16 /converter-stream/pollable 522s ok 17 /converter-stream/leftover 522s # End of converter-stream tests 522s ok - glib/converter-stream.test 522s # Running test: glib/portal-support-env-var.test 522s TAP version 13 522s # random seed: R02See08c12c1f79135c5f93045b572ce0cf 522s 1..1 522s # Start of portal-support tests 522s ok 1 /portal-support/env-var 522s # End of portal-support tests 522s ok - glib/portal-support-env-var.test 522s # Running test: glib/queue.test 522s TAP version 13 522s # random seed: R02Sc73e0f39ecce68177c51e063eb3d111b 522s 1..12 522s # Start of queue tests 522s ok 1 /queue/basic 522s ok 2 /queue/copy 522s ok 3 /queue/off-by-one 522s ok 4 /queue/find-custom 522s ok 5 /queue/static 522s ok 6 /queue/clear 522s ok 7 /queue/free-full 522s ok 8 /queue/clear-full 522s ok 9 /queue/insert-sibling-link 522s ok 10 /queue/push-nth-link 522s # Start of clear-full tests 522s ok 11 /queue/clear-full/noop 522s # End of clear-full tests 522s # Start of random tests 522s ok 12 /queue/random/seed:1296263426 522s # End of random tests 522s # End of queue tests 522s ok - glib/queue.test 522s # Running test: glib/closure-refcount.test 522s TAP version 13 522s # random seed: R02S9b2ede077dc001a5aa888bbf4e8fa40b 522s 1..1 522s # Start of closure tests 522s # Init 0x38f4508f1d0 522s # Yielding from main thread 522s # Yielding from main thread 522s # Yielding from main thread 522s # Yielding from thread1 522s # Yielding from thread2 522s # Yielding from main thread 522s # Yielding from main thread 522s # Yielding from main thread 522s # Yielding from main thread 522s # Yielding from thread1 522s # Yielding from thread2 522s # Yielding from main thread 523s # Yielding from main thread 523s # Yielding from main thread 523s # Yielding from main thread 523s # Yielding from thread2 523s # Yielding from thread1 523s # Yielding from main thread 523s # Yielding from main thread 523s # Yielding from main thread 523s # Yielding from thread2 523s # Yielding from main thread 523s # Yielding from thread1 523s # Yielding from main thread 523s # Yielding from main thread 523s # Yielding from main thread 523s # Yielding from thread2 523s # Yielding from thread1 523s # Yielding from main thread 523s # Yielding from main thread 523s # Yielding from main thread 524s # Yielding from main thread 524s # Yielding from thread2 524s # Yielding from thread1 524s # Yielding from main thread 524s # Yielding from main thread 524s # Yielding from main thread 524s # Yielding from main thread 524s # Yielding from thread2 524s # Yielding from thread1 524s # Yielding from main thread 524s # Yielding from main thread 524s # Yielding from main thread 524s # Yielding from thread2 524s # Yielding from main thread 524s # Yielding from thread1 524s # Yielding from main thread 524s # Yielding from main thread 524s # Yielding from main thread 524s # Yielding from thread2 524s # Yielding from thread1 524s # Yielding from main thread 525s # Yielding from main thread 525s # Yielding from main thread 525s # Yielding from main thread 525s # Yielding from thread2 525s # Yielding from thread1 525s # Yielding from main thread 525s # Yielding from main thread 525s # Yielding from main thread 525s # Yielding from thread2 525s # Yielding from main thread 525s # Yielding from thread1 525s # Yielding from main thread 525s # Yielding from main thread 525s # Yielding from main thread 525s # Yielding from thread2 525s # Yielding from thread1 525s # Yielding from main thread 525s # Yielding from main thread 525s # Yielding from main thread 525s # Yielding from main thread 525s # Yielding from thread2 526s # Yielding from thread1 526s # Yielding from main thread 526s # Executing: glib/closure-refcount.test 526s # Yielding from main thread 526s # Yielding from main thread 526s # Yielding from main thread 526s # Yielding from thread2 526s # Yielding from thread1 526s # Yielding from main thread 526s # Yielding from main thread 526s # Yielding from main thread 526s # Yielding from thread2 526s # Yielding from thread1 526s # Yielding from main thread 526s # Yielding from main thread 526s # Yielding from main thread 526s # Yielding from main thread 526s # Yielding from thread2 526s # Yielding from thread1 526s # Yielding from main thread 526s # Yielding from main thread 527s # Yielding from main thread 527s # Yielding from main thread 527s # Yielding from thread2 527s # Yielding from thread1 527s # Yielding from main thread 527s # Yielding from main thread 527s # Yielding from main thread 527s # Yielding from thread2 527s # Yielding from main thread 527s # Yielding from thread1 527s # Yielding from main thread 527s # Yielding from main thread 527s # Yielding from main thread 527s # Yielding from thread2 527s # Yielding from thread1 527s # Yielding from main thread 527s # Yielding from main thread 527s # Yielding from main thread 527s # Yielding from main thread 527s # Yielding from thread2 527s # Yielding from thread1 528s # Yielding from main thread 528s # Yielding from main thread 528s # Yielding from main thread 528s # Yielding from main thread 528s # Yielding from thread2 528s # Yielding from thread1 528s # Yielding from main thread 528s # Yielding from main thread 528s # Yielding from main thread 528s # Yielding from thread2 528s # Yielding from main thread 528s # Yielding from thread1 528s # Yielding from main thread 528s # Yielding from main thread 528s # Yielding from main thread 528s # Yielding from thread2 528s # Yielding from thread1 528s # Yielding from main thread 528s # Yielding from main thread 528s # Yielding from main thread 529s # Yielding from main thread 529s # Yielding from thread2 529s # Yielding from thread1 529s # Yielding from main thread 529s # Yielding from main thread 529s # Yielding from main thread 529s # Yielding from thread2 529s # Yielding from main thread 529s # Yielding from thread1 529s # Yielding from main thread 529s # Yielding from main thread 529s # Yielding from main thread 529s # Yielding from thread2 529s # Yielding from main thread 529s # Yielding from thread1 529s # Yielding from main thread 529s # Yielding from main thread 529s # Stopping 529s # Stopped 529s ok 1 /closure/refcount 529s # slow test /closure/refcount executed in 7.53 secs 529s # End of closure tests 529s ok - glib/closure-refcount.test 529s # Running test: glib/refstring.test 529s TAP version 13 529s # random seed: R02S8419472346e26a2922db4f875076162a 529s 1..5 529s # Start of refstring tests 529s # s = 'hello, world' (0x30219ff8660) 529s ok 1 /refstring/base 529s ok 2 /refstring/length 529s ok 3 /refstring/length-auto 529s ok 4 /refstring/length-nuls 529s # s = 'hello, world' (0x30219ff8660) 529s # p = s = 'hello, world' (0x30219ff8660) 529s # releasing p[0x30219ff8660] ('hello, world') 529s # p = 'goodbye, world' (0x3021a0006c0) 529s # releasing p[0x3021a0006c0] ('goodbye, world') 529s # releasing s[0x30219ff8660] ('hello, world') 529s ok 5 /refstring/intern 529s # End of refstring tests 529s ok - glib/refstring.test 529s # Running test: glib/markup-collect.test 529s TAP version 13 529s # random seed: R02S60613c2526df73e8d6ac486061d77430 529s 1..21 529s # Start of markup tests 529s # Start of collect tests 529s ok 1 /markup/collect/0 529s ok 2 /markup/collect/1 529s ok 3 /markup/collect/2 529s ok 4 /markup/collect/3 529s ok 5 /markup/collect/4 529s ok 6 /markup/collect/5 529s ok 7 /markup/collect/6 529s ok 8 /markup/collect/7 529s ok 9 /markup/collect/8 529s ok 10 /markup/collect/9 529s ok 11 /markup/collect/10 529s ok 12 /markup/collect/11 529s ok 13 /markup/collect/12 529s ok 14 /markup/collect/13 529s ok 15 /markup/collect/14 529s ok 16 /markup/collect/15 529s ok 17 /markup/collect/16 529s ok 18 /markup/collect/17 529s ok 19 /markup/collect/18 529s ok 20 /markup/collect/19 529s ok 21 /markup/collect/cleanup 529s # End of collect tests 529s # End of markup tests 529s ok - glib/markup-collect.test 529s # Running test: glib/qdata.test 529s TAP version 13 529s # random seed: R02Sf97c4705063efaa402103fe1cf6429c2 529s 1..2 529s # Start of qdata tests 530s ok 1 /qdata/threaded 530s ok 2 /qdata/dup 530s # End of qdata tests 530s ok - glib/qdata.test 530s # Running test: glib/closure.test 530s TAP version 13 530s # random seed: R02Sfcb54317e0a722d1d0a4ce5d8fcc41fa 530s 1..6 530s # Start of closure tests 530s ok 1 /closure/idle 530s ok 2 /closure/timeout 530s ok 3 /closure/iochannel 530s ok 4 /closure/child 530s ok 5 /closure/fd 530s ok 6 /closure/signal 530s # End of closure tests 530s ok - glib/closure.test 530s # Running test: glib/gdbus-method-invocation.test 530s TAP version 13 530s # random seed: R02S3fd0d7d40029d561f468ceb299f620d3 530s 1..1 530s # Start of gdbus tests 530s # Start of method-invocation tests 530s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_23WIK2/gdbus/method-invocation/return/.dirs/home 530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_23WIK2/gdbus/method-invocation/return/.dirs/cache 530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_23WIK2/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_23WIK2/gdbus/method-invocation/return/.dirs/system-config2 530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_23WIK2/gdbus/method-invocation/return/.dirs/config 530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_23WIK2/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_23WIK2/gdbus/method-invocation/return/.dirs/system-data2 530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_23WIK2/gdbus/method-invocation/return/.dirs/data 530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_23WIK2/gdbus/method-invocation/return/.dirs/state 530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_23WIK2/gdbus/method-invocation/return/.dirs/runtime 530s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 530s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 530s # Calling org.freedesktop.DBus.Properties.Get 530s # Calling org.freedesktop.DBus.Properties.Get 530s # Calling org.freedesktop.DBus.Properties.Get 530s # Calling org.freedesktop.DBus.Properties.Set 530s # Calling org.freedesktop.DBus.Properties.GetAll 530s # Calling org.example.Foo.WrongReturnType 530s # Calling org.example.Foo.GetFDs 530s # Calling org.example.Foo.GetFDs 530s # Calling org.example.Foo.ReturnError 530s # Calling org.example.Foo.CloseBeforeReturning 530s ok 1 /gdbus/method-invocation/return 530s # End of method-invocation tests 530s # End of gdbus tests 530s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 530s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 530s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 530s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 530s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 530s ok - glib/gdbus-method-invocation.test 530s # Running test: glib/objects-refcount1.test 530s TAP version 13 530s # random seed: R02S9942ea23e2e2ec7c016bb9d91169bc4f 530s 1..1 530s # Start of gobject tests 530s # Start of refcount tests 530s # init 0x16721e37e740 530s # 530s # init 0x16721e37e8d0 530s # 531s # Executing: glib/objects-refcount1.test 535s # dispose 0x16721e37e740! 535s # 535s # dispose 0x16721e37e8d0! 535s # 535s ok 1 /gobject/refcount/object-basics 535s # slow test /gobject/refcount/object-basics executed in 5.02 secs 535s # End of refcount tests 535s # End of gobject tests 535s ok - glib/objects-refcount1.test 535s # Running test: glib/utils-c-17.test 535s TAP version 13 535s # random seed: R02Scce55a2d76e422fa7436b947e575a6a1 535s 1..40 535s # Start of utils tests 535s ok 1 /utils/language-names 535s ok 2 /utils/locale-variants 535s ok 3 /utils/version 535s ok 4 /utils/appname 535s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 535s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 535s ok 5 /utils/prgname-thread-safety 535s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 535s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 535s ok 6 /utils/tmpdir 535s ok 7 /utils/basic_bits 535s ok 8 /utils/bits 535s ok 9 /utils/swap 535s ok 10 /utils/find-program 535s ok 11 /utils/find-program-for-path 535s ok 12 /utils/debug 535s ok 13 /utils/codeset 535s ok 14 /utils/codeset2 535s ok 15 /utils/console-charset 535s ok 16 /utils/gettext 535s ok 17 /utils/username 535s ok 18 /utils/realname 535s ok 19 /utils/hostname 535s ok 20 /utils/xdgdirs 535s ok 21 /utils/specialdir 535s # NAME: Ubuntu 535s ok 22 /utils/os-info 535s ok 23 /utils/clear-pointer 535s ok 24 /utils/clear-pointer-cast 535s ok 25 /utils/take-pointer 535s ok 26 /utils/clear-source 535s ok 27 /utils/misc-mem 535s # /utils/aligned-mem summary: Aligned memory allocator 535s # Alignment must not be zero 535s # Alignment must be a power of two 535s # Alignment must be a multiple of sizeof(void*) 535s ok 28 /utils/aligned-mem 535s # /utils/free-sized summary: Check that g_free_sized() works 535s ok 29 /utils/free-sized 535s ok 30 /utils/nullify 535s ok 31 /utils/atexit 535s ok 32 /utils/check-setuid 535s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 535s ok 33 /utils/int-limits 535s ok 34 /utils/clear-list 535s ok 35 /utils/clear-slist 535s # Start of specialdir tests 535s ok 36 /utils/specialdir/desktop 535s # End of specialdir tests 535s # Start of clear-pointer tests 535s ok 37 /utils/clear-pointer/side-effects 535s # End of clear-pointer tests 535s # Start of aligned-mem tests 535s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 535s ok 38 /utils/aligned-mem/alignment 535s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 535s ok 39 /utils/aligned-mem/zeroed 535s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 535s ok 40 /utils/aligned-mem/free-sized 535s # Start of subprocess tests 535s # End of subprocess tests 535s # End of aligned-mem tests 535s # End of utils tests 535s ok - glib/utils-c-17.test 535s # Running test: glib/messages-low-memory.py.test 535s TAP version 13 535s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 535s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 535s # Running: /usr/libexec/installed-tests/glib/messages-low-memory 535s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 535s # Return code: -6 535s # Output: 535s # Error: GLib-Message: 01:10:30.261: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 535s # GLib-Message: 01:10:30.261: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 535s # ../../../glib/gprintf.c:350: failed to allocate memory 535s 1..1 535s ok - glib/messages-low-memory.py.test 535s # Running test: glib/giomodule.test 535s TAP version 13 535s # random seed: R02S2f5bfa6b0da4d969819c20350e442e41 535s 1..3 535s # Start of giomodule tests 535s ok 1 /giomodule/extension-point 535s ok 2 /giomodule/module-scan-all 535s ok 3 /giomodule/module-scan-all-with-scope 535s # End of giomodule tests 535s ok - glib/giomodule.test 535s # Running test: glib/signals-refcount4.test 535s TAP version 13 535s # random seed: R02S9b457a070f6820eaf790ec11e47868bd 535s 1..1 535s # Start of gobject tests 535s # Start of refcount tests 535s # init 0x1c01570bf420 535s # 535s # init 0x1c01570bf5c0 535s # 536s # Executing: glib/signals-refcount4.test 540s # dispose 0x1c01570bf420! 540s # 540s # dispose 0x1c01570bf5c0! 540s # 540s ok 1 /gobject/refcount/signals 540s # slow test /gobject/refcount/signals executed in 5.00 secs 540s # End of refcount tests 540s # End of gobject tests 540s ok - glib/signals-refcount4.test 540s # Running test: glib/portal-support-snap.test 540s TAP version 13 540s # random seed: R02S749005ff13c2d84183ab7d704580a3db 540s 1..7 540s # Start of portal-support tests 540s # Start of snap tests 540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/no-snapctl/.dirs/home 540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/no-snapctl/.dirs/cache 540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_2DYQK2/portal-support/snap/no-snapctl/.dirs/system-config2 540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/no-snapctl/.dirs/config 540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_2DYQK2/portal-support/snap/no-snapctl/.dirs/system-data2 540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/no-snapctl/.dirs/data 540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/no-snapctl/.dirs/state 540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/no-snapctl/.dirs/runtime 540s # Created snap.yaml in /tmp/test_portal-support-snap_2DYQK2/meta/snap.yaml 540s ok 1 /portal-support/snap/no-snapctl 540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/none/.dirs/home 540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/none/.dirs/cache 540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_2DYQK2/portal-support/snap/none/.dirs/system-config2 540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/none/.dirs/config 540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_2DYQK2/portal-support/snap/none/.dirs/system-data2 540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/none/.dirs/data 540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/none/.dirs/state 540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/none/.dirs/runtime 540s # Created snap.yaml in /tmp/test_portal-support-snap_2DYQK2/meta/snap.yaml 540s # Created snapctl in /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/none/.dirs/runtime/snapctl 540s ok 2 /portal-support/snap/none 540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/all/.dirs/home 540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/all/.dirs/cache 540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_2DYQK2/portal-support/snap/all/.dirs/system-config2 540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/all/.dirs/config 540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_2DYQK2/portal-support/snap/all/.dirs/system-data2 540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/all/.dirs/data 540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/all/.dirs/state 540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/all/.dirs/runtime 540s # Created snap.yaml in /tmp/test_portal-support-snap_2DYQK2/meta/snap.yaml 540s # Created snapctl in /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/all/.dirs/runtime/snapctl 540s ok 3 /portal-support/snap/all 540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/desktop-only/.dirs/home 540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/desktop-only/.dirs/cache 540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_2DYQK2/portal-support/snap/desktop-only/.dirs/system-config2 540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/desktop-only/.dirs/config 540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_2DYQK2/portal-support/snap/desktop-only/.dirs/system-data2 540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/desktop-only/.dirs/data 540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/desktop-only/.dirs/state 540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/desktop-only/.dirs/runtime 540s # Created snap.yaml in /tmp/test_portal-support-snap_2DYQK2/meta/snap.yaml 540s # Created snapctl in /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/desktop-only/.dirs/runtime/snapctl 540s ok 4 /portal-support/snap/desktop-only 540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/network-only/.dirs/home 540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/network-only/.dirs/cache 540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_2DYQK2/portal-support/snap/network-only/.dirs/system-config2 540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/network-only/.dirs/config 540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_2DYQK2/portal-support/snap/network-only/.dirs/system-data2 540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/network-only/.dirs/data 540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/network-only/.dirs/state 540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/network-only/.dirs/runtime 540s # Created snap.yaml in /tmp/test_portal-support-snap_2DYQK2/meta/snap.yaml 540s # Created snapctl in /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/network-only/.dirs/runtime/snapctl 540s ok 5 /portal-support/snap/network-only 540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/gsettings-only/.dirs/home 540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/gsettings-only/.dirs/cache 540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_2DYQK2/portal-support/snap/gsettings-only/.dirs/system-config2 540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/gsettings-only/.dirs/config 540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_2DYQK2/portal-support/snap/gsettings-only/.dirs/system-data2 540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/gsettings-only/.dirs/data 540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/gsettings-only/.dirs/state 540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/gsettings-only/.dirs/runtime 540s # Created snap.yaml in /tmp/test_portal-support-snap_2DYQK2/meta/snap.yaml 540s # Created snapctl in /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 540s ok 6 /portal-support/snap/gsettings-only 540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/updates-dynamically/.dirs/home 540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/updates-dynamically/.dirs/cache 540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_2DYQK2/portal-support/snap/updates-dynamically/.dirs/system-config2 540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/updates-dynamically/.dirs/config 540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_2DYQK2/portal-support/snap/updates-dynamically/.dirs/system-data2 540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/updates-dynamically/.dirs/data 540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/updates-dynamically/.dirs/state 540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/updates-dynamically/.dirs/runtime 540s # Created snap.yaml in /tmp/test_portal-support-snap_2DYQK2/meta/snap.yaml 540s # Created snapctl in /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 540s # Created snapctl in /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 540s # Created snapctl in /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 540s # Created snapctl in /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 540s # Created snapctl in /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 540s # Created snapctl in /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 540s # Created snapctl in /tmp/test_portal-support-snap_2DYQK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 540s ok 7 /portal-support/snap/updates-dynamically 540s # End of snap tests 540s # End of portal-support tests 540s ok - glib/portal-support-snap.test 540s # Running test: glib/portal-support-none.test 540s TAP version 13 540s # random seed: R02S6a2bfcbd6db8ca55decac259031831b9 540s 1..1 540s # Start of portal-support tests 540s ok 1 /portal-support/none 540s # End of portal-support tests 540s ok - glib/portal-support-none.test 540s # Running test: glib/enums.test 540s TAP version 13 540s # random seed: R02S3813d39e0ee4eb0e40a9302aeffd76d8 540s 1..4 540s # Start of enum tests 540s ok 1 /enum/basic 540s ok 2 /enum/define-type 540s # End of enum tests 540s # Start of flags tests 540s ok 3 /flags/basic 540s ok 4 /flags/define-type 540s # End of flags tests 540s ok - glib/enums.test 540s # Running test: glib/timer.test 540s TAP version 13 540s # random seed: R02S3c529e9daddcd3919a2475295d7c690c 540s 1..10 540s # Start of timer tests 540s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 540s ok 2 /timer/stop 540s ok 3 /timer/continue 540s ok 4 /timer/reset 540s ok 5 /timer/is_active 540s # End of timer tests 540s # Start of timeval tests 540s ok 6 /timeval/add 540s ok 7 /timeval/from-iso8601 540s ok 8 /timeval/to-iso8601 540s # Start of to-iso8601 tests 540s ok 9 /timeval/to-iso8601/overflow 540s # End of to-iso8601 tests 540s # End of timeval tests 540s # Start of usleep tests 540s ok 10 /usleep/with-zero-wait 540s # End of usleep tests 540s ok - glib/timer.test 540s # Running test: glib/resources.test 540s TAP version 13 540s # random seed: R02S7f20a3e4c7ca8c7907f2e0032affe9ad 540s 1..17 540s # Start of resource tests 540s ok 1 /resource/file 540s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 540s ok 2 /resource/file-path 540s ok 3 /resource/data 540s ok 4 /resource/data_unaligned 540s ok 5 /resource/data-corrupt 540s ok 6 /resource/data-empty 540s ok 7 /resource/registered 540s ok 8 /resource/manual 540s ok 9 /resource/manual2 540s ok 10 /resource/automatic 540s ok 11 /resource/module 540s ok 12 /resource/binary-linked 540s ok 13 /resource/64k 540s GLib-GIO-Message: 01:10:35.343: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 540s ok 14 /resource/overlay 540s ok 15 /resource/digits 540s # Start of uri tests 540s ok 16 /resource/uri/query-info 540s ok 17 /resource/uri/file 540s # End of uri tests 540s # End of resource tests 540s ok - glib/resources.test 540s # Running test: glib/sort.test 540s TAP version 13 540s # random seed: R02Sf97196f2af527836def23eaf2b17656a 540s 1..4 540s # Start of sort tests 540s ok 1 /sort/basic 540s ok 2 /sort/zero-elements 540s ok 3 /sort/stable 540s ok 4 /sort/big 540s # End of sort tests 540s ok - glib/sort.test 540s # Running test: glib/string.test 540s TAP version 13 540s # random seed: R02Sebef8962723ab899457a471342d44a92 540s 1..23 540s # Start of string tests 540s ok 1 /string/test-string-chunks 540s ok 2 /string/test-string-chunk-insert 540s ok 3 /string/test-string-new 540s ok 4 /string/test-string-printf 540s ok 5 /string/test-string-assign 540s ok 6 /string/test-string-append-c 540s ok 7 /string/test-string-append 540s ok 8 /string/test-string-append-vprintf 540s ok 9 /string/test-string-prepend-c 540s ok 10 /string/test-string-prepend 540s ok 11 /string/test-string-insert 540s ok 12 /string/test-string-insert-unichar 540s ok 13 /string/test-string-equal 540s ok 14 /string/test-string-truncate 540s ok 15 /string/test-string-overwrite 540s ok 16 /string/test-string-nul-handling 540s ok 17 /string/test-string-up-down 540s ok 18 /string/test-string-set-size 540s ok 19 /string/test-string-to-bytes 540s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 540s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 540s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 540s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 540s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 540s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 540s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 540s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 540s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 540s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 540s # 5: Replacing "o" with "" (limit 0) in "food for foals" 540s # -> 4 replacements, "fd fr fals" 540s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 540s # -> 3 replacements, "aaaaaaaaa" 540s # 7: Replacing "a" with "" (limit 0) in "aaa" 540s # -> 3 replacements, "" 540s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 540s # -> 1 replacements, "bba" 540s # 9: Replacing "" with "bar" (limit 0) in "foo" 540s # -> 4 replacements, "barfbarobarobar" 540s # 10: Replacing "" with "x" (limit 0) in "" 540s # -> 1 replacements, "x" 540s # 11: Replacing "" with "" (limit 0) in "" 540s # -> 1 replacements, "" 540s ok 20 /string/test-string-replace 540s ok 21 /string/test-string-steal 540s ok 22 /string/test-string-new-take 540s # Start of test-string-new-take tests 540s ok 23 /string/test-string-new-take/null 540s # End of test-string-new-take tests 540s # End of string tests 540s ok - glib/string.test 540s # Running test: glib/cancellable.test 540s TAP version 13 540s # random seed: R02S77278c1d8edaff27123d377ba7c58622 540s 1..10 540s # Start of cancellable tests 540s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 540s ok 2 /cancellable/null 540s # /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 540s ok 3 /cancellable/disconnect-on-cancelled-callback-hangs 540s # /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 540s ok 4 /cancellable/resets-on-cancel-callback-hangs 540s ok 5 /cancellable/poll-fd 540s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 540s ok 6 /cancellable/poll-fd-cancelled 540s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 540s ok 7 /cancellable/poll-fd-cancelled-threaded 540s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 540s ok 8 /cancellable/cancel-reset-races 540s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 540s ok 9 /cancellable/cancel-reset-connect-races 540s # End of cancellable tests 540s # Start of cancellable-source tests 540s # /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) 540s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 541s # Executing: glib/cancellable.test 541s ok 10 /cancellable-source/threaded-dispose 541s # slow test /cancellable-source/threaded-dispose executed in 0.87 secs 541s # End of cancellable-source tests 541s ok - glib/cancellable.test 541s # Running test: glib/signal-handler.test 541s TAP version 13 541s # random seed: R02S873cefe9dcbf32b10dc27c9718ba50fe 541s 1..7 541s # Start of signal tests 541s # Start of handler tests 541s # min perf: connected 1 handlers in 0.000 seconds 541s ok 1 /signal/handler/connect-many 541s # min perf: disconnected 1 handlers in 0.000 seconds 541s ok 2 /signal/handler/disconnect-many-ordered 541s # min perf: disconnected 1 handlers in 0.000 seconds 541s ok 3 /signal/handler/disconnect-many-inverse 541s # min perf: disconnected 1 handlers in 0.000 seconds 541s ok 4 /signal/handler/disconnect-many-random 541s # min perf: disconnected 1 handlers in 0.000 seconds 541s ok 5 /signal/handler/disconnect-2-signals 541s # min perf: disconnected 1 handlers in 0.000 seconds 541s ok 6 /signal/handler/disconnect-2-objects 541s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 541s ok 7 /signal/handler/block-many 541s # End of handler tests 541s # End of signal tests 541s ok - glib/signal-handler.test 541s # Running test: glib/struct-info.test 541s TAP version 13 541s # random seed: R02S471750f98080c361c9b8e9545be7ca50 541s 1..4 541s # Start of struct-info tests 541s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_GLQXK2/struct-info/field-iterators/.dirs/home 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_GLQXK2/struct-info/field-iterators/.dirs/cache 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_GLQXK2/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_GLQXK2/struct-info/field-iterators/.dirs/system-config2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_GLQXK2/struct-info/field-iterators/.dirs/config 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_GLQXK2/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_GLQXK2/struct-info/field-iterators/.dirs/system-data2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_GLQXK2/struct-info/field-iterators/.dirs/data 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_GLQXK2/struct-info/field-iterators/.dirs/state 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_GLQXK2/struct-info/field-iterators/.dirs/runtime 541s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 541s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 541s ok 1 /struct-info/field-iterators 541s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_GLQXK2/struct-info/sizeof-gvalue/.dirs/home 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_GLQXK2/struct-info/sizeof-gvalue/.dirs/cache 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_GLQXK2/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_GLQXK2/struct-info/sizeof-gvalue/.dirs/system-config2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_GLQXK2/struct-info/sizeof-gvalue/.dirs/config 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_GLQXK2/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_GLQXK2/struct-info/sizeof-gvalue/.dirs/system-data2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_GLQXK2/struct-info/sizeof-gvalue/.dirs/data 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_GLQXK2/struct-info/sizeof-gvalue/.dirs/state 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_GLQXK2/struct-info/sizeof-gvalue/.dirs/runtime 541s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 541s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 541s ok 2 /struct-info/sizeof-gvalue 541s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_GLQXK2/struct-info/is-pointer-for-struct-method-arg/.dirs/home 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_GLQXK2/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_GLQXK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_GLQXK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_GLQXK2/struct-info/is-pointer-for-struct-method-arg/.dirs/config 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_GLQXK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_GLQXK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_GLQXK2/struct-info/is-pointer-for-struct-method-arg/.dirs/data 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_GLQXK2/struct-info/is-pointer-for-struct-method-arg/.dirs/state 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_GLQXK2/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 541s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 541s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 541s ok 3 /struct-info/is-pointer-for-struct-method-arg 541s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_GLQXK2/struct-info/boxed/.dirs/home 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_GLQXK2/struct-info/boxed/.dirs/cache 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_GLQXK2/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_GLQXK2/struct-info/boxed/.dirs/system-config2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_GLQXK2/struct-info/boxed/.dirs/config 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_GLQXK2/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_GLQXK2/struct-info/boxed/.dirs/system-data2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_GLQXK2/struct-info/boxed/.dirs/data 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_GLQXK2/struct-info/boxed/.dirs/state 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_GLQXK2/struct-info/boxed/.dirs/runtime 541s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 541s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 541s ok 4 /struct-info/boxed 541s # End of struct-info tests 541s ok - glib/struct-info.test 541s # Running test: glib/gdbus-connection.test 541s TAP version 13 541s # random seed: R02Sc48a6464768d06bf5539485290b55476 541s 1..9 541s # Start of gdbus tests 541s # Start of connection tests 541s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/bus-failure/.dirs/home 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/bus-failure/.dirs/cache 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_3SSXK2/gdbus/connection/bus-failure/.dirs/system-config2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/bus-failure/.dirs/config 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_3SSXK2/gdbus/connection/bus-failure/.dirs/system-data2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/bus-failure/.dirs/data 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/bus-failure/.dirs/state 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/bus-failure/.dirs/runtime 541s ok 1 /gdbus/connection/bus-failure 541s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/basic/.dirs/home 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/basic/.dirs/cache 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_3SSXK2/gdbus/connection/basic/.dirs/system-config2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/basic/.dirs/config 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_3SSXK2/gdbus/connection/basic/.dirs/system-data2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/basic/.dirs/data 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/basic/.dirs/state 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/basic/.dirs/runtime 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s ok 2 /gdbus/connection/basic 541s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/life-cycle/.dirs/home 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/life-cycle/.dirs/cache 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_3SSXK2/gdbus/connection/life-cycle/.dirs/system-config2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/life-cycle/.dirs/config 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_3SSXK2/gdbus/connection/life-cycle/.dirs/system-data2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/life-cycle/.dirs/data 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/life-cycle/.dirs/state 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/life-cycle/.dirs/runtime 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s ok 3 /gdbus/connection/life-cycle 541s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/send/.dirs/home 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/send/.dirs/cache 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_3SSXK2/gdbus/connection/send/.dirs/system-config2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/send/.dirs/config 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_3SSXK2/gdbus/connection/send/.dirs/system-data2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/send/.dirs/data 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/send/.dirs/state 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/send/.dirs/runtime 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s ok 4 /gdbus/connection/send 541s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/signals/.dirs/home 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/signals/.dirs/cache 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_3SSXK2/gdbus/connection/signals/.dirs/system-config2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/signals/.dirs/config 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_3SSXK2/gdbus/connection/signals/.dirs/system-data2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/signals/.dirs/data 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/signals/.dirs/state 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/signals/.dirs/runtime 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s ok 5 /gdbus/connection/signals 541s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/signal-match-rules/.dirs/home 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/signal-match-rules/.dirs/cache 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_3SSXK2/gdbus/connection/signal-match-rules/.dirs/system-config2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/signal-match-rules/.dirs/config 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_3SSXK2/gdbus/connection/signal-match-rules/.dirs/system-data2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/signal-match-rules/.dirs/data 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/signal-match-rules/.dirs/state 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/signal-match-rules/.dirs/runtime 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s ok 6 /gdbus/connection/signal-match-rules 541s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/filter/.dirs/home 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/filter/.dirs/cache 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_3SSXK2/gdbus/connection/filter/.dirs/system-config2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/filter/.dirs/config 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_3SSXK2/gdbus/connection/filter/.dirs/system-data2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/filter/.dirs/data 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/filter/.dirs/state 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/filter/.dirs/runtime 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s ok 7 /gdbus/connection/filter 541s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/serials/.dirs/home 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/serials/.dirs/cache 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_3SSXK2/gdbus/connection/serials/.dirs/system-config2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/serials/.dirs/config 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_3SSXK2/gdbus/connection/serials/.dirs/system-data2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/serials/.dirs/data 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/serials/.dirs/state 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/serials/.dirs/runtime 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s ok 8 /gdbus/connection/serials 541s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/cancel/.dirs/home 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/cancel/.dirs/cache 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_3SSXK2/gdbus/connection/cancel/.dirs/system-config2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/cancel/.dirs/config 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_3SSXK2/gdbus/connection/cancel/.dirs/system-data2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/cancel/.dirs/data 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/cancel/.dirs/state 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_3SSXK2/gdbus/connection/cancel/.dirs/runtime 541s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 541s ok 9 /gdbus/connection/cancel 541s # End of connection tests 541s # End of gdbus tests 541s ok - glib/gdbus-connection.test 541s # Running test: glib/power-profile-monitor.test 541s TAP version 13 541s # random seed: R02S90b265fe34dedf5ded1d774fb2bf977c 541s 1..1 541s # Start of power-profile-monitor tests 541s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 541s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor? 541s ok 1 /power-profile-monitor/default 541s # End of power-profile-monitor tests 541s ok - glib/power-profile-monitor.test 541s # Running test: glib/markup-parse.test 541s TAP version 13 541s # random seed: R02S262cb2fb6c99b12f68dc4eb698f1e7dc 541s 1..71 541s # Start of markup tests 541s # Start of parse tests 541s ok 1 /markup/parse/valid-17.gmarkup 541s ok 2 /markup/parse/valid-10.gmarkup 541s ok 3 /markup/parse/fail-49.gmarkup 541s ok 4 /markup/parse/fail-9.gmarkup 541s ok 5 /markup/parse/fail-54.gmarkup 541s ok 6 /markup/parse/fail-31.gmarkup 541s ok 7 /markup/parse/valid-1.gmarkup 541s ok 8 /markup/parse/fail-4.gmarkup 541s ok 9 /markup/parse/valid-6.gmarkup 541s ok 10 /markup/parse/fail-48.gmarkup 541s ok 11 /markup/parse/fail-36.gmarkup 541s ok 12 /markup/parse/valid-11.gmarkup 541s ok 13 /markup/parse/fail-18.gmarkup 541s ok 14 /markup/parse/fail-19.gmarkup 541s ok 15 /markup/parse/fail-17.gmarkup 541s ok 16 /markup/parse/fail-25.gmarkup 541s ok 17 /markup/parse/valid-7.gmarkup 541s ok 18 /markup/parse/fail-30.gmarkup 541s ok 19 /markup/parse/fail-24.gmarkup 541s ok 20 /markup/parse/fail-10.gmarkup 541s ok 21 /markup/parse/fail-52.gmarkup 541s ok 22 /markup/parse/fail-33.gmarkup 541s ok 23 /markup/parse/valid-8.gmarkup 541s ok 24 /markup/parse/fail-12.gmarkup 541s ok 25 /markup/parse/fail-23.gmarkup 541s ok 26 /markup/parse/fail-14.gmarkup 541s ok 27 /markup/parse/fail-21.gmarkup 541s ok 28 /markup/parse/fail-3.gmarkup 541s ok 29 /markup/parse/fail-38.gmarkup 541s ok 30 /markup/parse/fail-22.gmarkup 541s ok 31 /markup/parse/fail-5.gmarkup 541s ok 32 /markup/parse/valid-5.gmarkup 541s ok 33 /markup/parse/fail-27.gmarkup 541s ok 34 /markup/parse/fail-39.gmarkup 541s ok 35 /markup/parse/fail-46.gmarkup 541s ok 36 /markup/parse/fail-51.gmarkup 541s ok 37 /markup/parse/fail-37.gmarkup 541s ok 38 /markup/parse/valid-2.gmarkup 541s ok 39 /markup/parse/fail-8.gmarkup 541s ok 40 /markup/parse/fail-42.gmarkup 541s ok 41 /markup/parse/valid-13.gmarkup 541s ok 42 /markup/parse/fail-29.gmarkup 541s ok 43 /markup/parse/valid-16.gmarkup 541s ok 44 /markup/parse/valid-4.gmarkup 541s ok 45 /markup/parse/fail-16.gmarkup 541s ok 46 /markup/parse/fail-53.gmarkup 541s ok 47 /markup/parse/fail-35.gmarkup 541s ok 48 /markup/parse/valid-3.gmarkup 541s ok 49 /markup/parse/valid-9.gmarkup 541s ok 50 /markup/parse/valid-12.gmarkup 541s ok 51 /markup/parse/fail-1.gmarkup 541s ok 52 /markup/parse/fail-20.gmarkup 541s ok 53 /markup/parse/fail-28.gmarkup 541s ok 54 /markup/parse/fail-6.gmarkup 541s ok 55 /markup/parse/fail-2.gmarkup 541s ok 56 /markup/parse/fail-34.gmarkup 541s ok 57 /markup/parse/fail-7.gmarkup 541s ok 58 /markup/parse/fail-13.gmarkup 541s ok 59 /markup/parse/fail-45.gmarkup 541s ok 60 /markup/parse/fail-15.gmarkup 541s ok 61 /markup/parse/fail-40.gmarkup 541s ok 62 /markup/parse/fail-26.gmarkup 541s ok 63 /markup/parse/fail-32.gmarkup 541s ok 64 /markup/parse/fail-11.gmarkup 541s ok 65 /markup/parse/fail-50.gmarkup 541s ok 66 /markup/parse/fail-41.gmarkup 541s ok 67 /markup/parse/fail-43.gmarkup 541s ok 68 /markup/parse/fail-44.gmarkup 541s ok 69 /markup/parse/fail-47.gmarkup 541s ok 70 /markup/parse/valid-15.gmarkup 541s ok 71 /markup/parse/valid-14.gmarkup 541s # End of parse tests 541s # End of markup tests 541s ok - glib/markup-parse.test 541s # Running test: glib/init.test 541s TAP version 13 541s # random seed: R02Sa080e665f369afba5de6a729a7ad16e4 541s 1..2 541s # Start of thread tests 541s # Start of deprecated tests 541s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_BMPTK2/thread/deprecated/init/.dirs/home 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_BMPTK2/thread/deprecated/init/.dirs/cache 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_BMPTK2/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_BMPTK2/thread/deprecated/init/.dirs/system-config2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_BMPTK2/thread/deprecated/init/.dirs/config 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_BMPTK2/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_BMPTK2/thread/deprecated/init/.dirs/system-data2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_BMPTK2/thread/deprecated/init/.dirs/data 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_BMPTK2/thread/deprecated/init/.dirs/state 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_BMPTK2/thread/deprecated/init/.dirs/runtime 541s ok 1 /thread/deprecated/init 541s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_BMPTK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_BMPTK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_BMPTK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_BMPTK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_BMPTK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_BMPTK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_BMPTK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_BMPTK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_BMPTK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_BMPTK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 541s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 541s # End of deprecated tests 541s # End of thread tests 541s ok - glib/init.test 541s # Running test: glib/static-link.test 541s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 541s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 541s and make sure you have glib build dependencies installed, including 541s meson. 541s ok # SKIP - glib/static-link.test 541s # Running test: glib/network-monitor.test 541s TAP version 13 541s # random seed: R02Sb6cba6b03d40a4ca3d1958c63f1faf34 541s 1..4 541s # Start of network-monitor tests 541s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 541s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 541s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ?gio-network-monitor? 541s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 541s ok 1 /network-monitor/default 541s ok 2 /network-monitor/remove_default 541s ok 3 /network-monitor/add_networks 541s ok 4 /network-monitor/remove_networks 541s # End of network-monitor tests 541s ok - glib/network-monitor.test 541s # Running test: glib/singleton.test 541s TAP version 13 541s # random seed: R02S8e77f25ef869d4843ff764b9cd49f65a 541s 1..2 541s # Start of gobject tests 541s # Start of singleton tests 541s ok 1 /gobject/singleton/construction 541s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 541s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 541s ok 2 /gobject/singleton/construct-property 541s # End of singleton tests 541s # End of gobject tests 541s ok - glib/singleton.test 541s # Running test: glib/registered-type-info.test 541s TAP version 13 541s # random seed: R02S1db8027f5e5c0f7177e95d1fea81f66c 541s 1..1 541s # Start of registered-type-info tests 541s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_RIPVK2/registered-type-info/boxed/.dirs/home 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_RIPVK2/registered-type-info/boxed/.dirs/cache 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_RIPVK2/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_RIPVK2/registered-type-info/boxed/.dirs/system-config2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_RIPVK2/registered-type-info/boxed/.dirs/config 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_RIPVK2/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_RIPVK2/registered-type-info/boxed/.dirs/system-data2 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_RIPVK2/registered-type-info/boxed/.dirs/data 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_RIPVK2/registered-type-info/boxed/.dirs/state 541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_RIPVK2/registered-type-info/boxed/.dirs/runtime 541s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 541s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 541s # Expecting CClosure to not be boxed 541s # Expecting TypeCValue to not be boxed 541s # Expecting InitiallyUnownedClass to not be boxed 541s # Expecting BookmarkFile to be boxed 541s # Expecting Closure to be boxed 541s # Expecting Object to not be boxed 541s ok 1 /registered-type-info/boxed 541s # End of registered-type-info tests 541s ok - glib/registered-type-info.test 541s # Running test: glib/completion.test 541s TAP version 13 541s # random seed: R02Sd94b3e36568c98a30a734e385cb2f58d 541s 1..1 541s # Start of completion tests 541s ok 1 /completion/test-completion 541s # End of completion tests 541s ok - glib/completion.test 541s # Running test: glib/objects-refcount2.test 541s TAP version 13 541s # random seed: R02Sfed4b6f5272b608eda2e78be4a7af0ed 541s 1..1 541s # Start of gobject tests 541s # Start of refcount tests 541s # init 0x842d4e5e740 541s # 541s # . 541s # . 541s # . 541s # . 541s # . 541s # . 542s # . 542s # . 542s # . 542s # . 542s # . 542s # . 542s # . 542s # . 542s # . 542s # . 542s # . 542s # . 542s # . 542s # . 542s # . 542s # . 542s # . 542s # . 542s # . 542s # . 542s # . 542s # . 542s # . 542s # . 542s # . 542s # . 542s # . 543s # . 543s # . 543s # . 543s # . 543s # . 543s # . 543s # . 543s # . 543s # . 543s # . 543s # . 543s # . 543s # . 543s # . 543s # . 543s # . 543s # . 543s # . 543s # . 543s # . 543s # . 543s # . 543s # . 543s # . 543s # . 543s # . 543s # . 544s # . 544s # . 544s # . 544s # . 544s # . 544s # . 544s # . 544s # . 544s # . 544s # . 544s # . 544s # . 544s # . 544s # . 544s # . 544s # . 544s # . 544s # . 544s # . 544s # . 544s # . 544s # . 544s # . 544s # . 544s # . 544s # . 544s # . 545s # . 545s # . 545s # . 545s # . 545s # . 545s # . 545s # . 545s # . 545s # . 545s # . 545s # . 545s # . 545s # . 545s # . 545s # . 545s # . 545s # . 545s # . 545s # . 545s # . 545s # . 545s # . 545s # . 545s # . 545s # . 545s # . 545s # . 546s # . 546s # . 546s # Executing: glib/objects-refcount2.test 546s # . 546s # . 546s # . 546s # . 546s # . 546s # . 546s # . 546s # . 546s # . 546s # . 546s # . 546s # . 546s # . 546s # . 546s # . 546s # . 546s # . 546s # . 546s # . 546s # . 546s # . 546s # . 546s # . 546s # . 546s # . 547s # . 547s # . 547s # . 547s # . 547s # . 547s # . 547s # . 547s # . 547s # . 547s # . 547s # . 547s # . 547s # . 547s # . 547s # . 547s # . 547s # . 547s # . 547s # . 547s # . 547s # . 547s # . 547s # . 547s # . 547s # . 547s # . 547s # . 548s # . 548s # . 548s # . 548s # . 548s # . 548s # . 548s # . 548s # . 548s # . 548s # . 548s # . 548s # . 548s # . 548s # . 548s # . 548s # . 548s # . 548s # . 548s # . 548s # . 548s # . 548s # . 548s # . 548s # . 548s # . 548s # . 548s # . 548s # . 549s # . 549s # . 549s # . 549s # . 549s # . 549s # . 549s # . 549s # . 549s # . 549s # . 549s # . 549s # . 549s # . 549s # . 549s # . 549s # . 549s # . 549s # . 549s # . 549s # . 549s # . 549s # . 549s # . 549s # . 549s # . 549s # . 549s # . 550s # . 550s # . 550s # . 550s # . 550s # . 550s # . 550s # . 550s # . 550s # . 550s # . 550s # . 550s # . 550s # . 550s # . 550s # . 550s # . 550s # . 550s # . 550s # . 550s # . 550s # . 550s # . 550s # . 550s # . 550s # . 550s # . 550s # . 551s # . 551s # . 551s # Executing: glib/objects-refcount2.test 551s # . 551s # . 551s # . 551s # . 551s # . 551s # . 551s # . 551s # . 551s # . 551s # . 551s # . 551s # . 551s # . 551s # . 551s # . 551s # . 551s # . 551s # . 551s # . 551s # . 551s # . 551s # . 551s # . 551s # . 551s # . 551s # . 552s # . 552s # . 552s # . 552s # . 552s # . 552s # . 552s # . 552s # . 552s # . 552s # . 552s # . 552s # . 552s # . 552s # . 552s # . 552s # . 552s # . 552s # . 552s # . 552s # . 552s # . 552s # . 552s # . 552s # . 552s # . 552s # . 552s # . 553s # . 553s # . 553s # . 553s # . 553s # . 553s # . 553s # . 553s # . 553s # . 553s # . 553s # . 553s # . 553s # . 553s # . 553s # . 553s # . 553s # . 553s # . 553s # . 553s # . 553s # . 553s # . 553s # . 553s # . 553s # . 553s # . 553s # . 554s # . 554s # . 554s # . 554s # . 554s # . 554s # . 554s # . 554s # . 554s # . 554s # . 554s # . 554s # . 554s # . 554s # . 554s # . 554s # . 554s # . 554s # . 554s # . 554s # . 554s # . 554s # . 554s # . 554s # . 554s # . 554s # . 554s # . 554s # . 555s # . 555s # . 555s # . 555s # . 555s # . 555s # . 555s # . 555s # . 555s # . 555s # . 555s # . 555s # . 555s # . 555s # . 555s # . 555s # . 555s # . 555s # . 555s # . 555s # . 555s # . 555s # . 555s # . 555s # . 555s # . 555s # . 555s # . 556s # . 556s # . 556s # Executing: glib/objects-refcount2.test 556s # . 556s # . 556s # . 556s # . 556s # . 556s # . 556s # . 556s # . 556s # . 556s # . 556s # . 556s # . 556s # . 556s # . 556s # . 556s # . 556s # . 556s # . 556s # . 556s # . 556s # . 556s # . 556s # . 556s # . 556s # . 556s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 559s # . 559s # . 559s # . 559s # . 559s # . 559s # . 559s # . 559s # . 559s # . 559s # . 559s # . 559s # . 559s # . 559s # . 559s # . 559s # . 559s # . 559s # . 559s # . 559s # . 559s # . 559s # . 559s # . 560s # . 560s # . 560s # . 560s # . 560s # . 560s # . 560s # . 560s # . 560s # . 560s # . 560s # . 560s # . 560s # . 560s # . 560s # . 560s # . 560s # . 560s # . 560s # . 560s # . 560s # . 560s # . 560s # . 560s # . 560s # . 560s # . 560s # . 560s # . 560s # . 560s # . 560s # . 560s # . 561s # . 561s # . 561s # Executing: glib/objects-refcount2.test 561s # . 561s # . 561s # . 561s # . 561s # . 561s # . 561s # . 561s # . 561s # . 561s # . 561s # . 561s # . 561s # . 561s # . 561s # . 561s # . 561s # . 561s # . 561s # . 561s # . 561s # . 561s # . 561s # . 561s # . 561s # . 562s # . 562s # . 562s # . 562s # . 562s # . 562s # . 562s # . 562s # . 562s # . 562s # . 562s # . 562s # . 562s # . 562s # . 562s # . 562s # . 562s # . 562s # . 562s # . 562s # . 562s # . 562s # . 562s # . 562s # . 562s # . 562s # . 562s # . 562s # . 563s # . 563s # . 563s # . 563s # . 563s # . 563s # . 563s # . 563s # . 563s # . 563s # . 563s # . 563s # . 563s # . 563s # . 563s # . 563s # . 563s # . 563s # . 563s # . 563s # . 563s # . 563s # . 563s # . 563s # . 563s # . 563s # . 563s # . 563s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 565s # . 565s # . 565s # . 565s # . 565s # . 565s # . 565s # . 565s # . 565s # . 565s # . 565s # . 565s # . 565s # . 565s # . 565s # . 565s # . 565s # . 565s # . 565s # . 565s # . 565s # . 565s # . 565s # . 565s # . 565s # . 565s # . 565s # . 566s # . 566s # . 566s # . 566s # Executing: glib/objects-refcount2.test 566s # . 566s # . 566s # . 566s # . 566s # . 566s # . 566s # . 566s # . 566s # . 566s # . 566s # . 566s # . 566s # . 566s # . 566s # . 566s # . 566s # . 566s # . 566s # . 566s # . 566s # . 566s # . 566s # . 566s # . 566s # . 567s # . 567s # . 567s # . 567s # . 567s # . 567s # . 567s # . 567s # . 567s # . 567s # . 567s # . 567s # . 567s # . 567s # . 567s # . 567s # . 567s # . 567s # . 567s # . 567s # . 567s # . 567s # . 567s # . 567s # . 567s # . 567s # . 567s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 571s # . 571s # . 571s # Executing: glib/objects-refcount2.test 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 572s # . 572s # . 572s # . 572s # . 572s # . 572s # . 572s # . 572s # . 572s # . 572s # . 572s # . 572s # . 572s # . 572s # . 572s # . 572s # . 572s # . 572s # . 572s # . 572s # . 572s # . 572s # . 572s # . 572s # . 572s # . 572s # . 572s # . 572s # . 573s # . 573s # . 573s # . 573s # . 573s # . 573s # . 573s # . 573s # . 573s # . 573s # . 573s # . 573s # . 573s # . 573s # . 573s # . 573s # . 573s # . 573s # . 573s # . 573s # . 573s # . 573s # . 573s # . 573s # . 573s # . 573s # . 573s # . 574s # . 574s # . 574s # . 574s # . 574s # . 574s # . 574s # . 574s # . 574s # . 574s # . 574s # . 574s # . 574s # . 574s # . 574s # . 574s # . 574s # . 574s # . 574s # . 574s # . 574s # . 574s # . 574s # . 574s # . 574s # . 574s # . 574s # . 575s # . 575s # . 575s # . 575s # . 575s # . 575s # . 575s # . 575s # . 575s # . 575s # . 575s # . 575s # . 575s # . 575s # . 575s # . 575s # . 575s # . 575s # . 575s # . 575s # . 575s # . 575s # . 575s # . 575s # . 575s # . 575s # . 575s # . 575s # . 576s # . 576s # . 576s # Executing: glib/objects-refcount2.test 576s # . 576s # . 576s # . 576s # . 576s # . 576s # . 576s # . 576s # . 576s # . 576s # . 576s # . 576s # . 576s # . 576s # . 576s # . 576s # . 576s # . 576s # . 576s # . 576s # . 576s # . 576s # . 576s # . 576s # . 576s # . 577s # . 577s # . 577s # . 577s # . 577s # . 577s # . 577s # . 577s # . 577s # . 577s # . 577s # . 577s # . 577s # . 577s # . 577s # . 577s # . 577s # . 577s # . 577s # . 577s # . 577s # . 577s # . 577s # . 577s # . 577s # . 577s # . 577s # . 578s # . 578s # . 578s # . 578s # . 578s # . 578s # . 578s # . 578s # . 578s # . 578s # dispose 0x842d4e5e740! 578s # 578s ok 1 /gobject/refcount/object-advanced 578s # slow test /gobject/refcount/object-advanced executed in 36.50 secs 578s # End of refcount tests 578s # End of gobject tests 578s ok - glib/objects-refcount2.test 578s # Running test: glib/unicode.test 578s TAP version 13 578s # random seed: R02S748adb81aaa9b37acfa2f1ba8d1b3538 578s 1..39 578s # Start of unicode tests 578s ok 1 /unicode/alnum 578s ok 2 /unicode/alpha 578s ok 3 /unicode/break-type 578s ok 4 /unicode/canonical-decomposition 578s ok 5 /unicode/casefold 578s # Cannot set locale to lt_LT, skipping 578s # Cannot set locale to lt_LT, skipping 578s # Cannot set locale to lt_LT, skipping 578s # Cannot set locale to lt_LT, skipping 578s # Cannot set locale to lt_LT, skipping 578s # Cannot set locale to lt_LT, skipping 578s # Cannot set locale to lt_LT, skipping 578s # Cannot set locale to lt_LT, skipping 578s # Cannot set locale to lt_LT, skipping 578s # Cannot set locale to lt_LT, skipping 578s # Cannot set locale to lt_LT, skipping 578s ok 6 /unicode/casemap_and_casefold 578s ok 7 /unicode/cases 578s ok 8 /unicode/character-type 578s ok 9 /unicode/cntrl 578s ok 10 /unicode/combining-class 578s ok 11 /unicode/compose 578s ok 12 /unicode/decompose 578s ok 13 /unicode/decompose-tail 578s ok 14 /unicode/defined 578s ok 15 /unicode/digit 578s ok 16 /unicode/digit-value 578s ok 17 /unicode/fully-decompose-canonical 578s ok 18 /unicode/fully-decompose-len 578s ok 19 /unicode/normalization 578s ok 20 /unicode/graph 578s # Testing script Zyyy (code 1517910393) 578s # Testing script Zinh (code 1516858984) 578s # Testing script Zmth (code 1517122664) 578s # Testing script Arab (code 1098015074) 578s # Testing script Armn (code 1098018158) 578s # Testing script Beng (code 1113943655) 578s # Testing script Bopo (code 1114599535) 578s # Testing script Cher (code 1130915186) 578s # Testing script Copt (code 1131376756) 578s # Testing script Cyrl (code 1132032620) 578s # Testing script Dsrt (code 1148416628) 578s # Testing script Deva (code 1147500129) 578s # Testing script Ethi (code 1165256809) 578s # Testing script Geor (code 1197830002) 578s # Testing script Goth (code 1198486632) 578s # Testing script Grek (code 1198679403) 578s # Testing script Gujr (code 1198877298) 578s # Testing script Guru (code 1198879349) 578s # Testing script Hani (code 1214344809) 578s # Testing script Hang (code 1214344807) 578s # Testing script Hebr (code 1214603890) 578s # Testing script Hira (code 1214870113) 578s # Testing script Knda (code 1265525857) 578s # Testing script Kana (code 1264676449) 578s # Testing script Khmr (code 1265134962) 578s # Testing script Laoo (code 1281453935) 578s # Testing script Latn (code 1281455214) 578s # Testing script Mlym (code 1298954605) 578s # Testing script Mong (code 1299148391) 578s # Testing script Mymr (code 1299803506) 578s # Testing script Ogam (code 1332175213) 578s # Testing script Ital (code 1232363884) 578s # Testing script Orya (code 1332902241) 578s # Testing script Runr (code 1383427698) 578s # Testing script Sinh (code 1399418472) 578s # Testing script Syrc (code 1400468067) 578s # Testing script Taml (code 1415671148) 578s # Testing script Telu (code 1415933045) 578s # Testing script Thaa (code 1416126817) 578s # Testing script Thai (code 1416126825) 578s # Testing script Tibt (code 1416192628) 578s # Testing script Cans (code 1130458739) 578s # Testing script Yiii (code 1500080489) 578s # Testing script Tglg (code 1416064103) 578s # Testing script Hano (code 1214344815) 578s # Testing script Buhd (code 1114990692) 578s # Testing script Tagb (code 1415669602) 578s # Testing script Brai (code 1114792297) 578s # Testing script Cprt (code 1131442804) 578s # Testing script Limb (code 1281977698) 578s # Testing script Osma (code 1332964705) 578s # Testing script Shaw (code 1399349623) 578s # Testing script Linb (code 1281977954) 578s # Testing script Tale (code 1415670885) 578s # Testing script Ugar (code 1432838514) 578s # Testing script Talu (code 1415670901) 578s # Testing script Bugi (code 1114990441) 578s # Testing script Glag (code 1198285159) 578s # Testing script Tfng (code 1415999079) 578s # Testing script Sylo (code 1400466543) 578s # Testing script Xpeo (code 1483761007) 578s # Testing script Khar (code 1265131890) 578s # Testing script Zzzz (code 1517976186) 578s # Testing script Bali (code 1113681001) 578s # Testing script Xsux (code 1483961720) 578s # Testing script Phnx (code 1349021304) 578s # Testing script Phag (code 1349017959) 578s # Testing script Nkoo (code 1315663727) 578s # Testing script Kali (code 1264675945) 578s # Testing script Lepc (code 1281716323) 578s # Testing script Rjng (code 1382706791) 578s # Testing script Sund (code 1400204900) 578s # Testing script Saur (code 1398895986) 578s # Testing script Cham (code 1130914157) 578s # Testing script Olck (code 1332503403) 578s # Testing script Vaii (code 1449224553) 578s # Testing script Cari (code 1130459753) 578s # Testing script Lyci (code 1283023721) 578s # Testing script Lydi (code 1283023977) 578s # Testing script Avst (code 1098281844) 578s # Testing script Bamu (code 1113681269) 578s # Testing script Egyp (code 1164409200) 578s # Testing script Armi (code 1098018153) 578s # Testing script Phli (code 1349020777) 578s # Testing script Prti (code 1349678185) 578s # Testing script Java (code 1247901281) 578s # Testing script Kthi (code 1265920105) 578s # Testing script Lisu (code 1281979253) 578s # Testing script Mtei (code 1299473769) 578s # Testing script Sarb (code 1398895202) 578s # Testing script Orkh (code 1332898664) 578s # Testing script Samr (code 1398893938) 578s # Testing script Lana (code 1281453665) 578s # Testing script Tavt (code 1415673460) 578s # Testing script Batk (code 1113683051) 578s # Testing script Brah (code 1114792296) 578s # Testing script Mand (code 1298230884) 578s # Testing script Cakm (code 1130457965) 578s # Testing script Merc (code 1298494051) 578s # Testing script Mero (code 1298494063) 578s # Testing script Plrd (code 1349284452) 578s # Testing script Shrd (code 1399353956) 578s # Testing script Sora (code 1399812705) 578s # Testing script Takr (code 1415670642) 578s # Testing script Bass (code 1113682803) 578s # Testing script Aghb (code 1097295970) 578s # Testing script Dupl (code 1148547180) 578s # Testing script Elba (code 1164730977) 578s # Testing script Gran (code 1198678382) 578s # Testing script Khoj (code 1265135466) 578s # Testing script Sind (code 1399418468) 578s # Testing script Lina (code 1281977953) 578s # Testing script Mahj (code 1298229354) 578s # Testing script Mani (code 1298230889) 578s # Testing script Mend (code 1298493028) 578s # Testing script Modi (code 1299145833) 578s # Testing script Mroo (code 1299345263) 578s # Testing script Nbat (code 1315070324) 578s # Testing script Narb (code 1315009122) 578s # Testing script Perm (code 1348825709) 578s # Testing script Hmng (code 1215131239) 578s # Testing script Palm (code 1348562029) 578s # Testing script Pauc (code 1348564323) 578s # Testing script Phlp (code 1349020784) 578s # Testing script Sidd (code 1399415908) 578s # Testing script Tirh (code 1416196712) 578s # Testing script Wara (code 1466004065) 578s # Testing script Ahom (code 1097363309) 578s # Testing script Hluw (code 1215067511) 578s # Testing script Hatr (code 1214346354) 578s # Testing script Mult (code 1299541108) 578s # Testing script Hung (code 1215655527) 578s # Testing script Sgnw (code 1399287415) 578s # Testing script Adlm (code 1097100397) 578s # Testing script Bhks (code 1114139507) 578s # Testing script Marc (code 1298231907) 578s # Testing script Newa (code 1315272545) 578s # Testing script Osge (code 1332963173) 578s # Testing script Tang (code 1415671399) 578s # Testing script Gonm (code 1198485101) 578s # Testing script Nshu (code 1316186229) 578s # Testing script Soyo (code 1399814511) 578s # Testing script Zanb (code 1516334690) 578s # Testing script Dogr (code 1148151666) 578s # Testing script Gong (code 1198485095) 578s # Testing script Rohg (code 1383032935) 578s # Testing script Maka (code 1298230113) 578s # Testing script Medf (code 1298490470) 578s # Testing script Sogo (code 1399809903) 578s # Testing script Sogd (code 1399809892) 578s # Testing script Elym (code 1164736877) 578s # Testing script Nand (code 1315008100) 578s # Testing script Hmnp (code 1215131248) 578s # Testing script Wcho (code 1466132591) 578s # Testing script Chrs (code 1130918515) 578s # Testing script Diak (code 1147756907) 578s # Testing script Kits (code 1265202291) 578s # Testing script Yezi (code 1499822697) 578s # Testing script Cpmn (code 1131441518) 578s # Testing script Ougr (code 1333094258) 578s # Testing script Tnsa (code 1416524641) 578s # Testing script Toto (code 1416590447) 578s # Testing script Vith (code 1449751656) 578s # Testing script Kawi (code 1264678761) 578s # Testing script Nagm (code 1315006317) 578s ok 21 /unicode/iso15924 578s ok 22 /unicode/lower 578s ok 23 /unicode/mark 578s ok 24 /unicode/mirror 578s ok 25 /unicode/print 578s ok 26 /unicode/punctuation 578s ok 27 /unicode/script 578s ok 28 /unicode/space 578s ok 29 /unicode/strdown 578s ok 30 /unicode/strup 578s ok 31 /unicode/turkish-strupdown 578s ok 32 /unicode/title 578s ok 33 /unicode/upper 578s ok 34 /unicode/validate 578s ok 35 /unicode/wide 578s ok 36 /unicode/xdigit 578s ok 37 /unicode/xdigit-value 578s ok 38 /unicode/zero-width 578s ok 39 /unicode/normalize 578s # End of unicode tests 578s ok - glib/unicode.test 578s # Running test: glib/flags.test 578s TAP version 13 578s # random seed: R02S05cf4acbbd01f9127c8106fc1546ef9b 578s 1..1 578s # Start of gobject tests 578s # Start of flags tests 578s ok 1 /gobject/flags/validate 578s # End of flags tests 578s # End of gobject tests 578s ok - glib/flags.test 578s # Running test: glib/utils-c-99.test 578s TAP version 13 578s # random seed: R02S907f1970c1e868addf7d8d735a4986bd 578s 1..40 578s # Start of utils tests 578s ok 1 /utils/language-names 578s ok 2 /utils/locale-variants 578s ok 3 /utils/version 578s ok 4 /utils/appname 578s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 578s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 578s ok 5 /utils/prgname-thread-safety 578s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 578s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 578s ok 6 /utils/tmpdir 578s ok 7 /utils/basic_bits 578s ok 8 /utils/bits 578s ok 9 /utils/swap 578s ok 10 /utils/find-program 578s ok 11 /utils/find-program-for-path 578s ok 12 /utils/debug 578s ok 13 /utils/codeset 578s ok 14 /utils/codeset2 578s ok 15 /utils/console-charset 578s ok 16 /utils/gettext 578s ok 17 /utils/username 578s ok 18 /utils/realname 578s ok 19 /utils/hostname 578s ok 20 /utils/xdgdirs 578s ok 21 /utils/specialdir 578s # NAME: Ubuntu 578s ok 22 /utils/os-info 578s ok 23 /utils/clear-pointer 578s ok 24 /utils/clear-pointer-cast 578s ok 25 /utils/take-pointer 578s ok 26 /utils/clear-source 578s ok 27 /utils/misc-mem 578s # /utils/aligned-mem summary: Aligned memory allocator 578s # Alignment must not be zero 578s # Alignment must be a power of two 578s # Alignment must be a multiple of sizeof(void*) 578s ok 28 /utils/aligned-mem 578s # /utils/free-sized summary: Check that g_free_sized() works 578s ok 29 /utils/free-sized 578s ok 30 /utils/nullify 578s ok 31 /utils/atexit 578s ok 32 /utils/check-setuid 578s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 578s ok 33 /utils/int-limits 578s ok 34 /utils/clear-list 578s ok 35 /utils/clear-slist 578s # Start of specialdir tests 578s ok 36 /utils/specialdir/desktop 578s # End of specialdir tests 578s # Start of clear-pointer tests 578s ok 37 /utils/clear-pointer/side-effects 578s # End of clear-pointer tests 578s # Start of aligned-mem tests 578s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 578s ok 38 /utils/aligned-mem/alignment 578s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 578s ok 39 /utils/aligned-mem/zeroed 578s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 578s ok 40 /utils/aligned-mem/free-sized 578s # Start of subprocess tests 578s # End of subprocess tests 578s # End of aligned-mem tests 578s # End of utils tests 578s ok - glib/utils-c-99.test 578s # Running test: glib/testfilemonitor.test 578s TAP version 13 578s # random seed: R02Sd79ffb4324ca52de0944df4da34cca2c 578s 1..8 578s # Start of monitor tests 578s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 578s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 578s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 578s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 578s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 578s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 578s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 578s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 578s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 578s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 578s # Start of file tests 578s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 578s # End of file tests 578s # End of monitor tests 578s ok - glib/testfilemonitor.test 578s # Running test: glib/threadtests.test 578s TAP version 13 578s # random seed: R02Sa1f7f322dfbdea202a61c7fad38cfd2a 578s 1..5 578s # Start of GObject tests 578s ok 1 /GObject/threaded-object-init 579s ok 2 /GObject/threaded-weak-ref 579s # slow test /GObject/threaded-weak-ref executed in 0.71 secs 579s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 579s # /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 579s ok 3 /GObject/threaded-toggle-notify 579s # slow test /GObject/threaded-toggle-notify executed in 0.51 secs 579s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 579s # Start of threaded-weak-ref tests 579s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 579s # /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. 579s ok 5 /GObject/threaded-weak-ref/on-finalization 579s # End of threaded-weak-ref tests 579s # End of GObject tests 579s ok - glib/threadtests.test 579s # Running test: glib/shell.test 579s TAP version 13 579s # random seed: R02S7ddf012439c3d665abf24d803d8f5564 579s 1..51 579s # Start of shell tests 579s # Start of cmdline tests 579s test cmdline: foo bar 579s ok 1 /shell/cmdline/0 579s test cmdline: foo 'bar' 579s ok 2 /shell/cmdline/1 579s test cmdline: foo "bar" 579s ok 3 /shell/cmdline/2 579s test cmdline: foo '' 'bar' 579s ok 4 /shell/cmdline/3 579s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 579s ok 5 /shell/cmdline/4 579s test cmdline: foo blah foo bar baz 579s ok 6 /shell/cmdline/5 579s test cmdline: foo ' spaces more spaces lots of spaces in this ' 579s ok 7 /shell/cmdline/6 579s test cmdline: foo \ 579s bar 579s ok 8 /shell/cmdline/7 579s test cmdline: foo '' '' 579s ok 9 /shell/cmdline/8 579s test cmdline: foo \" la la la 579s ok 10 /shell/cmdline/9 579s test cmdline: foo \ foo woo woo\ 579s ok 11 /shell/cmdline/10 579s test cmdline: foo "yada yada \$\"" 579s ok 12 /shell/cmdline/11 579s test cmdline: foo "c:\\" 579s ok 13 /shell/cmdline/12 579s test cmdline: foo # bla bla bla 579s bar 579s ok 14 /shell/cmdline/13 579s test cmdline: foo a#b 579s ok 15 /shell/cmdline/14 579s test cmdline: #foo 579s ok 16 /shell/cmdline/15 579s test cmdline: foo bar \ 579s ok 17 /shell/cmdline/16 579s test cmdline: foo 'bar baz 579s ok 18 /shell/cmdline/17 579s test cmdline: foo '"bar" baz 579s ok 19 /shell/cmdline/18 579s test cmdline: 579s ok 20 /shell/cmdline/19 579s test cmdline: 579s ok 21 /shell/cmdline/20 579s test cmdline: # foo bar 579s ok 22 /shell/cmdline/21 579s test cmdline: foo '/bar/summer'\''09 tours.pdf' 579s ok 23 /shell/cmdline/22 579s # End of cmdline tests 579s # Start of quote tests 579s ok 24 /shell/quote/0 579s ok 25 /shell/quote/1 579s ok 26 /shell/quote/2 579s ok 27 /shell/quote/3 579s ok 28 /shell/quote/4 579s ok 29 /shell/quote/5 579s ok 30 /shell/quote/6 579s # End of quote tests 579s # Start of unquote tests 579s ok 31 /shell/unquote/0 579s ok 32 /shell/unquote/1 579s ok 33 /shell/unquote/2 579s ok 34 /shell/unquote/3 579s ok 35 /shell/unquote/4 579s ok 36 /shell/unquote/5 579s ok 37 /shell/unquote/6 579s ok 38 /shell/unquote/7 579s ok 39 /shell/unquote/8 579s ok 40 /shell/unquote/9 579s ok 41 /shell/unquote/10 579s ok 42 /shell/unquote/11 579s ok 43 /shell/unquote/12 579s ok 44 /shell/unquote/13 579s ok 45 /shell/unquote/14 579s ok 46 /shell/unquote/15 579s ok 47 /shell/unquote/16 579s ok 48 /shell/unquote/17 579s ok 49 /shell/unquote/18 579s ok 50 /shell/unquote/19 579s ok 51 /shell/unquote/20 579s # End of unquote tests 579s # End of shell tests 579s ok - glib/shell.test 579s # Running test: glib/signalgroup.test 579s TAP version 13 579s # random seed: R02S4477f2bb82906e245b9819c1c2faba73 579s 1..9 579s # Start of GObject tests 579s # Start of SignalGroup tests 579s ok 1 /GObject/SignalGroup/invalid 579s ok 2 /GObject/SignalGroup/simple 579s ok 3 /GObject/SignalGroup/changing-target 579s ok 4 /GObject/SignalGroup/blocking 579s ok 5 /GObject/SignalGroup/weak-ref-target 579s ok 6 /GObject/SignalGroup/connect-object 579s ok 7 /GObject/SignalGroup/signal-parsing 579s ok 8 /GObject/SignalGroup/properties 579s ok 9 /GObject/SignalGroup/interface 579s # Start of signal-parsing tests 579s # End of signal-parsing tests 579s # End of SignalGroup tests 579s # End of GObject tests 579s ok - glib/signalgroup.test 579s # Running test: glib/win32-appinfo.test 579s TAP version 13 579s # random seed: R02S2e4a40d6806e6fd03480b385c93d8f57 579s 1..5 579s # Start of appinfo tests 579s ok 1 /appinfo/utf16-strfuncs 579s ok 2 /appinfo/win32-extract-executable 579s ok 3 /appinfo/win32-rundll32-fixup 579s ok 4 /appinfo/win32-parse-filename 579s ok 5 /appinfo/win32-utf16-conversion-fail 579s # Start of subprocess tests 579s # End of subprocess tests 579s # End of appinfo tests 579s ok - glib/win32-appinfo.test 579s # Running test: glib/gutils-user-database.test 579s TAP version 13 579s # random seed: R02Sba0e342c25bbad71175f475dbb194e98 579s 1..1 579s # Start of gutils tests 579s ok 1 /gutils/get_user_database_entry 579s # End of gutils tests 579s ok - glib/gutils-user-database.test 579s # Running test: glib/cxx-03.test 579s TAP version 13 579s # random seed: R02Sdc6578c2cbed4e5a1ac6d41bba44d7f5 579s 1..2 579s # Start of gtask tests 579s # 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. 579s ok 1 /gtask/name 579s # Start of name tests 579s # 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. 579s ok 2 /gtask/name/macro-wrapper 579s # End of name tests 579s # End of gtask tests 579s ok - glib/cxx-03.test 579s # Running test: glib/repository.test 579s TAP version 13 579s # random seed: R02S4d8348772ab0fa1430a2c73035c2b7b5 579s 1..21 579s # Start of repository tests 579s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_0LVYK2/repository/basic/.dirs/home 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_0LVYK2/repository/basic/.dirs/cache 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_0LVYK2/repository/basic/.dirs/system-config1:/tmp/test_repository_0LVYK2/repository/basic/.dirs/system-config2 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_0LVYK2/repository/basic/.dirs/config 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_0LVYK2/repository/basic/.dirs/system-data1:/tmp/test_repository_0LVYK2/repository/basic/.dirs/system-data2 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_0LVYK2/repository/basic/.dirs/data 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_0LVYK2/repository/basic/.dirs/state 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_0LVYK2/repository/basic/.dirs/runtime 579s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 579s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 579s ok 1 /repository/basic 579s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_0LVYK2/repository/info/.dirs/home 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_0LVYK2/repository/info/.dirs/cache 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_0LVYK2/repository/info/.dirs/system-config1:/tmp/test_repository_0LVYK2/repository/info/.dirs/system-config2 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_0LVYK2/repository/info/.dirs/config 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_0LVYK2/repository/info/.dirs/system-data1:/tmp/test_repository_0LVYK2/repository/info/.dirs/system-data2 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_0LVYK2/repository/info/.dirs/data 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_0LVYK2/repository/info/.dirs/state 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_0LVYK2/repository/info/.dirs/runtime 579s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 579s # /repository/info summary: Test retrieving some basic info blobs from a typelib 579s ok 2 /repository/info 579s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_0LVYK2/repository/dependencies/.dirs/home 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_0LVYK2/repository/dependencies/.dirs/cache 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_0LVYK2/repository/dependencies/.dirs/system-config1:/tmp/test_repository_0LVYK2/repository/dependencies/.dirs/system-config2 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_0LVYK2/repository/dependencies/.dirs/config 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_0LVYK2/repository/dependencies/.dirs/system-data1:/tmp/test_repository_0LVYK2/repository/dependencies/.dirs/system-data2 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_0LVYK2/repository/dependencies/.dirs/data 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_0LVYK2/repository/dependencies/.dirs/state 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_0LVYK2/repository/dependencies/.dirs/runtime 579s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 579s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 579s ok 3 /repository/dependencies 579s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_0LVYK2/repository/arg-info/.dirs/home 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_0LVYK2/repository/arg-info/.dirs/cache 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_0LVYK2/repository/arg-info/.dirs/system-config1:/tmp/test_repository_0LVYK2/repository/arg-info/.dirs/system-config2 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_0LVYK2/repository/arg-info/.dirs/config 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_0LVYK2/repository/arg-info/.dirs/system-data1:/tmp/test_repository_0LVYK2/repository/arg-info/.dirs/system-data2 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_0LVYK2/repository/arg-info/.dirs/data 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_0LVYK2/repository/arg-info/.dirs/state 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_0LVYK2/repository/arg-info/.dirs/runtime 579s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 579s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 579s ok 4 /repository/arg-info 579s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_0LVYK2/repository/callable-info/.dirs/home 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_0LVYK2/repository/callable-info/.dirs/cache 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_0LVYK2/repository/callable-info/.dirs/system-config1:/tmp/test_repository_0LVYK2/repository/callable-info/.dirs/system-config2 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_0LVYK2/repository/callable-info/.dirs/config 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_0LVYK2/repository/callable-info/.dirs/system-data1:/tmp/test_repository_0LVYK2/repository/callable-info/.dirs/system-data2 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_0LVYK2/repository/callable-info/.dirs/data 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_0LVYK2/repository/callable-info/.dirs/state 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_0LVYK2/repository/callable-info/.dirs/runtime 579s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 579s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 579s ok 5 /repository/callable-info 579s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_0LVYK2/repository/callback-info/.dirs/home 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_0LVYK2/repository/callback-info/.dirs/cache 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_0LVYK2/repository/callback-info/.dirs/system-config1:/tmp/test_repository_0LVYK2/repository/callback-info/.dirs/system-config2 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_0LVYK2/repository/callback-info/.dirs/config 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_0LVYK2/repository/callback-info/.dirs/system-data1:/tmp/test_repository_0LVYK2/repository/callback-info/.dirs/system-data2 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_0LVYK2/repository/callback-info/.dirs/data 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_0LVYK2/repository/callback-info/.dirs/state 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_0LVYK2/repository/callback-info/.dirs/runtime 579s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 579s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 579s ok 6 /repository/callback-info 579s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_0LVYK2/repository/char-types/.dirs/home 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_0LVYK2/repository/char-types/.dirs/cache 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_0LVYK2/repository/char-types/.dirs/system-config1:/tmp/test_repository_0LVYK2/repository/char-types/.dirs/system-config2 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_0LVYK2/repository/char-types/.dirs/config 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_0LVYK2/repository/char-types/.dirs/system-data1:/tmp/test_repository_0LVYK2/repository/char-types/.dirs/system-data2 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_0LVYK2/repository/char-types/.dirs/data 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_0LVYK2/repository/char-types/.dirs/state 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_0LVYK2/repository/char-types/.dirs/runtime 579s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 579s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 579s ok 7 /repository/char-types 579s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_0LVYK2/repository/constructor-return-type/.dirs/home 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_0LVYK2/repository/constructor-return-type/.dirs/cache 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_0LVYK2/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_0LVYK2/repository/constructor-return-type/.dirs/system-config2 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_0LVYK2/repository/constructor-return-type/.dirs/config 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_0LVYK2/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_0LVYK2/repository/constructor-return-type/.dirs/system-data2 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_0LVYK2/repository/constructor-return-type/.dirs/data 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_0LVYK2/repository/constructor-return-type/.dirs/state 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_0LVYK2/repository/constructor-return-type/.dirs/runtime 579s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 579s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 579s ok 8 /repository/constructor-return-type 579s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_0LVYK2/repository/enum-info-c-identifier/.dirs/home 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_0LVYK2/repository/enum-info-c-identifier/.dirs/cache 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_0LVYK2/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_0LVYK2/repository/enum-info-c-identifier/.dirs/system-config2 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_0LVYK2/repository/enum-info-c-identifier/.dirs/config 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_0LVYK2/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_0LVYK2/repository/enum-info-c-identifier/.dirs/system-data2 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_0LVYK2/repository/enum-info-c-identifier/.dirs/data 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_0LVYK2/repository/enum-info-c-identifier/.dirs/state 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_0LVYK2/repository/enum-info-c-identifier/.dirs/runtime 579s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 579s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 579s ok 9 /repository/enum-info-c-identifier 579s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_0LVYK2/repository/enum-info-static-methods/.dirs/home 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_0LVYK2/repository/enum-info-static-methods/.dirs/cache 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_0LVYK2/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_0LVYK2/repository/enum-info-static-methods/.dirs/system-config2 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_0LVYK2/repository/enum-info-static-methods/.dirs/config 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_0LVYK2/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_0LVYK2/repository/enum-info-static-methods/.dirs/system-data2 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_0LVYK2/repository/enum-info-static-methods/.dirs/data 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_0LVYK2/repository/enum-info-static-methods/.dirs/state 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_0LVYK2/repository/enum-info-static-methods/.dirs/runtime 579s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 579s # /repository/enum-info-static-methods summary: Test an enum with methods 579s ok 10 /repository/enum-info-static-methods 579s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_0LVYK2/repository/error-quark/.dirs/home 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_0LVYK2/repository/error-quark/.dirs/cache 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_0LVYK2/repository/error-quark/.dirs/system-config1:/tmp/test_repository_0LVYK2/repository/error-quark/.dirs/system-config2 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_0LVYK2/repository/error-quark/.dirs/config 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_0LVYK2/repository/error-quark/.dirs/system-data1:/tmp/test_repository_0LVYK2/repository/error-quark/.dirs/system-data2 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_0LVYK2/repository/error-quark/.dirs/data 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_0LVYK2/repository/error-quark/.dirs/state 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_0LVYK2/repository/error-quark/.dirs/runtime 579s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 579s # /repository/error-quark summary: Test finding an error quark by error domain 579s ok 11 /repository/error-quark 579s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_0LVYK2/repository/flags-info-c-identifier/.dirs/home 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_0LVYK2/repository/flags-info-c-identifier/.dirs/cache 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_0LVYK2/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_0LVYK2/repository/flags-info-c-identifier/.dirs/system-config2 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_0LVYK2/repository/flags-info-c-identifier/.dirs/config 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_0LVYK2/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_0LVYK2/repository/flags-info-c-identifier/.dirs/system-data2 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_0LVYK2/repository/flags-info-c-identifier/.dirs/data 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_0LVYK2/repository/flags-info-c-identifier/.dirs/state 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_0LVYK2/repository/flags-info-c-identifier/.dirs/runtime 579s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 579s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 579s ok 12 /repository/flags-info-c-identifier 579s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_0LVYK2/repository/fundamental-ref-func/.dirs/home 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_0LVYK2/repository/fundamental-ref-func/.dirs/cache 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_0LVYK2/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_0LVYK2/repository/fundamental-ref-func/.dirs/system-config2 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_0LVYK2/repository/fundamental-ref-func/.dirs/config 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_0LVYK2/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_0LVYK2/repository/fundamental-ref-func/.dirs/system-data2 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_0LVYK2/repository/fundamental-ref-func/.dirs/data 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_0LVYK2/repository/fundamental-ref-func/.dirs/state 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_0LVYK2/repository/fundamental-ref-func/.dirs/runtime 579s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 579s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 579s ok 13 /repository/fundamental-ref-func 579s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_0LVYK2/repository/instance-method-ownership-transfer/.dirs/home 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_0LVYK2/repository/instance-method-ownership-transfer/.dirs/cache 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_0LVYK2/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_0LVYK2/repository/instance-method-ownership-transfer/.dirs/system-config2 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_0LVYK2/repository/instance-method-ownership-transfer/.dirs/config 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_0LVYK2/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_0LVYK2/repository/instance-method-ownership-transfer/.dirs/system-data2 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_0LVYK2/repository/instance-method-ownership-transfer/.dirs/data 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_0LVYK2/repository/instance-method-ownership-transfer/.dirs/state 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_0LVYK2/repository/instance-method-ownership-transfer/.dirs/runtime 579s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 579s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 579s ok 14 /repository/instance-method-ownership-transfer 579s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_0LVYK2/repository/object-gtype-interfaces/.dirs/home 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_0LVYK2/repository/object-gtype-interfaces/.dirs/cache 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_0LVYK2/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_0LVYK2/repository/object-gtype-interfaces/.dirs/system-config2 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_0LVYK2/repository/object-gtype-interfaces/.dirs/config 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_0LVYK2/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_0LVYK2/repository/object-gtype-interfaces/.dirs/system-data2 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_0LVYK2/repository/object-gtype-interfaces/.dirs/data 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_0LVYK2/repository/object-gtype-interfaces/.dirs/state 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_0LVYK2/repository/object-gtype-interfaces/.dirs/runtime 579s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 579s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 579s ok 15 /repository/object-gtype-interfaces 579s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_0LVYK2/repository/signal-info-with-array-length-arg/.dirs/home 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_0LVYK2/repository/signal-info-with-array-length-arg/.dirs/cache 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_0LVYK2/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_0LVYK2/repository/signal-info-with-array-length-arg/.dirs/system-config2 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_0LVYK2/repository/signal-info-with-array-length-arg/.dirs/config 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_0LVYK2/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_0LVYK2/repository/signal-info-with-array-length-arg/.dirs/system-data2 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_0LVYK2/repository/signal-info-with-array-length-arg/.dirs/data 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_0LVYK2/repository/signal-info-with-array-length-arg/.dirs/state 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_0LVYK2/repository/signal-info-with-array-length-arg/.dirs/runtime 579s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 579s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 579s ok 16 /repository/signal-info-with-array-length-arg 579s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_0LVYK2/repository/type-info-name/.dirs/home 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_0LVYK2/repository/type-info-name/.dirs/cache 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_0LVYK2/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_0LVYK2/repository/type-info-name/.dirs/system-config2 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_0LVYK2/repository/type-info-name/.dirs/config 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_0LVYK2/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_0LVYK2/repository/type-info-name/.dirs/system-data2 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_0LVYK2/repository/type-info-name/.dirs/data 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_0LVYK2/repository/type-info-name/.dirs/state 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_0LVYK2/repository/type-info-name/.dirs/runtime 579s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 579s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 579s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 579s ok 17 /repository/type-info-name 579s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_0LVYK2/repository/vfunc-info-with-no-invoker/.dirs/home 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_0LVYK2/repository/vfunc-info-with-no-invoker/.dirs/cache 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_0LVYK2/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_0LVYK2/repository/vfunc-info-with-no-invoker/.dirs/system-config2 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_0LVYK2/repository/vfunc-info-with-no-invoker/.dirs/config 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_0LVYK2/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_0LVYK2/repository/vfunc-info-with-no-invoker/.dirs/system-data2 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_0LVYK2/repository/vfunc-info-with-no-invoker/.dirs/data 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_0LVYK2/repository/vfunc-info-with-no-invoker/.dirs/state 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_0LVYK2/repository/vfunc-info-with-no-invoker/.dirs/runtime 579s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 579s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 579s ok 18 /repository/vfunc-info-with-no-invoker 579s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_0LVYK2/repository/vfunc-info-with-invoker-on-interface/.dirs/home 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_0LVYK2/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_0LVYK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_0LVYK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_0LVYK2/repository/vfunc-info-with-invoker-on-interface/.dirs/config 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_0LVYK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_0LVYK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_0LVYK2/repository/vfunc-info-with-invoker-on-interface/.dirs/data 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_0LVYK2/repository/vfunc-info-with-invoker-on-interface/.dirs/state 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_0LVYK2/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 579s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 579s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 579s ok 19 /repository/vfunc-info-with-invoker-on-interface 579s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_0LVYK2/repository/vfunc-info-with-invoker-on-object/.dirs/home 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_0LVYK2/repository/vfunc-info-with-invoker-on-object/.dirs/cache 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_0LVYK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_0LVYK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_0LVYK2/repository/vfunc-info-with-invoker-on-object/.dirs/config 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_0LVYK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_0LVYK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_0LVYK2/repository/vfunc-info-with-invoker-on-object/.dirs/data 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_0LVYK2/repository/vfunc-info-with-invoker-on-object/.dirs/state 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_0LVYK2/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 579s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 579s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 579s ok 20 /repository/vfunc-info-with-invoker-on-object 579s # Start of base-info tests 579s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_0LVYK2/repository/base-info/clear/.dirs/home 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_0LVYK2/repository/base-info/clear/.dirs/cache 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_0LVYK2/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_0LVYK2/repository/base-info/clear/.dirs/system-config2 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_0LVYK2/repository/base-info/clear/.dirs/config 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_0LVYK2/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_0LVYK2/repository/base-info/clear/.dirs/system-data2 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_0LVYK2/repository/base-info/clear/.dirs/data 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_0LVYK2/repository/base-info/clear/.dirs/state 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_0LVYK2/repository/base-info/clear/.dirs/runtime 579s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 579s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 579s ok 21 /repository/base-info/clear 579s # End of base-info tests 579s # End of repository tests 579s ok - glib/repository.test 579s # Running test: glib/memory-settings-backend.test 579s TAP version 13 579s # random seed: R02S3f51d78c7723e992df111301e5e345f4 579s 1..1 579s # Start of memory-settings-backend tests 579s ok 1 /memory-settings-backend/extension-point-registered 579s # End of memory-settings-backend tests 579s ok - glib/memory-settings-backend.test 579s # Running test: glib/portal-support-flatpak-none.test 579s TAP version 13 579s # random seed: R02Sb0422513eb66ad643e541df3df341212 579s 1..1 579s # Start of portal-support tests 579s # Start of flatpak tests 579s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_2UAUK2/portal-support/flatpak/none/.dirs/home 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_2UAUK2/portal-support/flatpak/none/.dirs/cache 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_2UAUK2/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_2UAUK2/portal-support/flatpak/none/.dirs/system-config2 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_2UAUK2/portal-support/flatpak/none/.dirs/config 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_2UAUK2/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_2UAUK2/portal-support/flatpak/none/.dirs/system-data2 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_2UAUK2/portal-support/flatpak/none/.dirs/data 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_2UAUK2/portal-support/flatpak/none/.dirs/state 579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_2UAUK2/portal-support/flatpak/none/.dirs/runtime 579s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_2UAUK2/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 579s ok 1 /portal-support/flatpak/none 579s # End of flatpak tests 579s # End of portal-support tests 579s ok - glib/portal-support-flatpak-none.test 579s # Running test: glib/onceinit.test 579s TAP version 13 579s # random seed: R02Sfc1d13e0acd66779d816fe7ee45447a8 579s 1..1 579s # Start of thread tests 579s ok 1 /thread/onceinit 579s # End of thread tests 579s ok - glib/onceinit.test 579s # Running test: glib/checksum.test 579s TAP version 13 579s # random seed: R02S11f72c5b9229cab9fd00fb4b77f7ad48 579s 1..1851 579s # Start of checksum tests 579s ok 1 /checksum/unsupported 579s # Start of MD5 tests 579s ok 2 /checksum/MD5/0 579s ok 3 /checksum/MD5/1 579s ok 4 /checksum/MD5/2 579s ok 5 /checksum/MD5/3 579s ok 6 /checksum/MD5/4 579s ok 7 /checksum/MD5/5 579s ok 8 /checksum/MD5/6 579s ok 9 /checksum/MD5/7 579s ok 10 /checksum/MD5/8 579s ok 11 /checksum/MD5/9 579s ok 12 /checksum/MD5/10 579s ok 13 /checksum/MD5/11 579s ok 14 /checksum/MD5/12 579s ok 15 /checksum/MD5/13 579s ok 16 /checksum/MD5/14 579s ok 17 /checksum/MD5/15 579s ok 18 /checksum/MD5/16 579s ok 19 /checksum/MD5/17 579s ok 20 /checksum/MD5/18 579s ok 21 /checksum/MD5/19 579s ok 22 /checksum/MD5/20 579s ok 23 /checksum/MD5/21 579s ok 24 /checksum/MD5/22 579s ok 25 /checksum/MD5/23 579s ok 26 /checksum/MD5/24 579s ok 27 /checksum/MD5/25 579s ok 28 /checksum/MD5/26 579s ok 29 /checksum/MD5/27 579s ok 30 /checksum/MD5/28 579s ok 31 /checksum/MD5/29 579s ok 32 /checksum/MD5/30 579s ok 33 /checksum/MD5/31 579s ok 34 /checksum/MD5/32 579s ok 35 /checksum/MD5/33 579s ok 36 /checksum/MD5/34 579s ok 37 /checksum/MD5/35 579s ok 38 /checksum/MD5/36 579s ok 39 /checksum/MD5/37 579s ok 40 /checksum/MD5/38 579s ok 41 /checksum/MD5/39 579s ok 42 /checksum/MD5/40 579s ok 43 /checksum/MD5/41 579s ok 44 /checksum/MD5/42 579s ok 45 /checksum/MD5/43 579s ok 46 /checksum/MD5/44 579s ok 47 /checksum/MD5/45 579s ok 48 /checksum/MD5/46 579s ok 49 /checksum/MD5/47 579s ok 50 /checksum/MD5/48 579s ok 51 /checksum/MD5/49 579s ok 52 /checksum/MD5/50 579s ok 53 /checksum/MD5/51 579s ok 54 /checksum/MD5/52 579s ok 55 /checksum/MD5/53 579s ok 56 /checksum/MD5/54 579s ok 57 /checksum/MD5/55 579s ok 58 /checksum/MD5/56 579s ok 59 /checksum/MD5/57 579s ok 60 /checksum/MD5/58 579s ok 61 /checksum/MD5/59 579s ok 62 /checksum/MD5/60 579s ok 63 /checksum/MD5/61 579s ok 64 /checksum/MD5/62 579s ok 65 /checksum/MD5/63 579s ok 66 /checksum/MD5/64 579s ok 67 /checksum/MD5/65 579s ok 68 /checksum/MD5/66 579s ok 69 /checksum/MD5/67 579s ok 70 /checksum/MD5/68 579s ok 71 /checksum/MD5/69 579s ok 72 /checksum/MD5/70 579s ok 73 /checksum/MD5/71 579s ok 74 /checksum/MD5/72 579s ok 75 /checksum/MD5/73 579s ok 76 /checksum/MD5/74 579s ok 77 /checksum/MD5/75 579s ok 78 /checksum/MD5/76 579s ok 79 /checksum/MD5/77 579s ok 80 /checksum/MD5/78 579s ok 81 /checksum/MD5/79 579s ok 82 /checksum/MD5/80 579s ok 83 /checksum/MD5/81 579s ok 84 /checksum/MD5/82 579s ok 85 /checksum/MD5/83 579s ok 86 /checksum/MD5/84 579s ok 87 /checksum/MD5/85 579s ok 88 /checksum/MD5/86 579s ok 89 /checksum/MD5/87 579s ok 90 /checksum/MD5/88 579s ok 91 /checksum/MD5/89 579s ok 92 /checksum/MD5/90 579s ok 93 /checksum/MD5/91 579s ok 94 /checksum/MD5/92 579s ok 95 /checksum/MD5/93 579s ok 96 /checksum/MD5/94 579s ok 97 /checksum/MD5/95 579s ok 98 /checksum/MD5/96 579s ok 99 /checksum/MD5/97 579s ok 100 /checksum/MD5/98 579s ok 101 /checksum/MD5/99 579s ok 102 /checksum/MD5/100 579s ok 103 /checksum/MD5/101 579s ok 104 /checksum/MD5/102 579s ok 105 /checksum/MD5/103 579s ok 106 /checksum/MD5/104 579s ok 107 /checksum/MD5/105 579s ok 108 /checksum/MD5/106 579s ok 109 /checksum/MD5/107 579s ok 110 /checksum/MD5/108 579s ok 111 /checksum/MD5/109 579s ok 112 /checksum/MD5/110 579s ok 113 /checksum/MD5/111 579s ok 114 /checksum/MD5/112 579s ok 115 /checksum/MD5/113 579s ok 116 /checksum/MD5/114 579s ok 117 /checksum/MD5/115 579s ok 118 /checksum/MD5/116 579s ok 119 /checksum/MD5/117 579s ok 120 /checksum/MD5/118 579s ok 121 /checksum/MD5/119 579s ok 122 /checksum/MD5/120 579s ok 123 /checksum/MD5/121 579s ok 124 /checksum/MD5/122 579s ok 125 /checksum/MD5/123 579s ok 126 /checksum/MD5/124 579s ok 127 /checksum/MD5/125 579s ok 128 /checksum/MD5/126 579s ok 129 /checksum/MD5/127 579s ok 130 /checksum/MD5/128 579s ok 131 /checksum/MD5/129 579s ok 132 /checksum/MD5/130 579s ok 133 /checksum/MD5/131 579s ok 134 /checksum/MD5/132 579s ok 135 /checksum/MD5/133 579s ok 136 /checksum/MD5/134 579s ok 137 /checksum/MD5/135 579s ok 138 /checksum/MD5/136 579s ok 139 /checksum/MD5/137 579s ok 140 /checksum/MD5/138 579s ok 141 /checksum/MD5/139 579s ok 142 /checksum/MD5/140 579s ok 143 /checksum/MD5/141 579s ok 144 /checksum/MD5/142 579s ok 145 /checksum/MD5/143 579s ok 146 /checksum/MD5/144 579s ok 147 /checksum/MD5/145 579s ok 148 /checksum/MD5/146 579s ok 149 /checksum/MD5/147 579s ok 150 /checksum/MD5/148 579s ok 151 /checksum/MD5/149 579s ok 152 /checksum/MD5/150 579s ok 153 /checksum/MD5/151 579s ok 154 /checksum/MD5/152 579s ok 155 /checksum/MD5/153 579s ok 156 /checksum/MD5/154 579s ok 157 /checksum/MD5/155 579s ok 158 /checksum/MD5/156 579s ok 159 /checksum/MD5/157 579s ok 160 /checksum/MD5/158 579s ok 161 /checksum/MD5/159 579s ok 162 /checksum/MD5/160 579s ok 163 /checksum/MD5/161 579s ok 164 /checksum/MD5/162 579s ok 165 /checksum/MD5/163 579s ok 166 /checksum/MD5/164 579s ok 167 /checksum/MD5/165 579s ok 168 /checksum/MD5/166 579s ok 169 /checksum/MD5/167 579s ok 170 /checksum/MD5/168 579s ok 171 /checksum/MD5/169 579s ok 172 /checksum/MD5/170 579s ok 173 /checksum/MD5/171 579s ok 174 /checksum/MD5/172 579s ok 175 /checksum/MD5/173 579s ok 176 /checksum/MD5/174 579s ok 177 /checksum/MD5/175 579s ok 178 /checksum/MD5/176 579s ok 179 /checksum/MD5/177 579s ok 180 /checksum/MD5/178 579s ok 181 /checksum/MD5/179 579s ok 182 /checksum/MD5/180 579s ok 183 /checksum/MD5/181 579s ok 184 /checksum/MD5/182 579s ok 185 /checksum/MD5/183 579s ok 186 /checksum/MD5/string 579s ok 187 /checksum/MD5/bytes 579s # Start of reset tests 579s ok 188 /checksum/MD5/reset/0 579s ok 189 /checksum/MD5/reset/1 579s ok 190 /checksum/MD5/reset/2 579s ok 191 /checksum/MD5/reset/3 579s ok 192 /checksum/MD5/reset/4 579s ok 193 /checksum/MD5/reset/5 579s ok 194 /checksum/MD5/reset/6 579s ok 195 /checksum/MD5/reset/7 579s ok 196 /checksum/MD5/reset/8 579s ok 197 /checksum/MD5/reset/9 579s ok 198 /checksum/MD5/reset/10 579s ok 199 /checksum/MD5/reset/11 579s ok 200 /checksum/MD5/reset/12 579s ok 201 /checksum/MD5/reset/13 579s ok 202 /checksum/MD5/reset/14 579s ok 203 /checksum/MD5/reset/15 579s ok 204 /checksum/MD5/reset/16 579s ok 205 /checksum/MD5/reset/17 579s ok 206 /checksum/MD5/reset/18 579s ok 207 /checksum/MD5/reset/19 579s ok 208 /checksum/MD5/reset/20 579s ok 209 /checksum/MD5/reset/21 579s ok 210 /checksum/MD5/reset/22 579s ok 211 /checksum/MD5/reset/23 579s ok 212 /checksum/MD5/reset/24 579s ok 213 /checksum/MD5/reset/25 579s ok 214 /checksum/MD5/reset/26 579s ok 215 /checksum/MD5/reset/27 579s ok 216 /checksum/MD5/reset/28 579s ok 217 /checksum/MD5/reset/29 579s ok 218 /checksum/MD5/reset/30 579s ok 219 /checksum/MD5/reset/31 579s ok 220 /checksum/MD5/reset/32 579s ok 221 /checksum/MD5/reset/33 579s ok 222 /checksum/MD5/reset/34 579s ok 223 /checksum/MD5/reset/35 579s ok 224 /checksum/MD5/reset/36 579s ok 225 /checksum/MD5/reset/37 579s ok 226 /checksum/MD5/reset/38 579s ok 227 /checksum/MD5/reset/39 579s ok 228 /checksum/MD5/reset/40 579s ok 229 /checksum/MD5/reset/41 579s ok 230 /checksum/MD5/reset/42 579s ok 231 /checksum/MD5/reset/43 579s ok 232 /checksum/MD5/reset/44 579s ok 233 /checksum/MD5/reset/45 579s ok 234 /checksum/MD5/reset/46 579s ok 235 /checksum/MD5/reset/47 579s ok 236 /checksum/MD5/reset/48 579s ok 237 /checksum/MD5/reset/49 579s ok 238 /checksum/MD5/reset/50 579s ok 239 /checksum/MD5/reset/51 579s ok 240 /checksum/MD5/reset/52 579s ok 241 /checksum/MD5/reset/53 579s ok 242 /checksum/MD5/reset/54 579s ok 243 /checksum/MD5/reset/55 579s ok 244 /checksum/MD5/reset/56 579s ok 245 /checksum/MD5/reset/57 579s ok 246 /checksum/MD5/reset/58 579s ok 247 /checksum/MD5/reset/59 579s ok 248 /checksum/MD5/reset/60 579s ok 249 /checksum/MD5/reset/61 579s ok 250 /checksum/MD5/reset/62 579s ok 251 /checksum/MD5/reset/63 579s ok 252 /checksum/MD5/reset/64 579s ok 253 /checksum/MD5/reset/65 579s ok 254 /checksum/MD5/reset/66 579s ok 255 /checksum/MD5/reset/67 579s ok 256 /checksum/MD5/reset/68 579s ok 257 /checksum/MD5/reset/69 579s ok 258 /checksum/MD5/reset/70 579s ok 259 /checksum/MD5/reset/71 579s ok 260 /checksum/MD5/reset/72 579s ok 261 /checksum/MD5/reset/73 579s ok 262 /checksum/MD5/reset/74 579s ok 263 /checksum/MD5/reset/75 579s ok 264 /checksum/MD5/reset/76 579s ok 265 /checksum/MD5/reset/77 579s ok 266 /checksum/MD5/reset/78 579s ok 267 /checksum/MD5/reset/79 579s ok 268 /checksum/MD5/reset/80 579s ok 269 /checksum/MD5/reset/81 579s ok 270 /checksum/MD5/reset/82 579s ok 271 /checksum/MD5/reset/83 579s ok 272 /checksum/MD5/reset/84 579s ok 273 /checksum/MD5/reset/85 579s ok 274 /checksum/MD5/reset/86 579s ok 275 /checksum/MD5/reset/87 579s ok 276 /checksum/MD5/reset/88 579s ok 277 /checksum/MD5/reset/89 579s ok 278 /checksum/MD5/reset/90 579s ok 279 /checksum/MD5/reset/91 579s ok 280 /checksum/MD5/reset/92 579s ok 281 /checksum/MD5/reset/93 579s ok 282 /checksum/MD5/reset/94 579s ok 283 /checksum/MD5/reset/95 579s ok 284 /checksum/MD5/reset/96 579s ok 285 /checksum/MD5/reset/97 579s ok 286 /checksum/MD5/reset/98 579s ok 287 /checksum/MD5/reset/99 579s ok 288 /checksum/MD5/reset/100 579s ok 289 /checksum/MD5/reset/101 579s ok 290 /checksum/MD5/reset/102 579s ok 291 /checksum/MD5/reset/103 579s ok 292 /checksum/MD5/reset/104 579s ok 293 /checksum/MD5/reset/105 579s ok 294 /checksum/MD5/reset/106 579s ok 295 /checksum/MD5/reset/107 579s ok 296 /checksum/MD5/reset/108 579s ok 297 /checksum/MD5/reset/109 579s ok 298 /checksum/MD5/reset/110 579s ok 299 /checksum/MD5/reset/111 579s ok 300 /checksum/MD5/reset/112 579s ok 301 /checksum/MD5/reset/113 579s ok 302 /checksum/MD5/reset/114 579s ok 303 /checksum/MD5/reset/115 579s ok 304 /checksum/MD5/reset/116 579s ok 305 /checksum/MD5/reset/117 579s ok 306 /checksum/MD5/reset/118 579s ok 307 /checksum/MD5/reset/119 579s ok 308 /checksum/MD5/reset/120 579s ok 309 /checksum/MD5/reset/121 579s ok 310 /checksum/MD5/reset/122 579s ok 311 /checksum/MD5/reset/123 579s ok 312 /checksum/MD5/reset/124 579s ok 313 /checksum/MD5/reset/125 579s ok 314 /checksum/MD5/reset/126 579s ok 315 /checksum/MD5/reset/127 579s ok 316 /checksum/MD5/reset/128 579s ok 317 /checksum/MD5/reset/129 579s ok 318 /checksum/MD5/reset/130 579s ok 319 /checksum/MD5/reset/131 579s ok 320 /checksum/MD5/reset/132 579s ok 321 /checksum/MD5/reset/133 579s ok 322 /checksum/MD5/reset/134 579s ok 323 /checksum/MD5/reset/135 579s ok 324 /checksum/MD5/reset/136 579s ok 325 /checksum/MD5/reset/137 579s ok 326 /checksum/MD5/reset/138 579s ok 327 /checksum/MD5/reset/139 579s ok 328 /checksum/MD5/reset/140 579s ok 329 /checksum/MD5/reset/141 579s ok 330 /checksum/MD5/reset/142 579s ok 331 /checksum/MD5/reset/143 579s ok 332 /checksum/MD5/reset/144 579s ok 333 /checksum/MD5/reset/145 579s ok 334 /checksum/MD5/reset/146 579s ok 335 /checksum/MD5/reset/147 579s ok 336 /checksum/MD5/reset/148 579s ok 337 /checksum/MD5/reset/149 579s ok 338 /checksum/MD5/reset/150 579s ok 339 /checksum/MD5/reset/151 579s ok 340 /checksum/MD5/reset/152 579s ok 341 /checksum/MD5/reset/153 579s ok 342 /checksum/MD5/reset/154 579s ok 343 /checksum/MD5/reset/155 579s ok 344 /checksum/MD5/reset/156 579s ok 345 /checksum/MD5/reset/157 579s ok 346 /checksum/MD5/reset/158 579s ok 347 /checksum/MD5/reset/159 579s ok 348 /checksum/MD5/reset/160 579s ok 349 /checksum/MD5/reset/161 579s ok 350 /checksum/MD5/reset/162 579s ok 351 /checksum/MD5/reset/163 579s ok 352 /checksum/MD5/reset/164 579s ok 353 /checksum/MD5/reset/165 579s ok 354 /checksum/MD5/reset/166 579s ok 355 /checksum/MD5/reset/167 579s ok 356 /checksum/MD5/reset/168 579s ok 357 /checksum/MD5/reset/169 579s ok 358 /checksum/MD5/reset/170 579s ok 359 /checksum/MD5/reset/171 579s ok 360 /checksum/MD5/reset/172 579s ok 361 /checksum/MD5/reset/173 579s ok 362 /checksum/MD5/reset/174 579s ok 363 /checksum/MD5/reset/175 579s ok 364 /checksum/MD5/reset/176 579s ok 365 /checksum/MD5/reset/177 579s ok 366 /checksum/MD5/reset/178 579s ok 367 /checksum/MD5/reset/179 579s ok 368 /checksum/MD5/reset/180 579s ok 369 /checksum/MD5/reset/181 579s ok 370 /checksum/MD5/reset/182 579s ok 371 /checksum/MD5/reset/183 579s # End of reset tests 579s # End of MD5 tests 579s # Start of SHA1 tests 579s ok 372 /checksum/SHA1/0 579s ok 373 /checksum/SHA1/1 579s ok 374 /checksum/SHA1/2 579s ok 375 /checksum/SHA1/3 579s ok 376 /checksum/SHA1/4 579s ok 377 /checksum/SHA1/5 579s ok 378 /checksum/SHA1/6 579s ok 379 /checksum/SHA1/7 579s ok 380 /checksum/SHA1/8 579s ok 381 /checksum/SHA1/9 579s ok 382 /checksum/SHA1/10 579s ok 383 /checksum/SHA1/11 579s ok 384 /checksum/SHA1/12 579s ok 385 /checksum/SHA1/13 579s ok 386 /checksum/SHA1/14 579s ok 387 /checksum/SHA1/15 579s ok 388 /checksum/SHA1/16 579s ok 389 /checksum/SHA1/17 579s ok 390 /checksum/SHA1/18 579s ok 391 /checksum/SHA1/19 579s ok 392 /checksum/SHA1/20 579s ok 393 /checksum/SHA1/21 579s ok 394 /checksum/SHA1/22 579s ok 395 /checksum/SHA1/23 579s ok 396 /checksum/SHA1/24 579s ok 397 /checksum/SHA1/25 579s ok 398 /checksum/SHA1/26 579s ok 399 /checksum/SHA1/27 579s ok 400 /checksum/SHA1/28 579s ok 401 /checksum/SHA1/29 579s ok 402 /checksum/SHA1/30 579s ok 403 /checksum/SHA1/31 579s ok 404 /checksum/SHA1/32 579s ok 405 /checksum/SHA1/33 579s ok 406 /checksum/SHA1/34 579s ok 407 /checksum/SHA1/35 579s ok 408 /checksum/SHA1/36 579s ok 409 /checksum/SHA1/37 579s ok 410 /checksum/SHA1/38 579s ok 411 /checksum/SHA1/39 579s ok 412 /checksum/SHA1/40 579s ok 413 /checksum/SHA1/41 579s ok 414 /checksum/SHA1/42 579s ok 415 /checksum/SHA1/43 579s ok 416 /checksum/SHA1/44 579s ok 417 /checksum/SHA1/45 579s ok 418 /checksum/SHA1/46 579s ok 419 /checksum/SHA1/47 579s ok 420 /checksum/SHA1/48 579s ok 421 /checksum/SHA1/49 579s ok 422 /checksum/SHA1/50 579s ok 423 /checksum/SHA1/51 579s ok 424 /checksum/SHA1/52 579s ok 425 /checksum/SHA1/53 579s ok 426 /checksum/SHA1/54 579s ok 427 /checksum/SHA1/55 579s ok 428 /checksum/SHA1/56 579s ok 429 /checksum/SHA1/57 579s ok 430 /checksum/SHA1/58 579s ok 431 /checksum/SHA1/59 579s ok 432 /checksum/SHA1/60 579s ok 433 /checksum/SHA1/61 579s ok 434 /checksum/SHA1/62 579s ok 435 /checksum/SHA1/63 579s ok 436 /checksum/SHA1/64 579s ok 437 /checksum/SHA1/65 579s ok 438 /checksum/SHA1/66 579s ok 439 /checksum/SHA1/67 579s ok 440 /checksum/SHA1/68 579s ok 441 /checksum/SHA1/69 579s ok 442 /checksum/SHA1/70 579s ok 443 /checksum/SHA1/71 579s ok 444 /checksum/SHA1/72 579s ok 445 /checksum/SHA1/73 579s ok 446 /checksum/SHA1/74 579s ok 447 /checksum/SHA1/75 579s ok 448 /checksum/SHA1/76 579s ok 449 /checksum/SHA1/77 579s ok 450 /checksum/SHA1/78 579s ok 451 /checksum/SHA1/79 579s ok 452 /checksum/SHA1/80 579s ok 453 /checksum/SHA1/81 579s ok 454 /checksum/SHA1/82 579s ok 455 /checksum/SHA1/83 579s ok 456 /checksum/SHA1/84 579s ok 457 /checksum/SHA1/85 579s ok 458 /checksum/SHA1/86 579s ok 459 /checksum/SHA1/87 579s ok 460 /checksum/SHA1/88 579s ok 461 /checksum/SHA1/89 579s ok 462 /checksum/SHA1/90 579s ok 463 /checksum/SHA1/91 579s ok 464 /checksum/SHA1/92 579s ok 465 /checksum/SHA1/93 579s ok 466 /checksum/SHA1/94 579s ok 467 /checksum/SHA1/95 579s ok 468 /checksum/SHA1/96 579s ok 469 /checksum/SHA1/97 579s ok 470 /checksum/SHA1/98 579s ok 471 /checksum/SHA1/99 579s ok 472 /checksum/SHA1/100 579s ok 473 /checksum/SHA1/101 579s ok 474 /checksum/SHA1/102 579s ok 475 /checksum/SHA1/103 579s ok 476 /checksum/SHA1/104 579s ok 477 /checksum/SHA1/105 579s ok 478 /checksum/SHA1/106 579s ok 479 /checksum/SHA1/107 579s ok 480 /checksum/SHA1/108 579s ok 481 /checksum/SHA1/109 579s ok 482 /checksum/SHA1/110 579s ok 483 /checksum/SHA1/111 579s ok 484 /checksum/SHA1/112 579s ok 485 /checksum/SHA1/113 579s ok 486 /checksum/SHA1/114 579s ok 487 /checksum/SHA1/115 579s ok 488 /checksum/SHA1/116 579s ok 489 /checksum/SHA1/117 579s ok 490 /checksum/SHA1/118 579s ok 491 /checksum/SHA1/119 579s ok 492 /checksum/SHA1/120 579s ok 493 /checksum/SHA1/121 579s ok 494 /checksum/SHA1/122 579s ok 495 /checksum/SHA1/123 579s ok 496 /checksum/SHA1/124 579s ok 497 /checksum/SHA1/125 579s ok 498 /checksum/SHA1/126 579s ok 499 /checksum/SHA1/127 579s ok 500 /checksum/SHA1/128 579s ok 501 /checksum/SHA1/129 579s ok 502 /checksum/SHA1/130 579s ok 503 /checksum/SHA1/131 579s ok 504 /checksum/SHA1/132 579s ok 505 /checksum/SHA1/133 579s ok 506 /checksum/SHA1/134 579s ok 507 /checksum/SHA1/135 579s ok 508 /checksum/SHA1/136 579s ok 509 /checksum/SHA1/137 579s ok 510 /checksum/SHA1/138 579s ok 511 /checksum/SHA1/139 579s ok 512 /checksum/SHA1/140 579s ok 513 /checksum/SHA1/141 579s ok 514 /checksum/SHA1/142 579s ok 515 /checksum/SHA1/143 579s ok 516 /checksum/SHA1/144 579s ok 517 /checksum/SHA1/145 579s ok 518 /checksum/SHA1/146 579s ok 519 /checksum/SHA1/147 579s ok 520 /checksum/SHA1/148 579s ok 521 /checksum/SHA1/149 579s ok 522 /checksum/SHA1/150 579s ok 523 /checksum/SHA1/151 579s ok 524 /checksum/SHA1/152 579s ok 525 /checksum/SHA1/153 579s ok 526 /checksum/SHA1/154 579s ok 527 /checksum/SHA1/155 579s ok 528 /checksum/SHA1/156 579s ok 529 /checksum/SHA1/157 579s ok 530 /checksum/SHA1/158 579s ok 531 /checksum/SHA1/159 579s ok 532 /checksum/SHA1/160 579s ok 533 /checksum/SHA1/161 579s ok 534 /checksum/SHA1/162 579s ok 535 /checksum/SHA1/163 579s ok 536 /checksum/SHA1/164 579s ok 537 /checksum/SHA1/165 579s ok 538 /checksum/SHA1/166 579s ok 539 /checksum/SHA1/167 579s ok 540 /checksum/SHA1/168 579s ok 541 /checksum/SHA1/169 579s ok 542 /checksum/SHA1/170 579s ok 543 /checksum/SHA1/171 579s ok 544 /checksum/SHA1/172 579s ok 545 /checksum/SHA1/173 579s ok 546 /checksum/SHA1/174 579s ok 547 /checksum/SHA1/175 579s ok 548 /checksum/SHA1/176 579s ok 549 /checksum/SHA1/177 579s ok 550 /checksum/SHA1/178 579s ok 551 /checksum/SHA1/179 579s ok 552 /checksum/SHA1/180 579s ok 553 /checksum/SHA1/181 579s ok 554 /checksum/SHA1/182 579s ok 555 /checksum/SHA1/183 579s ok 556 /checksum/SHA1/string 579s ok 557 /checksum/SHA1/bytes 579s # Start of reset tests 579s ok 558 /checksum/SHA1/reset/0 579s ok 559 /checksum/SHA1/reset/1 579s ok 560 /checksum/SHA1/reset/2 579s ok 561 /checksum/SHA1/reset/3 579s ok 562 /checksum/SHA1/reset/4 579s ok 563 /checksum/SHA1/reset/5 579s ok 564 /checksum/SHA1/reset/6 579s ok 565 /checksum/SHA1/reset/7 579s ok 566 /checksum/SHA1/reset/8 579s ok 567 /checksum/SHA1/reset/9 579s ok 568 /checksum/SHA1/reset/10 579s ok 569 /checksum/SHA1/reset/11 579s ok 570 /checksum/SHA1/reset/12 579s ok 571 /checksum/SHA1/reset/13 579s ok 572 /checksum/SHA1/reset/14 579s ok 573 /checksum/SHA1/reset/15 579s ok 574 /checksum/SHA1/reset/16 579s ok 575 /checksum/SHA1/reset/17 579s ok 576 /checksum/SHA1/reset/18 579s ok 577 /checksum/SHA1/reset/19 579s ok 578 /checksum/SHA1/reset/20 579s ok 579 /checksum/SHA1/reset/21 579s ok 580 /checksum/SHA1/reset/22 579s ok 581 /checksum/SHA1/reset/23 579s ok 582 /checksum/SHA1/reset/24 579s ok 583 /checksum/SHA1/reset/25 579s ok 584 /checksum/SHA1/reset/26 579s ok 585 /checksum/SHA1/reset/27 579s ok 586 /checksum/SHA1/reset/28 579s ok 587 /checksum/SHA1/reset/29 579s ok 588 /checksum/SHA1/reset/30 579s ok 589 /checksum/SHA1/reset/31 579s ok 590 /checksum/SHA1/reset/32 579s ok 591 /checksum/SHA1/reset/33 579s ok 592 /checksum/SHA1/reset/34 579s ok 593 /checksum/SHA1/reset/35 579s ok 594 /checksum/SHA1/reset/36 579s ok 595 /checksum/SHA1/reset/37 579s ok 596 /checksum/SHA1/reset/38 579s ok 597 /checksum/SHA1/reset/39 579s ok 598 /checksum/SHA1/reset/40 579s ok 599 /checksum/SHA1/reset/41 579s ok 600 /checksum/SHA1/reset/42 579s ok 601 /checksum/SHA1/reset/43 579s ok 602 /checksum/SHA1/reset/44 579s ok 603 /checksum/SHA1/reset/45 579s ok 604 /checksum/SHA1/reset/46 579s ok 605 /checksum/SHA1/reset/47 579s ok 606 /checksum/SHA1/reset/48 579s ok 607 /checksum/SHA1/reset/49 579s ok 608 /checksum/SHA1/reset/50 579s ok 609 /checksum/SHA1/reset/51 579s ok 610 /checksum/SHA1/reset/52 579s ok 611 /checksum/SHA1/reset/53 579s ok 612 /checksum/SHA1/reset/54 579s ok 613 /checksum/SHA1/reset/55 579s ok 614 /checksum/SHA1/reset/56 579s ok 615 /checksum/SHA1/reset/57 579s ok 616 /checksum/SHA1/reset/58 579s ok 617 /checksum/SHA1/reset/59 579s ok 618 /checksum/SHA1/reset/60 579s ok 619 /checksum/SHA1/reset/61 579s ok 620 /checksum/SHA1/reset/62 579s ok 621 /checksum/SHA1/reset/63 579s ok 622 /checksum/SHA1/reset/64 579s ok 623 /checksum/SHA1/reset/65 579s ok 624 /checksum/SHA1/reset/66 579s ok 625 /checksum/SHA1/reset/67 579s ok 626 /checksum/SHA1/reset/68 579s ok 627 /checksum/SHA1/reset/69 579s ok 628 /checksum/SHA1/reset/70 579s ok 629 /checksum/SHA1/reset/71 579s ok 630 /checksum/SHA1/reset/72 579s ok 631 /checksum/SHA1/reset/73 579s ok 632 /checksum/SHA1/reset/74 579s ok 633 /checksum/SHA1/reset/75 579s ok 634 /checksum/SHA1/reset/76 579s ok 635 /checksum/SHA1/reset/77 579s ok 636 /checksum/SHA1/reset/78 579s ok 637 /checksum/SHA1/reset/79 579s ok 638 /checksum/SHA1/reset/80 579s ok 639 /checksum/SHA1/reset/81 579s ok 640 /checksum/SHA1/reset/82 579s ok 641 /checksum/SHA1/reset/83 579s ok 642 /checksum/SHA1/reset/84 579s ok 643 /checksum/SHA1/reset/85 579s ok 644 /checksum/SHA1/reset/86 579s ok 645 /checksum/SHA1/reset/87 579s ok 646 /checksum/SHA1/reset/88 579s ok 647 /checksum/SHA1/reset/89 579s ok 648 /checksum/SHA1/reset/90 579s ok 649 /checksum/SHA1/reset/91 579s ok 650 /checksum/SHA1/reset/92 579s ok 651 /checksum/SHA1/reset/93 579s ok 652 /checksum/SHA1/reset/94 579s ok 653 /checksum/SHA1/reset/95 579s ok 654 /checksum/SHA1/reset/96 579s ok 655 /checksum/SHA1/reset/97 579s ok 656 /checksum/SHA1/reset/98 579s ok 657 /checksum/SHA1/reset/99 579s ok 658 /checksum/SHA1/reset/100 579s ok 659 /checksum/SHA1/reset/101 579s ok 660 /checksum/SHA1/reset/102 579s ok 661 /checksum/SHA1/reset/103 579s ok 662 /checksum/SHA1/reset/104 579s ok 663 /checksum/SHA1/reset/105 579s ok 664 /checksum/SHA1/reset/106 579s ok 665 /checksum/SHA1/reset/107 579s ok 666 /checksum/SHA1/reset/108 579s ok 667 /checksum/SHA1/reset/109 579s ok 668 /checksum/SHA1/reset/110 579s ok 669 /checksum/SHA1/reset/111 579s ok 670 /checksum/SHA1/reset/112 579s ok 671 /checksum/SHA1/reset/113 579s ok 672 /checksum/SHA1/reset/114 579s ok 673 /checksum/SHA1/reset/115 579s ok 674 /checksum/SHA1/reset/116 579s ok 675 /checksum/SHA1/reset/117 579s ok 676 /checksum/SHA1/reset/118 579s ok 677 /checksum/SHA1/reset/119 579s ok 678 /checksum/SHA1/reset/120 579s ok 679 /checksum/SHA1/reset/121 579s ok 680 /checksum/SHA1/reset/122 579s ok 681 /checksum/SHA1/reset/123 579s ok 682 /checksum/SHA1/reset/124 579s ok 683 /checksum/SHA1/reset/125 579s ok 684 /checksum/SHA1/reset/126 579s ok 685 /checksum/SHA1/reset/127 579s ok 686 /checksum/SHA1/reset/128 579s ok 687 /checksum/SHA1/reset/129 579s ok 688 /checksum/SHA1/reset/130 579s ok 689 /checksum/SHA1/reset/131 579s ok 690 /checksum/SHA1/reset/132 579s ok 691 /checksum/SHA1/reset/133 579s ok 692 /checksum/SHA1/reset/134 579s ok 693 /checksum/SHA1/reset/135 579s ok 694 /checksum/SHA1/reset/136 579s ok 695 /checksum/SHA1/reset/137 579s ok 696 /checksum/SHA1/reset/138 579s ok 697 /checksum/SHA1/reset/139 579s ok 698 /checksum/SHA1/reset/140 579s ok 699 /checksum/SHA1/reset/141 579s ok 700 /checksum/SHA1/reset/142 579s ok 701 /checksum/SHA1/reset/143 579s ok 702 /checksum/SHA1/reset/144 579s ok 703 /checksum/SHA1/reset/145 579s ok 704 /checksum/SHA1/reset/146 579s ok 705 /checksum/SHA1/reset/147 579s ok 706 /checksum/SHA1/reset/148 579s ok 707 /checksum/SHA1/reset/149 579s ok 708 /checksum/SHA1/reset/150 579s ok 709 /checksum/SHA1/reset/151 579s ok 710 /checksum/SHA1/reset/152 579s ok 711 /checksum/SHA1/reset/153 579s ok 712 /checksum/SHA1/reset/154 579s ok 713 /checksum/SHA1/reset/155 579s ok 714 /checksum/SHA1/reset/156 579s ok 715 /checksum/SHA1/reset/157 579s ok 716 /checksum/SHA1/reset/158 579s ok 717 /checksum/SHA1/reset/159 579s ok 718 /checksum/SHA1/reset/160 579s ok 719 /checksum/SHA1/reset/161 579s ok 720 /checksum/SHA1/reset/162 579s ok 721 /checksum/SHA1/reset/163 579s ok 722 /checksum/SHA1/reset/164 579s ok 723 /checksum/SHA1/reset/165 579s ok 724 /checksum/SHA1/reset/166 579s ok 725 /checksum/SHA1/reset/167 579s ok 726 /checksum/SHA1/reset/168 579s ok 727 /checksum/SHA1/reset/169 579s ok 728 /checksum/SHA1/reset/170 579s ok 729 /checksum/SHA1/reset/171 579s ok 730 /checksum/SHA1/reset/172 579s ok 731 /checksum/SHA1/reset/173 579s ok 732 /checksum/SHA1/reset/174 579s ok 733 /checksum/SHA1/reset/175 579s ok 734 /checksum/SHA1/reset/176 579s ok 735 /checksum/SHA1/reset/177 579s ok 736 /checksum/SHA1/reset/178 579s ok 737 /checksum/SHA1/reset/179 579s ok 738 /checksum/SHA1/reset/180 579s ok 739 /checksum/SHA1/reset/181 579s ok 740 /checksum/SHA1/reset/182 579s ok 741 /checksum/SHA1/reset/183 579s # End of reset tests 579s # End of SHA1 tests 579s # Start of SHA256 tests 579s ok 742 /checksum/SHA256/0 579s ok 743 /checksum/SHA256/1 579s ok 744 /checksum/SHA256/2 579s ok 745 /checksum/SHA256/3 579s ok 746 /checksum/SHA256/4 579s ok 747 /checksum/SHA256/5 579s ok 748 /checksum/SHA256/6 579s ok 749 /checksum/SHA256/7 579s ok 750 /checksum/SHA256/8 579s ok 751 /checksum/SHA256/9 579s ok 752 /checksum/SHA256/10 579s ok 753 /checksum/SHA256/11 579s ok 754 /checksum/SHA256/12 579s ok 755 /checksum/SHA256/13 579s ok 756 /checksum/SHA256/14 579s ok 757 /checksum/SHA256/15 579s ok 758 /checksum/SHA256/16 579s ok 759 /checksum/SHA256/17 579s ok 760 /checksum/SHA256/18 579s ok 761 /checksum/SHA256/19 579s ok 762 /checksum/SHA256/20 579s ok 763 /checksum/SHA256/21 579s ok 764 /checksum/SHA256/22 579s ok 765 /checksum/SHA256/23 579s ok 766 /checksum/SHA256/24 579s ok 767 /checksum/SHA256/25 579s ok 768 /checksum/SHA256/26 579s ok 769 /checksum/SHA256/27 579s ok 770 /checksum/SHA256/28 579s ok 771 /checksum/SHA256/29 579s ok 772 /checksum/SHA256/30 579s ok 773 /checksum/SHA256/31 579s ok 774 /checksum/SHA256/32 579s ok 775 /checksum/SHA256/33 579s ok 776 /checksum/SHA256/34 579s ok 777 /checksum/SHA256/35 579s ok 778 /checksum/SHA256/36 579s ok 779 /checksum/SHA256/37 579s ok 780 /checksum/SHA256/38 579s ok 781 /checksum/SHA256/39 579s ok 782 /checksum/SHA256/40 579s ok 783 /checksum/SHA256/41 579s ok 784 /checksum/SHA256/42 579s ok 785 /checksum/SHA256/43 579s ok 786 /checksum/SHA256/44 579s ok 787 /checksum/SHA256/45 579s ok 788 /checksum/SHA256/46 579s ok 789 /checksum/SHA256/47 579s ok 790 /checksum/SHA256/48 579s ok 791 /checksum/SHA256/49 579s ok 792 /checksum/SHA256/50 579s ok 793 /checksum/SHA256/51 579s ok 794 /checksum/SHA256/52 579s ok 795 /checksum/SHA256/53 579s ok 796 /checksum/SHA256/54 579s ok 797 /checksum/SHA256/55 579s ok 798 /checksum/SHA256/56 579s ok 799 /checksum/SHA256/57 579s ok 800 /checksum/SHA256/58 579s ok 801 /checksum/SHA256/59 579s ok 802 /checksum/SHA256/60 579s ok 803 /checksum/SHA256/61 579s ok 804 /checksum/SHA256/62 579s ok 805 /checksum/SHA256/63 579s ok 806 /checksum/SHA256/64 579s ok 807 /checksum/SHA256/65 579s ok 808 /checksum/SHA256/66 579s ok 809 /checksum/SHA256/67 579s ok 810 /checksum/SHA256/68 579s ok 811 /checksum/SHA256/69 579s ok 812 /checksum/SHA256/70 579s ok 813 /checksum/SHA256/71 579s ok 814 /checksum/SHA256/72 579s ok 815 /checksum/SHA256/73 579s ok 816 /checksum/SHA256/74 579s ok 817 /checksum/SHA256/75 579s ok 818 /checksum/SHA256/76 579s ok 819 /checksum/SHA256/77 579s ok 820 /checksum/SHA256/78 579s ok 821 /checksum/SHA256/79 579s ok 822 /checksum/SHA256/80 579s ok 823 /checksum/SHA256/81 579s ok 824 /checksum/SHA256/82 579s ok 825 /checksum/SHA256/83 579s ok 826 /checksum/SHA256/84 579s ok 827 /checksum/SHA256/85 579s ok 828 /checksum/SHA256/86 579s ok 829 /checksum/SHA256/87 579s ok 830 /checksum/SHA256/88 579s ok 831 /checksum/SHA256/89 579s ok 832 /checksum/SHA256/90 579s ok 833 /checksum/SHA256/91 579s ok 834 /checksum/SHA256/92 579s ok 835 /checksum/SHA256/93 579s ok 836 /checksum/SHA256/94 579s ok 837 /checksum/SHA256/95 579s ok 838 /checksum/SHA256/96 579s ok 839 /checksum/SHA256/97 579s ok 840 /checksum/SHA256/98 579s ok 841 /checksum/SHA256/99 579s ok 842 /checksum/SHA256/100 579s ok 843 /checksum/SHA256/101 579s ok 844 /checksum/SHA256/102 579s ok 845 /checksum/SHA256/103 579s ok 846 /checksum/SHA256/104 579s ok 847 /checksum/SHA256/105 579s ok 848 /checksum/SHA256/106 579s ok 849 /checksum/SHA256/107 579s ok 850 /checksum/SHA256/108 579s ok 851 /checksum/SHA256/109 579s ok 852 /checksum/SHA256/110 579s ok 853 /checksum/SHA256/111 579s ok 854 /checksum/SHA256/112 579s ok 855 /checksum/SHA256/113 579s ok 856 /checksum/SHA256/114 579s ok 857 /checksum/SHA256/115 579s ok 858 /checksum/SHA256/116 579s ok 859 /checksum/SHA256/117 579s ok 860 /checksum/SHA256/118 579s ok 861 /checksum/SHA256/119 579s ok 862 /checksum/SHA256/120 579s ok 863 /checksum/SHA256/121 579s ok 864 /checksum/SHA256/122 579s ok 865 /checksum/SHA256/123 579s ok 866 /checksum/SHA256/124 579s ok 867 /checksum/SHA256/125 579s ok 868 /checksum/SHA256/126 579s ok 869 /checksum/SHA256/127 579s ok 870 /checksum/SHA256/128 579s ok 871 /checksum/SHA256/129 579s ok 872 /checksum/SHA256/130 579s ok 873 /checksum/SHA256/131 579s ok 874 /checksum/SHA256/132 579s ok 875 /checksum/SHA256/133 579s ok 876 /checksum/SHA256/134 579s ok 877 /checksum/SHA256/135 579s ok 878 /checksum/SHA256/136 579s ok 879 /checksum/SHA256/137 579s ok 880 /checksum/SHA256/138 579s ok 881 /checksum/SHA256/139 579s ok 882 /checksum/SHA256/140 579s ok 883 /checksum/SHA256/141 579s ok 884 /checksum/SHA256/142 579s ok 885 /checksum/SHA256/143 579s ok 886 /checksum/SHA256/144 579s ok 887 /checksum/SHA256/145 579s ok 888 /checksum/SHA256/146 579s ok 889 /checksum/SHA256/147 579s ok 890 /checksum/SHA256/148 579s ok 891 /checksum/SHA256/149 579s ok 892 /checksum/SHA256/150 579s ok 893 /checksum/SHA256/151 579s ok 894 /checksum/SHA256/152 579s ok 895 /checksum/SHA256/153 579s ok 896 /checksum/SHA256/154 579s ok 897 /checksum/SHA256/155 579s ok 898 /checksum/SHA256/156 579s ok 899 /checksum/SHA256/157 579s ok 900 /checksum/SHA256/158 579s ok 901 /checksum/SHA256/159 579s ok 902 /checksum/SHA256/160 579s ok 903 /checksum/SHA256/161 579s ok 904 /checksum/SHA256/162 579s ok 905 /checksum/SHA256/163 579s ok 906 /checksum/SHA256/164 579s ok 907 /checksum/SHA256/165 579s ok 908 /checksum/SHA256/166 579s ok 909 /checksum/SHA256/167 579s ok 910 /checksum/SHA256/168 579s ok 911 /checksum/SHA256/169 579s ok 912 /checksum/SHA256/170 579s ok 913 /checksum/SHA256/171 579s ok 914 /checksum/SHA256/172 579s ok 915 /checksum/SHA256/173 579s ok 916 /checksum/SHA256/174 579s ok 917 /checksum/SHA256/175 579s ok 918 /checksum/SHA256/176 579s ok 919 /checksum/SHA256/177 579s ok 920 /checksum/SHA256/178 579s ok 921 /checksum/SHA256/179 579s ok 922 /checksum/SHA256/180 579s ok 923 /checksum/SHA256/181 579s ok 924 /checksum/SHA256/182 579s ok 925 /checksum/SHA256/183 579s ok 926 /checksum/SHA256/string 579s ok 927 /checksum/SHA256/bytes 579s # Start of reset tests 579s ok 928 /checksum/SHA256/reset/0 579s ok 929 /checksum/SHA256/reset/1 579s ok 930 /checksum/SHA256/reset/2 579s ok 931 /checksum/SHA256/reset/3 579s ok 932 /checksum/SHA256/reset/4 579s ok 933 /checksum/SHA256/reset/5 579s ok 934 /checksum/SHA256/reset/6 579s ok 935 /checksum/SHA256/reset/7 579s ok 936 /checksum/SHA256/reset/8 579s ok 937 /checksum/SHA256/reset/9 579s ok 938 /checksum/SHA256/reset/10 579s ok 939 /checksum/SHA256/reset/11 579s ok 940 /checksum/SHA256/reset/12 579s ok 941 /checksum/SHA256/reset/13 579s ok 942 /checksum/SHA256/reset/14 579s ok 943 /checksum/SHA256/reset/15 579s ok 944 /checksum/SHA256/reset/16 579s ok 945 /checksum/SHA256/reset/17 579s ok 946 /checksum/SHA256/reset/18 579s ok 947 /checksum/SHA256/reset/19 579s ok 948 /checksum/SHA256/reset/20 579s ok 949 /checksum/SHA256/reset/21 579s ok 950 /checksum/SHA256/reset/22 579s ok 951 /checksum/SHA256/reset/23 579s ok 952 /checksum/SHA256/reset/24 579s ok 953 /checksum/SHA256/reset/25 579s ok 954 /checksum/SHA256/reset/26 579s ok 955 /checksum/SHA256/reset/27 579s ok 956 /checksum/SHA256/reset/28 579s ok 957 /checksum/SHA256/reset/29 579s ok 958 /checksum/SHA256/reset/30 579s ok 959 /checksum/SHA256/reset/31 579s ok 960 /checksum/SHA256/reset/32 579s ok 961 /checksum/SHA256/reset/33 579s ok 962 /checksum/SHA256/reset/34 579s ok 963 /checksum/SHA256/reset/35 579s ok 964 /checksum/SHA256/reset/36 579s ok 965 /checksum/SHA256/reset/37 579s ok 966 /checksum/SHA256/reset/38 579s ok 967 /checksum/SHA256/reset/39 579s ok 968 /checksum/SHA256/reset/40 579s ok 969 /checksum/SHA256/reset/41 579s ok 970 /checksum/SHA256/reset/42 579s ok 971 /checksum/SHA256/reset/43 579s ok 972 /checksum/SHA256/reset/44 579s ok 973 /checksum/SHA256/reset/45 579s ok 974 /checksum/SHA256/reset/46 579s ok 975 /checksum/SHA256/reset/47 579s ok 976 /checksum/SHA256/reset/48 579s ok 977 /checksum/SHA256/reset/49 579s ok 978 /checksum/SHA256/reset/50 579s ok 979 /checksum/SHA256/reset/51 579s ok 980 /checksum/SHA256/reset/52 579s ok 981 /checksum/SHA256/reset/53 579s ok 982 /checksum/SHA256/reset/54 579s ok 983 /checksum/SHA256/reset/55 579s ok 984 /checksum/SHA256/reset/56 579s ok 985 /checksum/SHA256/reset/57 579s ok 986 /checksum/SHA256/reset/58 579s ok 987 /checksum/SHA256/reset/59 579s ok 988 /checksum/SHA256/reset/60 579s ok 989 /checksum/SHA256/reset/61 579s ok 990 /checksum/SHA256/reset/62 579s ok 991 /checksum/SHA256/reset/63 579s ok 992 /checksum/SHA256/reset/64 579s ok 993 /checksum/SHA256/reset/65 579s ok 994 /checksum/SHA256/reset/66 579s ok 995 /checksum/SHA256/reset/67 579s ok 996 /checksum/SHA256/reset/68 579s ok 997 /checksum/SHA256/reset/69 579s ok 998 /checksum/SHA256/reset/70 579s ok 999 /checksum/SHA256/reset/71 579s ok 1000 /checksum/SHA256/reset/72 579s ok 1001 /checksum/SHA256/reset/73 579s ok 1002 /checksum/SHA256/reset/74 579s ok 1003 /checksum/SHA256/reset/75 579s ok 1004 /checksum/SHA256/reset/76 579s ok 1005 /checksum/SHA256/reset/77 579s ok 1006 /checksum/SHA256/reset/78 579s ok 1007 /checksum/SHA256/reset/79 579s ok 1008 /checksum/SHA256/reset/80 579s ok 1009 /checksum/SHA256/reset/81 579s ok 1010 /checksum/SHA256/reset/82 579s ok 1011 /checksum/SHA256/reset/83 579s ok 1012 /checksum/SHA256/reset/84 579s ok 1013 /checksum/SHA256/reset/85 579s ok 1014 /checksum/SHA256/reset/86 579s ok 1015 /checksum/SHA256/reset/87 579s ok 1016 /checksum/SHA256/reset/88 579s ok 1017 /checksum/SHA256/reset/89 579s ok 1018 /checksum/SHA256/reset/90 579s ok 1019 /checksum/SHA256/reset/91 579s ok 1020 /checksum/SHA256/reset/92 579s ok 1021 /checksum/SHA256/reset/93 579s ok 1022 /checksum/SHA256/reset/94 579s ok 1023 /checksum/SHA256/reset/95 579s ok 1024 /checksum/SHA256/reset/96 579s ok 1025 /checksum/SHA256/reset/97 579s ok 1026 /checksum/SHA256/reset/98 579s ok 1027 /checksum/SHA256/reset/99 579s ok 1028 /checksum/SHA256/reset/100 579s ok 1029 /checksum/SHA256/reset/101 579s ok 1030 /checksum/SHA256/reset/102 579s ok 1031 /checksum/SHA256/reset/103 579s ok 1032 /checksum/SHA256/reset/104 579s ok 1033 /checksum/SHA256/reset/105 579s ok 1034 /checksum/SHA256/reset/106 579s ok 1035 /checksum/SHA256/reset/107 579s ok 1036 /checksum/SHA256/reset/108 579s ok 1037 /checksum/SHA256/reset/109 579s ok 1038 /checksum/SHA256/reset/110 579s ok 1039 /checksum/SHA256/reset/111 579s ok 1040 /checksum/SHA256/reset/112 579s ok 1041 /checksum/SHA256/reset/113 579s ok 1042 /checksum/SHA256/reset/114 579s ok 1043 /checksum/SHA256/reset/115 579s ok 1044 /checksum/SHA256/reset/116 579s ok 1045 /checksum/SHA256/reset/117 579s ok 1046 /checksum/SHA256/reset/118 579s ok 1047 /checksum/SHA256/reset/119 579s ok 1048 /checksum/SHA256/reset/120 579s ok 1049 /checksum/SHA256/reset/121 579s ok 1050 /checksum/SHA256/reset/122 579s ok 1051 /checksum/SHA256/reset/123 579s ok 1052 /checksum/SHA256/reset/124 579s ok 1053 /checksum/SHA256/reset/125 579s ok 1054 /checksum/SHA256/reset/126 579s ok 1055 /checksum/SHA256/reset/127 579s ok 1056 /checksum/SHA256/reset/128 579s ok 1057 /checksum/SHA256/reset/129 579s ok 1058 /checksum/SHA256/reset/130 579s ok 1059 /checksum/SHA256/reset/131 579s ok 1060 /checksum/SHA256/reset/132 579s ok 1061 /checksum/SHA256/reset/133 579s ok 1062 /checksum/SHA256/reset/134 579s ok 1063 /checksum/SHA256/reset/135 579s ok 1064 /checksum/SHA256/reset/136 579s ok 1065 /checksum/SHA256/reset/137 579s ok 1066 /checksum/SHA256/reset/138 579s ok 1067 /checksum/SHA256/reset/139 579s ok 1068 /checksum/SHA256/reset/140 579s ok 1069 /checksum/SHA256/reset/141 579s ok 1070 /checksum/SHA256/reset/142 579s ok 1071 /checksum/SHA256/reset/143 579s ok 1072 /checksum/SHA256/reset/144 579s ok 1073 /checksum/SHA256/reset/145 579s ok 1074 /checksum/SHA256/reset/146 579s ok 1075 /checksum/SHA256/reset/147 579s ok 1076 /checksum/SHA256/reset/148 579s ok 1077 /checksum/SHA256/reset/149 579s ok 1078 /checksum/SHA256/reset/150 579s ok 1079 /checksum/SHA256/reset/151 579s ok 1080 /checksum/SHA256/reset/152 579s ok 1081 /checksum/SHA256/reset/153 579s ok 1082 /checksum/SHA256/reset/154 579s ok 1083 /checksum/SHA256/reset/155 579s ok 1084 /checksum/SHA256/reset/156 579s ok 1085 /checksum/SHA256/reset/157 579s ok 1086 /checksum/SHA256/reset/158 579s ok 1087 /checksum/SHA256/reset/159 579s ok 1088 /checksum/SHA256/reset/160 579s ok 1089 /checksum/SHA256/reset/161 579s ok 1090 /checksum/SHA256/reset/162 579s ok 1091 /checksum/SHA256/reset/163 579s ok 1092 /checksum/SHA256/reset/164 579s ok 1093 /checksum/SHA256/reset/165 579s ok 1094 /checksum/SHA256/reset/166 579s ok 1095 /checksum/SHA256/reset/167 579s ok 1096 /checksum/SHA256/reset/168 579s ok 1097 /checksum/SHA256/reset/169 579s ok 1098 /checksum/SHA256/reset/170 579s ok 1099 /checksum/SHA256/reset/171 579s ok 1100 /checksum/SHA256/reset/172 579s ok 1101 /checksum/SHA256/reset/173 579s ok 1102 /checksum/SHA256/reset/174 579s ok 1103 /checksum/SHA256/reset/175 579s ok 1104 /checksum/SHA256/reset/176 579s ok 1105 /checksum/SHA256/reset/177 579s ok 1106 /checksum/SHA256/reset/178 579s ok 1107 /checksum/SHA256/reset/179 579s ok 1108 /checksum/SHA256/reset/180 579s ok 1109 /checksum/SHA256/reset/181 579s ok 1110 /checksum/SHA256/reset/182 579s ok 1111 /checksum/SHA256/reset/183 579s # End of reset tests 579s # End of SHA256 tests 579s # Start of SHA384 tests 579s ok 1112 /checksum/SHA384/0 579s ok 1113 /checksum/SHA384/1 579s ok 1114 /checksum/SHA384/2 579s ok 1115 /checksum/SHA384/3 579s ok 1116 /checksum/SHA384/4 579s ok 1117 /checksum/SHA384/5 579s ok 1118 /checksum/SHA384/6 579s ok 1119 /checksum/SHA384/7 579s ok 1120 /checksum/SHA384/8 579s ok 1121 /checksum/SHA384/9 579s ok 1122 /checksum/SHA384/10 579s ok 1123 /checksum/SHA384/11 579s ok 1124 /checksum/SHA384/12 579s ok 1125 /checksum/SHA384/13 579s ok 1126 /checksum/SHA384/14 579s ok 1127 /checksum/SHA384/15 579s ok 1128 /checksum/SHA384/16 579s ok 1129 /checksum/SHA384/17 579s ok 1130 /checksum/SHA384/18 579s ok 1131 /checksum/SHA384/19 579s ok 1132 /checksum/SHA384/20 579s ok 1133 /checksum/SHA384/21 579s ok 1134 /checksum/SHA384/22 579s ok 1135 /checksum/SHA384/23 579s ok 1136 /checksum/SHA384/24 579s ok 1137 /checksum/SHA384/25 579s ok 1138 /checksum/SHA384/26 579s ok 1139 /checksum/SHA384/27 579s ok 1140 /checksum/SHA384/28 579s ok 1141 /checksum/SHA384/29 579s ok 1142 /checksum/SHA384/30 579s ok 1143 /checksum/SHA384/31 579s ok 1144 /checksum/SHA384/32 579s ok 1145 /checksum/SHA384/33 579s ok 1146 /checksum/SHA384/34 579s ok 1147 /checksum/SHA384/35 579s ok 1148 /checksum/SHA384/36 579s ok 1149 /checksum/SHA384/37 579s ok 1150 /checksum/SHA384/38 579s ok 1151 /checksum/SHA384/39 579s ok 1152 /checksum/SHA384/40 579s ok 1153 /checksum/SHA384/41 579s ok 1154 /checksum/SHA384/42 579s ok 1155 /checksum/SHA384/43 579s ok 1156 /checksum/SHA384/44 579s ok 1157 /checksum/SHA384/45 579s ok 1158 /checksum/SHA384/46 579s ok 1159 /checksum/SHA384/47 579s ok 1160 /checksum/SHA384/48 579s ok 1161 /checksum/SHA384/49 579s ok 1162 /checksum/SHA384/50 579s ok 1163 /checksum/SHA384/51 579s ok 1164 /checksum/SHA384/52 579s ok 1165 /checksum/SHA384/53 579s ok 1166 /checksum/SHA384/54 579s ok 1167 /checksum/SHA384/55 579s ok 1168 /checksum/SHA384/56 579s ok 1169 /checksum/SHA384/57 579s ok 1170 /checksum/SHA384/58 579s ok 1171 /checksum/SHA384/59 579s ok 1172 /checksum/SHA384/60 579s ok 1173 /checksum/SHA384/61 579s ok 1174 /checksum/SHA384/62 579s ok 1175 /checksum/SHA384/63 579s ok 1176 /checksum/SHA384/64 579s ok 1177 /checksum/SHA384/65 579s ok 1178 /checksum/SHA384/66 579s ok 1179 /checksum/SHA384/67 579s ok 1180 /checksum/SHA384/68 579s ok 1181 /checksum/SHA384/69 579s ok 1182 /checksum/SHA384/70 579s ok 1183 /checksum/SHA384/71 579s ok 1184 /checksum/SHA384/72 579s ok 1185 /checksum/SHA384/73 579s ok 1186 /checksum/SHA384/74 579s ok 1187 /checksum/SHA384/75 579s ok 1188 /checksum/SHA384/76 579s ok 1189 /checksum/SHA384/77 579s ok 1190 /checksum/SHA384/78 579s ok 1191 /checksum/SHA384/79 579s ok 1192 /checksum/SHA384/80 579s ok 1193 /checksum/SHA384/81 579s ok 1194 /checksum/SHA384/82 579s ok 1195 /checksum/SHA384/83 579s ok 1196 /checksum/SHA384/84 579s ok 1197 /checksum/SHA384/85 579s ok 1198 /checksum/SHA384/86 579s ok 1199 /checksum/SHA384/87 579s ok 1200 /checksum/SHA384/88 579s ok 1201 /checksum/SHA384/89 579s ok 1202 /checksum/SHA384/90 579s ok 1203 /checksum/SHA384/91 579s ok 1204 /checksum/SHA384/92 579s ok 1205 /checksum/SHA384/93 579s ok 1206 /checksum/SHA384/94 579s ok 1207 /checksum/SHA384/95 579s ok 1208 /checksum/SHA384/96 579s ok 1209 /checksum/SHA384/97 579s ok 1210 /checksum/SHA384/98 579s ok 1211 /checksum/SHA384/99 579s ok 1212 /checksum/SHA384/100 579s ok 1213 /checksum/SHA384/101 579s ok 1214 /checksum/SHA384/102 579s ok 1215 /checksum/SHA384/103 579s ok 1216 /checksum/SHA384/104 579s ok 1217 /checksum/SHA384/105 579s ok 1218 /checksum/SHA384/106 579s ok 1219 /checksum/SHA384/107 579s ok 1220 /checksum/SHA384/108 579s ok 1221 /checksum/SHA384/109 579s ok 1222 /checksum/SHA384/110 579s ok 1223 /checksum/SHA384/111 579s ok 1224 /checksum/SHA384/112 579s ok 1225 /checksum/SHA384/113 579s ok 1226 /checksum/SHA384/114 579s ok 1227 /checksum/SHA384/115 579s ok 1228 /checksum/SHA384/116 579s ok 1229 /checksum/SHA384/117 579s ok 1230 /checksum/SHA384/118 579s ok 1231 /checksum/SHA384/119 579s ok 1232 /checksum/SHA384/120 579s ok 1233 /checksum/SHA384/121 579s ok 1234 /checksum/SHA384/122 579s ok 1235 /checksum/SHA384/123 579s ok 1236 /checksum/SHA384/124 579s ok 1237 /checksum/SHA384/125 579s ok 1238 /checksum/SHA384/126 579s ok 1239 /checksum/SHA384/127 579s ok 1240 /checksum/SHA384/128 579s ok 1241 /checksum/SHA384/129 579s ok 1242 /checksum/SHA384/130 579s ok 1243 /checksum/SHA384/131 579s ok 1244 /checksum/SHA384/132 579s ok 1245 /checksum/SHA384/133 579s ok 1246 /checksum/SHA384/134 579s ok 1247 /checksum/SHA384/135 579s ok 1248 /checksum/SHA384/136 579s ok 1249 /checksum/SHA384/137 579s ok 1250 /checksum/SHA384/138 579s ok 1251 /checksum/SHA384/139 579s ok 1252 /checksum/SHA384/140 579s ok 1253 /checksum/SHA384/141 579s ok 1254 /checksum/SHA384/142 579s ok 1255 /checksum/SHA384/143 579s ok 1256 /checksum/SHA384/144 579s ok 1257 /checksum/SHA384/145 579s ok 1258 /checksum/SHA384/146 579s ok 1259 /checksum/SHA384/147 579s ok 1260 /checksum/SHA384/148 579s ok 1261 /checksum/SHA384/149 579s ok 1262 /checksum/SHA384/150 579s ok 1263 /checksum/SHA384/151 579s ok 1264 /checksum/SHA384/152 579s ok 1265 /checksum/SHA384/153 579s ok 1266 /checksum/SHA384/154 579s ok 1267 /checksum/SHA384/155 579s ok 1268 /checksum/SHA384/156 579s ok 1269 /checksum/SHA384/157 579s ok 1270 /checksum/SHA384/158 579s ok 1271 /checksum/SHA384/159 579s ok 1272 /checksum/SHA384/160 579s ok 1273 /checksum/SHA384/161 579s ok 1274 /checksum/SHA384/162 579s ok 1275 /checksum/SHA384/163 579s ok 1276 /checksum/SHA384/164 579s ok 1277 /checksum/SHA384/165 579s ok 1278 /checksum/SHA384/166 579s ok 1279 /checksum/SHA384/167 579s ok 1280 /checksum/SHA384/168 579s ok 1281 /checksum/SHA384/169 579s ok 1282 /checksum/SHA384/170 579s ok 1283 /checksum/SHA384/171 579s ok 1284 /checksum/SHA384/172 579s ok 1285 /checksum/SHA384/173 579s ok 1286 /checksum/SHA384/174 579s ok 1287 /checksum/SHA384/175 579s ok 1288 /checksum/SHA384/176 579s ok 1289 /checksum/SHA384/177 579s ok 1290 /checksum/SHA384/178 579s ok 1291 /checksum/SHA384/179 579s ok 1292 /checksum/SHA384/180 579s ok 1293 /checksum/SHA384/181 579s ok 1294 /checksum/SHA384/182 579s ok 1295 /checksum/SHA384/183 579s ok 1296 /checksum/SHA384/string 580s ok 1297 /checksum/SHA384/bytes 580s # Start of reset tests 580s ok 1298 /checksum/SHA384/reset/0 580s ok 1299 /checksum/SHA384/reset/1 580s ok 1300 /checksum/SHA384/reset/2 580s ok 1301 /checksum/SHA384/reset/3 580s ok 1302 /checksum/SHA384/reset/4 580s ok 1303 /checksum/SHA384/reset/5 580s ok 1304 /checksum/SHA384/reset/6 580s ok 1305 /checksum/SHA384/reset/7 580s ok 1306 /checksum/SHA384/reset/8 580s ok 1307 /checksum/SHA384/reset/9 580s ok 1308 /checksum/SHA384/reset/10 580s ok 1309 /checksum/SHA384/reset/11 580s ok 1310 /checksum/SHA384/reset/12 580s ok 1311 /checksum/SHA384/reset/13 580s ok 1312 /checksum/SHA384/reset/14 580s ok 1313 /checksum/SHA384/reset/15 580s ok 1314 /checksum/SHA384/reset/16 580s ok 1315 /checksum/SHA384/reset/17 580s ok 1316 /checksum/SHA384/reset/18 580s ok 1317 /checksum/SHA384/reset/19 580s ok 1318 /checksum/SHA384/reset/20 580s ok 1319 /checksum/SHA384/reset/21 580s ok 1320 /checksum/SHA384/reset/22 580s ok 1321 /checksum/SHA384/reset/23 580s ok 1322 /checksum/SHA384/reset/24 580s ok 1323 /checksum/SHA384/reset/25 580s ok 1324 /checksum/SHA384/reset/26 580s ok 1325 /checksum/SHA384/reset/27 580s ok 1326 /checksum/SHA384/reset/28 580s ok 1327 /checksum/SHA384/reset/29 580s ok 1328 /checksum/SHA384/reset/30 580s ok 1329 /checksum/SHA384/reset/31 580s ok 1330 /checksum/SHA384/reset/32 580s ok 1331 /checksum/SHA384/reset/33 580s ok 1332 /checksum/SHA384/reset/34 580s ok 1333 /checksum/SHA384/reset/35 580s ok 1334 /checksum/SHA384/reset/36 580s ok 1335 /checksum/SHA384/reset/37 580s ok 1336 /checksum/SHA384/reset/38 580s ok 1337 /checksum/SHA384/reset/39 580s ok 1338 /checksum/SHA384/reset/40 580s ok 1339 /checksum/SHA384/reset/41 580s ok 1340 /checksum/SHA384/reset/42 580s ok 1341 /checksum/SHA384/reset/43 580s ok 1342 /checksum/SHA384/reset/44 580s ok 1343 /checksum/SHA384/reset/45 580s ok 1344 /checksum/SHA384/reset/46 580s ok 1345 /checksum/SHA384/reset/47 580s ok 1346 /checksum/SHA384/reset/48 580s ok 1347 /checksum/SHA384/reset/49 580s ok 1348 /checksum/SHA384/reset/50 580s ok 1349 /checksum/SHA384/reset/51 580s ok 1350 /checksum/SHA384/reset/52 580s ok 1351 /checksum/SHA384/reset/53 580s ok 1352 /checksum/SHA384/reset/54 580s ok 1353 /checksum/SHA384/reset/55 580s ok 1354 /checksum/SHA384/reset/56 580s ok 1355 /checksum/SHA384/reset/57 580s ok 1356 /checksum/SHA384/reset/58 580s ok 1357 /checksum/SHA384/reset/59 580s ok 1358 /checksum/SHA384/reset/60 580s ok 1359 /checksum/SHA384/reset/61 580s ok 1360 /checksum/SHA384/reset/62 580s ok 1361 /checksum/SHA384/reset/63 580s ok 1362 /checksum/SHA384/reset/64 580s ok 1363 /checksum/SHA384/reset/65 580s ok 1364 /checksum/SHA384/reset/66 580s ok 1365 /checksum/SHA384/reset/67 580s ok 1366 /checksum/SHA384/reset/68 580s ok 1367 /checksum/SHA384/reset/69 580s ok 1368 /checksum/SHA384/reset/70 580s ok 1369 /checksum/SHA384/reset/71 580s ok 1370 /checksum/SHA384/reset/72 580s ok 1371 /checksum/SHA384/reset/73 580s ok 1372 /checksum/SHA384/reset/74 580s ok 1373 /checksum/SHA384/reset/75 580s ok 1374 /checksum/SHA384/reset/76 580s ok 1375 /checksum/SHA384/reset/77 580s ok 1376 /checksum/SHA384/reset/78 580s ok 1377 /checksum/SHA384/reset/79 580s ok 1378 /checksum/SHA384/reset/80 580s ok 1379 /checksum/SHA384/reset/81 580s ok 1380 /checksum/SHA384/reset/82 580s ok 1381 /checksum/SHA384/reset/83 580s ok 1382 /checksum/SHA384/reset/84 580s ok 1383 /checksum/SHA384/reset/85 580s ok 1384 /checksum/SHA384/reset/86 580s ok 1385 /checksum/SHA384/reset/87 580s ok 1386 /checksum/SHA384/reset/88 580s ok 1387 /checksum/SHA384/reset/89 580s ok 1388 /checksum/SHA384/reset/90 580s ok 1389 /checksum/SHA384/reset/91 580s ok 1390 /checksum/SHA384/reset/92 580s ok 1391 /checksum/SHA384/reset/93 580s ok 1392 /checksum/SHA384/reset/94 580s ok 1393 /checksum/SHA384/reset/95 580s ok 1394 /checksum/SHA384/reset/96 580s ok 1395 /checksum/SHA384/reset/97 580s ok 1396 /checksum/SHA384/reset/98 580s ok 1397 /checksum/SHA384/reset/99 580s ok 1398 /checksum/SHA384/reset/100 580s ok 1399 /checksum/SHA384/reset/101 580s ok 1400 /checksum/SHA384/reset/102 580s ok 1401 /checksum/SHA384/reset/103 580s ok 1402 /checksum/SHA384/reset/104 580s ok 1403 /checksum/SHA384/reset/105 580s ok 1404 /checksum/SHA384/reset/106 580s ok 1405 /checksum/SHA384/reset/107 580s ok 1406 /checksum/SHA384/reset/108 580s ok 1407 /checksum/SHA384/reset/109 580s ok 1408 /checksum/SHA384/reset/110 580s ok 1409 /checksum/SHA384/reset/111 580s ok 1410 /checksum/SHA384/reset/112 580s ok 1411 /checksum/SHA384/reset/113 580s ok 1412 /checksum/SHA384/reset/114 580s ok 1413 /checksum/SHA384/reset/115 580s ok 1414 /checksum/SHA384/reset/116 580s ok 1415 /checksum/SHA384/reset/117 580s ok 1416 /checksum/SHA384/reset/118 580s ok 1417 /checksum/SHA384/reset/119 580s ok 1418 /checksum/SHA384/reset/120 580s ok 1419 /checksum/SHA384/reset/121 580s ok 1420 /checksum/SHA384/reset/122 580s ok 1421 /checksum/SHA384/reset/123 580s ok 1422 /checksum/SHA384/reset/124 580s ok 1423 /checksum/SHA384/reset/125 580s ok 1424 /checksum/SHA384/reset/126 580s ok 1425 /checksum/SHA384/reset/127 580s ok 1426 /checksum/SHA384/reset/128 580s ok 1427 /checksum/SHA384/reset/129 580s ok 1428 /checksum/SHA384/reset/130 580s ok 1429 /checksum/SHA384/reset/131 580s ok 1430 /checksum/SHA384/reset/132 580s ok 1431 /checksum/SHA384/reset/133 580s ok 1432 /checksum/SHA384/reset/134 580s ok 1433 /checksum/SHA384/reset/135 580s ok 1434 /checksum/SHA384/reset/136 580s ok 1435 /checksum/SHA384/reset/137 580s ok 1436 /checksum/SHA384/reset/138 580s ok 1437 /checksum/SHA384/reset/139 580s ok 1438 /checksum/SHA384/reset/140 580s ok 1439 /checksum/SHA384/reset/141 580s ok 1440 /checksum/SHA384/reset/142 580s ok 1441 /checksum/SHA384/reset/143 580s ok 1442 /checksum/SHA384/reset/144 580s ok 1443 /checksum/SHA384/reset/145 580s ok 1444 /checksum/SHA384/reset/146 580s ok 1445 /checksum/SHA384/reset/147 580s ok 1446 /checksum/SHA384/reset/148 580s ok 1447 /checksum/SHA384/reset/149 580s ok 1448 /checksum/SHA384/reset/150 580s ok 1449 /checksum/SHA384/reset/151 580s ok 1450 /checksum/SHA384/reset/152 580s ok 1451 /checksum/SHA384/reset/153 580s ok 1452 /checksum/SHA384/reset/154 580s ok 1453 /checksum/SHA384/reset/155 580s ok 1454 /checksum/SHA384/reset/156 580s ok 1455 /checksum/SHA384/reset/157 580s ok 1456 /checksum/SHA384/reset/158 580s ok 1457 /checksum/SHA384/reset/159 580s ok 1458 /checksum/SHA384/reset/160 580s ok 1459 /checksum/SHA384/reset/161 580s ok 1460 /checksum/SHA384/reset/162 580s ok 1461 /checksum/SHA384/reset/163 580s ok 1462 /checksum/SHA384/reset/164 580s ok 1463 /checksum/SHA384/reset/165 580s ok 1464 /checksum/SHA384/reset/166 580s ok 1465 /checksum/SHA384/reset/167 580s ok 1466 /checksum/SHA384/reset/168 580s ok 1467 /checksum/SHA384/reset/169 580s ok 1468 /checksum/SHA384/reset/170 580s ok 1469 /checksum/SHA384/reset/171 580s ok 1470 /checksum/SHA384/reset/172 580s ok 1471 /checksum/SHA384/reset/173 580s ok 1472 /checksum/SHA384/reset/174 580s ok 1473 /checksum/SHA384/reset/175 580s ok 1474 /checksum/SHA384/reset/176 580s ok 1475 /checksum/SHA384/reset/177 580s ok 1476 /checksum/SHA384/reset/178 580s ok 1477 /checksum/SHA384/reset/179 580s ok 1478 /checksum/SHA384/reset/180 580s ok 1479 /checksum/SHA384/reset/181 580s ok 1480 /checksum/SHA384/reset/182 580s ok 1481 /checksum/SHA384/reset/183 580s # End of reset tests 580s # End of SHA384 tests 580s # Start of SHA512 tests 580s ok 1482 /checksum/SHA512/0 580s ok 1483 /checksum/SHA512/1 580s ok 1484 /checksum/SHA512/2 580s ok 1485 /checksum/SHA512/3 580s ok 1486 /checksum/SHA512/4 580s ok 1487 /checksum/SHA512/5 580s ok 1488 /checksum/SHA512/6 580s ok 1489 /checksum/SHA512/7 580s ok 1490 /checksum/SHA512/8 580s ok 1491 /checksum/SHA512/9 580s ok 1492 /checksum/SHA512/10 580s ok 1493 /checksum/SHA512/11 580s ok 1494 /checksum/SHA512/12 580s ok 1495 /checksum/SHA512/13 580s ok 1496 /checksum/SHA512/14 580s ok 1497 /checksum/SHA512/15 580s ok 1498 /checksum/SHA512/16 580s ok 1499 /checksum/SHA512/17 580s ok 1500 /checksum/SHA512/18 580s ok 1501 /checksum/SHA512/19 580s ok 1502 /checksum/SHA512/20 580s ok 1503 /checksum/SHA512/21 580s ok 1504 /checksum/SHA512/22 580s ok 1505 /checksum/SHA512/23 580s ok 1506 /checksum/SHA512/24 580s ok 1507 /checksum/SHA512/25 580s ok 1508 /checksum/SHA512/26 580s ok 1509 /checksum/SHA512/27 580s ok 1510 /checksum/SHA512/28 580s ok 1511 /checksum/SHA512/29 580s ok 1512 /checksum/SHA512/30 580s ok 1513 /checksum/SHA512/31 580s ok 1514 /checksum/SHA512/32 580s ok 1515 /checksum/SHA512/33 580s ok 1516 /checksum/SHA512/34 580s ok 1517 /checksum/SHA512/35 580s ok 1518 /checksum/SHA512/36 580s ok 1519 /checksum/SHA512/37 580s ok 1520 /checksum/SHA512/38 580s ok 1521 /checksum/SHA512/39 580s ok 1522 /checksum/SHA512/40 580s ok 1523 /checksum/SHA512/41 580s ok 1524 /checksum/SHA512/42 580s ok 1525 /checksum/SHA512/43 580s ok 1526 /checksum/SHA512/44 580s ok 1527 /checksum/SHA512/45 580s ok 1528 /checksum/SHA512/46 580s ok 1529 /checksum/SHA512/47 580s ok 1530 /checksum/SHA512/48 580s ok 1531 /checksum/SHA512/49 580s ok 1532 /checksum/SHA512/50 580s ok 1533 /checksum/SHA512/51 580s ok 1534 /checksum/SHA512/52 580s ok 1535 /checksum/SHA512/53 580s ok 1536 /checksum/SHA512/54 580s ok 1537 /checksum/SHA512/55 580s ok 1538 /checksum/SHA512/56 580s ok 1539 /checksum/SHA512/57 580s ok 1540 /checksum/SHA512/58 580s ok 1541 /checksum/SHA512/59 580s ok 1542 /checksum/SHA512/60 580s ok 1543 /checksum/SHA512/61 580s ok 1544 /checksum/SHA512/62 580s ok 1545 /checksum/SHA512/63 580s ok 1546 /checksum/SHA512/64 580s ok 1547 /checksum/SHA512/65 580s ok 1548 /checksum/SHA512/66 580s ok 1549 /checksum/SHA512/67 580s ok 1550 /checksum/SHA512/68 580s ok 1551 /checksum/SHA512/69 580s ok 1552 /checksum/SHA512/70 580s ok 1553 /checksum/SHA512/71 580s ok 1554 /checksum/SHA512/72 580s ok 1555 /checksum/SHA512/73 580s ok 1556 /checksum/SHA512/74 580s ok 1557 /checksum/SHA512/75 580s ok 1558 /checksum/SHA512/76 580s ok 1559 /checksum/SHA512/77 580s ok 1560 /checksum/SHA512/78 580s ok 1561 /checksum/SHA512/79 580s ok 1562 /checksum/SHA512/80 580s ok 1563 /checksum/SHA512/81 580s ok 1564 /checksum/SHA512/82 580s ok 1565 /checksum/SHA512/83 580s ok 1566 /checksum/SHA512/84 580s ok 1567 /checksum/SHA512/85 580s ok 1568 /checksum/SHA512/86 580s ok 1569 /checksum/SHA512/87 580s ok 1570 /checksum/SHA512/88 580s ok 1571 /checksum/SHA512/89 580s ok 1572 /checksum/SHA512/90 580s ok 1573 /checksum/SHA512/91 580s ok 1574 /checksum/SHA512/92 580s ok 1575 /checksum/SHA512/93 580s ok 1576 /checksum/SHA512/94 580s ok 1577 /checksum/SHA512/95 580s ok 1578 /checksum/SHA512/96 580s ok 1579 /checksum/SHA512/97 580s ok 1580 /checksum/SHA512/98 580s ok 1581 /checksum/SHA512/99 580s ok 1582 /checksum/SHA512/100 580s ok 1583 /checksum/SHA512/101 580s ok 1584 /checksum/SHA512/102 580s ok 1585 /checksum/SHA512/103 580s ok 1586 /checksum/SHA512/104 580s ok 1587 /checksum/SHA512/105 580s ok 1588 /checksum/SHA512/106 580s ok 1589 /checksum/SHA512/107 580s ok 1590 /checksum/SHA512/108 580s ok 1591 /checksum/SHA512/109 580s ok 1592 /checksum/SHA512/110 580s ok 1593 /checksum/SHA512/111 580s ok 1594 /checksum/SHA512/112 580s ok 1595 /checksum/SHA512/113 580s ok 1596 /checksum/SHA512/114 580s ok 1597 /checksum/SHA512/115 580s ok 1598 /checksum/SHA512/116 580s ok 1599 /checksum/SHA512/117 580s ok 1600 /checksum/SHA512/118 580s ok 1601 /checksum/SHA512/119 580s ok 1602 /checksum/SHA512/120 580s ok 1603 /checksum/SHA512/121 580s ok 1604 /checksum/SHA512/122 580s ok 1605 /checksum/SHA512/123 580s ok 1606 /checksum/SHA512/124 580s ok 1607 /checksum/SHA512/125 580s ok 1608 /checksum/SHA512/126 580s ok 1609 /checksum/SHA512/127 580s ok 1610 /checksum/SHA512/128 580s ok 1611 /checksum/SHA512/129 580s ok 1612 /checksum/SHA512/130 580s ok 1613 /checksum/SHA512/131 580s ok 1614 /checksum/SHA512/132 580s ok 1615 /checksum/SHA512/133 580s ok 1616 /checksum/SHA512/134 580s ok 1617 /checksum/SHA512/135 580s ok 1618 /checksum/SHA512/136 580s ok 1619 /checksum/SHA512/137 580s ok 1620 /checksum/SHA512/138 580s ok 1621 /checksum/SHA512/139 580s ok 1622 /checksum/SHA512/140 580s ok 1623 /checksum/SHA512/141 580s ok 1624 /checksum/SHA512/142 580s ok 1625 /checksum/SHA512/143 580s ok 1626 /checksum/SHA512/144 580s ok 1627 /checksum/SHA512/145 580s ok 1628 /checksum/SHA512/146 580s ok 1629 /checksum/SHA512/147 580s ok 1630 /checksum/SHA512/148 580s ok 1631 /checksum/SHA512/149 580s ok 1632 /checksum/SHA512/150 580s ok 1633 /checksum/SHA512/151 580s ok 1634 /checksum/SHA512/152 580s ok 1635 /checksum/SHA512/153 580s ok 1636 /checksum/SHA512/154 580s ok 1637 /checksum/SHA512/155 580s ok 1638 /checksum/SHA512/156 580s ok 1639 /checksum/SHA512/157 580s ok 1640 /checksum/SHA512/158 580s ok 1641 /checksum/SHA512/159 580s ok 1642 /checksum/SHA512/160 580s ok 1643 /checksum/SHA512/161 580s ok 1644 /checksum/SHA512/162 580s ok 1645 /checksum/SHA512/163 580s ok 1646 /checksum/SHA512/164 580s ok 1647 /checksum/SHA512/165 580s ok 1648 /checksum/SHA512/166 580s ok 1649 /checksum/SHA512/167 580s ok 1650 /checksum/SHA512/168 580s ok 1651 /checksum/SHA512/169 580s ok 1652 /checksum/SHA512/170 580s ok 1653 /checksum/SHA512/171 580s ok 1654 /checksum/SHA512/172 580s ok 1655 /checksum/SHA512/173 580s ok 1656 /checksum/SHA512/174 580s ok 1657 /checksum/SHA512/175 580s ok 1658 /checksum/SHA512/176 580s ok 1659 /checksum/SHA512/177 580s ok 1660 /checksum/SHA512/178 580s ok 1661 /checksum/SHA512/179 580s ok 1662 /checksum/SHA512/180 580s ok 1663 /checksum/SHA512/181 580s ok 1664 /checksum/SHA512/182 580s ok 1665 /checksum/SHA512/183 580s ok 1666 /checksum/SHA512/string 580s ok 1667 /checksum/SHA512/bytes 580s # Start of reset tests 580s ok 1668 /checksum/SHA512/reset/0 580s ok 1669 /checksum/SHA512/reset/1 580s ok 1670 /checksum/SHA512/reset/2 580s ok 1671 /checksum/SHA512/reset/3 580s ok 1672 /checksum/SHA512/reset/4 580s ok 1673 /checksum/SHA512/reset/5 580s ok 1674 /checksum/SHA512/reset/6 580s ok 1675 /checksum/SHA512/reset/7 580s ok 1676 /checksum/SHA512/reset/8 580s ok 1677 /checksum/SHA512/reset/9 580s ok 1678 /checksum/SHA512/reset/10 580s ok 1679 /checksum/SHA512/reset/11 580s ok 1680 /checksum/SHA512/reset/12 580s ok 1681 /checksum/SHA512/reset/13 580s ok 1682 /checksum/SHA512/reset/14 580s ok 1683 /checksum/SHA512/reset/15 580s ok 1684 /checksum/SHA512/reset/16 580s ok 1685 /checksum/SHA512/reset/17 580s ok 1686 /checksum/SHA512/reset/18 580s ok 1687 /checksum/SHA512/reset/19 580s ok 1688 /checksum/SHA512/reset/20 580s ok 1689 /checksum/SHA512/reset/21 580s ok 1690 /checksum/SHA512/reset/22 580s ok 1691 /checksum/SHA512/reset/23 580s ok 1692 /checksum/SHA512/reset/24 580s ok 1693 /checksum/SHA512/reset/25 580s ok 1694 /checksum/SHA512/reset/26 580s ok 1695 /checksum/SHA512/reset/27 580s ok 1696 /checksum/SHA512/reset/28 580s ok 1697 /checksum/SHA512/reset/29 580s ok 1698 /checksum/SHA512/reset/30 580s ok 1699 /checksum/SHA512/reset/31 580s ok 1700 /checksum/SHA512/reset/32 580s ok 1701 /checksum/SHA512/reset/33 580s ok 1702 /checksum/SHA512/reset/34 580s ok 1703 /checksum/SHA512/reset/35 580s ok 1704 /checksum/SHA512/reset/36 580s ok 1705 /checksum/SHA512/reset/37 580s ok 1706 /checksum/SHA512/reset/38 580s ok 1707 /checksum/SHA512/reset/39 580s ok 1708 /checksum/SHA512/reset/40 580s ok 1709 /checksum/SHA512/reset/41 580s ok 1710 /checksum/SHA512/reset/42 580s ok 1711 /checksum/SHA512/reset/43 580s ok 1712 /checksum/SHA512/reset/44 580s ok 1713 /checksum/SHA512/reset/45 580s ok 1714 /checksum/SHA512/reset/46 580s ok 1715 /checksum/SHA512/reset/47 580s ok 1716 /checksum/SHA512/reset/48 580s ok 1717 /checksum/SHA512/reset/49 580s ok 1718 /checksum/SHA512/reset/50 580s ok 1719 /checksum/SHA512/reset/51 580s ok 1720 /checksum/SHA512/reset/52 580s ok 1721 /checksum/SHA512/reset/53 580s ok 1722 /checksum/SHA512/reset/54 580s ok 1723 /checksum/SHA512/reset/55 580s ok 1724 /checksum/SHA512/reset/56 580s ok 1725 /checksum/SHA512/reset/57 580s ok 1726 /checksum/SHA512/reset/58 580s ok 1727 /checksum/SHA512/reset/59 580s ok 1728 /checksum/SHA512/reset/60 580s ok 1729 /checksum/SHA512/reset/61 580s ok 1730 /checksum/SHA512/reset/62 580s ok 1731 /checksum/SHA512/reset/63 580s ok 1732 /checksum/SHA512/reset/64 580s ok 1733 /checksum/SHA512/reset/65 580s ok 1734 /checksum/SHA512/reset/66 580s ok 1735 /checksum/SHA512/reset/67 580s ok 1736 /checksum/SHA512/reset/68 580s ok 1737 /checksum/SHA512/reset/69 580s ok 1738 /checksum/SHA512/reset/70 580s ok 1739 /checksum/SHA512/reset/71 580s ok 1740 /checksum/SHA512/reset/72 580s ok 1741 /checksum/SHA512/reset/73 580s ok 1742 /checksum/SHA512/reset/74 580s ok 1743 /checksum/SHA512/reset/75 580s ok 1744 /checksum/SHA512/reset/76 580s ok 1745 /checksum/SHA512/reset/77 580s ok 1746 /checksum/SHA512/reset/78 580s ok 1747 /checksum/SHA512/reset/79 580s ok 1748 /checksum/SHA512/reset/80 580s ok 1749 /checksum/SHA512/reset/81 580s ok 1750 /checksum/SHA512/reset/82 580s ok 1751 /checksum/SHA512/reset/83 580s ok 1752 /checksum/SHA512/reset/84 580s ok 1753 /checksum/SHA512/reset/85 580s ok 1754 /checksum/SHA512/reset/86 580s ok 1755 /checksum/SHA512/reset/87 580s ok 1756 /checksum/SHA512/reset/88 580s ok 1757 /checksum/SHA512/reset/89 580s ok 1758 /checksum/SHA512/reset/90 580s ok 1759 /checksum/SHA512/reset/91 580s ok 1760 /checksum/SHA512/reset/92 580s ok 1761 /checksum/SHA512/reset/93 580s ok 1762 /checksum/SHA512/reset/94 580s ok 1763 /checksum/SHA512/reset/95 580s ok 1764 /checksum/SHA512/reset/96 580s ok 1765 /checksum/SHA512/reset/97 580s ok 1766 /checksum/SHA512/reset/98 580s ok 1767 /checksum/SHA512/reset/99 580s ok 1768 /checksum/SHA512/reset/100 580s ok 1769 /checksum/SHA512/reset/101 580s ok 1770 /checksum/SHA512/reset/102 580s ok 1771 /checksum/SHA512/reset/103 580s ok 1772 /checksum/SHA512/reset/104 580s ok 1773 /checksum/SHA512/reset/105 580s ok 1774 /checksum/SHA512/reset/106 580s ok 1775 /checksum/SHA512/reset/107 580s ok 1776 /checksum/SHA512/reset/108 580s ok 1777 /checksum/SHA512/reset/109 580s ok 1778 /checksum/SHA512/reset/110 580s ok 1779 /checksum/SHA512/reset/111 580s ok 1780 /checksum/SHA512/reset/112 580s ok 1781 /checksum/SHA512/reset/113 580s ok 1782 /checksum/SHA512/reset/114 580s ok 1783 /checksum/SHA512/reset/115 580s ok 1784 /checksum/SHA512/reset/116 580s ok 1785 /checksum/SHA512/reset/117 580s ok 1786 /checksum/SHA512/reset/118 580s ok 1787 /checksum/SHA512/reset/119 580s ok 1788 /checksum/SHA512/reset/120 580s ok 1789 /checksum/SHA512/reset/121 580s ok 1790 /checksum/SHA512/reset/122 580s ok 1791 /checksum/SHA512/reset/123 580s ok 1792 /checksum/SHA512/reset/124 580s ok 1793 /checksum/SHA512/reset/125 580s ok 1794 /checksum/SHA512/reset/126 580s ok 1795 /checksum/SHA512/reset/127 580s ok 1796 /checksum/SHA512/reset/128 580s ok 1797 /checksum/SHA512/reset/129 580s ok 1798 /checksum/SHA512/reset/130 580s ok 1799 /checksum/SHA512/reset/131 580s ok 1800 /checksum/SHA512/reset/132 580s ok 1801 /checksum/SHA512/reset/133 580s ok 1802 /checksum/SHA512/reset/134 580s ok 1803 /checksum/SHA512/reset/135 580s ok 1804 /checksum/SHA512/reset/136 580s ok 1805 /checksum/SHA512/reset/137 580s ok 1806 /checksum/SHA512/reset/138 580s ok 1807 /checksum/SHA512/reset/139 580s ok 1808 /checksum/SHA512/reset/140 580s ok 1809 /checksum/SHA512/reset/141 580s ok 1810 /checksum/SHA512/reset/142 580s ok 1811 /checksum/SHA512/reset/143 580s ok 1812 /checksum/SHA512/reset/144 580s ok 1813 /checksum/SHA512/reset/145 580s ok 1814 /checksum/SHA512/reset/146 580s ok 1815 /checksum/SHA512/reset/147 580s ok 1816 /checksum/SHA512/reset/148 580s ok 1817 /checksum/SHA512/reset/149 580s ok 1818 /checksum/SHA512/reset/150 580s ok 1819 /checksum/SHA512/reset/151 580s ok 1820 /checksum/SHA512/reset/152 580s ok 1821 /checksum/SHA512/reset/153 580s ok 1822 /checksum/SHA512/reset/154 580s ok 1823 /checksum/SHA512/reset/155 580s ok 1824 /checksum/SHA512/reset/156 580s ok 1825 /checksum/SHA512/reset/157 580s ok 1826 /checksum/SHA512/reset/158 580s ok 1827 /checksum/SHA512/reset/159 580s ok 1828 /checksum/SHA512/reset/160 580s ok 1829 /checksum/SHA512/reset/161 580s ok 1830 /checksum/SHA512/reset/162 580s ok 1831 /checksum/SHA512/reset/163 580s ok 1832 /checksum/SHA512/reset/164 580s ok 1833 /checksum/SHA512/reset/165 580s ok 1834 /checksum/SHA512/reset/166 580s ok 1835 /checksum/SHA512/reset/167 580s ok 1836 /checksum/SHA512/reset/168 580s ok 1837 /checksum/SHA512/reset/169 580s ok 1838 /checksum/SHA512/reset/170 580s ok 1839 /checksum/SHA512/reset/171 580s ok 1840 /checksum/SHA512/reset/172 580s ok 1841 /checksum/SHA512/reset/173 580s ok 1842 /checksum/SHA512/reset/174 580s ok 1843 /checksum/SHA512/reset/175 580s ok 1844 /checksum/SHA512/reset/176 580s ok 1845 /checksum/SHA512/reset/177 580s ok 1846 /checksum/SHA512/reset/178 580s ok 1847 /checksum/SHA512/reset/179 580s ok 1848 /checksum/SHA512/reset/180 580s ok 1849 /checksum/SHA512/reset/181 580s ok 1850 /checksum/SHA512/reset/182 580s ok 1851 /checksum/SHA512/reset/183 580s # End of reset tests 580s # End of SHA512 tests 580s # End of checksum tests 580s ok - glib/checksum.test 580s # Running test: glib/glistmodel.test 580s TAP version 13 580s # random seed: R02S2d7fc99e1225830111356bcf7816f828 580s 1..18 580s # Start of glistmodel tests 580s # Start of store tests 580s ok 1 /glistmodel/store/properties 580s ok 2 /glistmodel/store/non-gobjects 580s ok 3 /glistmodel/store/boundaries 580s ok 4 /glistmodel/store/refcounts 580s ok 5 /glistmodel/store/sorted 580s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 580s ok 6 /glistmodel/store/splice-replace-middle 580s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 580s ok 7 /glistmodel/store/splice-replace-all 580s ok 8 /glistmodel/store/splice-noop 580s ok 9 /glistmodel/store/splice-remove-multiple 580s ok 10 /glistmodel/store/splice-add-multiple 580s ok 11 /glistmodel/store/splice-wrong-type 580s ok 12 /glistmodel/store/item-type 580s ok 13 /glistmodel/store/remove-all 580s ok 14 /glistmodel/store/sort 580s ok 15 /glistmodel/store/get-item-cache 580s ok 16 /glistmodel/store/items-changed 580s ok 17 /glistmodel/store/past-end 580s ok 18 /glistmodel/store/find 580s # End of store tests 580s # End of glistmodel tests 580s ok - glib/glistmodel.test 580s # Running test: glib/bookmarkfile.test 580s TAP version 13 580s # random seed: R02S248b4c17e6958152d9d6bc8a34440364 580s 1..96 580s # Start of bookmarks tests 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/load-from-data-dirs/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/load-from-data-dirs/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/load-from-data-dirs/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/load-from-data-dirs/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/load-from-data-dirs/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/load-from-data-dirs/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/load-from-data-dirs/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/load-from-data-dirs/.dirs/runtime 580s ok 1 /bookmarks/load-from-data-dirs 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/to-file/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/to-file/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/to-file/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/to-file/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/to-file/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/to-file/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/to-file/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/to-file/.dirs/runtime 580s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_XORIK2/bookmarkfile-test-DXWIK2.xbel 580s # Roundtrip from a valid bookmark file 580s ok 2 /bookmarks/to-file 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/move-item/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/move-item/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/move-item/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/move-item/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/move-item/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/move-item/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/move-item/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/move-item/.dirs/runtime 580s ok 3 /bookmarks/move-item 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/corner-cases/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/corner-cases/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/corner-cases/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/corner-cases/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/corner-cases/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/corner-cases/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/corner-cases/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/corner-cases/.dirs/runtime 580s ok 4 /bookmarks/corner-cases 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/misc/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/misc/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/misc/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/misc/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/misc/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/misc/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/misc/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/misc/.dirs/runtime 580s ok 5 /bookmarks/misc 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/deprecated/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/deprecated/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/deprecated/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/deprecated/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/deprecated/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/deprecated/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/deprecated/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/deprecated/.dirs/runtime 580s ok 6 /bookmarks/deprecated 580s # Start of parse tests 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-27.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-27.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-27.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-27.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-27.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-27.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-27.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-27.xbel/.dirs/runtime 580s ok 7 /bookmarks/parse/fail-27.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-33.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-33.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-33.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-33.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-33.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-33.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-33.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-33.xbel/.dirs/runtime 580s ok 8 /bookmarks/parse/fail-33.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-06.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-06.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-06.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-06.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-06.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-06.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-06.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-06.xbel/.dirs/runtime 580s ok 9 /bookmarks/parse/fail-06.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-38.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-38.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-38.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-38.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-38.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-38.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-38.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-38.xbel/.dirs/runtime 580s ok 10 /bookmarks/parse/fail-38.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-04.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-04.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-04.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-04.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-04.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-04.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-04.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-04.xbel/.dirs/runtime 580s ok 11 /bookmarks/parse/fail-04.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-21.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-21.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-21.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-21.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-21.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-21.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-21.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-21.xbel/.dirs/runtime 580s ok 12 /bookmarks/parse/fail-21.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/valid-02.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/valid-02.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/valid-02.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/valid-02.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/valid-02.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/valid-02.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/valid-02.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/valid-02.xbel/.dirs/runtime 580s ok 13 /bookmarks/parse/valid-02.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-39.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-39.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-39.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-39.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-39.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-39.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-39.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-39.xbel/.dirs/runtime 580s ok 14 /bookmarks/parse/fail-39.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-42.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-42.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-42.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-42.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-42.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-42.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-42.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-42.xbel/.dirs/runtime 580s ok 15 /bookmarks/parse/fail-42.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-02.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-02.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-02.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-02.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-02.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-02.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-02.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-02.xbel/.dirs/runtime 580s ok 16 /bookmarks/parse/fail-02.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-24.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-24.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-24.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-24.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-24.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-24.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-24.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-24.xbel/.dirs/runtime 580s ok 17 /bookmarks/parse/fail-24.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-28.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-28.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-28.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-28.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-28.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-28.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-28.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-28.xbel/.dirs/runtime 580s ok 18 /bookmarks/parse/fail-28.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-08.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-08.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-08.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-08.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-08.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-08.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-08.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-08.xbel/.dirs/runtime 580s ok 19 /bookmarks/parse/fail-08.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-22.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-22.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-22.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-22.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-22.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-22.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-22.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-22.xbel/.dirs/runtime 580s ok 20 /bookmarks/parse/fail-22.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-29.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-29.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-29.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-29.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-29.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-29.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-29.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-29.xbel/.dirs/runtime 580s ok 21 /bookmarks/parse/fail-29.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-13.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-13.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-13.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-13.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-13.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-13.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-13.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-13.xbel/.dirs/runtime 580s ok 22 /bookmarks/parse/fail-13.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-03.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-03.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-03.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-03.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-03.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-03.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-03.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-03.xbel/.dirs/runtime 580s ok 23 /bookmarks/parse/fail-03.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-30.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-30.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-30.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-30.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-30.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-30.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-30.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-30.xbel/.dirs/runtime 580s ok 24 /bookmarks/parse/fail-30.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-05.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-05.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-05.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-05.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-05.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-05.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-05.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-05.xbel/.dirs/runtime 580s ok 25 /bookmarks/parse/fail-05.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-17.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-17.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-17.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-17.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-17.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-17.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-17.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-17.xbel/.dirs/runtime 580s ok 26 /bookmarks/parse/fail-17.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-14.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-14.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-14.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-14.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-14.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-14.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-14.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-14.xbel/.dirs/runtime 580s ok 27 /bookmarks/parse/fail-14.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-15.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-15.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-15.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-15.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-15.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-15.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-15.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-15.xbel/.dirs/runtime 580s ok 28 /bookmarks/parse/fail-15.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-35.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-35.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-35.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-35.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-35.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-35.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-35.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-35.xbel/.dirs/runtime 580s ok 29 /bookmarks/parse/fail-35.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-41.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-41.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-41.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-41.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-41.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-41.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-41.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-41.xbel/.dirs/runtime 580s ok 30 /bookmarks/parse/fail-41.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-36.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-36.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-36.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-36.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-36.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-36.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-36.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-36.xbel/.dirs/runtime 580s ok 31 /bookmarks/parse/fail-36.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-11.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-11.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-11.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-11.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-11.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-11.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-11.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-11.xbel/.dirs/runtime 580s ok 32 /bookmarks/parse/fail-11.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-07.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-07.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-07.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-07.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-07.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-07.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-07.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-07.xbel/.dirs/runtime 580s ok 33 /bookmarks/parse/fail-07.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-25.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-25.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-25.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-25.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-25.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-25.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-25.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-25.xbel/.dirs/runtime 580s ok 34 /bookmarks/parse/fail-25.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-10.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-10.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-10.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-10.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-10.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-10.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-10.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-10.xbel/.dirs/runtime 580s ok 35 /bookmarks/parse/fail-10.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-19.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-19.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-19.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-19.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-19.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-19.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-19.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-19.xbel/.dirs/runtime 580s ok 36 /bookmarks/parse/fail-19.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-34.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-34.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-34.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-34.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-34.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-34.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-34.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-34.xbel/.dirs/runtime 580s ok 37 /bookmarks/parse/fail-34.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-20.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-20.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-20.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-20.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-20.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-20.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-20.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-20.xbel/.dirs/runtime 580s ok 38 /bookmarks/parse/fail-20.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-09.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-09.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-09.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-09.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-09.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-09.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-09.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-09.xbel/.dirs/runtime 580s ok 39 /bookmarks/parse/fail-09.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-23.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-23.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-23.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-23.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-23.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-23.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-23.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-23.xbel/.dirs/runtime 580s ok 40 /bookmarks/parse/fail-23.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-40.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-40.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-40.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-40.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-40.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-40.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-40.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-40.xbel/.dirs/runtime 580s ok 41 /bookmarks/parse/fail-40.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/valid-01.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/valid-01.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/valid-01.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/valid-01.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/valid-01.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/valid-01.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/valid-01.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/valid-01.xbel/.dirs/runtime 580s ok 42 /bookmarks/parse/valid-01.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/valid-03.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/valid-03.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/valid-03.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/valid-03.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/valid-03.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/valid-03.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/valid-03.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/valid-03.xbel/.dirs/runtime 580s ok 43 /bookmarks/parse/valid-03.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-26.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-26.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-26.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-26.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-26.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-26.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-26.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-26.xbel/.dirs/runtime 580s ok 44 /bookmarks/parse/fail-26.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-01.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-01.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-01.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-01.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-01.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-01.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-01.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-01.xbel/.dirs/runtime 580s ok 45 /bookmarks/parse/fail-01.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-32.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-32.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-32.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-32.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-32.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-32.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-32.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-32.xbel/.dirs/runtime 580s ok 46 /bookmarks/parse/fail-32.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-16.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-16.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-16.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-16.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-16.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-16.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-16.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-16.xbel/.dirs/runtime 580s ok 47 /bookmarks/parse/fail-16.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-31.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-31.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-31.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-31.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-31.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-31.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-31.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-31.xbel/.dirs/runtime 580s ok 48 /bookmarks/parse/fail-31.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-12.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-12.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-12.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-12.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-12.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-12.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-12.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-12.xbel/.dirs/runtime 580s ok 49 /bookmarks/parse/fail-12.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-37.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-37.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-37.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-37.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-37.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-37.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-37.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-37.xbel/.dirs/runtime 580s ok 50 /bookmarks/parse/fail-37.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-18.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-18.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-18.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-18.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-18.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-18.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-18.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/parse/fail-18.xbel/.dirs/runtime 580s ok 51 /bookmarks/parse/fail-18.xbel 580s # End of parse tests 580s # Start of copy tests 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-27.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-27.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-27.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-27.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-27.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-27.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-27.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-27.xbel/.dirs/runtime 580s ok 52 /bookmarks/copy/fail-27.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-33.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-33.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-33.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-33.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-33.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-33.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-33.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-33.xbel/.dirs/runtime 580s ok 53 /bookmarks/copy/fail-33.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-06.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-06.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-06.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-06.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-06.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-06.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-06.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-06.xbel/.dirs/runtime 580s ok 54 /bookmarks/copy/fail-06.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-38.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-38.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-38.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-38.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-38.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-38.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-38.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-38.xbel/.dirs/runtime 580s ok 55 /bookmarks/copy/fail-38.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-04.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-04.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-04.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-04.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-04.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-04.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-04.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-04.xbel/.dirs/runtime 580s ok 56 /bookmarks/copy/fail-04.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-21.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-21.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-21.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-21.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-21.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-21.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-21.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-21.xbel/.dirs/runtime 580s ok 57 /bookmarks/copy/fail-21.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/valid-02.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/valid-02.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/valid-02.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/valid-02.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/valid-02.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/valid-02.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/valid-02.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/valid-02.xbel/.dirs/runtime 580s ok 58 /bookmarks/copy/valid-02.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-39.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-39.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-39.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-39.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-39.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-39.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-39.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-39.xbel/.dirs/runtime 580s ok 59 /bookmarks/copy/fail-39.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-42.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-42.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-42.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-42.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-42.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-42.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-42.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-42.xbel/.dirs/runtime 580s ok 60 /bookmarks/copy/fail-42.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-02.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-02.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-02.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-02.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-02.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-02.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-02.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-02.xbel/.dirs/runtime 580s ok 61 /bookmarks/copy/fail-02.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-24.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-24.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-24.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-24.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-24.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-24.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-24.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-24.xbel/.dirs/runtime 580s ok 62 /bookmarks/copy/fail-24.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-28.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-28.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-28.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-28.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-28.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-28.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-28.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-28.xbel/.dirs/runtime 580s ok 63 /bookmarks/copy/fail-28.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-08.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-08.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-08.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-08.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-08.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-08.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-08.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-08.xbel/.dirs/runtime 580s ok 64 /bookmarks/copy/fail-08.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-22.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-22.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-22.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-22.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-22.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-22.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-22.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-22.xbel/.dirs/runtime 580s ok 65 /bookmarks/copy/fail-22.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-29.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-29.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-29.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-29.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-29.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-29.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-29.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-29.xbel/.dirs/runtime 580s ok 66 /bookmarks/copy/fail-29.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-13.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-13.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-13.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-13.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-13.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-13.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-13.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-13.xbel/.dirs/runtime 580s ok 67 /bookmarks/copy/fail-13.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-03.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-03.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-03.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-03.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-03.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-03.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-03.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-03.xbel/.dirs/runtime 580s ok 68 /bookmarks/copy/fail-03.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-30.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-30.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-30.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-30.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-30.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-30.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-30.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-30.xbel/.dirs/runtime 580s ok 69 /bookmarks/copy/fail-30.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-05.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-05.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-05.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-05.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-05.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-05.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-05.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-05.xbel/.dirs/runtime 580s ok 70 /bookmarks/copy/fail-05.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-17.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-17.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-17.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-17.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-17.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-17.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-17.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-17.xbel/.dirs/runtime 580s ok 71 /bookmarks/copy/fail-17.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-14.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-14.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-14.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-14.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-14.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-14.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-14.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-14.xbel/.dirs/runtime 580s ok 72 /bookmarks/copy/fail-14.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-15.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-15.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-15.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-15.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-15.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-15.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-15.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-15.xbel/.dirs/runtime 580s ok 73 /bookmarks/copy/fail-15.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-35.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-35.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-35.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-35.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-35.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-35.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-35.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-35.xbel/.dirs/runtime 580s ok 74 /bookmarks/copy/fail-35.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-41.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-41.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-41.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-41.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-41.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-41.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-41.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-41.xbel/.dirs/runtime 580s ok 75 /bookmarks/copy/fail-41.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-36.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-36.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-36.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-36.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-36.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-36.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-36.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-36.xbel/.dirs/runtime 580s ok 76 /bookmarks/copy/fail-36.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-11.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-11.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-11.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-11.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-11.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-11.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-11.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-11.xbel/.dirs/runtime 580s ok 77 /bookmarks/copy/fail-11.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-07.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-07.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-07.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-07.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-07.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-07.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-07.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-07.xbel/.dirs/runtime 580s ok 78 /bookmarks/copy/fail-07.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-25.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-25.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-25.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-25.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-25.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-25.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-25.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-25.xbel/.dirs/runtime 580s ok 79 /bookmarks/copy/fail-25.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-10.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-10.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-10.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-10.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-10.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-10.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-10.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-10.xbel/.dirs/runtime 580s ok 80 /bookmarks/copy/fail-10.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-19.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-19.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-19.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-19.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-19.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-19.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-19.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-19.xbel/.dirs/runtime 580s ok 81 /bookmarks/copy/fail-19.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-34.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-34.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-34.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-34.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-34.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-34.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-34.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-34.xbel/.dirs/runtime 580s ok 82 /bookmarks/copy/fail-34.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-20.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-20.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-20.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-20.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-20.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-20.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-20.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-20.xbel/.dirs/runtime 580s ok 83 /bookmarks/copy/fail-20.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-09.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-09.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-09.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-09.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-09.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-09.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-09.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-09.xbel/.dirs/runtime 580s ok 84 /bookmarks/copy/fail-09.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-23.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-23.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-23.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-23.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-23.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-23.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-23.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-23.xbel/.dirs/runtime 580s ok 85 /bookmarks/copy/fail-23.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-40.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-40.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-40.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-40.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-40.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-40.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-40.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-40.xbel/.dirs/runtime 580s ok 86 /bookmarks/copy/fail-40.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/valid-01.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/valid-01.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/valid-01.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/valid-01.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/valid-01.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/valid-01.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/valid-01.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/valid-01.xbel/.dirs/runtime 580s ok 87 /bookmarks/copy/valid-01.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/valid-03.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/valid-03.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/valid-03.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/valid-03.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/valid-03.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/valid-03.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/valid-03.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/valid-03.xbel/.dirs/runtime 580s ok 88 /bookmarks/copy/valid-03.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-26.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-26.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-26.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-26.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-26.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-26.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-26.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-26.xbel/.dirs/runtime 580s ok 89 /bookmarks/copy/fail-26.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-01.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-01.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-01.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-01.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-01.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-01.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-01.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-01.xbel/.dirs/runtime 580s ok 90 /bookmarks/copy/fail-01.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-32.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-32.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-32.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-32.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-32.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-32.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-32.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-32.xbel/.dirs/runtime 580s ok 91 /bookmarks/copy/fail-32.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-16.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-16.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-16.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-16.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-16.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-16.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-16.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-16.xbel/.dirs/runtime 580s ok 92 /bookmarks/copy/fail-16.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-31.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-31.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-31.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-31.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-31.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-31.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-31.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-31.xbel/.dirs/runtime 580s ok 93 /bookmarks/copy/fail-31.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-12.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-12.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-12.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-12.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-12.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-12.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-12.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-12.xbel/.dirs/runtime 580s ok 94 /bookmarks/copy/fail-12.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-37.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-37.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-37.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-37.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-37.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-37.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-37.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-37.xbel/.dirs/runtime 580s ok 95 /bookmarks/copy/fail-37.xbel 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-18.xbel/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-18.xbel/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-18.xbel/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-18.xbel/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-18.xbel/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-18.xbel/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-18.xbel/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_XORIK2/bookmarks/copy/fail-18.xbel/.dirs/runtime 580s ok 96 /bookmarks/copy/fail-18.xbel 580s # End of copy tests 580s # End of bookmarks tests 580s ok - glib/bookmarkfile.test 580s # Running test: glib/gdbus-non-socket.test 580s TAP version 13 580s # random seed: R02S8daeb8bdd0fc76e6e7f4af99f15d2097 580s 1..1 580s # Start of gdbus tests 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_SKQJK2/gdbus/non-socket/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_SKQJK2/gdbus/non-socket/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_SKQJK2/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_SKQJK2/gdbus/non-socket/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_SKQJK2/gdbus/non-socket/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_SKQJK2/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_SKQJK2/gdbus/non-socket/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_SKQJK2/gdbus/non-socket/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_SKQJK2/gdbus/non-socket/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_SKQJK2/gdbus/non-socket/.dirs/runtime 580s ok 1 /gdbus/non-socket 580s # End of gdbus tests 580s ok - glib/gdbus-non-socket.test 580s # Running test: glib/mimeapps.test 580s TAP version 13 580s # random seed: R02S0347c190054b8372624f3a2f090f70a5 580s 1..7 580s # Start of appinfo tests 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_PHBJK2/appinfo/all/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_PHBJK2/appinfo/all/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_PHBJK2/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_PHBJK2/appinfo/all/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_PHBJK2/appinfo/all/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_PHBJK2/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_PHBJK2/appinfo/all/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_PHBJK2/appinfo/all/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_PHBJK2/appinfo/all/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_PHBJK2/appinfo/all/.dirs/runtime 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/all/.dirs/system-data1/applications' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/all/.dirs/data/applications' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/all/.dirs/data/applications/myapp.desktop' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/all/.dirs/data/applications/myapp2.desktop' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/all/.dirs/data/applications/myapp3.desktop' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/all/.dirs/data/applications/myapp4.desktop' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/all/.dirs/data/applications/myapp5.desktop' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 580s # removing '/tmp/test_mimeapps_PHBJK2/appinfo/all/.dirs/data/applications/mimeapps.list' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/all/.dirs/data/applications/mimeinfo.cache' 580s ok 1 /appinfo/all 580s # Start of mime tests 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_PHBJK2/appinfo/mime/api/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_PHBJK2/appinfo/mime/api/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_PHBJK2/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_PHBJK2/appinfo/mime/api/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_PHBJK2/appinfo/mime/api/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_PHBJK2/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_PHBJK2/appinfo/mime/api/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_PHBJK2/appinfo/mime/api/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_PHBJK2/appinfo/mime/api/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_PHBJK2/appinfo/mime/api/.dirs/runtime 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/api/.dirs/system-data1/applications' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/api/.dirs/data/applications' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 580s # removing '/tmp/test_mimeapps_PHBJK2/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 580s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_PHBJK2/appinfo/mime/api/.dirs/config 580s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_PHBJK2/appinfo/all/.dirs/config to /tmp/test_mimeapps_PHBJK2/appinfo/mime/api/.dirs/config 580s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_PHBJK2/appinfo/mime/api/.dirs/config 580s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_PHBJK2/appinfo/mime/api/.dirs/config 580s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_PHBJK2/appinfo/mime/api/.dirs/config 580s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_PHBJK2/appinfo/mime/api/.dirs/config 580s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_PHBJK2/appinfo/mime/api/.dirs/config 580s ok 2 /appinfo/mime/api 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_PHBJK2/appinfo/mime/default/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_PHBJK2/appinfo/mime/default/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_PHBJK2/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_PHBJK2/appinfo/mime/default/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_PHBJK2/appinfo/mime/default/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_PHBJK2/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_PHBJK2/appinfo/mime/default/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_PHBJK2/appinfo/mime/default/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_PHBJK2/appinfo/mime/default/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_PHBJK2/appinfo/mime/default/.dirs/runtime 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/default/.dirs/system-data1/applications' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/default/.dirs/data/applications' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 580s # removing '/tmp/test_mimeapps_PHBJK2/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 580s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_PHBJK2/appinfo/mime/default/.dirs/config 580s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_PHBJK2/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_PHBJK2/appinfo/mime/default/.dirs/config 580s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_PHBJK2/appinfo/mime/default/.dirs/config 580s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_PHBJK2/appinfo/mime/default/.dirs/config 580s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_PHBJK2/appinfo/mime/default/.dirs/config 580s ok 3 /appinfo/mime/default 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_PHBJK2/appinfo/mime/file/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_PHBJK2/appinfo/mime/file/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_PHBJK2/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_PHBJK2/appinfo/mime/file/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_PHBJK2/appinfo/mime/file/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_PHBJK2/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_PHBJK2/appinfo/mime/file/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_PHBJK2/appinfo/mime/file/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_PHBJK2/appinfo/mime/file/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_PHBJK2/appinfo/mime/file/.dirs/runtime 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/file/.dirs/system-data1/applications' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/file/.dirs/data/applications' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 580s # removing '/tmp/test_mimeapps_PHBJK2/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 580s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_PHBJK2/appinfo/mime/file/.dirs/config 580s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_PHBJK2/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_PHBJK2/appinfo/mime/file/.dirs/config 580s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_PHBJK2/appinfo/mime/file/.dirs/config 580s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_PHBJK2/appinfo/mime/file/.dirs/config 580s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_PHBJK2/appinfo/mime/file/.dirs/config 580s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_PHBJK2/appinfo/mime/file/.dirs/config 580s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_PHBJK2/appinfo/mime/file/.dirs/config 580s ok 4 /appinfo/mime/file 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_PHBJK2/appinfo/mime/scheme-handler/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_PHBJK2/appinfo/mime/scheme-handler/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_PHBJK2/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_PHBJK2/appinfo/mime/scheme-handler/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_PHBJK2/appinfo/mime/scheme-handler/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_PHBJK2/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_PHBJK2/appinfo/mime/scheme-handler/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_PHBJK2/appinfo/mime/scheme-handler/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_PHBJK2/appinfo/mime/scheme-handler/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_PHBJK2/appinfo/mime/scheme-handler/.dirs/runtime 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/scheme-handler/.dirs/data/applications' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 580s # removing '/tmp/test_mimeapps_PHBJK2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 580s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_PHBJK2/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_PHBJK2/appinfo/mime/scheme-handler/.dirs/config 580s ok 5 /appinfo/mime/scheme-handler 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_PHBJK2/appinfo/mime/default-last-used/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_PHBJK2/appinfo/mime/default-last-used/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_PHBJK2/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_PHBJK2/appinfo/mime/default-last-used/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_PHBJK2/appinfo/mime/default-last-used/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_PHBJK2/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_PHBJK2/appinfo/mime/default-last-used/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_PHBJK2/appinfo/mime/default-last-used/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_PHBJK2/appinfo/mime/default-last-used/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_PHBJK2/appinfo/mime/default-last-used/.dirs/runtime 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/default-last-used/.dirs/system-data1/applications' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/default-last-used/.dirs/data/applications' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 580s # removing '/tmp/test_mimeapps_PHBJK2/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 580s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_PHBJK2/appinfo/mime/default-last-used/.dirs/config 580s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_PHBJK2/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_PHBJK2/appinfo/mime/default-last-used/.dirs/config 580s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_PHBJK2/appinfo/mime/default-last-used/.dirs/config 580s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_PHBJK2/appinfo/mime/default-last-used/.dirs/config 580s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_PHBJK2/appinfo/mime/default-last-used/.dirs/config 580s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_PHBJK2/appinfo/mime/default-last-used/.dirs/config 580s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_PHBJK2/appinfo/mime/default-last-used/.dirs/config 580s ok 6 /appinfo/mime/default-last-used 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_PHBJK2/appinfo/mime/ignore-nonexisting/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_PHBJK2/appinfo/mime/ignore-nonexisting/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_PHBJK2/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_PHBJK2/appinfo/mime/ignore-nonexisting/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_PHBJK2/appinfo/mime/ignore-nonexisting/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_PHBJK2/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_PHBJK2/appinfo/mime/ignore-nonexisting/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_PHBJK2/appinfo/mime/ignore-nonexisting/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_PHBJK2/appinfo/mime/ignore-nonexisting/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_PHBJK2/appinfo/mime/ignore-nonexisting/.dirs/runtime 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 580s # removing '/tmp/test_mimeapps_PHBJK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 580s # creating '/tmp/test_mimeapps_PHBJK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 580s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_PHBJK2/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_PHBJK2/appinfo/mime/ignore-nonexisting/.dirs/config 580s ok 7 /appinfo/mime/ignore-nonexisting 580s # End of mime tests 580s # End of appinfo tests 580s ok - glib/mimeapps.test 580s # Running test: glib/signals-refcount2.test 580s TAP version 13 580s # random seed: R02Sd389ad592151066ddce63470ab10b586 580s 1..1 580s # Start of gobject tests 580s # Start of refcount tests 580s # init 0x112fdd42f420 580s # 580s # init 0x112fdd42f5c0 580s # 581s # Executing: glib/signals-refcount2.test 585s # dispose 0x112fdd42f420! 585s # 585s # dispose 0x112fdd42f5c0! 585s # 585s ok 1 /gobject/refcount/signals 585s # slow test /gobject/refcount/signals executed in 5.00 secs 585s # End of refcount tests 585s # End of gobject tests 585s ok - glib/signals-refcount2.test 585s # Running test: glib/thread.test 585s TAP version 13 585s # random seed: R02Se5a9ce15957d2cdd87574de36375a40e 585s 1..7 585s # Start of thread tests 585s ok 1 /thread/thread1 585s ok 2 /thread/thread2 585s ok 3 /thread/thread3 585s ok 4 /thread/thread4 585s ok 5 /thread/thread5 585s ok 6 /thread/thread6 585s ok 7 /thread/thread7 585s # End of thread tests 585s ok - glib/thread.test 585s # Running test: glib/contenttype.test 585s TAP version 13 585s # random seed: R02S9c238c989ad2d6419f980b16ef1d38f6 585s 1..13 585s # Start of contenttype tests 585s ok 1 /contenttype/guess 585s ok 2 /contenttype/guess_svg_from_data 585s ok 3 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 585s ok 4 /contenttype/unknown 585s ok 5 /contenttype/subtype 585s ok 6 /contenttype/list 585s ok 7 /contenttype/executable 585s ok 8 /contenttype/description 585s ok 9 /contenttype/icon 585s ok 10 /contenttype/symbolic-icon 585s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 585s ok 11 /contenttype/tree 585s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 585s ok 12 /contenttype/tree_invalid_encoding 585s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 585s ok 13 /contenttype/test_type_is_a_special_case 585s # End of contenttype tests 585s ok - glib/contenttype.test 585s # Running test: glib/bindinggroup.test 585s TAP version 13 585s # random seed: R02S83d6b95da84a94d47c201f57875b4774 585s 1..11 585s # Start of GObject tests 585s # Start of BindingGroup tests 585s ok 1 /GObject/BindingGroup/invalid 585s ok 2 /GObject/BindingGroup/default 585s ok 3 /GObject/BindingGroup/bidirectional 585s ok 4 /GObject/BindingGroup/transform 585s ok 5 /GObject/BindingGroup/transform-closures 585s ok 6 /GObject/BindingGroup/same-object 585s ok 7 /GObject/BindingGroup/weak-ref-source 585s ok 8 /GObject/BindingGroup/weak-ref-target 585s ok 9 /GObject/BindingGroup/properties 585s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 585s ok 11 /GObject/BindingGroup/empty-closures 585s # End of BindingGroup tests 585s # End of GObject tests 585s ok - glib/bindinggroup.test 585s # Running test: glib/properties-refcount1.test 585s TAP version 13 585s # random seed: R02S0fb3989115c669617f51d3c2b5ba6cac 585s 1..1 585s # Start of gobject tests 585s # Start of refcount tests 585s # .b 585s # .e 585s # .d 585s # .f 585s # .c 585s # .b 585s # .e 585s # .d 585s # .f 585s # .c 585s # .b 585s # .d 585s # .f 585s # .e 585s # .c 585s # .b 585s # .f 586s # .c 586s # .d 586s # .e 586s # Executing: glib/properties-refcount1.test 586s # .b 586s # .f 586s # .c 586s # .d 586s # .e 586s # .b 586s # .f 586s # .c 586s # .d 586s # .e 586s # .b 586s # .f 586s # .c 586s # .d 586s # .e 586s # .b 586s # .c 586s # .d 586s # .e 586s # .f 586s # .b 586s # .c 586s # .d 586s # .f 586s # .e 586s # .b 587s # .c 587s # .d 587s # .e 587s # .f 587s # .b 587s # .c 587s # .d 587s # .e 587s # .f 587s # .b 587s # .c 587s # .d 587s # .e 587s # .f 587s # .b 587s # .c 587s # .d 587s # .e 587s # .f 587s # .b 587s # .c 587s # .d 587s # .e 587s # .f 587s # .c 587s # .b 587s # .d 587s # .e 587s # .f 588s # .c 588s # .b 588s # .d 588s # .e 588s # .f 588s # .c 588s # .b 588s # .d 588s # .e 588s # .f 588s ok 1 /gobject/refcount/properties-1 588s # slow test /gobject/refcount/properties-1 executed in 3.01 secs 588s # End of refcount tests 588s # End of gobject tests 588s ok - glib/properties-refcount1.test 588s # Running test: glib/types.test 588s TAP version 13 588s # random seed: R02S8a8a2b3ad55ec7a62cd3541538c263ac 588s 1..1 588s # Start of types tests 588s ok 1 /types/basic_types 588s # End of types tests 588s ok - glib/types.test 588s # Running test: glib/basics-gobject.test 588s TAP version 13 588s # random seed: R02S40832d861d4d0d6da8e7f024b4dee8db 588s 1..1 588s # Start of gobject tests 588s # private data during initialization: 54321 == 54321 588s # MAIN: emit test-signal: 588s # ::test_signal default_handler called 588s # ::test_signal default_handler called 588s # ::test_signal default_handler called 588s # signal return: "" 588s # MAIN: call iface print-string on test and derived object: 588s # Iface-FOO: "iface-string-from-test-type" from 0x3ec4ac2f7a0 588s # Iface-BAR: "iface-string-from-derived-type" from 0x3ec4ac2f6c0 588s # chaining: 588s # Iface-FOO: "iface-string-from-derived-type" from 0x3ec4ac2f6c0 588s # private data after initialization: 54321 == 54321 588s ok 1 /gobject/basics 588s # End of gobject tests 588s ok - glib/basics-gobject.test 588s # Running test: glib/gobject-private.test 588s TAP version 13 588s # random seed: R02S2662949d5b209b1dffd3306a6cb6c95e 588s 1..3 588s # Start of private tests 588s ok 1 /private/instance 588s ok 2 /private/derived-instance 588s ok 3 /private/mixed-derived-instance 588s # End of private tests 588s ok - glib/gobject-private.test 588s # Running test: glib/spawn-multithreaded.test 588s TAP version 13 588s # random seed: R02S337c07bfd24b749ecd7bcdb92bfc2ad3 588s 1..4 588s # Start of gthread tests 589s # Child 10763 (ttl 1) exited, status 0 590s # Child 10764 (ttl 2) exited, status 0 590s ok 1 /gthread/spawn-childs 590s # slow test /gthread/spawn-childs executed in 2.00 secs 590s # Created pid: 10768 (ttl 1) 590s # Created pid: 10769 (ttl 2) 591s # Executing: glib/spawn-multithreaded.test 591s # Child 10768 (ttl 1) exited, status 0 592s # Child 10769 (ttl 2) exited, status 0 592s ok 2 /gthread/spawn-childs-threads 592s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 592s ok 3 /gthread/spawn-sync 592s ok 4 /gthread/spawn-async 592s # End of gthread tests 592s ok - glib/spawn-multithreaded.test 592s # Running test: glib/filter-streams.test 592s TAP version 13 592s # random seed: R02Sd05a1515823cc924559ba115cf5094fa 592s 1..4 592s # Start of filter-stream tests 592s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 592s ok 1 /filter-stream/input 592s ok 2 /filter-stream/output 592s ok 3 /filter-stream/async-input 592s ok 4 /filter-stream/async-output 592s # End of filter-stream tests 592s ok - glib/filter-streams.test 592s # Running test: glib/protocol.test 592s TAP version 13 592s # random seed: R02Sba58f6f96a5dbe2fd7b5b185ffd73107 592s 1..9 592s # Start of glib tests 592s # Start of testing tests 592s # Start of protocol tests 592s ok 1 /glib/testing/protocol/debug 592s ok 2 /glib/testing/protocol/info 592s ok 3 /glib/testing/protocol/message 592s ok 4 /glib/testing/protocol/warning 592s ok 5 /glib/testing/protocol/critical 592s ok 6 /glib/testing/protocol/error 592s ok 7 /glib/testing/protocol/gtest-message 592s ok 8 /glib/testing/protocol/test-message 592s ok 9 /glib/testing/protocol/test-error 592s # End of protocol tests 592s # End of testing tests 592s # End of glib tests 592s ok - glib/protocol.test 592s # Running test: glib/application-command-line.test 592s TAP version 13 592s # random seed: R02Sfef1fc4b5b6e90edcdeba9be3e6617e0 592s 1..1 592s # Start of application-command-line tests 592s ok 1 /application-command-line/basic-properties 592s # End of application-command-line tests 592s ok - glib/application-command-line.test 592s # Running test: glib/permission.test 592s TAP version 13 592s # random seed: R02S11e3abcf3e4cba85d7adb37e0134078e 592s 1..1 592s # Start of permission tests 592s ok 1 /permission/simple 592s # End of permission tests 592s ok - glib/permission.test 592s # Running test: glib/readwrite.test 592s TAP version 13 592s # random seed: R02Sc4f9edc465188a59eda5c48a8b048b00 592s 1..3 592s # Start of readwrite tests 592s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 592s ok 1 /readwrite/test_g_file_open_readwrite 592s ok 2 /readwrite/test_g_file_create_readwrite 592s ok 3 /readwrite/test_g_file_replace_readwrite 592s # End of readwrite tests 592s ok - glib/readwrite.test 592s # Running test: glib/mapping.test 592s TAP version 13 592s # random seed: R02Sd9d372ef1dfea20147097ade350cc988 592s 1..3 592s # Start of mapping tests 592s # test_mapping: ok 592s ok 1 /mapping/flags 592s ok 2 /mapping/private 592s # Subtest: /usr/libexec/installed-tests/glib/mapping 592s # # random seed: R02Sb18dc4c4003c524b2f005f90df9ee6d1 592s # test_child_private: child spawned 592s # test_child_private: received first child signal 592s # # test_child_private: received parent signal 592s # test_child_private: received second child signal 592s ok 3 /mapping/private-child 592s # End of mapping tests 592s ok - glib/mapping.test 592s # Running test: glib/tree.test 592s TAP version 13 592s # random seed: R02S363b7c38932982103d1c4c892e68ab3c 592s 1..7 592s # Start of tree tests 592s ok 1 /tree/search 592s ok 2 /tree/remove 592s ok 3 /tree/destroy 592s ok 4 /tree/traverse 592s ok 5 /tree/insert 592s ok 6 /tree/bounds 592s ok 7 /tree/remove-all 592s # End of tree tests 592s ok - glib/tree.test 592s # Running test: glib/gdbus-threading.test 592s TAP version 13 592s # random seed: R02Scb63770bced16184e9d56cb70b92cdb8 592s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 592s ok - glib/gdbus-threading.test 592s # Running test: glib/autoptr.test 592s TAP version 13 592s # random seed: R02S22bd63587f6a22d9859c2f25a11a828a 592s 1..6 592s # Start of autoptr tests 592s ok 1 /autoptr/autoptr 592s ok 2 /autoptr/autoptr_steal 592s ok 3 /autoptr/autolist 592s ok 4 /autoptr/autoslist 592s ok 5 /autoptr/autoqueue 592s ok 6 /autoptr/autoclass 592s # End of autoptr tests 592s ok - glib/autoptr.test 592s # Running test: glib/macros-c-17.test 592s TAP version 13 592s # random seed: R02S8d9ade3078e9abfac9b9dceffc23191c 592s 1..4 592s # Start of C tests 592s ok 1 /C/standard-17 592s # End of C tests 592s # Start of alignof tests 592s ok 2 /alignof/fallback 592s # End of alignof tests 592s # Start of assert tests 592s ok 3 /assert/static 592s # End of assert tests 592s # Start of struct tests 592s ok 4 /struct/sizeof_member 592s # End of struct tests 592s ok - glib/macros-c-17.test 592s # Running test: glib/base64.test 592s TAP version 13 592s # random seed: R02S786b490c9197ca9317b44e3ad373b85c 592s 1..28 592s # Start of base64 tests 592s ok 1 /base64/encode 592s ok 2 /base64/decode 592s ok 3 /base64/decode-inplace 592s ok 4 /base64/encode-decode 592s # Start of full tests 592s ok 5 /base64/full/1 592s ok 6 /base64/full/2 592s ok 7 /base64/full/3 592s ok 8 /base64/full/4 592s # End of full tests 592s # Start of encode tests 592s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 592s ok 9 /base64/encode/empty 592s # Start of incremental tests 592s # Start of small-block tests 592s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 592s ok 10 /base64/encode/incremental/small-block/1 592s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 592s ok 11 /base64/encode/incremental/small-block/2 592s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 592s ok 12 /base64/encode/incremental/small-block/3 592s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 592s ok 13 /base64/encode/incremental/small-block/4 592s # End of small-block tests 592s # End of incremental tests 592s # End of encode tests 592s # Start of incremental tests 592s # Start of nobreak tests 592s ok 14 /base64/incremental/nobreak/1 592s ok 15 /base64/incremental/nobreak/2 592s ok 16 /base64/incremental/nobreak/3 592s ok 17 /base64/incremental/nobreak/4-a 592s ok 18 /base64/incremental/nobreak/4-b 592s ok 19 /base64/incremental/nobreak/4-c 592s # End of nobreak tests 592s # Start of break tests 592s ok 20 /base64/incremental/break/1 592s ok 21 /base64/incremental/break/2 592s ok 22 /base64/incremental/break/3 592s # End of break tests 592s # Start of smallblock tests 592s ok 23 /base64/incremental/smallblock/1 592s ok 24 /base64/incremental/smallblock/2 592s ok 25 /base64/incremental/smallblock/3 592s ok 26 /base64/incremental/smallblock/4 592s # End of smallblock tests 592s # End of incremental tests 592s # Start of decode tests 592s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 592s ok 27 /base64/decode/empty 592s # End of decode tests 592s # Start of encode-decode tests 592s # Vector 0: 592s # Vector 1: f 592s # Vector 2: fo 592s # Vector 3: foo 592s # Vector 4: foob 592s # Vector 5: fooba 592s # Vector 6: foobar 592s ok 28 /base64/encode-decode/rfc4648 592s # End of encode-decode tests 592s # End of base64 tests 592s ok - glib/base64.test 592s # Running test: glib/slice.test 592s TAP version 13 592s # random seed: R02S93354ee6e9d4c72e3571e32842e3cf2b 592s 1..3 592s # Start of slice tests 592s ok 1 /slice/copy 592s ok 2 /slice/chain 592s ok 3 /slice/allocate 592s # End of slice tests 592s ok - glib/slice.test 592s # Running test: glib/socket-listener.test 592s TAP version 13 592s # random seed: R02S78dfb802ec0e3c400ef4112925682d64 592s 1..1 592s # Start of socket-listener tests 592s ok 1 /socket-listener/event-signal 592s # End of socket-listener tests 592s ok - glib/socket-listener.test 592s # Running test: glib/contexts.test 592s TAP version 13 592s # random seed: R02S4864aca5ad624c4dc6bde2a034a8ec91 592s 1..5 592s # Start of gio tests 592s # Start of contexts tests 592s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 592s ok 1 /gio/contexts/thread-independence 592s ok 2 /gio/contexts/context-independence 592s # Start of context-specific tests 592s ok 3 /gio/contexts/context-specific/identity 592s ok 4 /gio/contexts/context-specific/emit 592s ok 5 /gio/contexts/context-specific/emit-and-unref 592s # End of context-specific tests 592s # End of contexts tests 592s # End of gio tests 592s ok - glib/contexts.test 592s # Running test: glib/test-printf.test 592s TAP version 13 592s # random seed: R02S2de20105d96d95c80650958cd6558543 592s 1..22 592s # Start of snprintf tests 592s ok 1 /snprintf/retval-and-trunc 592s ok 2 /snprintf/%d 592s ok 3 /snprintf/%d-invalid 592s ok 4 /snprintf/%o 592s ok 5 /snprintf/%u 592s ok 6 /snprintf/%x 592s ok 7 /snprintf/%X 592s ok 8 /snprintf/%f 592s ok 9 /snprintf/%e 592s ok 10 /snprintf/%c 592s ok 11 /snprintf/%s 592s ok 12 /snprintf/%n 592s ok 13 /snprintf/test-percent 592s ok 14 /snprintf/test-positional-params 592s ok 15 /snprintf/test-64bit 592s # End of snprintf tests 592s # Start of printf tests 592s ok 16 /printf/test-percent 592s ok 17 /printf/test-positional-params 592s ok 18 /printf/test-64bit 592s # Start of test-64bit tests 592s # Start of subprocess tests 592s # End of subprocess tests 592s # End of test-64bit tests 592s # End of printf tests 592s # Start of sprintf tests 592s ok 19 /sprintf/test-positional-params 592s ok 20 /sprintf/upper-bound 592s # End of sprintf tests 592s # Start of vasprintf tests 592s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 592s ok 21 /vasprintf/invalid-format-placeholder 592s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 592s ok 22 /vasprintf/invalid-wide-string 592s # End of vasprintf tests 592s ok - glib/test-printf.test 592s # Running test: glib/uri.test 592s TAP version 13 592s # random seed: R02S1ba4b21d4c49a063728faa8bb3373b76 592s 1..24 592s # Start of uri tests 592s ok 1 /uri/file-to-uri 592s ok 2 /uri/file-from-uri 592s ok 3 /uri/file-roundtrip 592s ok 4 /uri/list 592s # Test 0: %2Babc %4F 592s # Test 1: %2Babc %4F 592s # Test 2: %00abc %4F 592s # Test 3: /cursors/none.png 592s # Test 4: /cursors%2fbad-subdir/none.png 592s # Test 5: %0 592s # Test 6: %ra 592s # Test 7: %2r 592s # Test 8: Timm B?der 592s # Test 9: (null) 592s ok 5 /uri/unescape-string 592s ok 6 /uri/unescape-segment 592s # Test 0: abcdefgABCDEFG._~ 592s # Test 1: :+ \\?# 592s # Test 2: a+b:c 592s # Test 3: a+b:c\303\234 592s # Test 4: \374;\322 592s # Test 5: \303\261\303( 592s ok 7 /uri/escape-string 592s ok 8 /uri/escape-bytes 592s ok 9 /uri/scheme 592s ok 10 /uri/build 592s ok 11 /uri/split 592s ok 12 /uri/is_valid 592s ok 13 /uri/to-string 592s ok 14 /uri/join 592s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 592s # Combination 0 592s # Combination 1 592s # Combination 2 592s # Combination 3 592s # Combination 4 592s # Combination 5 592s # Combination 6 592s # Combination 7 592s # Combination 8 592s # Combination 9 592s # Combination 10 592s # Combination 11 592s # Combination 12 592s # Combination 13 592s # Combination 14 592s # Combination 15 592s # Combination 16 592s # Combination 17 592s # Combination 18 592s # Combination 19 592s # Combination 20 592s # Combination 21 592s # Combination 22 592s # Combination 23 592s # Combination 24 592s # Combination 25 592s # Combination 26 592s # Combination 27 592s # Combination 28 592s # Combination 29 592s # Combination 30 592s # Combination 31 592s # Combination 32 592s # Combination 33 592s # Combination 34 592s # Combination 35 592s # Combination 36 592s # Combination 37 592s # Combination 38 592s # Combination 39 592s # Combination 40 592s # Combination 41 592s # Combination 42 592s # Combination 43 592s # Combination 44 592s # Combination 45 592s # Combination 46 592s # Combination 47 592s # Combination 48 592s # Combination 49 592s # Combination 50 592s # Combination 51 592s # Combination 52 592s # Combination 53 592s # Combination 54 592s # Combination 55 592s # Combination 56 592s # Combination 57 592s # Combination 58 592s # Combination 59 592s # Combination 60 592s # Combination 61 592s # Combination 62 592s # Combination 63 592s # Combination 64 592s # Combination 65 592s # Combination 66 592s # Combination 67 592s # Combination 68 592s # Combination 69 592s # Combination 70 592s # Combination 71 592s # Combination 72 592s # Combination 73 592s # Combination 74 592s # Combination 75 592s # Combination 76 592s # Combination 77 592s # Combination 78 592s # Combination 79 592s # Combination 80 592s # Combination 81 592s # Combination 82 592s # Combination 83 592s # Combination 84 592s # Combination 85 592s # Combination 86 592s # Combination 87 592s # Combination 88 592s # Combination 89 592s # Combination 90 592s # Combination 91 592s # Combination 92 592s # Combination 93 592s # Combination 94 592s # Combination 95 592s # Combination 96 592s # Combination 97 592s # Combination 98 592s # Combination 99 592s # Combination 100 592s # Combination 101 592s # Combination 102 592s # Combination 103 592s # Combination 104 592s # Combination 105 592s # Combination 106 592s # Combination 107 592s # Combination 108 592s # Combination 109 592s # Combination 110 592s # Combination 111 592s # Combination 112 592s # Combination 113 592s # Combination 114 592s # Combination 115 592s # Combination 116 592s # Combination 117 592s # Combination 118 592s # Combination 119 592s # Combination 120 592s # Combination 121 592s # Combination 122 592s # Combination 123 592s # Combination 124 592s # Combination 125 592s # Combination 126 592s # Combination 127 592s # Combination 128 592s # Combination 129 592s # Combination 130 592s # Combination 131 592s # Combination 132 592s # Combination 133 592s # Combination 134 592s # Combination 135 592s # Combination 136 592s # Combination 137 592s # Combination 138 592s # Combination 139 592s # Combination 140 592s # Combination 141 592s # Combination 142 592s # Combination 143 592s # Combination 144 592s # Combination 145 592s # Combination 146 592s # Combination 147 592s # Combination 148 592s # Combination 149 592s # Combination 150 592s # Combination 151 592s # Combination 152 592s # Combination 153 592s # Combination 154 592s # Combination 155 592s # Combination 156 592s # Combination 157 592s # Combination 158 592s # Combination 159 592s # Combination 160 592s # Combination 161 592s # Combination 162 592s # Combination 163 592s # Combination 164 592s # Combination 165 592s # Combination 166 592s # Combination 167 592s # Combination 168 592s # Combination 169 592s # Combination 170 592s # Combination 171 592s # Combination 172 592s # Combination 173 592s # Combination 174 592s # Combination 175 592s # Combination 176 592s # Combination 177 592s # Combination 178 592s # Combination 179 592s # Combination 180 592s # Combination 181 592s # Combination 182 592s # Combination 183 592s # Combination 184 592s # Combination 185 592s # Combination 186 592s # Combination 187 592s # Combination 188 592s # Combination 189 592s # Combination 190 592s # Combination 191 592s # Combination 192 592s # Combination 193 592s # Combination 194 592s # Combination 195 592s # Combination 196 592s # Combination 197 592s # Combination 198 592s # Combination 199 592s # Combination 200 592s # Combination 201 592s # Combination 202 592s # Combination 203 592s # Combination 204 592s # Combination 205 592s # Combination 206 592s # Combination 207 592s # Combination 208 592s # Combination 209 592s # Combination 210 592s # Combination 211 592s # Combination 212 592s # Combination 213 592s # Combination 214 592s # Combination 215 592s # Combination 216 592s # Combination 217 592s # Combination 218 592s # Combination 219 592s # Combination 220 592s # Combination 221 592s # Combination 222 592s # Combination 223 592s # Combination 224 592s # Combination 225 592s # Combination 226 592s # Combination 227 592s # Combination 228 592s # Combination 229 592s # Combination 230 592s # Combination 231 592s # Combination 232 592s # Combination 233 592s # Combination 234 592s # Combination 235 592s # Combination 236 592s # Combination 237 592s # Combination 238 592s # Combination 239 592s # Combination 240 592s # Combination 241 592s # Combination 242 592s # Combination 243 592s # Combination 244 592s # Combination 245 592s # Combination 246 592s # Combination 247 592s # Combination 248 592s # Combination 249 592s # Combination 250 592s # Combination 251 592s # Combination 252 592s # Combination 253 592s # Combination 254 592s # Combination 255 592s ok 15 /uri/join-split-round-trip 592s ok 16 /uri/normalize 592s # Start of unescape-bytes tests 592s # Test 0: %00%00 592s # Test 1: /cursors/none.png 592s # Test 2: /cursors%2fbad-subdir/none.png 592s # Test 3: %% 592s # Test 4: % 592s ok 17 /uri/unescape-bytes/nul-terminated 592s # Test 0: %00%00 592s # Test 1: /cursors/none.png 592s # Test 2: /cursors%2fbad-subdir/none.png 592s # Test 3: %% 592s # Test 4: % 592s ok 18 /uri/unescape-bytes/length 592s # End of unescape-bytes tests 592s # Start of parsing tests 592s # Test 0: foo: 592s # Test 1: file:/dev/null 592s # Test 2: file:///dev/null 592s # Test 3: ftp://user@host/path 592s # Test 4: ftp://user@host:9999/path 592s # Test 5: ftp://user:password@host/path 592s # Test 6: ftp://user:password@host:9999/path 592s # Test 7: ftp://user:password@host 592s # Test 8: http://us%65r@host 592s # Test 9: http://us%40r@host 592s # Test 10: http://us%3ar@host 592s # Test 11: http://us%2fr@host 592s # Test 12: http://us%3fr@host 592s # Test 13: http://host?query 592s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 592s # 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 592s # Test 16: http://space/%20 592s # Test 17: http://delims/%3C%3E%23%25%22 592s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 592s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 592s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 592s # Test 21: http://[3ffe:2a00:100:7031::1] 592s # Test 22: http://[1080::8:800:200C:417A]/foo 592s # Test 23: http://[::192.9.5.5]/ipng 592s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 592s # Test 25: http://[2010:836B:4179::836B:4179] 592s # Test 26: http://host/path with spaces 592s # Test 27: http://host/path 592s # Test 28: http://host/path 592s # Test 29: http://host 592s # Test 30: http://host:999 592s # Test 31: http://host/pa 592s # th 592s # Test 32: http: 592s # //host/path 592s # Test 33: http:// host/path 592s # Test 34: http://host/path? 592s # Test 35: http://host/path# 592s # Test 36: http://host/path% 592s # Test 37: http://h%ost/path 592s # Test 38: http://host/path%% 592s # Test 39: http://host/path%%% 592s # Test 40: http://host/path%/x/ 592s # Test 41: http://host/path%0x/ 592s # Test 42: http://host/path%ax 592s # Test 43: http://host/p?th/ 592s # Test 44: HTTP://////////////// 592s # Test 45: http://@host 592s # Test 46: http://:@host 592s # Test 47: scheme://foo%3Abar._webdav._tcp.local 592s # Test 48: http://example.com/.. 592s # Test 49: foo0://host/path 592s # Test 50: f0.o://host/path 592s # Test 51: http++://host/path 592s # Test 52: http-ish://host/path 592s # Test 53: http://[fe80::dead:beef%]/ 592s # Test 54: http://[fe80::dead:beef%em1]/ 592s # Test 55: http://[fe80::dead:beef%em1]/ 592s # Test 56: http://[fe80::dead:beef%25em1]/ 592s # Test 57: http://[fe80::dead:beef%25em1%20]/ 592s # Test 58: http://[fe80::dead:beef%25em%31]/ 592s # Test 59: http://[fe80::dead:beef%10]/ 592s # Test 60: http://[fe80::dead:beef%10]/ 592s # Test 61: http://[fe80::dead:beef%25]/ 592s # Test 62: http://[fe80::dead:beef%25]/ 592s # Test 63: http://[192.168.0.1%25em1]/ 592s # Test 64: http://[fe80::dead:beef%2em1]/ 592s # Test 65: http://[fe80::dead:beef%2em1]/ 592s # Test 66: http://[fe80::dead:beef%25em1%00]/ 592s # Test 67: http://[fe80::dead:beef%25em1%00]/ 592s # Test 68: http://xn--mixed-?p/ 592s ok 19 /uri/parsing/absolute 592s ok 20 /uri/parsing/relative 592s # End of parsing tests 592s # Start of iter-params tests 592s # URI 0: p1=foo&p2=bar;p3=baz 592s # URI 1: p1=foo&p2=bar 592s # URI 2: p1=foo&&P1=bar 592s # URI 3: %00=foo 592s # URI 4: p1=%00 592s # URI 5: p1=foo&p1=bar 592s # URI 6: p1=foo&P1=bar 592s # URI 7: =% 592s # URI 8: = 592s # URI 9: foo 592s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 592s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 592s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 592s ok 21 /uri/iter-params/nul-terminated 592s # URI 0: p1=foo&p2=bar;p3=baz 592s # URI 1: p1=foo&p2=bar 592s # URI 2: p1=foo&&P1=bar 592s # URI 3: %00=foo 592s # URI 4: p1=%00 592s # URI 5: p1=foo&p1=bar 592s # URI 6: p1=foo&P1=bar 592s # URI 7: =% 592s # URI 8: = 592s # URI 9: foo 592s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 592s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 592s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 592s ok 22 /uri/iter-params/length 592s # End of iter-params tests 592s # Start of parse-params tests 592s # URI 0: p1=foo&p2=bar;p3=baz 592s # URI 1: p1=foo&p2=bar 592s # URI 2: p1=foo&&P1=bar 592s # URI 3: %00=foo 592s # URI 4: p1=%00 592s # URI 5: p1=foo&p1=bar 592s # URI 6: p1=foo&P1=bar 592s # URI 7: =% 592s # URI 8: = 592s # URI 9: foo 592s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 592s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 592s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 592s ok 23 /uri/parse-params/nul-terminated 592s # URI 0: p1=foo&p2=bar;p3=baz 592s # URI 1: p1=foo&p2=bar 592s # URI 2: p1=foo&&P1=bar 592s # URI 3: %00=foo 592s # URI 4: p1=%00 592s # URI 5: p1=foo&p1=bar 592s # URI 6: p1=foo&P1=bar 592s # URI 7: =% 592s # URI 8: = 592s # URI 9: foo 592s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 592s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 592s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 592s ok 24 /uri/parse-params/length 592s # End of parse-params tests 592s # End of uri tests 592s ok - glib/uri.test 592s # Running test: glib/simple-async-result.test 592s TAP version 13 592s # random seed: R02S7fd117d2ada05442aba8f4033e374cd4 592s 1..2 592s # Start of gio tests 592s # Start of simple-async-result tests 592s ok 1 /gio/simple-async-result/test 592s # GLib-GIO-DEBUG: GTask 0x8d8028706e0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 592s ok 2 /gio/simple-async-result/valid 592s # End of simple-async-result tests 592s # End of gio tests 592s ok - glib/simple-async-result.test 592s # Running test: glib/g-icon.test 592s TAP version 13 592s # random seed: R02S4639b88e63f70d3e9e202d5ed5866f33 592s 1..6 592s # Start of icons tests 592s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 592s ok 1 /icons/to-string 592s ok 2 /icons/serialize 592s ok 3 /icons/themed 592s ok 4 /icons/emblemed 592s ok 5 /icons/file 592s ok 6 /icons/bytes 592s # End of icons tests 592s ok - glib/g-icon.test 592s # Running test: glib/srvtarget.test 592s TAP version 13 592s # random seed: R02S5f284b98326ca9146de6d34f5e8f5d85 592s 1..1 592s # Start of srvtarget tests 593s ok 1 /srvtarget/srv-target-ordering 593s # slow test /srvtarget/srv-target-ordering executed in 0.82 secs 593s # End of srvtarget tests 593s ok - glib/srvtarget.test 593s # Running test: glib/memory-monitor-portal.test 593s TAP version 13 593s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 593s 1..1 593s ok - glib/memory-monitor-portal.test 593s # Running test: glib/gobject-query.py.test 593s TAP version 13 593s ok 1 __main__.TestGobjectQuery.test_froots 593s # gobject-query: /usr/bin/gobject-query 593s # Running: ['/usr/bin/gobject-query', 'froots'] 593s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 593s # Output: ├void 593s # ├GInterface 593s # │ └GTypePlugin 593s # ├gchar 593s # ├guchar 593s # ├gboolean 593s # ├gint 593s # ├guint 593s # ├glong 593s # ├gulong 593s # ├gint64 593s # ├guint64 593s # ├GEnum 593s # ├GFlags 593s # ├gfloat 593s # ├gdouble 593s # ├gchararray 593s # ├gpointer 593s # │ └GType 593s # ├GBoxed 593s # │ └GValueArray 593s # ├GParam 593s # │ ├GParamChar 593s # │ ├GParamUChar 593s # │ ├GParamBoolean 593s # │ ├GParamInt 593s # │ ├GParamUInt 593s # │ ├GParamLong 593s # │ ├GParamULong 593s # │ ├GParamInt64 593s # │ ├GParamUInt64 593s # │ ├GParamUnichar 593s # │ ├GParamEnum 593s # │ ├GParamFlags 593s # │ ├GParamFloat 593s # │ ├GParamDouble 593s # │ ├GParamString 593s # │ ├GParamParam 593s # │ ├GParamBoxed 593s # │ ├GParamPointer 593s # │ ├GParamValueArray 593s # │ ├GParamObject 593s # │ ├GParamOverride 593s # │ ├GParamGType 593s # │ └GParamVariant 593s # ├GObject 593s # └GVariant 593s ok 2 __main__.TestGobjectQuery.test_help 593s # gobject-query: /usr/bin/gobject-query 593s # Running: ['/usr/bin/gobject-query', '--help'] 593s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 593s # Output: usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 593s # -r specify root type 593s # -n don't descend type tree 593s # -h show help 593s # -b specify indent string 593s # -i specify incremental indent string 593s # -s specify line spacing 593s # qualifiers: 593s # froots iterate over fundamental roots 593s # tree print type tree 593s ok 3 __main__.TestGobjectQuery.test_tree 593s # gobject-query: /usr/bin/gobject-query 593s # Running: ['/usr/bin/gobject-query', 'tree'] 593s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 593s # Output: GObject 593s ok 4 __main__.TestGobjectQuery.test_version 594s # gobject-query: /usr/bin/gobject-query 594s # Running: ['/usr/bin/gobject-query', '--version'] 594s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 594s # Output: 2.79.3 594s 1..4 594s ok - glib/gobject-query.py.test 594s # Running test: glib/memory-input-stream.test 594s TAP version 13 594s # random seed: R02S920fcf636d6212975fcfba5239bc17fe 594s 1..6 594s # Start of memory-input-stream tests 594s ok 1 /memory-input-stream/read-chunks 594s ok 2 /memory-input-stream/async 594s ok 3 /memory-input-stream/seek 594s ok 4 /memory-input-stream/truncate 594s ok 5 /memory-input-stream/read-bytes 594s ok 6 /memory-input-stream/from-bytes 594s # End of memory-input-stream tests 594s ok - glib/memory-input-stream.test 594s # Running test: glib/gsubprocess.test 594s TAP version 13 594s # random seed: R02S7282a5bec3d433264b5df3ab0f1420e3 594s 1..83 594s # Start of gsubprocess tests 594s ok 1 /gsubprocess/noop 594s ok 2 /gsubprocess/noop-all-to-null 594s ok 3 /gsubprocess/noop-no-wait 594s ok 4 /gsubprocess/noop-stdin-inherit 594s ok 5 /gsubprocess/search-path 594s ok 6 /gsubprocess/search-path-from-envp 596s # Executing: glib/gsubprocess.test 597s ok 7 /gsubprocess/signal 597s # slow test /gsubprocess/signal executed in 3.10 secs 597s ok 8 /gsubprocess/exit1 597s ok 9 /gsubprocess/echo1 597s ok 10 /gsubprocess/echo-merged 597s ok 11 /gsubprocess/cat-utf8 598s ok 12 /gsubprocess/cat-eof 598s # slow test /gsubprocess/cat-eof executed in 1.00 secs 601s # Executing: glib/gsubprocess.test 601s ok 13 /gsubprocess/multi1 601s # slow test /gsubprocess/multi1 executed in 3.01 secs 601s ok 14 /gsubprocess/communicate 604s ok 15 /gsubprocess/terminate 604s # slow test /gsubprocess/terminate executed in 2.98 secs 604s ok 16 /gsubprocess/env 604s ok 17 /gsubprocess/cwd 604s ok 18 /gsubprocess/launcher-close 604s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 604s ok 19 /gsubprocess/stdout-file 604s ok 20 /gsubprocess/stdout-fd 604s ok 21 /gsubprocess/child-setup 604s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 604s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 604s ok 22 /gsubprocess/launcher-environment 604s # Start of exit1 tests 604s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 604s ok 23 /gsubprocess/exit1/cancel 604s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 604s ok 24 /gsubprocess/exit1/cancel_in_cb 604s # End of exit1 tests 604s # Start of communicate tests 604s ok 25 /gsubprocess/communicate/cancelled 604s ok 26 /gsubprocess/communicate/async 604s ok 27 /gsubprocess/communicate/utf8 604s # hello world 604s ok 28 /gsubprocess/communicate/no-pipes 604s ok 29 /gsubprocess/communicate/separate-stderr 604s ok 30 /gsubprocess/communicate/stdout-only 604s # hello world 604s ok 31 /gsubprocess/communicate/stderr-only 604s ok 32 /gsubprocess/communicate/stdout-silence 604s ok 33 /gsubprocess/communicate/nothing 604s # Start of async tests 604s ok 34 /gsubprocess/communicate/async/cancelled 604s # hello world 604s ok 35 /gsubprocess/communicate/async/no-pipes 604s ok 36 /gsubprocess/communicate/async/separate-stderr 604s ok 37 /gsubprocess/communicate/async/stdout-only 604s # hello world 604s ok 38 /gsubprocess/communicate/async/stderr-only 604s ok 39 /gsubprocess/communicate/async/stdout-silence 604s # Start of cancelled tests 604s ok 40 /gsubprocess/communicate/async/cancelled/no-pipes 604s ok 41 /gsubprocess/communicate/async/cancelled/separate-stderr 604s ok 42 /gsubprocess/communicate/async/cancelled/stdout-only 604s ok 43 /gsubprocess/communicate/async/cancelled/stderr-only 604s ok 44 /gsubprocess/communicate/async/cancelled/stdout-silence 604s # End of cancelled tests 604s # End of async tests 604s # Start of utf8 tests 604s ok 45 /gsubprocess/communicate/utf8/cancelled 604s ok 46 /gsubprocess/communicate/utf8/async 604s # hello world 604s ok 47 /gsubprocess/communicate/utf8/no-pipes 604s ok 48 /gsubprocess/communicate/utf8/separate-stderr 604s ok 49 /gsubprocess/communicate/utf8/stdout-only 604s # hello world 604s ok 50 /gsubprocess/communicate/utf8/stderr-only 604s ok 51 /gsubprocess/communicate/utf8/stdout-silence 604s ok 52 /gsubprocess/communicate/utf8/invalid 604s # Start of async tests 604s ok 53 /gsubprocess/communicate/utf8/async/cancelled 604s # hello world 604s ok 54 /gsubprocess/communicate/utf8/async/no-pipes 604s ok 55 /gsubprocess/communicate/utf8/async/separate-stderr 604s ok 56 /gsubprocess/communicate/utf8/async/stdout-only 604s # hello world 604s ok 57 /gsubprocess/communicate/utf8/async/stderr-only 604s ok 58 /gsubprocess/communicate/utf8/async/stdout-silence 604s ok 59 /gsubprocess/communicate/utf8/async/invalid 604s # Start of cancelled tests 604s ok 60 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 604s ok 61 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 604s ok 62 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 604s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 604s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 604s # End of cancelled tests 604s # End of async tests 604s # Start of cancelled tests 604s ok 65 /gsubprocess/communicate/utf8/cancelled/no-pipes 604s ok 66 /gsubprocess/communicate/utf8/cancelled/separate-stderr 604s ok 67 /gsubprocess/communicate/utf8/cancelled/stdout-only 604s ok 68 /gsubprocess/communicate/utf8/cancelled/stderr-only 604s ok 69 /gsubprocess/communicate/utf8/cancelled/stdout-silence 604s # End of cancelled tests 604s # End of utf8 tests 604s # Start of cancelled tests 604s ok 70 /gsubprocess/communicate/cancelled/no-pipes 604s ok 71 /gsubprocess/communicate/cancelled/separate-stderr 604s ok 72 /gsubprocess/communicate/cancelled/stdout-only 604s ok 73 /gsubprocess/communicate/cancelled/stderr-only 604s ok 74 /gsubprocess/communicate/cancelled/stdout-silence 604s # End of cancelled tests 604s # End of communicate tests 604s # Start of env tests 604s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 604s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 604s ok 75 /gsubprocess/env/inherit 604s # End of env tests 604s # Start of pass-fd tests 604s ok 76 /gsubprocess/pass-fd/basic 604s ok 77 /gsubprocess/pass-fd/empty-child-setup 604s ok 78 /gsubprocess/pass-fd/inherit-fds 604s # End of pass-fd tests 604s # Start of fd-conflation tests 604s ok 79 /gsubprocess/fd-conflation/basic 604s ok 80 /gsubprocess/fd-conflation/empty-child-setup 604s ok 81 /gsubprocess/fd-conflation/inherit-fds 604s ok 82 /gsubprocess/fd-conflation/child-err-report-fd 604s # End of fd-conflation tests 604s # Start of exit-status tests 604s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 604s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 604s ok 83 /gsubprocess/exit-status/trapped 604s # End of exit-status tests 604s # End of gsubprocess tests 604s ok - glib/gsubprocess.test 604s # Running test: glib/async-splice-output-stream.test 604s TAP version 13 604s # random seed: R02Sfdf76552c68903d8c8b031bb047bd7cb 604s 1..5 604s # Start of async-splice tests 604s ok 1 /async-splice/copy-chunks 604s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 604s ok 2 /async-splice/copy-chunks-threaded-input 604s ok 3 /async-splice/copy-chunks-threaded-output 604s ok 4 /async-splice/copy-chunks-threaded 604s ok 5 /async-splice/cancelled 604s # End of async-splice tests 604s ok - glib/async-splice-output-stream.test 604s # Running test: glib/task.test 604s TAP version 13 604s # random seed: R02Sd72c51fc2d961b70e540fd24e8f1ab6f 604s 1..36 604s # Start of gtask tests 604s ok 1 /gtask/basic 604s ok 2 /gtask/error 604s ok 3 /gtask/error-literal 604s ok 4 /gtask/error-literal-from-variable 604s ok 5 /gtask/return-from-same-iteration 604s ok 6 /gtask/return-from-toplevel 604s ok 7 /gtask/return-from-anon-thread 604s ok 8 /gtask/return-from-wrong-thread 604s ok 9 /gtask/no-callback 604s ok 10 /gtask/report-error 604s ok 11 /gtask/priority 604s ok 12 /gtask/name 604s ok 13 /gtask/static-name 604s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 604s ok 14 /gtask/asynchronous-cancellation 604s ok 15 /gtask/check-cancellable 604s ok 16 /gtask/return-if-cancelled 604s ok 17 /gtask/run-in-thread 604s ok 18 /gtask/run-in-thread-sync 604s ok 19 /gtask/run-in-thread-priority 604s ok 20 /gtask/run-in-thread-nested 605s ok 21 /gtask/run-in-thread-overflow 605s # slow test /gtask/run-in-thread-overflow executed in 0.51 secs 605s # GLib-GIO-DEBUG: GTask 0x12b0e8cb3520 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 605s # GLib-GIO-DEBUG: GTask 0x12b0e8cb2e90 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 605s ok 22 /gtask/return-on-cancel 605s # GLib-GIO-DEBUG: GTask 0x12b0e8d1eb70 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 605s # GLib-GIO-DEBUG: GTask 0x12b0e8cb3600 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 605s ok 23 /gtask/return-on-cancel-sync 605s ok 24 /gtask/return-on-cancel-atomic 605s ok 25 /gtask/return-pointer 605s ok 26 /gtask/return-value 605s ok 27 /gtask/return-prefixed-error 605s ok 28 /gtask/object-keepalive 605s ok 29 /gtask/legacy-error 605s ok 30 /gtask/finalize-without-return 605s # Start of name tests 605s ok 31 /gtask/name/macro-wrapper 605s # End of name tests 605s # Start of return tests 605s ok 32 /gtask/return/error-first 605s ok 33 /gtask/return/value-first 605s # Start of in-idle tests 605s ok 34 /gtask/return/in-idle/error-first 605s ok 35 /gtask/return/in-idle/value-first 605s # End of in-idle tests 605s # End of return tests 605s # Start of attach-source tests 605s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source?s name if unset 605s ok 36 /gtask/attach-source/set-name 605s # End of attach-source tests 605s # End of gtask tests 605s ok - glib/task.test 605s # Running test: glib/cond.test 605s TAP version 13 605s # random seed: R02S1a19a06cdd33f7b6ad29b18f87588b03 605s 1..4 605s # Start of thread tests 605s ok 1 /thread/cond1 605s ok 2 /thread/cond2 605s # Start of cond tests 606s # Executing: glib/cond.test 606s ok 3 /thread/cond/wait-until 606s # slow test /thread/cond/wait-until executed in 1.02 secs 606s # Start of wait-until tests 606s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 606s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 607s ok 4 /thread/cond/wait-until/contended-and-interrupted 607s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 607s # End of wait-until tests 607s # End of cond tests 607s # End of thread tests 607s ok - glib/cond.test 607s # Running test: glib/gdbus-serialization.test 607s TAP version 13 607s # random seed: R02S87dbccbe0cfe10d6b062cb2d7ec33554 607s 1..18 607s # Start of gdbus tests 607s # Start of message-serialize tests 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/basic/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/basic/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/basic/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/basic/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/basic/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/basic/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/basic/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/basic/.dirs/runtime 607s ok 1 /gdbus/message-serialize/basic 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/complex/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/complex/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/complex/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/complex/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/complex/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/complex/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/complex/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/complex/.dirs/runtime 607s ok 2 /gdbus/message-serialize/complex 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/invalid/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/invalid/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/invalid/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/invalid/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/invalid/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/invalid/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/invalid/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/invalid/.dirs/runtime 607s ok 3 /gdbus/message-serialize/invalid 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/header-checks/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/header-checks/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/header-checks/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/header-checks/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/header-checks/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/header-checks/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/header-checks/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/header-checks/.dirs/runtime 607s ok 4 /gdbus/message-serialize/header-checks 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/double-array/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/double-array/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/double-array/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/double-array/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/double-array/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/double-array/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/double-array/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/double-array/.dirs/runtime 607s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 607s ok 5 /gdbus/message-serialize/double-array 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/empty-structure/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/empty-structure/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/empty-structure/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/empty-structure/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/empty-structure/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/empty-structure/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/empty-structure/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/empty-structure/.dirs/runtime 607s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 607s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 607s ok 6 /gdbus/message-serialize/empty-structure 607s # Start of header-checks tests 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/header-checks/valid/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/header-checks/valid/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/header-checks/valid/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/header-checks/valid/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/header-checks/valid/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-serialize/header-checks/valid/.dirs/runtime 607s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 607s ok 7 /gdbus/message-serialize/header-checks/valid 607s # End of header-checks tests 607s # End of message-serialize tests 607s # Start of message-parse tests 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 607s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 607s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/non-signature-header/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/non-signature-header/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/non-signature-header/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/non-signature-header/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/non-signature-header/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/non-signature-header/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/non-signature-header/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/non-signature-header/.dirs/runtime 607s ok 9 /gdbus/message-parse/non-signature-header 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/empty-signature-header/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/empty-signature-header/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/empty-signature-header/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/empty-signature-header/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/empty-signature-header/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/empty-signature-header/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/empty-signature-header/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/empty-signature-header/.dirs/runtime 607s ok 10 /gdbus/message-parse/empty-signature-header 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/multiple-signature-header/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/multiple-signature-header/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/multiple-signature-header/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/multiple-signature-header/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/multiple-signature-header/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/multiple-signature-header/.dirs/runtime 607s ok 11 /gdbus/message-parse/multiple-signature-header 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/over-long-signature-header/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/over-long-signature-header/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/over-long-signature-header/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/over-long-signature-header/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/over-long-signature-header/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/over-long-signature-header/.dirs/runtime 607s ok 12 /gdbus/message-parse/over-long-signature-header 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/deep-header-nesting/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/deep-header-nesting/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/deep-header-nesting/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/deep-header-nesting/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/deep-header-nesting/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/deep-header-nesting/.dirs/runtime 607s ok 13 /gdbus/message-parse/deep-header-nesting 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/deep-body-nesting/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/deep-body-nesting/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/deep-body-nesting/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/deep-body-nesting/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/deep-body-nesting/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/deep-body-nesting/.dirs/runtime 607s ok 14 /gdbus/message-parse/deep-body-nesting 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/truncated/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/truncated/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/truncated/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/truncated/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/truncated/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/truncated/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/truncated/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/truncated/.dirs/runtime 607s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 607s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 607s ok 15 /gdbus/message-parse/truncated 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/empty-structure/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/empty-structure/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/empty-structure/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/empty-structure/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/empty-structure/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/empty-structure/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/empty-structure/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/empty-structure/.dirs/runtime 607s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 607s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 607s ok 16 /gdbus/message-parse/empty-structure 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/missing-header/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/missing-header/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/missing-header/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/missing-header/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/missing-header/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/missing-header/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/missing-header/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/missing-header/.dirs/runtime 607s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 607s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 607s ok 17 /gdbus/message-parse/missing-header 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/invalid-header-type/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/invalid-header-type/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/invalid-header-type/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/invalid-header-type/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/invalid-header-type/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/invalid-header-type/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/invalid-header-type/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_G6HSK2/gdbus/message-parse/invalid-header-type/.dirs/runtime 607s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 607s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 607s ok 18 /gdbus/message-parse/invalid-header-type 607s # End of message-parse tests 607s # End of gdbus tests 607s ok - glib/gdbus-serialization.test 607s # Running test: glib/tls-certificate.test 607s TAP version 13 607s # random seed: R02Sef90604c87ca640f1f054ff6098d7156 607s 1..19 607s # Start of tls-certificate tests 607s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 607s ok 1 /tls-certificate/pem-parser 607s ok 2 /tls-certificate/pem-parser-handles-chain 607s ok 3 /tls-certificate/from_file 607s ok 4 /tls-certificate/from_files 607s ok 5 /tls-certificate/from_files_crlf 607s ok 6 /tls-certificate/from_files_pkcs8 607s ok 7 /tls-certificate/from_files_pkcs8enc 607s ok 8 /tls-certificate/list_from_file 607s ok 9 /tls-certificate/pkcs11-uri 607s ok 10 /tls-certificate/pkcs11-uri-unsupported 607s ok 11 /tls-certificate/from_pkcs12 607s ok 12 /tls-certificate/from_pkcs12_file 607s ok 13 /tls-certificate/not-valid-before 607s ok 14 /tls-certificate/not-valid-after 607s ok 15 /tls-certificate/subject-name 607s ok 16 /tls-certificate/issuer-name 607s ok 17 /tls-certificate/dns-names 607s ok 18 /tls-certificate/ip-addresses 607s ok 19 /tls-certificate/pem-parser-no-sentinel 607s # End of tls-certificate tests 607s ok - glib/tls-certificate.test 607s # Running test: glib/dynamictests.test 607s TAP version 13 607s # random seed: R02S0a3700ddc3b5afbd08e7487ddf5e5d57 607s 1..2 607s # Start of GObject tests 607s ok 1 /GObject/threaded-dynamic-ref-unref-init 607s ok 2 /GObject/dynamic-interface-properties 607s # End of GObject tests 607s ok - glib/dynamictests.test 607s # Running test: glib/deftype.test 607s ok - glib/deftype.test 607s # Running test: glib/tls-bindings.test 607s TAP version 13 607s # random seed: R02Saaee22e01e533a3c1d16ef914b5a1b54 607s 1..2 607s # Start of tls-connection tests 607s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 607s ok 1 /tls-connection/get-tls-channel-binding 607s ok 2 /tls-connection/get-dtls-channel-binding 607s # End of tls-connection tests 607s ok - glib/tls-bindings.test 607s # Running test: glib/fileattributematcher.test 607s TAP version 13 607s # random seed: R02Sa8cca9e7a28945e6d44a13649ffecf97 607s 1..3 607s # Start of fileattributematcher tests 607s ok 1 /fileattributematcher/exact 607s ok 2 /fileattributematcher/equality 607s ok 3 /fileattributematcher/subtract 607s # End of fileattributematcher tests 607s ok - glib/fileattributematcher.test 607s # Running test: glib/gdbus-introspection.test 607s TAP version 13 607s # random seed: R02S961afe1cf31f0acb17cbcca99680e0fd 607s 1..4 607s # Start of gdbus tests 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_DHOXK2/gdbus/introspection-parser/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_DHOXK2/gdbus/introspection-parser/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_DHOXK2/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_DHOXK2/gdbus/introspection-parser/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_DHOXK2/gdbus/introspection-parser/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_DHOXK2/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_DHOXK2/gdbus/introspection-parser/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_DHOXK2/gdbus/introspection-parser/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_DHOXK2/gdbus/introspection-parser/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_DHOXK2/gdbus/introspection-parser/.dirs/runtime 607s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 607s ok 1 /gdbus/introspection-parser 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_DHOXK2/gdbus/introspection-generate/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_DHOXK2/gdbus/introspection-generate/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_DHOXK2/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_DHOXK2/gdbus/introspection-generate/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_DHOXK2/gdbus/introspection-generate/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_DHOXK2/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_DHOXK2/gdbus/introspection-generate/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_DHOXK2/gdbus/introspection-generate/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_DHOXK2/gdbus/introspection-generate/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_DHOXK2/gdbus/introspection-generate/.dirs/runtime 607s ok 2 /gdbus/introspection-generate 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_DHOXK2/gdbus/introspection-default-direction/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_DHOXK2/gdbus/introspection-default-direction/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_DHOXK2/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_DHOXK2/gdbus/introspection-default-direction/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_DHOXK2/gdbus/introspection-default-direction/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_DHOXK2/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_DHOXK2/gdbus/introspection-default-direction/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_DHOXK2/gdbus/introspection-default-direction/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_DHOXK2/gdbus/introspection-default-direction/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_DHOXK2/gdbus/introspection-default-direction/.dirs/runtime 607s ok 3 /gdbus/introspection-default-direction 607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_DHOXK2/gdbus/introspection-extra-data/.dirs/home 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_DHOXK2/gdbus/introspection-extra-data/.dirs/cache 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_DHOXK2/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_DHOXK2/gdbus/introspection-extra-data/.dirs/system-config2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_DHOXK2/gdbus/introspection-extra-data/.dirs/config 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_DHOXK2/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_DHOXK2/gdbus/introspection-extra-data/.dirs/system-data2 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_DHOXK2/gdbus/introspection-extra-data/.dirs/data 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_DHOXK2/gdbus/introspection-extra-data/.dirs/state 607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_DHOXK2/gdbus/introspection-extra-data/.dirs/runtime 607s ok 4 /gdbus/introspection-extra-data 607s # End of gdbus tests 607s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 607s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 607s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 607s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 607s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 607s ok - glib/gdbus-introspection.test 607s # Running test: glib/mutex.test 607s TAP version 13 607s # random seed: R02S6cf6f9575b6cd31dcefa608885453912 607s 1..17 607s # Start of thread tests 607s ok 1 /thread/mutex1 607s ok 2 /thread/mutex2 607s ok 3 /thread/mutex3 607s ok 4 /thread/mutex4 611s # Executing: glib/mutex.test 616s # Executing: glib/mutex.test 616s ok 5 /thread/mutex5 616s # slow test /thread/mutex5 executed in 8.90 secs 616s # Start of mutex tests 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 616s # /thread/mutex/errno summary: Validates that errno is not touched upon return 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 617s ok 6 /thread/mutex/errno 617s # slow test /thread/mutex/errno executed in 0.65 secs 617s # Start of perf tests 617s # max perf: inf mips 617s ok 7 /thread/mutex/perf/uncontended 617s # Start of contended tests 617s # max perf: 2.000000 mips 617s ok 8 /thread/mutex/perf/contended/1 617s # max perf: 3.000000 mips 617s ok 9 /thread/mutex/perf/contended/2 617s # max perf: 4.000000 mips 617s ok 10 /thread/mutex/perf/contended/3 617s # max perf: inf mips 617s ok 11 /thread/mutex/perf/contended/4 617s # max perf: inf mips 617s ok 12 /thread/mutex/perf/contended/5 617s # max perf: 7.000000 mips 617s ok 13 /thread/mutex/perf/contended/6 617s # max perf: 8.000000 mips 617s ok 14 /thread/mutex/perf/contended/7 617s # max perf: 9.000000 mips 617s ok 15 /thread/mutex/perf/contended/8 617s # max perf: 10.000000 mips 617s ok 16 /thread/mutex/perf/contended/9 617s # max perf: 11.000000 mips 617s ok 17 /thread/mutex/perf/contended/10 617s # End of contended tests 617s # End of perf tests 617s # End of mutex tests 617s # End of thread tests 617s ok - glib/mutex.test 617s # Running test: glib/private.test 617s TAP version 13 617s # random seed: R02S57bc0f640c5b8a83871ccf19b729b0df 617s 1..8 617s # Start of thread tests 617s ok 1 /thread/private1 618s ok 2 /thread/private2 618s # slow test /thread/private2 executed in 1.09 secs 618s ok 3 /thread/private3 618s ok 4 /thread/staticprivate1 618s ok 5 /thread/staticprivate2 618s ok 6 /thread/staticprivate3 619s ok 7 /thread/staticprivate4 619s # slow test /thread/staticprivate4 executed in 1.09 secs 619s ok 8 /thread/staticprivate5 619s # End of thread tests 619s ok - glib/private.test 619s # Running test: glib/dir.test 619s TAP version 13 619s # random seed: R02S4a11bc770380bceaa1b11af51f769c7e 619s 1..3 619s # Start of dir tests 619s ok 1 /dir/read 619s ok 2 /dir/nonexisting 619s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 619s ok 3 /dir/refcounting 619s # End of dir tests 619s ok - glib/dir.test 619s # Running test: glib/tls-database.test 619s TAP version 13 619s # random seed: R02S7dcffdfaaf9c7247bf02ee4ee529824d 619s 1..1 619s # Start of tls-backend tests 619s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 619s ok 1 /tls-backend/set-default-database 619s # End of tls-backend tests 619s ok - glib/tls-database.test 619s # Running test: glib/file.test 619s TAP version 13 619s # random seed: R02S86e515664196a94b3c0ed206a7e821b1 619s 1..50 619s # Start of file tests 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_F9LSK2/file/basic/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_F9LSK2/file/basic/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_F9LSK2/file/basic/.dirs/system-config1:/tmp/test_file_F9LSK2/file/basic/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_F9LSK2/file/basic/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_F9LSK2/file/basic/.dirs/system-data1:/tmp/test_file_F9LSK2/file/basic/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_F9LSK2/file/basic/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_F9LSK2/file/basic/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_F9LSK2/file/basic/.dirs/runtime 619s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 619s ok 1 /file/basic 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_F9LSK2/file/build-filename/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_F9LSK2/file/build-filename/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_F9LSK2/file/build-filename/.dirs/system-config1:/tmp/test_file_F9LSK2/file/build-filename/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_F9LSK2/file/build-filename/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_F9LSK2/file/build-filename/.dirs/system-data1:/tmp/test_file_F9LSK2/file/build-filename/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_F9LSK2/file/build-filename/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_F9LSK2/file/build-filename/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_F9LSK2/file/build-filename/.dirs/runtime 619s ok 2 /file/build-filename 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_F9LSK2/file/build-filenamev/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_F9LSK2/file/build-filenamev/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_F9LSK2/file/build-filenamev/.dirs/system-config1:/tmp/test_file_F9LSK2/file/build-filenamev/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_F9LSK2/file/build-filenamev/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_F9LSK2/file/build-filenamev/.dirs/system-data1:/tmp/test_file_F9LSK2/file/build-filenamev/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_F9LSK2/file/build-filenamev/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_F9LSK2/file/build-filenamev/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_F9LSK2/file/build-filenamev/.dirs/runtime 619s ok 3 /file/build-filenamev 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_F9LSK2/file/parent/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_F9LSK2/file/parent/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_F9LSK2/file/parent/.dirs/system-config1:/tmp/test_file_F9LSK2/file/parent/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_F9LSK2/file/parent/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_F9LSK2/file/parent/.dirs/system-data1:/tmp/test_file_F9LSK2/file/parent/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_F9LSK2/file/parent/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_F9LSK2/file/parent/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_F9LSK2/file/parent/.dirs/runtime 619s ok 4 /file/parent 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_F9LSK2/file/child/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_F9LSK2/file/child/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_F9LSK2/file/child/.dirs/system-config1:/tmp/test_file_F9LSK2/file/child/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_F9LSK2/file/child/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_F9LSK2/file/child/.dirs/system-data1:/tmp/test_file_F9LSK2/file/child/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_F9LSK2/file/child/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_F9LSK2/file/child/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_F9LSK2/file/child/.dirs/runtime 619s ok 5 /file/child 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_F9LSK2/file/empty-path/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_F9LSK2/file/empty-path/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_F9LSK2/file/empty-path/.dirs/system-config1:/tmp/test_file_F9LSK2/file/empty-path/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_F9LSK2/file/empty-path/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_F9LSK2/file/empty-path/.dirs/system-data1:/tmp/test_file_F9LSK2/file/empty-path/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_F9LSK2/file/empty-path/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_F9LSK2/file/empty-path/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_F9LSK2/file/empty-path/.dirs/runtime 619s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 619s # /file/empty-path summary: Check that creating a file with an empty path results in errors 619s ok 6 /file/empty-path 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_F9LSK2/file/type/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_F9LSK2/file/type/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_F9LSK2/file/type/.dirs/system-config1:/tmp/test_file_F9LSK2/file/type/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_F9LSK2/file/type/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_F9LSK2/file/type/.dirs/system-data1:/tmp/test_file_F9LSK2/file/type/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_F9LSK2/file/type/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_F9LSK2/file/type/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_F9LSK2/file/type/.dirs/runtime 619s ok 7 /file/type 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_F9LSK2/file/parse-name/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_F9LSK2/file/parse-name/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_F9LSK2/file/parse-name/.dirs/system-config1:/tmp/test_file_F9LSK2/file/parse-name/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_F9LSK2/file/parse-name/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_F9LSK2/file/parse-name/.dirs/system-data1:/tmp/test_file_F9LSK2/file/parse-name/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_F9LSK2/file/parse-name/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_F9LSK2/file/parse-name/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_F9LSK2/file/parse-name/.dirs/runtime 619s ok 8 /file/parse-name 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_F9LSK2/file/replace-load/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_F9LSK2/file/replace-load/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_F9LSK2/file/replace-load/.dirs/system-config1:/tmp/test_file_F9LSK2/file/replace-load/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_F9LSK2/file/replace-load/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_F9LSK2/file/replace-load/.dirs/system-data1:/tmp/test_file_F9LSK2/file/replace-load/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_F9LSK2/file/replace-load/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_F9LSK2/file/replace-load/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_F9LSK2/file/replace-load/.dirs/runtime 619s ok 9 /file/replace-load 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_F9LSK2/file/replace-cancel/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_F9LSK2/file/replace-cancel/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_F9LSK2/file/replace-cancel/.dirs/system-config1:/tmp/test_file_F9LSK2/file/replace-cancel/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_F9LSK2/file/replace-cancel/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_F9LSK2/file/replace-cancel/.dirs/system-data1:/tmp/test_file_F9LSK2/file/replace-cancel/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_F9LSK2/file/replace-cancel/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_F9LSK2/file/replace-cancel/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_F9LSK2/file/replace-cancel/.dirs/runtime 619s # Bug Reference: https://bugzilla.gnome.org/629301 619s ok 10 /file/replace-cancel 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_F9LSK2/file/replace-symlink/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_F9LSK2/file/replace-symlink/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_F9LSK2/file/replace-symlink/.dirs/system-config1:/tmp/test_file_F9LSK2/file/replace-symlink/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_F9LSK2/file/replace-symlink/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_F9LSK2/file/replace-symlink/.dirs/system-data1:/tmp/test_file_F9LSK2/file/replace-symlink/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_F9LSK2/file/replace-symlink/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_F9LSK2/file/replace-symlink/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_F9LSK2/file/replace-symlink/.dirs/runtime 619s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 619s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 619s # Using temporary directory /tmp/test_file_F9LSK2/g_file_replace_symlink_M1USK2 619s ok 11 /file/replace-symlink 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_F9LSK2/file/async-new-tmp/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_F9LSK2/file/async-new-tmp/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_F9LSK2/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_F9LSK2/file/async-new-tmp/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_F9LSK2/file/async-new-tmp/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_F9LSK2/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_F9LSK2/file/async-new-tmp/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_F9LSK2/file/async-new-tmp/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_F9LSK2/file/async-new-tmp/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_F9LSK2/file/async-new-tmp/.dirs/runtime 619s ok 12 /file/async-new-tmp 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_F9LSK2/file/async-new-tmp-dir/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_F9LSK2/file/async-new-tmp-dir/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_F9LSK2/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_F9LSK2/file/async-new-tmp-dir/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_F9LSK2/file/async-new-tmp-dir/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_F9LSK2/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_F9LSK2/file/async-new-tmp-dir/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_F9LSK2/file/async-new-tmp-dir/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_F9LSK2/file/async-new-tmp-dir/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_F9LSK2/file/async-new-tmp-dir/.dirs/runtime 619s ok 13 /file/async-new-tmp-dir 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_F9LSK2/file/async-delete/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_F9LSK2/file/async-delete/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_F9LSK2/file/async-delete/.dirs/system-config1:/tmp/test_file_F9LSK2/file/async-delete/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_F9LSK2/file/async-delete/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_F9LSK2/file/async-delete/.dirs/system-data1:/tmp/test_file_F9LSK2/file/async-delete/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_F9LSK2/file/async-delete/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_F9LSK2/file/async-delete/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_F9LSK2/file/async-delete/.dirs/runtime 619s ok 14 /file/async-delete 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_F9LSK2/file/async-make-symlink/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_F9LSK2/file/async-make-symlink/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_F9LSK2/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_F9LSK2/file/async-make-symlink/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_F9LSK2/file/async-make-symlink/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_F9LSK2/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_F9LSK2/file/async-make-symlink/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_F9LSK2/file/async-make-symlink/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_F9LSK2/file/async-make-symlink/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_F9LSK2/file/async-make-symlink/.dirs/runtime 619s ok 15 /file/async-make-symlink 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_F9LSK2/file/copy-preserve-mode/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_F9LSK2/file/copy-preserve-mode/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_F9LSK2/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_F9LSK2/file/copy-preserve-mode/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_F9LSK2/file/copy-preserve-mode/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_F9LSK2/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_F9LSK2/file/copy-preserve-mode/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_F9LSK2/file/copy-preserve-mode/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_F9LSK2/file/copy-preserve-mode/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_F9LSK2/file/copy-preserve-mode/.dirs/runtime 619s # Current umask: 2 619s # Vector 0 619s # Vector 1 619s # Vector 2 619s # Vector 3 619s # Vector 4 619s # Vector 5 619s # Vector 6 619s # Vector 7 619s # Vector 8 619s # Vector 9 619s # Vector 10 619s ok 16 /file/copy-preserve-mode 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_F9LSK2/file/measure/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_F9LSK2/file/measure/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_F9LSK2/file/measure/.dirs/system-config1:/tmp/test_file_F9LSK2/file/measure/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_F9LSK2/file/measure/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_F9LSK2/file/measure/.dirs/system-data1:/tmp/test_file_F9LSK2/file/measure/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_F9LSK2/file/measure/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_F9LSK2/file/measure/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_F9LSK2/file/measure/.dirs/runtime 619s ok 17 /file/measure 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_F9LSK2/file/measure-async/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_F9LSK2/file/measure-async/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_F9LSK2/file/measure-async/.dirs/system-config1:/tmp/test_file_F9LSK2/file/measure-async/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_F9LSK2/file/measure-async/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_F9LSK2/file/measure-async/.dirs/system-data1:/tmp/test_file_F9LSK2/file/measure-async/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_F9LSK2/file/measure-async/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_F9LSK2/file/measure-async/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_F9LSK2/file/measure-async/.dirs/runtime 619s ok 18 /file/measure-async 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_F9LSK2/file/load-bytes/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_F9LSK2/file/load-bytes/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_F9LSK2/file/load-bytes/.dirs/system-config1:/tmp/test_file_F9LSK2/file/load-bytes/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_F9LSK2/file/load-bytes/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_F9LSK2/file/load-bytes/.dirs/system-data1:/tmp/test_file_F9LSK2/file/load-bytes/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_F9LSK2/file/load-bytes/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_F9LSK2/file/load-bytes/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_F9LSK2/file/load-bytes/.dirs/runtime 619s ok 19 /file/load-bytes 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_F9LSK2/file/load-bytes-async/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_F9LSK2/file/load-bytes-async/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_F9LSK2/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_F9LSK2/file/load-bytes-async/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_F9LSK2/file/load-bytes-async/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_F9LSK2/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_F9LSK2/file/load-bytes-async/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_F9LSK2/file/load-bytes-async/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_F9LSK2/file/load-bytes-async/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_F9LSK2/file/load-bytes-async/.dirs/runtime 619s ok 20 /file/load-bytes-async 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_F9LSK2/file/writev/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_F9LSK2/file/writev/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_F9LSK2/file/writev/.dirs/system-config1:/tmp/test_file_F9LSK2/file/writev/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_F9LSK2/file/writev/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_F9LSK2/file/writev/.dirs/system-data1:/tmp/test_file_F9LSK2/file/writev/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_F9LSK2/file/writev/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_F9LSK2/file/writev/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_F9LSK2/file/writev/.dirs/runtime 619s ok 21 /file/writev 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_F9LSK2/file/build-attribute-list-for-copy/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_F9LSK2/file/build-attribute-list-for-copy/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_F9LSK2/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_F9LSK2/file/build-attribute-list-for-copy/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_F9LSK2/file/build-attribute-list-for-copy/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_F9LSK2/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_F9LSK2/file/build-attribute-list-for-copy/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_F9LSK2/file/build-attribute-list-for-copy/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_F9LSK2/file/build-attribute-list-for-copy/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_F9LSK2/file/build-attribute-list-for-copy/.dirs/runtime 619s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 619s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 619s # 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::* 619s # 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::* 619s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 619s # Attributes for copy: standard::size,xattr::* 619s # Attributes for copy: standard::size,unix::mode,xattr::* 619s ok 22 /file/build-attribute-list-for-copy 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_F9LSK2/file/move_async/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_F9LSK2/file/move_async/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_F9LSK2/file/move_async/.dirs/system-config1:/tmp/test_file_F9LSK2/file/move_async/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_F9LSK2/file/move_async/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_F9LSK2/file/move_async/.dirs/system-data1:/tmp/test_file_F9LSK2/file/move_async/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_F9LSK2/file/move_async/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_F9LSK2/file/move_async/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_F9LSK2/file/move_async/.dirs/runtime 619s ok 23 /file/move_async 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_F9LSK2/file/query-zero-length-content-type/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_F9LSK2/file/query-zero-length-content-type/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_F9LSK2/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_F9LSK2/file/query-zero-length-content-type/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_F9LSK2/file/query-zero-length-content-type/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_F9LSK2/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_F9LSK2/file/query-zero-length-content-type/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_F9LSK2/file/query-zero-length-content-type/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_F9LSK2/file/query-zero-length-content-type/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_F9LSK2/file/query-zero-length-content-type/.dirs/runtime 619s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 619s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 619s ok 24 /file/query-zero-length-content-type 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_F9LSK2/file/query-default-handler-file/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_F9LSK2/file/query-default-handler-file/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_F9LSK2/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_F9LSK2/file/query-default-handler-file/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_F9LSK2/file/query-default-handler-file/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_F9LSK2/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_F9LSK2/file/query-default-handler-file/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_F9LSK2/file/query-default-handler-file/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_F9LSK2/file/query-default-handler-file/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_F9LSK2/file/query-default-handler-file/.dirs/runtime 619s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_F9LSK2/file/query-default-handler-file/.dirs/data/applications 619s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_F9LSK2/file/query-default-handler-file/.dirs/config 619s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_F9LSK2/file/query-default-handler-file/.dirs/config 619s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_F9LSK2/file/query-default-handler-file/.dirs/config 619s ok 25 /file/query-default-handler-file 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_F9LSK2/file/query-default-handler-file-async/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_F9LSK2/file/query-default-handler-file-async/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_F9LSK2/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_F9LSK2/file/query-default-handler-file-async/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_F9LSK2/file/query-default-handler-file-async/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_F9LSK2/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_F9LSK2/file/query-default-handler-file-async/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_F9LSK2/file/query-default-handler-file-async/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_F9LSK2/file/query-default-handler-file-async/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_F9LSK2/file/query-default-handler-file-async/.dirs/runtime 619s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_F9LSK2/file/query-default-handler-file-async/.dirs/data/applications 619s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_F9LSK2/file/query-default-handler-file-async/.dirs/config 619s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_F9LSK2/file/query-default-handler-file/.dirs/config to /tmp/test_file_F9LSK2/file/query-default-handler-file-async/.dirs/config 619s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_F9LSK2/file/query-default-handler-file-async/.dirs/config 619s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_F9LSK2/file/query-default-handler-file-async/.dirs/config 619s ok 26 /file/query-default-handler-file-async 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_F9LSK2/file/query-default-handler-uri/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_F9LSK2/file/query-default-handler-uri/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_F9LSK2/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_F9LSK2/file/query-default-handler-uri/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_F9LSK2/file/query-default-handler-uri/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_F9LSK2/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_F9LSK2/file/query-default-handler-uri/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_F9LSK2/file/query-default-handler-uri/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_F9LSK2/file/query-default-handler-uri/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_F9LSK2/file/query-default-handler-uri/.dirs/runtime 619s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_F9LSK2/file/query-default-handler-uri/.dirs/data/applications 619s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_F9LSK2/file/query-default-handler-uri/.dirs/config 619s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_F9LSK2/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_F9LSK2/file/query-default-handler-uri/.dirs/config 619s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_F9LSK2/file/query-default-handler-uri/.dirs/config 619s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_F9LSK2/file/query-default-handler-uri/.dirs/config 619s ok 27 /file/query-default-handler-uri 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_F9LSK2/file/query-default-handler-uri-async/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_F9LSK2/file/query-default-handler-uri-async/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_F9LSK2/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_F9LSK2/file/query-default-handler-uri-async/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_F9LSK2/file/query-default-handler-uri-async/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_F9LSK2/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_F9LSK2/file/query-default-handler-uri-async/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_F9LSK2/file/query-default-handler-uri-async/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_F9LSK2/file/query-default-handler-uri-async/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_F9LSK2/file/query-default-handler-uri-async/.dirs/runtime 619s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_F9LSK2/file/query-default-handler-uri-async/.dirs/data/applications 619s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_F9LSK2/file/query-default-handler-uri-async/.dirs/config 619s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_F9LSK2/file/query-default-handler-uri/.dirs/config to /tmp/test_file_F9LSK2/file/query-default-handler-uri-async/.dirs/config 619s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_F9LSK2/file/query-default-handler-uri-async/.dirs/config 619s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_F9LSK2/file/query-default-handler-uri-async/.dirs/config 619s ok 28 /file/query-default-handler-uri-async 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_F9LSK2/file/enumerator-cancellation/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_F9LSK2/file/enumerator-cancellation/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_F9LSK2/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_F9LSK2/file/enumerator-cancellation/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_F9LSK2/file/enumerator-cancellation/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_F9LSK2/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_F9LSK2/file/enumerator-cancellation/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_F9LSK2/file/enumerator-cancellation/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_F9LSK2/file/enumerator-cancellation/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_F9LSK2/file/enumerator-cancellation/.dirs/runtime 619s ok 29 /file/enumerator-cancellation 619s # Start of async-create-delete tests 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_F9LSK2/file/async-create-delete/0/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_F9LSK2/file/async-create-delete/0/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_F9LSK2/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_F9LSK2/file/async-create-delete/0/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_F9LSK2/file/async-create-delete/0/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_F9LSK2/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_F9LSK2/file/async-create-delete/0/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_F9LSK2/file/async-create-delete/0/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_F9LSK2/file/async-create-delete/0/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_F9LSK2/file/async-create-delete/0/.dirs/runtime 619s ok 30 /file/async-create-delete/0 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_F9LSK2/file/async-create-delete/1/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_F9LSK2/file/async-create-delete/1/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_F9LSK2/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_F9LSK2/file/async-create-delete/1/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_F9LSK2/file/async-create-delete/1/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_F9LSK2/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_F9LSK2/file/async-create-delete/1/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_F9LSK2/file/async-create-delete/1/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_F9LSK2/file/async-create-delete/1/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_F9LSK2/file/async-create-delete/1/.dirs/runtime 619s ok 31 /file/async-create-delete/1 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_F9LSK2/file/async-create-delete/10/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_F9LSK2/file/async-create-delete/10/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_F9LSK2/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_F9LSK2/file/async-create-delete/10/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_F9LSK2/file/async-create-delete/10/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_F9LSK2/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_F9LSK2/file/async-create-delete/10/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_F9LSK2/file/async-create-delete/10/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_F9LSK2/file/async-create-delete/10/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_F9LSK2/file/async-create-delete/10/.dirs/runtime 619s ok 32 /file/async-create-delete/10 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_F9LSK2/file/async-create-delete/25/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_F9LSK2/file/async-create-delete/25/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_F9LSK2/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_F9LSK2/file/async-create-delete/25/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_F9LSK2/file/async-create-delete/25/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_F9LSK2/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_F9LSK2/file/async-create-delete/25/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_F9LSK2/file/async-create-delete/25/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_F9LSK2/file/async-create-delete/25/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_F9LSK2/file/async-create-delete/25/.dirs/runtime 619s ok 33 /file/async-create-delete/25 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_F9LSK2/file/async-create-delete/4096/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_F9LSK2/file/async-create-delete/4096/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_F9LSK2/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_F9LSK2/file/async-create-delete/4096/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_F9LSK2/file/async-create-delete/4096/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_F9LSK2/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_F9LSK2/file/async-create-delete/4096/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_F9LSK2/file/async-create-delete/4096/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_F9LSK2/file/async-create-delete/4096/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_F9LSK2/file/async-create-delete/4096/.dirs/runtime 619s ok 34 /file/async-create-delete/4096 619s # End of async-create-delete tests 619s # Start of replace-symlink tests 619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_F9LSK2/file/replace-symlink/using-etag/.dirs/home 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_F9LSK2/file/replace-symlink/using-etag/.dirs/cache 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_F9LSK2/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_F9LSK2/file/replace-symlink/using-etag/.dirs/system-config2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_F9LSK2/file/replace-symlink/using-etag/.dirs/config 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_F9LSK2/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_F9LSK2/file/replace-symlink/using-etag/.dirs/system-data2 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_F9LSK2/file/replace-symlink/using-etag/.dirs/data 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_F9LSK2/file/replace-symlink/using-etag/.dirs/state 619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_F9LSK2/file/replace-symlink/using-etag/.dirs/runtime 619s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 619s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 619s # Using temporary directory /tmp/test_file_F9LSK2/g_file_replace_symlink_using_etag_IIQUK2 621s # Executing: glib/file.test 621s ok 35 /file/replace-symlink/using-etag 621s # slow test /file/replace-symlink/using-etag executed in 2.02 secs 621s # End of replace-symlink tests 621s # Start of replace tests 621s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_F9LSK2/file/replace/write-only/.dirs/home 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_F9LSK2/file/replace/write-only/.dirs/cache 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_F9LSK2/file/replace/write-only/.dirs/system-config1:/tmp/test_file_F9LSK2/file/replace/write-only/.dirs/system-config2 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_F9LSK2/file/replace/write-only/.dirs/config 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_F9LSK2/file/replace/write-only/.dirs/system-data1:/tmp/test_file_F9LSK2/file/replace/write-only/.dirs/system-data2 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_F9LSK2/file/replace/write-only/.dirs/data 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_F9LSK2/file/replace/write-only/.dirs/state 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_F9LSK2/file/replace/write-only/.dirs/runtime 621s # /file/replace/write-only summary: Test various situations for g_file_replace() 621s # Current umask: 2 621s # Test 0, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_0BDUK2 621s # Test 1, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_82CUK2 621s # Test 2, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_DDFUK2 621s # Test 3, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_06IUK2 621s # Test 4, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_YGIUK2 621s # Test 5, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_JKOUK2 621s # Test 6, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_9ZEVK2 621s # Test 7, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_IHNVK2 621s # Test 8, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_J0MVK2 621s # Test 9, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_SKMVK2 621s # Test 10, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_69OVK2 621s # Test 11, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_5KNVK2 621s # Test 12, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_OA4UK2 621s # Test 13, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_QH4UK2 621s # Test 14, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_D92UK2 621s # Test 15, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_WQ1UK2 621s # Test 16, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_9W6UK2 621s # Test 17, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_BS5UK2 621s # Test 18, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_5IAVK2 621s # Test 19, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_XE9UK2 621s # Test 20, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_8S8UK2 621s # Test 21, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_UPDVK2 621s # Test 22, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_VADVK2 621s # Test 23, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_8NCVK2 621s # Test 24, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_LQBVK2 621s # Test 25, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_EC6VK2 621s # Test 26, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_NG6VK2 621s # Test 27, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_LW5VK2 621s # Test 28, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_4C5VK2 621s # Test 29, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_2U3VK2 621s # Test 30, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_WH3VK2 621s # Test 31, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_4O3VK2 621s # Test 32, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_8M8VK2 621s # Test 33, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_DY7VK2 621s # Test 34, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_AQ7VK2 621s # Test 35, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_A16VK2 621s # Test 36, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_0JCWK2 621s # Test 37, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_ADBWK2 621s # Test 38, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_XSAWK2 621s # Test 39, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_2GFWK2 621s # Test 40, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_RFEWK2 621s # Test 41, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_6IDWK2 621s # Test 42, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_M8SVK2 621s # Test 43, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_TNSVK2 621s # Test 44, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_UWQVK2 621s # Test 45, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_QVWVK2 621s # Test 46, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_11VVK2 621s # Test 47, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_P9VVK2 621s # Test 48, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_P4UVK2 621s # We do not have CAP_DAC_OVERRIDE or equivalent 621s ok 36 /file/replace/write-only 621s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_F9LSK2/file/replace/read-write/.dirs/home 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_F9LSK2/file/replace/read-write/.dirs/cache 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_F9LSK2/file/replace/read-write/.dirs/system-config1:/tmp/test_file_F9LSK2/file/replace/read-write/.dirs/system-config2 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_F9LSK2/file/replace/read-write/.dirs/config 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_F9LSK2/file/replace/read-write/.dirs/system-data1:/tmp/test_file_F9LSK2/file/replace/read-write/.dirs/system-data2 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_F9LSK2/file/replace/read-write/.dirs/data 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_F9LSK2/file/replace/read-write/.dirs/state 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_F9LSK2/file/replace/read-write/.dirs/runtime 621s # /file/replace/read-write summary: Test various situations for g_file_replace() 621s # Current umask: 2 621s # Test 0, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_DKUVK2 621s # Test 1, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_D1TVK2 621s # Test 2, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_HQZVK2 621s # Test 3, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_XNYVK2 621s # Test 4, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_ZXXVK2 621s # Test 5, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_5OXVK2 621s # Test 6, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_QF3VK2 621s # Test 7, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_K61VK2 621s # Test 8, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_EH1VK2 621s # Test 9, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_1P1VK2 621s # Test 10, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_GD0VK2 621s # Test 11, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_U0G2K2 621s # Test 12, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_MQG2K2 621s # Test 13, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_RVG2K2 621s # Test 14, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_AJF2K2 621s # Test 15, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_RPK2K2 621s # Test 16, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_91J2K2 621s # Test 17, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_TPI2K2 621s # Test 18, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_AEO2K2 621s # Test 19, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_75M2K2 621s # Test 20, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_31L2K2 621s # Test 21, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_D2Q2K2 621s # Test 22, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_6CQ2K2 621s # Test 23, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_BUP2K2 621s # Test 24, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_I9O2K2 621s # Test 25, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_9541K2 621s # Test 26, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_KE41K2 621s # Test 27, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_J331K2 621s # Test 28, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_IF31K2 621s # Test 29, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_P271K2 621s # Test 30, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_F571K2 621s # Test 31, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_UK71K2 621s # Test 32, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_FH61K2 621s # Test 33, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_VKB2K2 621s # Test 34, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_H9A2K2 621s # Test 35, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_4BB2K2 621s # Test 36, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_S191K2 621s # Test 37, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_GU81K2 621s # Test 38, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_H2D2K2 621s # Test 39, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_ECD2K2 621s # Test 40, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_66B2K2 621s # Test 41, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_AN62K2 621s # Test 42, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_I942K2 621s # Test 43, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_PF42K2 621s # Test 44, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_X392K2 621s # Test 45, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_QT92K2 621s # Test 46, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_OI82K2 621s # Test 47, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_ZP82K2 621s # Test 48, using temporary directory /tmp/test_file_F9LSK2/g_file_replace_2MD3K2 621s # We do not have CAP_DAC_OVERRIDE or equivalent 621s ok 37 /file/replace/read-write 621s # End of replace tests 621s # Start of copy tests 621s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_F9LSK2/file/copy/progress/.dirs/home 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_F9LSK2/file/copy/progress/.dirs/cache 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_F9LSK2/file/copy/progress/.dirs/system-config1:/tmp/test_file_F9LSK2/file/copy/progress/.dirs/system-config2 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_F9LSK2/file/copy/progress/.dirs/config 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_F9LSK2/file/copy/progress/.dirs/system-data1:/tmp/test_file_F9LSK2/file/copy/progress/.dirs/system-data2 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_F9LSK2/file/copy/progress/.dirs/data 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_F9LSK2/file/copy/progress/.dirs/state 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_F9LSK2/file/copy/progress/.dirs/runtime 621s ok 38 /file/copy/progress 621s # End of copy tests 621s # Start of writev tests 621s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_F9LSK2/file/writev/no-bytes-written/.dirs/home 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_F9LSK2/file/writev/no-bytes-written/.dirs/cache 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_F9LSK2/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_F9LSK2/file/writev/no-bytes-written/.dirs/system-config2 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_F9LSK2/file/writev/no-bytes-written/.dirs/config 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_F9LSK2/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_F9LSK2/file/writev/no-bytes-written/.dirs/system-data2 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_F9LSK2/file/writev/no-bytes-written/.dirs/data 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_F9LSK2/file/writev/no-bytes-written/.dirs/state 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_F9LSK2/file/writev/no-bytes-written/.dirs/runtime 621s ok 39 /file/writev/no-bytes-written 621s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_F9LSK2/file/writev/no-vectors/.dirs/home 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_F9LSK2/file/writev/no-vectors/.dirs/cache 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_F9LSK2/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_F9LSK2/file/writev/no-vectors/.dirs/system-config2 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_F9LSK2/file/writev/no-vectors/.dirs/config 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_F9LSK2/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_F9LSK2/file/writev/no-vectors/.dirs/system-data2 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_F9LSK2/file/writev/no-vectors/.dirs/data 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_F9LSK2/file/writev/no-vectors/.dirs/state 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_F9LSK2/file/writev/no-vectors/.dirs/runtime 621s ok 40 /file/writev/no-vectors 621s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_F9LSK2/file/writev/empty-vectors/.dirs/home 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_F9LSK2/file/writev/empty-vectors/.dirs/cache 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_F9LSK2/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_F9LSK2/file/writev/empty-vectors/.dirs/system-config2 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_F9LSK2/file/writev/empty-vectors/.dirs/config 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_F9LSK2/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_F9LSK2/file/writev/empty-vectors/.dirs/system-data2 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_F9LSK2/file/writev/empty-vectors/.dirs/data 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_F9LSK2/file/writev/empty-vectors/.dirs/state 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_F9LSK2/file/writev/empty-vectors/.dirs/runtime 621s ok 41 /file/writev/empty-vectors 621s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_F9LSK2/file/writev/too-big-vectors/.dirs/home 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_F9LSK2/file/writev/too-big-vectors/.dirs/cache 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_F9LSK2/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_F9LSK2/file/writev/too-big-vectors/.dirs/system-config2 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_F9LSK2/file/writev/too-big-vectors/.dirs/config 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_F9LSK2/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_F9LSK2/file/writev/too-big-vectors/.dirs/system-data2 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_F9LSK2/file/writev/too-big-vectors/.dirs/data 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_F9LSK2/file/writev/too-big-vectors/.dirs/state 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_F9LSK2/file/writev/too-big-vectors/.dirs/runtime 621s ok 42 /file/writev/too-big-vectors 621s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_F9LSK2/file/writev/async/.dirs/home 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_F9LSK2/file/writev/async/.dirs/cache 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_F9LSK2/file/writev/async/.dirs/system-config1:/tmp/test_file_F9LSK2/file/writev/async/.dirs/system-config2 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_F9LSK2/file/writev/async/.dirs/config 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_F9LSK2/file/writev/async/.dirs/system-data1:/tmp/test_file_F9LSK2/file/writev/async/.dirs/system-data2 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_F9LSK2/file/writev/async/.dirs/data 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_F9LSK2/file/writev/async/.dirs/state 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_F9LSK2/file/writev/async/.dirs/runtime 621s ok 43 /file/writev/async 621s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_F9LSK2/file/writev/async_all/.dirs/home 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_F9LSK2/file/writev/async_all/.dirs/cache 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_F9LSK2/file/writev/async_all/.dirs/system-config1:/tmp/test_file_F9LSK2/file/writev/async_all/.dirs/system-config2 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_F9LSK2/file/writev/async_all/.dirs/config 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_F9LSK2/file/writev/async_all/.dirs/system-data1:/tmp/test_file_F9LSK2/file/writev/async_all/.dirs/system-data2 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_F9LSK2/file/writev/async_all/.dirs/data 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_F9LSK2/file/writev/async_all/.dirs/state 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_F9LSK2/file/writev/async_all/.dirs/runtime 621s ok 44 /file/writev/async_all 621s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_F9LSK2/file/writev/async_all-empty-vectors/.dirs/home 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_F9LSK2/file/writev/async_all-empty-vectors/.dirs/cache 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_F9LSK2/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_F9LSK2/file/writev/async_all-empty-vectors/.dirs/system-config2 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_F9LSK2/file/writev/async_all-empty-vectors/.dirs/config 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_F9LSK2/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_F9LSK2/file/writev/async_all-empty-vectors/.dirs/system-data2 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_F9LSK2/file/writev/async_all-empty-vectors/.dirs/data 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_F9LSK2/file/writev/async_all-empty-vectors/.dirs/state 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_F9LSK2/file/writev/async_all-empty-vectors/.dirs/runtime 621s ok 45 /file/writev/async_all-empty-vectors 621s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_F9LSK2/file/writev/async_all-no-vectors/.dirs/home 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_F9LSK2/file/writev/async_all-no-vectors/.dirs/cache 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_F9LSK2/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_F9LSK2/file/writev/async_all-no-vectors/.dirs/system-config2 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_F9LSK2/file/writev/async_all-no-vectors/.dirs/config 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_F9LSK2/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_F9LSK2/file/writev/async_all-no-vectors/.dirs/system-data2 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_F9LSK2/file/writev/async_all-no-vectors/.dirs/data 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_F9LSK2/file/writev/async_all-no-vectors/.dirs/state 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_F9LSK2/file/writev/async_all-no-vectors/.dirs/runtime 621s ok 46 /file/writev/async_all-no-vectors 621s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_F9LSK2/file/writev/async_all-to-big-vectors/.dirs/home 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_F9LSK2/file/writev/async_all-to-big-vectors/.dirs/cache 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_F9LSK2/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_F9LSK2/file/writev/async_all-to-big-vectors/.dirs/system-config2 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_F9LSK2/file/writev/async_all-to-big-vectors/.dirs/config 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_F9LSK2/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_F9LSK2/file/writev/async_all-to-big-vectors/.dirs/system-data2 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_F9LSK2/file/writev/async_all-to-big-vectors/.dirs/data 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_F9LSK2/file/writev/async_all-to-big-vectors/.dirs/state 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_F9LSK2/file/writev/async_all-to-big-vectors/.dirs/runtime 621s ok 47 /file/writev/async_all-to-big-vectors 621s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_F9LSK2/file/writev/async_all-cancellation/.dirs/home 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_F9LSK2/file/writev/async_all-cancellation/.dirs/cache 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_F9LSK2/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_F9LSK2/file/writev/async_all-cancellation/.dirs/system-config2 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_F9LSK2/file/writev/async_all-cancellation/.dirs/config 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_F9LSK2/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_F9LSK2/file/writev/async_all-cancellation/.dirs/system-data2 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_F9LSK2/file/writev/async_all-cancellation/.dirs/data 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_F9LSK2/file/writev/async_all-cancellation/.dirs/state 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_F9LSK2/file/writev/async_all-cancellation/.dirs/runtime 621s ok 48 /file/writev/async_all-cancellation 621s # End of writev tests 621s # Start of from-uri tests 621s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_F9LSK2/file/from-uri/ignores-query-string/.dirs/home 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_F9LSK2/file/from-uri/ignores-query-string/.dirs/cache 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_F9LSK2/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_F9LSK2/file/from-uri/ignores-query-string/.dirs/system-config2 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_F9LSK2/file/from-uri/ignores-query-string/.dirs/config 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_F9LSK2/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_F9LSK2/file/from-uri/ignores-query-string/.dirs/system-data2 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_F9LSK2/file/from-uri/ignores-query-string/.dirs/data 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_F9LSK2/file/from-uri/ignores-query-string/.dirs/state 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_F9LSK2/file/from-uri/ignores-query-string/.dirs/runtime 621s ok 49 /file/from-uri/ignores-query-string 621s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_F9LSK2/file/from-uri/ignores-fragment/.dirs/home 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_F9LSK2/file/from-uri/ignores-fragment/.dirs/cache 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_F9LSK2/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_F9LSK2/file/from-uri/ignores-fragment/.dirs/system-config2 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_F9LSK2/file/from-uri/ignores-fragment/.dirs/config 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_F9LSK2/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_F9LSK2/file/from-uri/ignores-fragment/.dirs/system-data2 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_F9LSK2/file/from-uri/ignores-fragment/.dirs/data 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_F9LSK2/file/from-uri/ignores-fragment/.dirs/state 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_F9LSK2/file/from-uri/ignores-fragment/.dirs/runtime 621s ok 50 /file/from-uri/ignores-fragment 621s # End of from-uri tests 621s # End of file tests 621s ok - glib/file.test 621s # Running test: glib/error.test 621s TAP version 13 621s # random seed: R02S55469e0e2e2b0602481f1a391fdddc6c 621s 1..3 621s # Start of error tests 621s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_BIX2K2/error/from-errno/.dirs/home 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_BIX2K2/error/from-errno/.dirs/cache 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_BIX2K2/error/from-errno/.dirs/system-config1:/tmp/test_error_BIX2K2/error/from-errno/.dirs/system-config2 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_BIX2K2/error/from-errno/.dirs/config 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_BIX2K2/error/from-errno/.dirs/system-data1:/tmp/test_error_BIX2K2/error/from-errno/.dirs/system-data2 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_BIX2K2/error/from-errno/.dirs/data 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_BIX2K2/error/from-errno/.dirs/state 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_BIX2K2/error/from-errno/.dirs/runtime 621s ok 1 /error/from-errno 621s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_BIX2K2/error/from-file-error/.dirs/home 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_BIX2K2/error/from-file-error/.dirs/cache 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_BIX2K2/error/from-file-error/.dirs/system-config1:/tmp/test_error_BIX2K2/error/from-file-error/.dirs/system-config2 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_BIX2K2/error/from-file-error/.dirs/config 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_BIX2K2/error/from-file-error/.dirs/system-data1:/tmp/test_error_BIX2K2/error/from-file-error/.dirs/system-data2 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_BIX2K2/error/from-file-error/.dirs/data 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_BIX2K2/error/from-file-error/.dirs/state 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_BIX2K2/error/from-file-error/.dirs/runtime 621s ok 2 /error/from-file-error 621s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_BIX2K2/error/from-win32-error/.dirs/home 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_BIX2K2/error/from-win32-error/.dirs/cache 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_BIX2K2/error/from-win32-error/.dirs/system-config1:/tmp/test_error_BIX2K2/error/from-win32-error/.dirs/system-config2 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_BIX2K2/error/from-win32-error/.dirs/config 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_BIX2K2/error/from-win32-error/.dirs/system-data1:/tmp/test_error_BIX2K2/error/from-win32-error/.dirs/system-data2 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_BIX2K2/error/from-win32-error/.dirs/data 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_BIX2K2/error/from-win32-error/.dirs/state 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_BIX2K2/error/from-win32-error/.dirs/runtime 621s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 621s # End of error tests 621s ok - glib/error.test 621s # Running test: glib/boxed.test 621s TAP version 13 621s # random seed: R02S0d0f0325cf85d1c9e11640d845d83701 621s 1..27 621s # Start of boxed tests 621s ok 1 /boxed/define 621s ok 2 /boxed/ownership 621s ok 3 /boxed/closure 621s ok 4 /boxed/date 621s ok 5 /boxed/value 621s ok 6 /boxed/string 621s ok 7 /boxed/hashtable 621s ok 8 /boxed/array 621s ok 9 /boxed/ptrarray 621s ok 10 /boxed/regex 621s ok 11 /boxed/varianttype 621s ok 12 /boxed/error 621s ok 13 /boxed/datetime 621s ok 14 /boxed/matchinfo 621s ok 15 /boxed/keyfile 621s ok 16 /boxed/mainloop 621s ok 17 /boxed/maincontext 621s ok 18 /boxed/source 621s ok 19 /boxed/variantbuilder 621s ok 20 /boxed/timezone 621s ok 21 /boxed/pollfd 621s ok 22 /boxed/markup 621s ok 23 /boxed/thread 621s ok 24 /boxed/checksum 621s ok 25 /boxed/tree 621s ok 26 /boxed/patternspec 621s ok 27 /boxed/rand 621s # End of boxed tests 621s ok - glib/boxed.test 621s # Running test: glib/rwlock.test 621s TAP version 13 621s # random seed: R02S9c3f034983713bb035c64d78860dcd4f 621s 1..8 621s # Start of thread tests 621s ok 1 /thread/rwlock1 621s ok 2 /thread/rwlock2 621s ok 3 /thread/rwlock3 621s ok 4 /thread/rwlock4 621s ok 5 /thread/rwlock5 621s ok 6 /thread/rwlock6 626s # Executing: glib/rwlock.test 630s ok 7 /thread/rwlock7 630s # slow test /thread/rwlock7 executed in 8.82 secs 630s ok 8 /thread/rwlock8 630s # End of thread tests 630s ok - glib/rwlock.test 630s # Running test: glib/data-output-stream.test 630s TAP version 13 630s # random seed: R02Sb7b11365c3e965db0f275300141e4df6 630s 1..7 630s # Start of data-output-stream tests 630s ok 1 /data-output-stream/basic 630s ok 2 /data-output-stream/write-lines-LF 630s ok 3 /data-output-stream/write-lines-CR 630s ok 4 /data-output-stream/write-lines-CR-LF 630s ok 5 /data-output-stream/write-int 630s ok 6 /data-output-stream/seek 630s ok 7 /data-output-stream/truncate 630s # End of data-output-stream tests 630s ok - glib/data-output-stream.test 630s # Running test: glib/gdbus-test-codegen-old.test 630s TAP version 13 630s # random seed: R02S50bbee62feb3862db64ae6e2f9e1b769 630s 1..8 630s # Start of gdbus tests 630s # Start of codegen tests 630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/annotations/.dirs/home 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/annotations/.dirs/cache 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/annotations/.dirs/system-config2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/annotations/.dirs/config 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/annotations/.dirs/system-data2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/annotations/.dirs/data 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/annotations/.dirs/state 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/annotations/.dirs/runtime 630s ok 1 /gdbus/codegen/annotations 630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/interface_stability/.dirs/home 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/interface_stability/.dirs/cache 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/interface_stability/.dirs/system-config2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/interface_stability/.dirs/config 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/interface_stability/.dirs/system-data2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/interface_stability/.dirs/data 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/interface_stability/.dirs/state 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/interface_stability/.dirs/runtime 630s ok 2 /gdbus/codegen/interface_stability 630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/object-manager/.dirs/home 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/object-manager/.dirs/cache 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/object-manager/.dirs/system-config2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/object-manager/.dirs/config 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/object-manager/.dirs/system-data2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/object-manager/.dirs/data 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/object-manager/.dirs/state 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/object-manager/.dirs/runtime 630s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 630s ok 3 /gdbus/codegen/object-manager 630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/property-naming/.dirs/home 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/property-naming/.dirs/cache 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/property-naming/.dirs/system-config2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/property-naming/.dirs/config 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/property-naming/.dirs/system-data2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/property-naming/.dirs/data 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/property-naming/.dirs/state 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/property-naming/.dirs/runtime 630s ok 4 /gdbus/codegen/property-naming 630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/autocleanups/.dirs/home 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/autocleanups/.dirs/cache 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/autocleanups/.dirs/system-config2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/autocleanups/.dirs/config 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/autocleanups/.dirs/system-data2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/autocleanups/.dirs/data 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/autocleanups/.dirs/state 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/autocleanups/.dirs/runtime 630s ok 5 /gdbus/codegen/autocleanups 630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/deprecations/.dirs/home 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/deprecations/.dirs/cache 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/deprecations/.dirs/system-config2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/deprecations/.dirs/config 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/deprecations/.dirs/system-data2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/deprecations/.dirs/data 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/deprecations/.dirs/state 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/deprecations/.dirs/runtime 630s ok 6 /gdbus/codegen/deprecations 630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/standalone-interface-info/.dirs/home 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/standalone-interface-info/.dirs/cache 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/standalone-interface-info/.dirs/config 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/standalone-interface-info/.dirs/data 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/standalone-interface-info/.dirs/state 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/standalone-interface-info/.dirs/runtime 630s ok 7 /gdbus/codegen/standalone-interface-info 630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/unix-fd-list/.dirs/home 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/unix-fd-list/.dirs/cache 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/unix-fd-list/.dirs/system-config2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/unix-fd-list/.dirs/config 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/unix-fd-list/.dirs/system-data2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/unix-fd-list/.dirs/data 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/unix-fd-list/.dirs/state 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_1B21K2/gdbus/codegen/unix-fd-list/.dirs/runtime 630s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 630s ok 8 /gdbus/codegen/unix-fd-list 630s # End of codegen tests 630s # End of gdbus tests 630s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 630s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 630s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 630s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 630s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 630s ok - glib/gdbus-test-codegen-old.test 630s # Running test: glib/socket-address.test 630s TAP version 13 630s # random seed: R02S375cdd0a77b1e2ec0a8f7451386fd4b4 630s 1..2 630s # Start of socket tests 630s # Start of address tests 630s # Start of unix tests 630s ok 1 /socket/address/unix/construct 630s ok 2 /socket/address/unix/to-string 630s # End of unix tests 630s # End of address tests 630s # End of socket tests 630s ok - glib/socket-address.test 630s # Running test: glib/cxx-98.test 630s TAP version 13 630s # random seed: R02Sf82d4db3b3a561abab2c42f1cd3454f9 630s 1..2 630s # Start of gtask tests 630s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 630s ok 1 /gtask/name 630s # Start of name tests 630s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 630s ok 2 /gtask/name/macro-wrapper 630s # End of name tests 630s # End of gtask tests 630s ok - glib/cxx-98.test 630s # Running test: glib/fileutils.test 630s TAP version 13 630s # random seed: R02Sbd00a351048d711b8e487c8015154a50 630s 1..27 630s # Start of fileutils tests 630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TPH3K2/fileutils/paths/.dirs/home 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/paths/.dirs/cache 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_TPH3K2/fileutils/paths/.dirs/system-config2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TPH3K2/fileutils/paths/.dirs/config 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_TPH3K2/fileutils/paths/.dirs/system-data2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TPH3K2/fileutils/paths/.dirs/data 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/paths/.dirs/state 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TPH3K2/fileutils/paths/.dirs/runtime 630s ok 1 /fileutils/paths 630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TPH3K2/fileutils/build-path/.dirs/home 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/build-path/.dirs/cache 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_TPH3K2/fileutils/build-path/.dirs/system-config2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TPH3K2/fileutils/build-path/.dirs/config 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_TPH3K2/fileutils/build-path/.dirs/system-data2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TPH3K2/fileutils/build-path/.dirs/data 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/build-path/.dirs/state 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TPH3K2/fileutils/build-path/.dirs/runtime 630s ok 2 /fileutils/build-path 630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TPH3K2/fileutils/build-pathv/.dirs/home 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/build-pathv/.dirs/cache 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_TPH3K2/fileutils/build-pathv/.dirs/system-config2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TPH3K2/fileutils/build-pathv/.dirs/config 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_TPH3K2/fileutils/build-pathv/.dirs/system-data2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TPH3K2/fileutils/build-pathv/.dirs/data 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/build-pathv/.dirs/state 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TPH3K2/fileutils/build-pathv/.dirs/runtime 630s ok 3 /fileutils/build-pathv 630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TPH3K2/fileutils/build-filename/.dirs/home 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/build-filename/.dirs/cache 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_TPH3K2/fileutils/build-filename/.dirs/system-config2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TPH3K2/fileutils/build-filename/.dirs/config 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_TPH3K2/fileutils/build-filename/.dirs/system-data2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TPH3K2/fileutils/build-filename/.dirs/data 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/build-filename/.dirs/state 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TPH3K2/fileutils/build-filename/.dirs/runtime 630s ok 4 /fileutils/build-filename 630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TPH3K2/fileutils/build-filenamev/.dirs/home 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/build-filenamev/.dirs/cache 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_TPH3K2/fileutils/build-filenamev/.dirs/system-config2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TPH3K2/fileutils/build-filenamev/.dirs/config 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_TPH3K2/fileutils/build-filenamev/.dirs/system-data2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TPH3K2/fileutils/build-filenamev/.dirs/data 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/build-filenamev/.dirs/state 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TPH3K2/fileutils/build-filenamev/.dirs/runtime 630s ok 5 /fileutils/build-filenamev 630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TPH3K2/fileutils/mkdir-with-parents/.dirs/home 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/mkdir-with-parents/.dirs/cache 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_TPH3K2/fileutils/mkdir-with-parents/.dirs/system-config2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TPH3K2/fileutils/mkdir-with-parents/.dirs/config 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_TPH3K2/fileutils/mkdir-with-parents/.dirs/system-data2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TPH3K2/fileutils/mkdir-with-parents/.dirs/data 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/mkdir-with-parents/.dirs/state 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TPH3K2/fileutils/mkdir-with-parents/.dirs/runtime 630s # We do not have CAP_DAC_OVERRIDE or equivalent 630s ok 6 /fileutils/mkdir-with-parents 630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TPH3K2/fileutils/mkdir-with-parents-permission/.dirs/home 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/mkdir-with-parents-permission/.dirs/cache 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_TPH3K2/fileutils/mkdir-with-parents-permission/.dirs/system-config2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TPH3K2/fileutils/mkdir-with-parents-permission/.dirs/config 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_TPH3K2/fileutils/mkdir-with-parents-permission/.dirs/system-data2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TPH3K2/fileutils/mkdir-with-parents-permission/.dirs/data 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/mkdir-with-parents-permission/.dirs/state 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TPH3K2/fileutils/mkdir-with-parents-permission/.dirs/runtime 630s # We do not have CAP_DAC_OVERRIDE or equivalent 630s ok 7 /fileutils/mkdir-with-parents-permission 630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TPH3K2/fileutils/format-size-for-display/.dirs/home 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/format-size-for-display/.dirs/cache 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_TPH3K2/fileutils/format-size-for-display/.dirs/system-config2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TPH3K2/fileutils/format-size-for-display/.dirs/config 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_TPH3K2/fileutils/format-size-for-display/.dirs/system-data2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TPH3K2/fileutils/format-size-for-display/.dirs/data 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/format-size-for-display/.dirs/state 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TPH3K2/fileutils/format-size-for-display/.dirs/runtime 630s ok 8 /fileutils/format-size-for-display 630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TPH3K2/fileutils/errors/.dirs/home 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/errors/.dirs/cache 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_TPH3K2/fileutils/errors/.dirs/system-config2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TPH3K2/fileutils/errors/.dirs/config 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_TPH3K2/fileutils/errors/.dirs/system-data2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TPH3K2/fileutils/errors/.dirs/data 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/errors/.dirs/state 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TPH3K2/fileutils/errors/.dirs/runtime 630s ok 9 /fileutils/errors 630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TPH3K2/fileutils/basename/.dirs/home 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/basename/.dirs/cache 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_TPH3K2/fileutils/basename/.dirs/system-config2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TPH3K2/fileutils/basename/.dirs/config 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_TPH3K2/fileutils/basename/.dirs/system-data2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TPH3K2/fileutils/basename/.dirs/data 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/basename/.dirs/state 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TPH3K2/fileutils/basename/.dirs/runtime 630s ok 10 /fileutils/basename 630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TPH3K2/fileutils/get-basename/.dirs/home 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/get-basename/.dirs/cache 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_TPH3K2/fileutils/get-basename/.dirs/system-config2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TPH3K2/fileutils/get-basename/.dirs/config 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_TPH3K2/fileutils/get-basename/.dirs/system-data2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TPH3K2/fileutils/get-basename/.dirs/data 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/get-basename/.dirs/state 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TPH3K2/fileutils/get-basename/.dirs/runtime 630s ok 11 /fileutils/get-basename 630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TPH3K2/fileutils/dirname/.dirs/home 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/dirname/.dirs/cache 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_TPH3K2/fileutils/dirname/.dirs/system-config2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TPH3K2/fileutils/dirname/.dirs/config 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_TPH3K2/fileutils/dirname/.dirs/system-data2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TPH3K2/fileutils/dirname/.dirs/data 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/dirname/.dirs/state 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TPH3K2/fileutils/dirname/.dirs/runtime 630s ok 12 /fileutils/dirname 630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TPH3K2/fileutils/dir-make-tmp/.dirs/home 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/dir-make-tmp/.dirs/cache 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_TPH3K2/fileutils/dir-make-tmp/.dirs/system-config2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TPH3K2/fileutils/dir-make-tmp/.dirs/config 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_TPH3K2/fileutils/dir-make-tmp/.dirs/system-data2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TPH3K2/fileutils/dir-make-tmp/.dirs/data 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/dir-make-tmp/.dirs/state 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TPH3K2/fileutils/dir-make-tmp/.dirs/runtime 630s ok 13 /fileutils/dir-make-tmp 630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TPH3K2/fileutils/file-open-tmp/.dirs/home 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/file-open-tmp/.dirs/cache 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_TPH3K2/fileutils/file-open-tmp/.dirs/system-config2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TPH3K2/fileutils/file-open-tmp/.dirs/config 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_TPH3K2/fileutils/file-open-tmp/.dirs/system-data2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TPH3K2/fileutils/file-open-tmp/.dirs/data 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/file-open-tmp/.dirs/state 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TPH3K2/fileutils/file-open-tmp/.dirs/runtime 630s ok 14 /fileutils/file-open-tmp 630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TPH3K2/fileutils/file-test/.dirs/home 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/file-test/.dirs/cache 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_TPH3K2/fileutils/file-test/.dirs/system-config2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TPH3K2/fileutils/file-test/.dirs/config 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_TPH3K2/fileutils/file-test/.dirs/system-data2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TPH3K2/fileutils/file-test/.dirs/data 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/file-test/.dirs/state 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TPH3K2/fileutils/file-test/.dirs/runtime 630s ok 15 /fileutils/file-test 630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TPH3K2/fileutils/mkstemp/.dirs/home 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/mkstemp/.dirs/cache 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_TPH3K2/fileutils/mkstemp/.dirs/system-config2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TPH3K2/fileutils/mkstemp/.dirs/config 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_TPH3K2/fileutils/mkstemp/.dirs/system-data2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TPH3K2/fileutils/mkstemp/.dirs/data 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/mkstemp/.dirs/state 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TPH3K2/fileutils/mkstemp/.dirs/runtime 630s ok 16 /fileutils/mkstemp 630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TPH3K2/fileutils/mkdtemp/.dirs/home 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/mkdtemp/.dirs/cache 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_TPH3K2/fileutils/mkdtemp/.dirs/system-config2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TPH3K2/fileutils/mkdtemp/.dirs/config 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_TPH3K2/fileutils/mkdtemp/.dirs/system-data2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TPH3K2/fileutils/mkdtemp/.dirs/data 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/mkdtemp/.dirs/state 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TPH3K2/fileutils/mkdtemp/.dirs/runtime 630s ok 17 /fileutils/mkdtemp 630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TPH3K2/fileutils/get-contents/.dirs/home 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/get-contents/.dirs/cache 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_TPH3K2/fileutils/get-contents/.dirs/system-config2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TPH3K2/fileutils/get-contents/.dirs/config 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_TPH3K2/fileutils/get-contents/.dirs/system-data2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TPH3K2/fileutils/get-contents/.dirs/data 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/get-contents/.dirs/state 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TPH3K2/fileutils/get-contents/.dirs/runtime 630s ok 18 /fileutils/get-contents 630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TPH3K2/fileutils/get-contents-large-file/.dirs/home 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/get-contents-large-file/.dirs/cache 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_TPH3K2/fileutils/get-contents-large-file/.dirs/system-config2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TPH3K2/fileutils/get-contents-large-file/.dirs/config 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_TPH3K2/fileutils/get-contents-large-file/.dirs/system-data2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TPH3K2/fileutils/get-contents-large-file/.dirs/data 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/get-contents-large-file/.dirs/state 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TPH3K2/fileutils/get-contents-large-file/.dirs/runtime 630s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TPH3K2/fileutils/set-contents/.dirs/home 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/set-contents/.dirs/cache 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_TPH3K2/fileutils/set-contents/.dirs/system-config2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TPH3K2/fileutils/set-contents/.dirs/config 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_TPH3K2/fileutils/set-contents/.dirs/system-data2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TPH3K2/fileutils/set-contents/.dirs/data 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/set-contents/.dirs/state 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TPH3K2/fileutils/set-contents/.dirs/runtime 630s ok 20 /fileutils/set-contents 630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TPH3K2/fileutils/set-contents-full/.dirs/home 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/set-contents-full/.dirs/cache 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_TPH3K2/fileutils/set-contents-full/.dirs/system-config2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TPH3K2/fileutils/set-contents-full/.dirs/config 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_TPH3K2/fileutils/set-contents-full/.dirs/system-data2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TPH3K2/fileutils/set-contents-full/.dirs/data 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/set-contents-full/.dirs/state 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TPH3K2/fileutils/set-contents-full/.dirs/runtime 630s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 630s # Flags 0 and test 0 630s # Flags 0 and test 1 630s # Flags 0 and test 2 630s # Flags 0 and test 3 630s # Flags 0 and test 4 630s # Flags 0 and test 5 630s # Flags 1 and test 0 630s # Flags 1 and test 1 630s # Flags 1 and test 2 630s # Flags 1 and test 3 630s # Flags 1 and test 4 630s # Flags 1 and test 5 630s # Flags 2 and test 0 630s # Flags 2 and test 1 630s # Flags 2 and test 2 630s # Flags 2 and test 3 630s # Flags 2 and test 4 630s # Flags 2 and test 5 630s # Flags 3 and test 0 630s # Flags 3 and test 1 630s # Flags 3 and test 2 630s # Flags 3 and test 3 630s # Flags 3 and test 4 630s # Flags 3 and test 5 630s # Flags 4 and test 0 630s # Flags 4 and test 1 630s # Flags 4 and test 2 630s # Flags 4 and test 3 630s # Flags 4 and test 4 630s # Flags 4 and test 5 630s # Flags 5 and test 0 630s # Flags 5 and test 1 630s # Flags 5 and test 2 630s # Flags 5 and test 3 630s # Flags 5 and test 4 630s # Flags 5 and test 5 630s # Flags 6 and test 0 630s # Flags 6 and test 1 630s # Flags 6 and test 2 630s # Flags 6 and test 3 630s # Flags 6 and test 4 630s # Flags 6 and test 5 630s ok 21 /fileutils/set-contents-full 630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TPH3K2/fileutils/read-link/.dirs/home 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/read-link/.dirs/cache 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_TPH3K2/fileutils/read-link/.dirs/system-config2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TPH3K2/fileutils/read-link/.dirs/config 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_TPH3K2/fileutils/read-link/.dirs/system-data2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TPH3K2/fileutils/read-link/.dirs/data 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/read-link/.dirs/state 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TPH3K2/fileutils/read-link/.dirs/runtime 630s ok 22 /fileutils/read-link 630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TPH3K2/fileutils/stdio-wrappers/.dirs/home 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/stdio-wrappers/.dirs/cache 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_TPH3K2/fileutils/stdio-wrappers/.dirs/system-config2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TPH3K2/fileutils/stdio-wrappers/.dirs/config 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_TPH3K2/fileutils/stdio-wrappers/.dirs/system-data2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TPH3K2/fileutils/stdio-wrappers/.dirs/data 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/stdio-wrappers/.dirs/state 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TPH3K2/fileutils/stdio-wrappers/.dirs/runtime 630s # We do not have CAP_DAC_OVERRIDE or equivalent 630s ok 23 /fileutils/stdio-wrappers 630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TPH3K2/fileutils/fopen-modes/.dirs/home 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/fopen-modes/.dirs/cache 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_TPH3K2/fileutils/fopen-modes/.dirs/system-config2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TPH3K2/fileutils/fopen-modes/.dirs/config 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_TPH3K2/fileutils/fopen-modes/.dirs/system-data2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TPH3K2/fileutils/fopen-modes/.dirs/data 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/fopen-modes/.dirs/state 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TPH3K2/fileutils/fopen-modes/.dirs/runtime 630s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 630s # Testing fopen() mode 'w' 630s # Testing fopen() mode 'r' 630s # Testing fopen() mode 'a' 630s # Testing fopen() mode 'w+' 630s # Testing fopen() mode 'r+' 630s # Testing fopen() mode 'a+' 630s # Testing fopen() mode 'wb' 630s # Testing fopen() mode 'rb' 630s # Testing fopen() mode 'ab' 630s # Testing fopen() mode 'w+b' 630s # Testing fopen() mode 'r+b' 630s # Testing fopen() mode 'a+b' 630s # Testing fopen() mode 'wb+' 630s # Testing fopen() mode 'rb+' 630s # Testing fopen() mode 'ab+' 630s ok 24 /fileutils/fopen-modes 630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TPH3K2/fileutils/clear-fd/.dirs/home 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/clear-fd/.dirs/cache 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_TPH3K2/fileutils/clear-fd/.dirs/system-config2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TPH3K2/fileutils/clear-fd/.dirs/config 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_TPH3K2/fileutils/clear-fd/.dirs/system-data2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TPH3K2/fileutils/clear-fd/.dirs/data 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/clear-fd/.dirs/state 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TPH3K2/fileutils/clear-fd/.dirs/runtime 630s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 630s # Will be closed by autocleanup: 3, -42 630s # Testing error handling 630s ok 25 /fileutils/clear-fd 630s # Start of set-contents-full tests 630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TPH3K2/fileutils/set-contents-full/read-only-file/.dirs/home 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/set-contents-full/read-only-file/.dirs/cache 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_TPH3K2/fileutils/set-contents-full/read-only-file/.dirs/system-config2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TPH3K2/fileutils/set-contents-full/read-only-file/.dirs/config 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_TPH3K2/fileutils/set-contents-full/read-only-file/.dirs/system-data2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TPH3K2/fileutils/set-contents-full/read-only-file/.dirs/data 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/set-contents-full/read-only-file/.dirs/state 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TPH3K2/fileutils/set-contents-full/read-only-file/.dirs/runtime 630s # We do not have CAP_DAC_OVERRIDE or equivalent 630s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 630s ok 26 /fileutils/set-contents-full/read-only-file 630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TPH3K2/fileutils/set-contents-full/read-only-directory/.dirs/home 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/set-contents-full/read-only-directory/.dirs/cache 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_TPH3K2/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TPH3K2/fileutils/set-contents-full/read-only-directory/.dirs/config 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TPH3K2/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_TPH3K2/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TPH3K2/fileutils/set-contents-full/read-only-directory/.dirs/data 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TPH3K2/fileutils/set-contents-full/read-only-directory/.dirs/state 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TPH3K2/fileutils/set-contents-full/read-only-directory/.dirs/runtime 630s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 630s # Flags 0 630s # We do not have CAP_DAC_OVERRIDE or equivalent 630s # Flags 1 630s # We do not have CAP_DAC_OVERRIDE or equivalent 630s # Flags 2 630s # We do not have CAP_DAC_OVERRIDE or equivalent 630s # Flags 3 630s # We do not have CAP_DAC_OVERRIDE or equivalent 630s # Flags 4 630s # We do not have CAP_DAC_OVERRIDE or equivalent 630s # Flags 5 630s # We do not have CAP_DAC_OVERRIDE or equivalent 630s # Flags 6 630s # We do not have CAP_DAC_OVERRIDE or equivalent 630s ok 27 /fileutils/set-contents-full/read-only-directory 630s # End of set-contents-full tests 630s # Start of clear-fd tests 630s # Start of subprocess tests 630s # End of subprocess tests 630s # End of clear-fd tests 630s # End of fileutils tests 630s ok - glib/fileutils.test 630s # Running test: glib/trash.test 630s TAP version 13 630s # random seed: R02S29c307841a34b7b0239aa0e00cfe6840 630s 1..2 630s # Start of trash tests 630s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 630s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 630s # File: /tmp/test-trash5OBZK2 (parent st_dev: 2049) 630s # Home: /home/ubuntu (st_dev: 2049) 630s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 630s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 630s ok 2 /trash/symlinks # SKIP Directory '/home/ubuntu/.local' does not exist 630s # End of trash tests 630s ok - glib/trash.test 630s # Running test: glib/macros-c-99.test 631s TAP version 13 631s # random seed: R02S6bf3ea7bd2a0ea1cfaa92479057848fc 631s 1..4 631s # Start of C tests 631s ok 1 /C/standard-99 631s # End of C tests 631s # Start of alignof tests 631s ok 2 /alignof/fallback 631s # End of alignof tests 631s # Start of assert tests 631s ok 3 /assert/static 631s # End of assert tests 631s # Start of struct tests 631s ok 4 /struct/sizeof_member 631s # End of struct tests 631s ok - glib/macros-c-99.test 631s # Running test: glib/cmph-bdz.test 631s TAP version 13 631s # random seed: R02S3fbabb19321a687fa83456304efd5cd4 631s 1..2 631s # Start of cmph-bdz tests 631s ok 1 /cmph-bdz/search 631s ok 2 /cmph-bdz/search-packed 631s # End of cmph-bdz tests 631s ok - glib/cmph-bdz.test 631s # Running test: glib/hook.test 631s TAP version 13 631s # random seed: R02S24bcfa9affc21914dac360ba3d27edb8 631s 1..2 631s # Start of hook tests 631s ok 1 /hook/basics 631s ok 2 /hook/corner-cases 631s # End of hook tests 631s ok - glib/hook.test 631s # Running test: glib/codegen.py.test 631s # Executing: glib/codegen.py.test 631s TAP version 13 631s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 631s # tmpdir: /tmp/tmp2d29vifh 631s # codegen: /usr/bin/gdbus-codegen 631s # /tmp/tmp2d29vifh/tmpt65oirlp.xml: 631s # 631s # 631s # 631s # 631s # 631s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2d29vifh/tmpt65oirlp.xml', '--output', '-', '--header'] 631s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 631s # Output: /* 631s # * This file is generated by gdbus-codegen, do not modify it. 631s # * 631s # * The license of this code is the same as for the D-Bus interface description 631s # * it was derived from. Note that it links to GLib, so must comply with the 631s # * LGPL linking clauses. 631s # */ 631s # 631s # #ifndef __STDOUT__ 631s # #define __STDOUT__ 631s # 631s # #include 631s # 631s # G_BEGIN_DECLS 631s # 631s # 631s # /* ------------------------------------------------------------------------ */ 631s # /* Declarations for org.project.UsefulInterface */ 631s # 631s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 631s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 631s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 631s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 631s # 631s # struct _OrgProjectUsefulInterface; 631s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 631s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 631s # 631s # struct _OrgProjectUsefulInterfaceIface 631s # { 631s # GTypeInterface parent_iface; 631s # 631s # gboolean (*handle_useful_method) ( 631s # OrgProjectUsefulInterface *object, 631s # GDBusMethodInvocation *invocation); 631s # 631s # }; 631s # 631s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 631s # 631s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 631s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 631s # 631s # 631s # /* D-Bus method call completion functions: */ 631s # void org_project_useful_interface_complete_useful_method ( 631s # OrgProjectUsefulInterface *object, 631s # GDBusMethodInvocation *invocation); 631s # 631s # 631s # 631s # /* D-Bus method calls: */ 631s # void org_project_useful_interface_call_useful_method ( 631s # OrgProjectUsefulInterface *proxy, 631s # GCancellable *cancellable, 631s # GAsyncReadyCallback callback, 631s # gpointer user_data); 631s # 631s # gboolean org_project_useful_interface_call_useful_method_finish ( 631s # OrgProjectUsefulInterface *proxy, 631s # GAsyncResult *res, 631s # GError **error); 631s # 631s # gboolean org_project_useful_interface_call_useful_method_sync ( 631s # OrgProjectUsefulInterface *proxy, 631s # GCancellable *cancellable, 631s # GError **error); 631s # 631s # 631s # 631s # /* ---- */ 631s # 631s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 631s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 631s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 631s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 631s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 631s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 631s # 631s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 631s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 631s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 631s # 631s # struct _OrgProjectUsefulInterfaceProxy 631s # { 631s # /*< private >*/ 631s # GDBusProxy parent_instance; 631s # OrgProjectUsefulInterfaceProxyPrivate *priv; 631s # }; 631s # 631s # struct _OrgProjectUsefulInterfaceProxyClass 631s # { 631s # GDBusProxyClass parent_class; 631s # }; 631s # 631s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 631s # 631s # #if GLIB_CHECK_VERSION(2, 44, 0) 631s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 631s # #endif 631s # 631s # void org_project_useful_interface_proxy_new ( 631s # GDBusConnection *connection, 631s # GDBusProxyFlags flags, 631s # const gchar *name, 631s # const gchar *object_path, 631s # GCancellable *cancellable, 631s # GAsyncReadyCallback callback, 631s # gpointer user_data); 631s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 631s # GAsyncResult *res, 631s # GError **error); 631s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 631s # GDBusConnection *connection, 631s # GDBusProxyFlags flags, 631s # const gchar *name, 631s # const gchar *object_path, 631s # GCancellable *cancellable, 631s # GError **error); 631s # 631s # void org_project_useful_interface_proxy_new_for_bus ( 631s # GBusType bus_type, 631s # GDBusProxyFlags flags, 631s # const gchar *name, 631s # const gchar *object_path, 631s # GCancellable *cancellable, 631s # GAsyncReadyCallback callback, 631s # gpointer user_data); 631s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 631s # GAsyncResult *res, 631s # GError **error); 631s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 631s # GBusType bus_type, 631s # GDBusProxyFlags flags, 631s # const gchar *name, 631s # const gchar *object_path, 631s # GCancellable *cancellable, 631s # GError **error); 631s # 631s # 631s # /* ---- */ 631s # 631s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 631s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 631s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 631s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 631s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 631s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 631s # 631s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 631s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 631s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 631s # 631s # struct _OrgProjectUsefulInterfaceSkeleton 631s # { 631s # /*< private >*/ 631s # GDBusInterfaceSkeleton parent_instance; 631s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 631s # }; 631s # 631s # struct _OrgProjectUsefulInterfaceSkeletonClass 631s # { 631s # GDBusInterfaceSkeletonClass parent_class; 631s # }; 631s # 631s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 631s # 631s # #if GLIB_CHECK_VERSION(2, 44, 0) 631s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 631s # #endif 631s # 631s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 631s # 631s # 631s # G_END_DECLS 631s # 631s # #endif /* __STDOUT__ */ 631s # /tmp/tmp2d29vifh/tmpp_c8n92y.xml: 631s # 631s # 631s # 631s # 631s # 631s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2d29vifh/tmpp_c8n92y.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 631s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 631s # Output: /* 631s # * This file is generated by gdbus-codegen, do not modify it. 631s # * 631s # * The license of this code is the same as for the D-Bus interface description 631s # * it was derived from. Note that it links to GLib, so must comply with the 631s # * LGPL linking clauses. 631s # */ 631s # 631s # #ifndef __STDOUT__ 631s # #define __STDOUT__ 631s # 631s # #include 631s # 631s # G_BEGIN_DECLS 631s # 631s # 631s # /* ------------------------------------------------------------------------ */ 631s # /* Declarations for org.project.UsefulInterface */ 631s # 631s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 631s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 631s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 631s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 631s # 631s # struct _OrgProjectUsefulInterface; 631s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 631s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 631s # 631s # struct _OrgProjectUsefulInterfaceIface 631s # { 631s # GTypeInterface parent_iface; 631s # 631s # gboolean (*handle_useful_method) ( 631s # OrgProjectUsefulInterface *object, 631s # GDBusMethodInvocation *invocation); 631s # 631s # }; 631s # 631s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 631s # 631s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 631s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 631s # 631s # 631s # /* D-Bus method call completion functions: */ 631s # void org_project_useful_interface_complete_useful_method ( 631s # OrgProjectUsefulInterface *object, 631s # GDBusMethodInvocation *invocation); 631s # 631s # 631s # 631s # /* D-Bus method calls: */ 631s # void org_project_useful_interface_call_useful_method ( 631s # OrgProjectUsefulInterface *proxy, 631s # GCancellable *cancellable, 631s # GAsyncReadyCallback callback, 631s # gpointer user_data); 631s # 631s # gboolean org_project_useful_interface_call_useful_method_finish ( 631s # OrgProjectUsefulInterface *proxy, 631s # GAsyncResult *res, 631s # GError **error); 631s # 631s # gboolean org_project_useful_interface_call_useful_method_sync ( 631s # OrgProjectUsefulInterface *proxy, 631s # GCancellable *cancellable, 631s # GError **error); 631s # 631s # 631s # 631s # /* ---- */ 631s # 631s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 631s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 631s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 631s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 631s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 631s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 631s # 631s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 631s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 631s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 631s # 631s # struct _OrgProjectUsefulInterfaceProxy 631s # { 631s # /*< private >*/ 631s # GDBusProxy parent_instance; 631s # OrgProjectUsefulInterfaceProxyPrivate *priv; 631s # }; 631s # 631s # struct _OrgProjectUsefulInterfaceProxyClass 631s # { 631s # GDBusProxyClass parent_class; 631s # }; 631s # 631s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 631s # 631s # #if GLIB_CHECK_VERSION(2, 44, 0) 631s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 631s # #endif 631s # 631s # void org_project_useful_interface_proxy_new ( 631s # GDBusConnection *connection, 631s # GDBusProxyFlags flags, 631s # const gchar *name, 631s # const gchar *object_path, 631s # GCancellable *cancellable, 631s # GAsyncReadyCallback callback, 631s # gpointer user_data); 631s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 631s # GAsyncResult *res, 631s # GError **error); 631s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 631s # GDBusConnection *connection, 631s # GDBusProxyFlags flags, 631s # const gchar *name, 631s # const gchar *object_path, 631s # GCancellable *cancellable, 631s # GError **error); 631s # 631s # void org_project_useful_interface_proxy_new_for_bus ( 631s # GBusType bus_type, 631s # GDBusProxyFlags flags, 631s # const gchar *name, 631s # const gchar *object_path, 631s # GCancellable *cancellable, 631s # GAsyncReadyCallback callback, 631s # gpointer user_data); 631s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 631s # GAsyncResult *res, 631s # GError **error); 631s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 631s # GBusType bus_type, 631s # GDBusProxyFlags flags, 631s # const gchar *name, 631s # const gchar *object_path, 631s # GCancellable *cancellable, 631s # GError **error); 631s # 631s # 631s # /* ---- */ 631s # 631s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 631s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 631s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 631s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 631s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 631s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 631s # 631s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 631s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 631s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 631s # 631s # struct _OrgProjectUsefulInterfaceSkeleton 631s # { 631s # /*< private >*/ 631s # GDBusInterfaceSkeleton parent_instance; 631s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 631s # }; 631s # 631s # struct _OrgProjectUsefulInterfaceSkeletonClass 631s # { 631s # GDBusInterfaceSkeletonClass parent_class; 631s # }; 631s # 631s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 631s # 631s # #if GLIB_CHECK_VERSION(2, 44, 0) 631s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 631s # #endif 631s # 631s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 631s # 631s # 631s # G_END_DECLS 631s # 631s # #endif /* __STDOUT__ */ 631s # /tmp/tmp2d29vifh/tmpfd7aalvg.xml: 631s # 631s # 631s # 631s # 631s # 631s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2d29vifh/tmpfd7aalvg.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 631s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 631s # Output: /* 631s # * This file is generated by gdbus-codegen, do not modify it. 631s # * 631s # * The license of this code is the same as for the D-Bus interface description 631s # * it was derived from. Note that it links to GLib, so must comply with the 631s # * LGPL linking clauses. 631s # */ 631s # 631s # #ifndef __STDOUT__ 631s # #define __STDOUT__ 631s # 631s # #include 631s # 631s # G_BEGIN_DECLS 631s # 631s # 631s # /* ------------------------------------------------------------------------ */ 631s # /* Declarations for org.project.UsefulInterface */ 631s # 631s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 631s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 631s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 631s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 631s # 631s # struct _OrgProjectUsefulInterface; 631s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 631s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 631s # 631s # struct _OrgProjectUsefulInterfaceIface 631s # { 631s # GTypeInterface parent_iface; 631s # 631s # gboolean (*handle_useful_method) ( 631s # OrgProjectUsefulInterface *object, 631s # GDBusMethodInvocation *invocation); 631s # 631s # }; 631s # 631s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 631s # 631s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 631s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 631s # 631s # 631s # /* D-Bus method call completion functions: */ 631s # void org_project_useful_interface_complete_useful_method ( 631s # OrgProjectUsefulInterface *object, 631s # GDBusMethodInvocation *invocation); 631s # 631s # 631s # 631s # /* D-Bus method calls: */ 631s # void org_project_useful_interface_call_useful_method ( 631s # OrgProjectUsefulInterface *proxy, 631s # GDBusCallFlags call_flags, 631s # gint timeout_msec, 631s # GCancellable *cancellable, 631s # GAsyncReadyCallback callback, 631s # gpointer user_data); 631s # 631s # gboolean org_project_useful_interface_call_useful_method_finish ( 631s # OrgProjectUsefulInterface *proxy, 631s # GAsyncResult *res, 631s # GError **error); 631s # 631s # gboolean org_project_useful_interface_call_useful_method_sync ( 631s # OrgProjectUsefulInterface *proxy, 631s # GDBusCallFlags call_flags, 631s # gint timeout_msec, 631s # GCancellable *cancellable, 631s # GError **error); 631s # 631s # 631s # 631s # /* ---- */ 631s # 631s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 631s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 631s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 631s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 631s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 631s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 631s # 631s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 631s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 631s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 631s # 631s # struct _OrgProjectUsefulInterfaceProxy 631s # { 631s # /*< private >*/ 631s # GDBusProxy parent_instance; 631s # OrgProjectUsefulInterfaceProxyPrivate *priv; 631s # }; 631s # 631s # struct _OrgProjectUsefulInterfaceProxyClass 631s # { 631s # GDBusProxyClass parent_class; 631s # }; 631s # 631s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 631s # 631s # #if GLIB_CHECK_VERSION(2, 44, 0) 631s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 631s # #endif 631s # 631s # void org_project_useful_interface_proxy_new ( 631s # GDBusConnection *connection, 631s # GDBusProxyFlags flags, 631s # const gchar *name, 631s # const gchar *object_path, 631s # GCancellable *cancellable, 631s # GAsyncReadyCallback callback, 631s # gpointer user_data); 631s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 631s # GAsyncResult *res, 631s # GError **error); 631s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 631s # GDBusConnection *connection, 631s # GDBusProxyFlags flags, 631s # const gchar *name, 631s # const gchar *object_path, 631s # GCancellable *cancellable, 631s # GError **error); 631s # 631s # void org_project_useful_interface_proxy_new_for_bus ( 631s # GBusType bus_type, 631s # GDBusProxyFlags flags, 631s # const gchar *name, 631s # const gchar *object_path, 631s # GCancellable *cancellable, 631s # GAsyncReadyCallback callback, 631s # gpointer user_data); 631s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 631s # GAsyncResult *res, 631s # GError **error); 631s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 631s # GBusType bus_type, 631s # GDBusProxyFlags flags, 631s # const gchar *name, 631s # const gchar *object_path, 631s # GCancellable *cancellable, 631s # GError **error); 631s # 631s # 631s # /* ---- */ 631s # 631s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 631s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 631s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 631s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 631s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 631s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 631s # 631s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 631s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 631s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 631s # 631s # struct _OrgProjectUsefulInterfaceSkeleton 631s # { 631s # /*< private >*/ 631s # GDBusInterfaceSkeleton parent_instance; 631s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 631s # }; 631s # 631s # struct _OrgProjectUsefulInterfaceSkeletonClass 631s # { 631s # GDBusInterfaceSkeletonClass parent_class; 631s # }; 631s # 631s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 631s # 631s # #if GLIB_CHECK_VERSION(2, 44, 0) 631s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 631s # #endif 631s # 631s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 631s # 631s # 631s # G_END_DECLS 631s # 631s # #endif /* __STDOUT__ */ 631s ok 2 __main__.TestCodegen.test_dbus_types 631s # tmpdir: /tmp/tmpr1irxg4g 631s # codegen: /usr/bin/gdbus-codegen 631s # /tmp/tmpr1irxg4g/tmpvubj29ub.xml: 631s # 631s # 631s # 631s # 631s # 631s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr1irxg4g/tmpvubj29ub.xml', '--output', '-', '--body'] 631s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 631s # /tmp/tmpr1irxg4g/tmpgw638w4c.xml: 631s # 631s # 631s # 631s # 631s # 631s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr1irxg4g/tmpgw638w4c.xml', '--output', '-', '--body'] 631s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 631s # /tmp/tmpr1irxg4g/tmptk4z8whl.xml: 631s # 631s # 631s # 631s # 631s # 631s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr1irxg4g/tmptk4z8whl.xml', '--output', '-', '--body'] 631s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 631s # /tmp/tmpr1irxg4g/tmpe5_o4mwb.xml: 631s # 631s # 631s # 631s # 631s # 631s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr1irxg4g/tmpe5_o4mwb.xml', '--output', '-', '--body'] 631s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 631s # /tmp/tmpr1irxg4g/tmp9wzvvvh0.xml: 631s # 631s # 631s # 631s # 631s # 631s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr1irxg4g/tmp9wzvvvh0.xml', '--output', '-', '--body'] 631s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 631s # /tmp/tmpr1irxg4g/tmp8162njtj.xml: 631s # 631s # 631s # 631s # 631s # 631s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr1irxg4g/tmp8162njtj.xml', '--output', '-', '--body'] 631s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 631s # /tmp/tmpr1irxg4g/tmpkgz3s2nq.xml: 631s # 631s # 631s # 631s # 631s # 631s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr1irxg4g/tmpkgz3s2nq.xml', '--output', '-', '--body'] 631s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 631s # /tmp/tmpr1irxg4g/tmpuv2rje9u.xml: 631s # 631s # 631s # 631s # 631s # 631s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr1irxg4g/tmpuv2rje9u.xml', '--output', '-', '--body'] 631s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 631s # /tmp/tmpr1irxg4g/tmpmfl74ni4.xml: 631s # 631s # 631s # 631s # 631s # 631s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr1irxg4g/tmpmfl74ni4.xml', '--output', '-', '--body'] 631s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 631s # /tmp/tmpr1irxg4g/tmpyh64h62j.xml: 631s # 631s # 631s # 631s # 631s # 631s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr1irxg4g/tmpyh64h62j.xml', '--output', '-', '--body'] 631s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 631s # /tmp/tmpr1irxg4g/tmp6ixippta.xml: 631s # 631s # 631s # 631s # 631s # 631s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr1irxg4g/tmp6ixippta.xml', '--output', '-', '--body'] 631s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 631s # /tmp/tmpr1irxg4g/tmps2p_95p2.xml: 631s # 631s # 631s # 631s # 631s # 631s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr1irxg4g/tmps2p_95p2.xml', '--output', '-', '--body'] 631s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 631s # /tmp/tmpr1irxg4g/tmprcj72jer.xml: 631s # 631s # 631s # 631s # 631s # 631s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr1irxg4g/tmprcj72jer.xml', '--output', '-', '--body'] 631s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 631s # /tmp/tmpr1irxg4g/tmpuwu3tbj6.xml: 631s # 631s # 631s # 631s # 631s # 631s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr1irxg4g/tmpuwu3tbj6.xml', '--output', '-', '--body'] 631s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 631s # Output: /* 631s # * This file is generated by gdbus-codegen, do not modify it. 631s # * 631s # * The license of this code is the same as for the D-Bus interface description 631s # * it was derived from. Note that it links to GLib, so must comply with the 631s # * LGPL linking clauses. 631s # */ 631s # 631s # #ifdef HAVE_CONFIG_H 631s # # include "config.h" 631s # #endif 631s # 631s # #include 631s # #ifdef G_OS_UNIX 631s # # include 631s # #endif 631s # 631s # #ifdef G_ENABLE_DEBUG 631s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 631s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 631s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 631s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 631s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 631s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 631s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 631s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 631s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 631s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 631s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 631s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 631s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 631s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 631s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 631s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 631s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 631s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 631s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 631s # #else /* !G_ENABLE_DEBUG */ 631s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 631s # * Do not access GValues directly in your code. Instead, use the 631s # * g_value_get_*() functions 631s # */ 631s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 631s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 631s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 631s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 631s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 631s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 631s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 631s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 631s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 631s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 631s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 631s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 631s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 631s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 631s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 631s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 631s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 631s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 631s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 631s # #endif /* !G_ENABLE_DEBUG */ 631s # 631s # typedef struct 631s # { 631s # GDBusArgInfo parent_struct; 631s # gboolean use_gvariant; 631s # } _ExtendedGDBusArgInfo; 631s # 631s # typedef struct 631s # { 631s # GDBusMethodInfo parent_struct; 631s # const gchar *signal_name; 631s # gboolean pass_fdlist; 631s # } _ExtendedGDBusMethodInfo; 631s # 631s # typedef struct 631s # { 631s # GDBusSignalInfo parent_struct; 631s # const gchar *signal_name; 631s # } _ExtendedGDBusSignalInfo; 631s # 631s # typedef struct 631s # { 631s # GDBusPropertyInfo parent_struct; 631s # const gchar *hyphen_name; 631s # guint use_gvariant : 1; 631s # guint emits_changed_signal : 1; 631s # } _ExtendedGDBusPropertyInfo; 631s # 631s # typedef struct 631s # { 631s # GDBusInterfaceInfo parent_struct; 631s # const gchar *hyphen_name; 631s # } _ExtendedGDBusInterfaceInfo; 631s # 631s # typedef struct 631s # { 631s # const _ExtendedGDBusPropertyInfo *info; 631s # guint prop_id; 631s # GValue orig_value; /* the value before the change */ 631s # } ChangedProperty; 631s # 631s # static void 631s # _changed_property_free (ChangedProperty *data) 631s # { 631s # g_value_unset (&data->orig_value); 631s # g_free (data); 631s # } 631s # 631s # static gboolean 631s # _g_strv_equal0 (gchar **a, gchar **b) 631s # { 631s # gboolean ret = FALSE; 631s # guint n; 631s # if (a == NULL && b == NULL) 631s # { 631s # ret = TRUE; 631s # goto out; 631s # } 631s # if (a == NULL || b == NULL) 631s # goto out; 631s # if (g_strv_length (a) != g_strv_length (b)) 631s # goto out; 631s # for (n = 0; a[n] != NULL; n++) 631s # if (g_strcmp0 (a[n], b[n]) != 0) 631s # goto out; 631s # ret = TRUE; 631s # out: 631s # return ret; 631s # } 631s # 631s # static gboolean 631s # _g_variant_equal0 (GVariant *a, GVariant *b) 631s # { 631s # gboolean ret = FALSE; 631s # if (a == NULL && b == NULL) 631s # { 631s # ret = TRUE; 631s # goto out; 631s # } 631s # if (a == NULL || b == NULL) 631s # goto out; 631s # ret = g_variant_equal (a, b); 631s # out: 631s # return ret; 631s # } 631s # 631s # G_GNUC_UNUSED static gboolean 631s # _g_value_equal (const GValue *a, const GValue *b) 631s # { 631s # gboolean ret = FALSE; 631s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 631s # switch (G_VALUE_TYPE (a)) 631s # { 631s # case G_TYPE_BOOLEAN: 631s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 631s # break; 631s # case G_TYPE_UCHAR: 631s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 631s # break; 631s # case G_TYPE_INT: 631s # ret = (g_value_get_int (a) == g_value_get_int (b)); 631s # break; 631s # case G_TYPE_UINT: 631s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 631s # break; 631s # case G_TYPE_INT64: 631s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 631s # break; 631s # case G_TYPE_UINT64: 631s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 631s # break; 631s # case G_TYPE_DOUBLE: 631s # { 631s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 631s # gdouble da = g_value_get_double (a); 631s # gdouble db = g_value_get_double (b); 631s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 631s # } 631s # break; 631s # case G_TYPE_STRING: 631s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 631s # break; 631s # case G_TYPE_VARIANT: 631s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 631s # break; 631s # default: 631s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 631s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 631s # else 631s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 631s # break; 631s # } 631s # return ret; 631s # } 631s # 631s # /* ------------------------------------------------------------------------ 631s # * Code for interface GoodTypes 631s # * ------------------------------------------------------------------------ 631s # */ 631s # 631s # /** 631s # * SECTION:GoodTypes 631s # * @title: GoodTypes 631s # * @short_description: Generated C code for the GoodTypes D-Bus interface 631s # * 631s # * This section contains code for working with the GoodTypes D-Bus interface in C. 631s # */ 631s # 631s # /* ---- Introspection data for GoodTypes ---- */ 631s # 631s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 631s # { 631s # { 631s # -1, 631s # (gchar *) "GoodPropertyType", 631s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 631s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 631s # NULL 631s # }, 631s # "good-property-type", 631s # FALSE, 631s # TRUE 631s # }; 631s # 631s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 631s # { 631s # &_good_types_property_info_good_property_type.parent_struct, 631s # NULL 631s # }; 631s # 631s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 631s # { 631s # { 631s # -1, 631s # (gchar *) "GoodTypes", 631s # NULL, 631s # NULL, 631s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 631s # NULL 631s # }, 631s # "good-types", 631s # }; 631s # 631s # 631s # /** 631s # * good_types_interface_info: 631s # * 631s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 631s # * 631s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 631s # */ 631s # GDBusInterfaceInfo * 631s # good_types_interface_info (void) 631s # { 631s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 631s # } 631s # 631s # /** 631s # * good_types_override_properties: 631s # * @klass: The class structure for a #GObject derived class. 631s # * @property_id_begin: The property id to assign to the first overridden property. 631s # * 631s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 631s # * The properties are overridden in the order they are defined. 631s # * 631s # * Returns: The last property id. 631s # */ 631s # guint 631s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 631s # { 631s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 631s # return property_id_begin - 1; 631s # } 631s # 631s # 631s # 631s # /** 631s # * GoodTypes: 631s # * 631s # * Abstract interface type for the D-Bus interface GoodTypes. 631s # */ 631s # 631s # /** 631s # * GoodTypesIface: 631s # * @parent_iface: The parent interface. 631s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 631s # * 631s # * Virtual table for the D-Bus interface GoodTypes. 631s # */ 631s # 631s # typedef GoodTypesIface GoodTypesInterface; 631s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 631s # 631s # static void 631s # good_types_default_init (GoodTypesIface *iface) 631s # { 631s # /* GObject properties for D-Bus properties: */ 631s # /** 631s # * GoodTypes:good-property-type: 631s # * 631s # * Represents the D-Bus property "GoodPropertyType". 631s # * 631s # * 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. 631s # */ 631s # g_object_interface_install_property (iface, 631s # 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)); 631s # } 631s # 631s # /** 631s # * good_types_get_good_property_type: (skip) 631s # * @object: A GoodTypes. 631s # * 631s # * Gets the value of the "GoodPropertyType" D-Bus property. 631s # * 631s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 631s # * 631s # * 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. 631s # * 631s # * 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. 631s # */ 631s # GVariant * 631s # good_types_get_good_property_type (GoodTypes *object) 631s # { 631s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 631s # 631s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 631s # } 631s # 631s # /** 631s # * good_types_dup_good_property_type: (skip) 631s # * @object: A GoodTypes. 631s # * 631s # * Gets a copy of the "GoodPropertyType" D-Bus property. 631s # * 631s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 631s # * 631s # * 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(). 631s # */ 631s # GVariant * 631s # good_types_dup_good_property_type (GoodTypes *object) 631s # { 631s # GVariant *value; 631s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 631s # return value; 631s # } 631s # 631s # /** 631s # * good_types_set_good_property_type: (skip) 631s # * @object: A GoodTypes. 631s # * @value: The value to set. 631s # * 631s # * Sets the "GoodPropertyType" D-Bus property to @value. 631s # * 631s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 631s # */ 631s # void 631s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 631s # { 631s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 631s # } 631s # 631s # /* ------------------------------------------------------------------------ */ 631s # 631s # /** 631s # * GoodTypesProxy: 631s # * 631s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 631s # */ 631s # 631s # /** 631s # * GoodTypesProxyClass: 631s # * @parent_class: The parent class. 631s # * 631s # * Class structure for GoodTypesProxy. 631s # */ 631s # 631s # struct _GoodTypesProxyPrivate 631s # { 631s # GData *qdata; 631s # }; 631s # 631s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 631s # 631s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 631s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 631s # G_ADD_PRIVATE (GoodTypesProxy) 631s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 631s # 631s # #else 631s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 631s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 631s # 631s # #endif 631s # static void 631s # good_types_proxy_finalize (GObject *object) 631s # { 631s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 631s # g_datalist_clear (&proxy->priv->qdata); 631s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 631s # } 631s # 631s # static void 631s # good_types_proxy_get_property (GObject *object, 631s # guint prop_id, 631s # GValue *value, 631s # GParamSpec *pspec G_GNUC_UNUSED) 631s # { 631s # const _ExtendedGDBusPropertyInfo *info; 631s # GVariant *variant; 631s # g_assert (prop_id != 0 && prop_id - 1 < 1); 631s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 631s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 631s # if (info->use_gvariant) 631s # { 631s # g_value_set_variant (value, variant); 631s # } 631s # else 631s # { 631s # if (variant != NULL) 631s # g_dbus_gvariant_to_gvalue (variant, value); 631s # } 631s # if (variant != NULL) 631s # g_variant_unref (variant); 631s # } 631s # 631s # static void 631s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 631s # GAsyncResult *res, 631s # gpointer user_data) 631s # { 631s # const _ExtendedGDBusPropertyInfo *info = user_data; 631s # GError *error; 631s # GVariant *_ret; 631s # error = NULL; 631s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 631s # if (!_ret) 631s # { 631s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 631s # info->parent_struct.name, 631s # error->message, g_quark_to_string (error->domain), error->code); 631s # g_error_free (error); 631s # } 631s # else 631s # { 631s # g_variant_unref (_ret); 631s # } 631s # } 631s # 631s # static void 631s # good_types_proxy_set_property (GObject *object, 631s # guint prop_id, 631s # const GValue *value, 631s # GParamSpec *pspec G_GNUC_UNUSED) 631s # { 631s # const _ExtendedGDBusPropertyInfo *info; 631s # GVariant *variant; 631s # g_assert (prop_id != 0 && prop_id - 1 < 1); 631s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 631s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 631s # g_dbus_proxy_call (G_DBUS_PROXY (object), 631s # "org.freedesktop.DBus.Properties.Set", 631s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 631s # G_DBUS_CALL_FLAGS_NONE, 631s # -1, 631s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 631s # g_variant_unref (variant); 631s # } 631s # 631s # static void 631s # good_types_proxy_g_signal (GDBusProxy *proxy, 631s # const gchar *sender_name G_GNUC_UNUSED, 631s # const gchar *signal_name, 631s # GVariant *parameters) 631s # { 631s # _ExtendedGDBusSignalInfo *info; 631s # GVariantIter iter; 631s # GVariant *child; 631s # GValue *paramv; 631s # gsize num_params; 631s # gsize n; 631s # guint signal_id; 631s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 631s # if (info == NULL) 631s # return; 631s # num_params = g_variant_n_children (parameters); 631s # paramv = g_new0 (GValue, num_params + 1); 631s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 631s # g_value_set_object (¶mv[0], proxy); 631s # g_variant_iter_init (&iter, parameters); 631s # n = 1; 631s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 631s # { 631s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 631s # if (arg_info->use_gvariant) 631s # { 631s # g_value_init (¶mv[n], G_TYPE_VARIANT); 631s # g_value_set_variant (¶mv[n], child); 631s # n++; 631s # } 631s # else 631s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 631s # g_variant_unref (child); 631s # } 631s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 631s # g_signal_emitv (paramv, signal_id, 0, NULL); 631s # for (n = 0; n < num_params + 1; n++) 631s # g_value_unset (¶mv[n]); 631s # g_free (paramv); 631s # } 631s # 631s # static void 631s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 631s # GVariant *changed_properties, 631s # const gchar *const *invalidated_properties) 631s # { 631s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 631s # guint n; 631s # const gchar *key; 631s # GVariantIter *iter; 631s # _ExtendedGDBusPropertyInfo *info; 631s # g_variant_get (changed_properties, "a{sv}", &iter); 631s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 631s # { 631s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 631s # g_datalist_remove_data (&proxy->priv->qdata, key); 631s # if (info != NULL) 631s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 631s # } 631s # g_variant_iter_free (iter); 631s # for (n = 0; invalidated_properties[n] != NULL; n++) 631s # { 631s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 631s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 631s # if (info != NULL) 631s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 631s # } 631s # } 631s # 631s # static GVariant * 631s # good_types_proxy_get_good_property_type (GoodTypes *object) 631s # { 631s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 631s # GVariant *variant; 631s # GVariant *value = NULL; 631s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 631s # value = variant; 631s # if (variant != NULL) 631s # g_variant_unref (variant); 631s # return value; 631s # } 631s # 631s # static void 631s # good_types_proxy_init (GoodTypesProxy *proxy) 631s # { 631s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 631s # proxy->priv = good_types_proxy_get_instance_private (proxy); 631s # #else 631s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 631s # #endif 631s # 631s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 631s # } 631s # 631s # static void 631s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 631s # { 631s # GObjectClass *gobject_class; 631s # GDBusProxyClass *proxy_class; 631s # 631s # gobject_class = G_OBJECT_CLASS (klass); 631s # gobject_class->finalize = good_types_proxy_finalize; 631s # gobject_class->get_property = good_types_proxy_get_property; 631s # gobject_class->set_property = good_types_proxy_set_property; 631s # 631s # proxy_class = G_DBUS_PROXY_CLASS (klass); 631s # proxy_class->g_signal = good_types_proxy_g_signal; 631s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 631s # 631s # good_types_override_properties (gobject_class, 1); 631s # 631s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 631s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 631s # #endif 631s # } 631s # 631s # static void 631s # good_types_proxy_iface_init (GoodTypesIface *iface) 631s # { 631s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 631s # } 631s # 631s # /** 631s # * good_types_proxy_new: 631s # * @connection: A #GDBusConnection. 631s # * @flags: Flags from the #GDBusProxyFlags enumeration. 631s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 631s # * @object_path: An object path. 631s # * @cancellable: (nullable): A #GCancellable or %NULL. 631s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 631s # * @user_data: User data to pass to @callback. 631s # * 631s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 631s # * 631s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 631s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 631s # * 631s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 631s # */ 631s # void 631s # good_types_proxy_new ( 631s # GDBusConnection *connection, 631s # GDBusProxyFlags flags, 631s # const gchar *name, 631s # const gchar *object_path, 631s # GCancellable *cancellable, 631s # GAsyncReadyCallback callback, 631s # gpointer user_data) 631s # { 631s # 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); 631s # } 631s # 631s # /** 631s # * good_types_proxy_new_finish: 631s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 631s # * @error: Return location for error or %NULL 631s # * 631s # * Finishes an operation started with good_types_proxy_new(). 631s # * 631s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 631s # */ 631s # GoodTypes * 631s # good_types_proxy_new_finish ( 631s # GAsyncResult *res, 631s # GError **error) 631s # { 631s # GObject *ret; 631s # GObject *source_object; 631s # source_object = g_async_result_get_source_object (res); 631s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 631s # g_object_unref (source_object); 631s # if (ret != NULL) 631s # return GOOD_TYPES (ret); 631s # else 631s # return NULL; 631s # } 631s # 631s # /** 631s # * good_types_proxy_new_sync: 631s # * @connection: A #GDBusConnection. 631s # * @flags: Flags from the #GDBusProxyFlags enumeration. 631s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 631s # * @object_path: An object path. 631s # * @cancellable: (nullable): A #GCancellable or %NULL. 631s # * @error: Return location for error or %NULL 631s # * 631s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 631s # * 631s # * The calling thread is blocked until a reply is received. 631s # * 631s # * See good_types_proxy_new() for the asynchronous version of this constructor. 631s # * 631s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 631s # */ 631s # GoodTypes * 631s # good_types_proxy_new_sync ( 631s # GDBusConnection *connection, 631s # GDBusProxyFlags flags, 631s # const gchar *name, 631s # const gchar *object_path, 631s # GCancellable *cancellable, 631s # GError **error) 631s # { 631s # GInitable *ret; 631s # 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); 631s # if (ret != NULL) 631s # return GOOD_TYPES (ret); 631s # else 631s # return NULL; 631s # } 631s # 631s # 631s # /** 631s # * good_types_proxy_new_for_bus: 631s # * @bus_type: A #GBusType. 631s # * @flags: Flags from the #GDBusProxyFlags enumeration. 631s # * @name: A bus name (well-known or unique). 631s # * @object_path: An object path. 631s # * @cancellable: (nullable): A #GCancellable or %NULL. 631s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 631s # * @user_data: User data to pass to @callback. 631s # * 631s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 631s # * 631s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 631s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 631s # * 631s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 631s # */ 631s # void 631s # good_types_proxy_new_for_bus ( 631s # GBusType bus_type, 631s # GDBusProxyFlags flags, 631s # const gchar *name, 631s # const gchar *object_path, 631s # GCancellable *cancellable, 631s # GAsyncReadyCallback callback, 631s # gpointer user_data) 631s # { 631s # 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); 631s # } 631s # 631s # /** 631s # * good_types_proxy_new_for_bus_finish: 631s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 631s # * @error: Return location for error or %NULL 631s # * 631s # * Finishes an operation started with good_types_proxy_new_for_bus(). 631s # * 631s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 631s # */ 631s # GoodTypes * 631s # good_types_proxy_new_for_bus_finish ( 631s # GAsyncResult *res, 631s # GError **error) 631s # { 631s # GObject *ret; 631s # GObject *source_object; 631s # source_object = g_async_result_get_source_object (res); 631s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 631s # g_object_unref (source_object); 631s # if (ret != NULL) 631s # return GOOD_TYPES (ret); 631s # else 631s # return NULL; 631s # } 631s # 631s # /** 631s # * good_types_proxy_new_for_bus_sync: 631s # * @bus_type: A #GBusType. 631s # * @flags: Flags from the #GDBusProxyFlags enumeration. 631s # * @name: A bus name (well-known or unique). 631s # * @object_path: An object path. 631s # * @cancellable: (nullable): A #GCancellable or %NULL. 631s # * @error: Return location for error or %NULL 631s # * 631s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 631s # * 631s # * The calling thread is blocked until a reply is received. 631s # * 631s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 631s # * 631s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 631s # */ 631s # GoodTypes * 631s # good_types_proxy_new_for_bus_sync ( 631s # GBusType bus_type, 631s # GDBusProxyFlags flags, 631s # const gchar *name, 631s # const gchar *object_path, 631s # GCancellable *cancellable, 631s # GError **error) 631s # { 631s # GInitable *ret; 631s # 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); 631s # if (ret != NULL) 631s # return GOOD_TYPES (ret); 631s # else 631s # return NULL; 631s # } 631s # 631s # 631s # /* ------------------------------------------------------------------------ */ 631s # 631s # /** 631s # * GoodTypesSkeleton: 631s # * 631s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 631s # */ 631s # 631s # /** 631s # * GoodTypesSkeletonClass: 631s # * @parent_class: The parent class. 631s # * 631s # * Class structure for GoodTypesSkeleton. 631s # */ 631s # 631s # struct _GoodTypesSkeletonPrivate 631s # { 631s # GValue *properties; 631s # GList *changed_properties; 631s # GSource *changed_properties_idle_source; 631s # GMainContext *context; 631s # GMutex lock; 631s # }; 631s # 631s # static void 631s # _good_types_skeleton_handle_method_call ( 631s # GDBusConnection *connection G_GNUC_UNUSED, 631s # const gchar *sender G_GNUC_UNUSED, 631s # const gchar *object_path G_GNUC_UNUSED, 631s # const gchar *interface_name, 631s # const gchar *method_name, 631s # GVariant *parameters, 631s # GDBusMethodInvocation *invocation, 631s # gpointer user_data) 631s # { 631s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 631s # _ExtendedGDBusMethodInfo *info; 631s # GVariantIter iter; 631s # GVariant *child; 631s # GValue *paramv; 631s # gsize num_params; 631s # guint num_extra; 631s # gsize n; 631s # guint signal_id; 631s # GValue return_value = G_VALUE_INIT; 631s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 631s # g_assert (info != NULL); 631s # num_params = g_variant_n_children (parameters); 631s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 631s # n = 0; 631s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 631s # g_value_set_object (¶mv[n++], skeleton); 631s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 631s # g_value_set_object (¶mv[n++], invocation); 631s # if (info->pass_fdlist) 631s # { 631s # #ifdef G_OS_UNIX 631s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 631s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 631s # #else 631s # g_assert_not_reached (); 631s # #endif 631s # } 631s # g_variant_iter_init (&iter, parameters); 631s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 631s # { 631s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 631s # if (arg_info->use_gvariant) 631s # { 631s # g_value_init (¶mv[n], G_TYPE_VARIANT); 631s # g_value_set_variant (¶mv[n], child); 631s # n++; 631s # } 631s # else 631s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 631s # g_variant_unref (child); 631s # } 631s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 631s # g_value_init (&return_value, G_TYPE_BOOLEAN); 631s # g_signal_emitv (paramv, signal_id, 0, &return_value); 631s # if (!g_value_get_boolean (&return_value)) 631s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 631s # g_value_unset (&return_value); 631s # for (n = 0; n < num_params + num_extra; n++) 631s # g_value_unset (¶mv[n]); 631s # g_free (paramv); 631s # } 631s # 631s # static GVariant * 631s # _good_types_skeleton_handle_get_property ( 631s # GDBusConnection *connection G_GNUC_UNUSED, 631s # const gchar *sender G_GNUC_UNUSED, 631s # const gchar *object_path G_GNUC_UNUSED, 631s # const gchar *interface_name G_GNUC_UNUSED, 631s # const gchar *property_name, 631s # GError **error, 631s # gpointer user_data) 631s # { 631s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 631s # GValue value = G_VALUE_INIT; 631s # GParamSpec *pspec; 631s # _ExtendedGDBusPropertyInfo *info; 631s # GVariant *ret; 631s # ret = NULL; 631s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 631s # g_assert (info != NULL); 631s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 631s # if (pspec == NULL) 631s # { 631s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 631s # } 631s # else 631s # { 631s # g_value_init (&value, pspec->value_type); 631s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 631s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 631s # g_value_unset (&value); 631s # } 631s # return ret; 631s # } 631s # 631s # static gboolean 631s # _good_types_skeleton_handle_set_property ( 631s # GDBusConnection *connection G_GNUC_UNUSED, 631s # const gchar *sender G_GNUC_UNUSED, 631s # const gchar *object_path G_GNUC_UNUSED, 631s # const gchar *interface_name G_GNUC_UNUSED, 631s # const gchar *property_name, 631s # GVariant *variant, 631s # GError **error, 631s # gpointer user_data) 631s # { 631s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 631s # GValue value = G_VALUE_INIT; 631s # GParamSpec *pspec; 631s # _ExtendedGDBusPropertyInfo *info; 631s # gboolean ret; 631s # ret = FALSE; 631s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 631s # g_assert (info != NULL); 631s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 631s # if (pspec == NULL) 631s # { 631s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 631s # } 631s # else 631s # { 631s # if (info->use_gvariant) 631s # g_value_set_variant (&value, variant); 631s # else 631s # g_dbus_gvariant_to_gvalue (variant, &value); 631s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 631s # g_value_unset (&value); 631s # ret = TRUE; 631s # } 631s # return ret; 631s # } 631s # 631s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 631s # { 631s # _good_types_skeleton_handle_method_call, 631s # _good_types_skeleton_handle_get_property, 631s # _good_types_skeleton_handle_set_property, 631s # {NULL} 631s # }; 631s # 631s # static GDBusInterfaceInfo * 631s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 631s # { 631s # return good_types_interface_info (); 631s # } 631s # 631s # static GDBusInterfaceVTable * 631s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 631s # { 631s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 631s # } 631s # 631s # static GVariant * 631s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 631s # { 631s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 631s # 631s # GVariantBuilder builder; 631s # guint n; 631s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 631s # if (_good_types_interface_info.parent_struct.properties == NULL) 631s # goto out; 631s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 631s # { 631s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 631s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 631s # { 631s # GVariant *value; 631s # 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); 631s # if (value != NULL) 631s # { 631s # g_variant_take_ref (value); 631s # g_variant_builder_add (&builder, "{sv}", info->name, value); 631s # g_variant_unref (value); 631s # } 631s # } 631s # } 631s # out: 631s # return g_variant_builder_end (&builder); 631s # } 631s # 631s # static gboolean _good_types_emit_changed (gpointer user_data); 631s # 631s # static void 631s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 631s # { 631s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 631s # gboolean emit_changed = FALSE; 631s # 631s # g_mutex_lock (&skeleton->priv->lock); 631s # if (skeleton->priv->changed_properties_idle_source != NULL) 631s # { 631s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 631s # skeleton->priv->changed_properties_idle_source = NULL; 631s # emit_changed = TRUE; 631s # } 631s # g_mutex_unlock (&skeleton->priv->lock); 631s # 631s # if (emit_changed) 631s # _good_types_emit_changed (skeleton); 631s # } 631s # 631s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 631s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 631s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 631s # G_ADD_PRIVATE (GoodTypesSkeleton) 631s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 631s # 631s # #else 631s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 631s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 631s # 631s # #endif 631s # static void 631s # good_types_skeleton_finalize (GObject *object) 631s # { 631s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 631s # guint n; 631s # for (n = 0; n < 1; n++) 631s # g_value_unset (&skeleton->priv->properties[n]); 631s # g_free (skeleton->priv->properties); 631s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 631s # if (skeleton->priv->changed_properties_idle_source != NULL) 631s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 631s # g_main_context_unref (skeleton->priv->context); 631s # g_mutex_clear (&skeleton->priv->lock); 631s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 631s # } 631s # 631s # static void 631s # good_types_skeleton_get_property (GObject *object, 631s # guint prop_id, 631s # GValue *value, 631s # GParamSpec *pspec G_GNUC_UNUSED) 631s # { 631s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 631s # g_assert (prop_id != 0 && prop_id - 1 < 1); 631s # g_mutex_lock (&skeleton->priv->lock); 631s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 631s # g_mutex_unlock (&skeleton->priv->lock); 631s # } 631s # 631s # static gboolean 631s # _good_types_emit_changed (gpointer user_data) 631s # { 631s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 631s # GList *l; 631s # GVariantBuilder builder; 631s # GVariantBuilder invalidated_builder; 631s # guint num_changes; 631s # 631s # g_mutex_lock (&skeleton->priv->lock); 631s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 631s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 631s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 631s # { 631s # ChangedProperty *cp = l->data; 631s # GVariant *variant; 631s # const GValue *cur_value; 631s # 631s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 631s # if (!_g_value_equal (cur_value, &cp->orig_value)) 631s # { 631s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 631s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 631s # g_variant_unref (variant); 631s # num_changes++; 631s # } 631s # } 631s # if (num_changes > 0) 631s # { 631s # GList *connections, *ll; 631s # GVariant *signal_variant; 631s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 631s # &builder, &invalidated_builder)); 631s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 631s # for (ll = connections; ll != NULL; ll = ll->next) 631s # { 631s # GDBusConnection *connection = ll->data; 631s # 631s # g_dbus_connection_emit_signal (connection, 631s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 631s # "org.freedesktop.DBus.Properties", 631s # "PropertiesChanged", 631s # signal_variant, 631s # NULL); 631s # } 631s # g_variant_unref (signal_variant); 631s # g_list_free_full (connections, g_object_unref); 631s # } 631s # else 631s # { 631s # g_variant_builder_clear (&builder); 631s # g_variant_builder_clear (&invalidated_builder); 631s # } 631s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 631s # skeleton->priv->changed_properties = NULL; 631s # skeleton->priv->changed_properties_idle_source = NULL; 631s # g_mutex_unlock (&skeleton->priv->lock); 631s # return FALSE; 631s # } 631s # 631s # static void 631s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 631s # { 631s # ChangedProperty *cp; 631s # GList *l; 631s # cp = NULL; 631s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 631s # { 631s # ChangedProperty *i_cp = l->data; 631s # if (i_cp->info == info) 631s # { 631s # cp = i_cp; 631s # break; 631s # } 631s # } 631s # if (cp == NULL) 631s # { 631s # cp = g_new0 (ChangedProperty, 1); 631s # cp->prop_id = prop_id; 631s # cp->info = info; 631s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 631s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 631s # g_value_copy (orig_value, &cp->orig_value); 631s # } 631s # } 631s # 631s # static void 631s # good_types_skeleton_notify (GObject *object, 631s # GParamSpec *pspec G_GNUC_UNUSED) 631s # { 631s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 631s # g_mutex_lock (&skeleton->priv->lock); 631s # if (skeleton->priv->changed_properties != NULL && 631s # skeleton->priv->changed_properties_idle_source == NULL) 631s # { 631s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 631s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 631s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 631s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 631s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 631s # g_source_unref (skeleton->priv->changed_properties_idle_source); 631s # } 631s # g_mutex_unlock (&skeleton->priv->lock); 631s # } 631s # 631s # static void 631s # good_types_skeleton_set_property (GObject *object, 631s # guint prop_id, 631s # const GValue *value, 631s # GParamSpec *pspec) 631s # { 631s # const _ExtendedGDBusPropertyInfo *info; 631s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 631s # g_assert (prop_id != 0 && prop_id - 1 < 1); 631s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 631s # g_mutex_lock (&skeleton->priv->lock); 631s # g_object_freeze_notify (object); 631s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 631s # { 631s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 631s # info->emits_changed_signal) 631s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 631s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 631s # g_object_notify_by_pspec (object, pspec); 631s # } 631s # g_mutex_unlock (&skeleton->priv->lock); 631s # g_object_thaw_notify (object); 631s # } 631s # 631s # static void 631s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 631s # { 631s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 631s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 631s # #else 631s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 631s # #endif 631s # 631s # g_mutex_init (&skeleton->priv->lock); 631s # skeleton->priv->context = g_main_context_ref_thread_default (); 631s # skeleton->priv->properties = g_new0 (GValue, 1); 631s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 631s # } 631s # 631s # static GVariant * 631s # good_types_skeleton_get_good_property_type (GoodTypes *object) 631s # { 631s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 631s # GVariant *value; 631s # g_mutex_lock (&skeleton->priv->lock); 631s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 631s # g_mutex_unlock (&skeleton->priv->lock); 631s # return value; 631s # } 631s # 631s # static void 631s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 631s # { 631s # GObjectClass *gobject_class; 631s # GDBusInterfaceSkeletonClass *skeleton_class; 631s # 631s # gobject_class = G_OBJECT_CLASS (klass); 631s # gobject_class->finalize = good_types_skeleton_finalize; 631s # gobject_class->get_property = good_types_skeleton_get_property; 631s # gobject_class->set_property = good_types_skeleton_set_property; 631s # gobject_class->notify = good_types_skeleton_notify; 631s # 631s # 631s # good_types_override_properties (gobject_class, 1); 631s # 631s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 631s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 631s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 631s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 631s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 631s # 631s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 631s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 631s # #endif 631s # } 631s # 631s # static void 631s # good_types_skeleton_iface_init (GoodTypesIface *iface) 631s # { 631s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 631s # } 631s # 631s # /** 631s # * good_types_skeleton_new: 631s # * 631s # * Creates a skeleton object for the D-Bus interface GoodTypes. 631s # * 631s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 631s # */ 631s # GoodTypes * 631s # good_types_skeleton_new (void) 631s # { 631s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 631s # } 631s # /tmp/tmpr1irxg4g/tmpcxf6c_cx.xml: 631s # 631s # 631s # 631s # 631s # 631s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr1irxg4g/tmpcxf6c_cx.xml', '--output', '-', '--body'] 631s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 631s # Output: /* 631s # * This file is generated by gdbus-codegen, do not modify it. 631s # * 631s # * The license of this code is the same as for the D-Bus interface description 631s # * it was derived from. Note that it links to GLib, so must comply with the 631s # * LGPL linking clauses. 631s # */ 631s # 631s # #ifdef HAVE_CONFIG_H 631s # # include "config.h" 631s # #endif 631s # 631s # #include 631s # #ifdef G_OS_UNIX 631s # # include 631s # #endif 631s # 631s # #ifdef G_ENABLE_DEBUG 631s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 631s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 631s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 631s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 631s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 631s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 631s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 631s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 631s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 631s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 631s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 631s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 631s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 631s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 631s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 631s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 631s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 631s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 631s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 631s # #else /* !G_ENABLE_DEBUG */ 631s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 631s # * Do not access GValues directly in your code. Instead, use the 631s # * g_value_get_*() functions 631s # */ 631s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 631s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 631s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 631s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 631s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 631s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 631s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 631s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 631s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 631s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 631s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 631s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 631s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 631s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 631s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 631s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 631s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 631s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 631s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 631s # #endif /* !G_ENABLE_DEBUG */ 631s # 631s # typedef struct 631s # { 631s # GDBusArgInfo parent_struct; 631s # gboolean use_gvariant; 631s # } _ExtendedGDBusArgInfo; 631s # 631s # typedef struct 631s # { 631s # GDBusMethodInfo parent_struct; 631s # const gchar *signal_name; 631s # gboolean pass_fdlist; 631s # } _ExtendedGDBusMethodInfo; 631s # 631s # typedef struct 631s # { 631s # GDBusSignalInfo parent_struct; 631s # const gchar *signal_name; 631s # } _ExtendedGDBusSignalInfo; 631s # 631s # typedef struct 631s # { 631s # GDBusPropertyInfo parent_struct; 631s # const gchar *hyphen_name; 631s # guint use_gvariant : 1; 631s # guint emits_changed_signal : 1; 631s # } _ExtendedGDBusPropertyInfo; 631s # 631s # typedef struct 631s # { 631s # GDBusInterfaceInfo parent_struct; 631s # const gchar *hyphen_name; 631s # } _ExtendedGDBusInterfaceInfo; 631s # 631s # typedef struct 631s # { 631s # const _ExtendedGDBusPropertyInfo *info; 631s # guint prop_id; 631s # GValue orig_value; /* the value before the change */ 631s # } ChangedProperty; 631s # 631s # static void 631s # _changed_property_free (ChangedProperty *data) 631s # { 631s # g_value_unset (&data->orig_value); 631s # g_free (data); 631s # } 631s # 631s # static gboolean 631s # _g_strv_equal0 (gchar **a, gchar **b) 631s # { 631s # gboolean ret = FALSE; 631s # guint n; 631s # if (a == NULL && b == NULL) 631s # { 631s # ret = TRUE; 631s # goto out; 631s # } 631s # if (a == NULL || b == NULL) 631s # goto out; 631s # if (g_strv_length (a) != g_strv_length (b)) 631s # goto out; 631s # for (n = 0; a[n] != NULL; n++) 631s # if (g_strcmp0 (a[n], b[n]) != 0) 631s # goto out; 631s # ret = TRUE; 631s # out: 631s # return ret; 631s # } 631s # 631s # static gboolean 631s # _g_variant_equal0 (GVariant *a, GVariant *b) 631s # { 631s # gboolean ret = FALSE; 631s # if (a == NULL && b == NULL) 631s # { 631s # ret = TRUE; 631s # goto out; 631s # } 631s # if (a == NULL || b == NULL) 631s # goto out; 631s # ret = g_variant_equal (a, b); 631s # out: 631s # return ret; 631s # } 631s # 631s # G_GNUC_UNUSED static gboolean 631s # _g_value_equal (const GValue *a, const GValue *b) 631s # { 631s # gboolean ret = FALSE; 631s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 631s # switch (G_VALUE_TYPE (a)) 631s # { 631s # case G_TYPE_BOOLEAN: 631s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 631s # break; 631s # case G_TYPE_UCHAR: 631s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 631s # break; 631s # case G_TYPE_INT: 631s # ret = (g_value_get_int (a) == g_value_get_int (b)); 631s # break; 631s # case G_TYPE_UINT: 631s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 631s # break; 631s # case G_TYPE_INT64: 631s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 631s # break; 631s # case G_TYPE_UINT64: 631s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 631s # break; 631s # case G_TYPE_DOUBLE: 631s # { 631s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 631s # gdouble da = g_value_get_double (a); 631s # gdouble db = g_value_get_double (b); 631s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 631s # } 631s # break; 631s # case G_TYPE_STRING: 631s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 631s # break; 631s # case G_TYPE_VARIANT: 631s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 631s # break; 631s # default: 631s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 631s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 631s # else 631s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 631s # break; 631s # } 631s # return ret; 631s # } 631s # 631s # /* ------------------------------------------------------------------------ 631s # * Code for interface GoodTypes 631s # * ------------------------------------------------------------------------ 631s # */ 631s # 631s # /** 631s # * SECTION:GoodTypes 631s # * @title: GoodTypes 631s # * @short_description: Generated C code for the GoodTypes D-Bus interface 631s # * 631s # * This section contains code for working with the GoodTypes D-Bus interface in C. 631s # */ 631s # 631s # /* ---- Introspection data for GoodTypes ---- */ 631s # 631s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 631s # { 631s # { 631s # -1, 631s # (gchar *) "GoodPropertyType", 631s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 631s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 631s # NULL 631s # }, 631s # "good-property-type", 631s # FALSE, 631s # TRUE 631s # }; 631s # 631s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 631s # { 631s # &_good_types_property_info_good_property_type.parent_struct, 631s # NULL 631s # }; 631s # 631s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 631s # { 631s # { 631s # -1, 631s # (gchar *) "GoodTypes", 631s # NULL, 631s # NULL, 631s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 631s # NULL 631s # }, 631s # "good-types", 631s # }; 631s # 631s # 631s # /** 631s # * good_types_interface_info: 631s # * 631s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 631s # * 631s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 631s # */ 631s # GDBusInterfaceInfo * 631s # good_types_interface_info (void) 631s # { 631s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 631s # } 631s # 631s # /** 631s # * good_types_override_properties: 631s # * @klass: The class structure for a #GObject derived class. 631s # * @property_id_begin: The property id to assign to the first overridden property. 631s # * 631s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 631s # * The properties are overridden in the order they are defined. 631s # * 631s # * Returns: The last property id. 631s # */ 631s # guint 631s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 631s # { 631s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 631s # return property_id_begin - 1; 631s # } 631s # 631s # 631s # 631s # /** 631s # * GoodTypes: 631s # * 631s # * Abstract interface type for the D-Bus interface GoodTypes. 631s # */ 631s # 631s # /** 631s # * GoodTypesIface: 631s # * @parent_iface: The parent interface. 631s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 631s # * 631s # * Virtual table for the D-Bus interface GoodTypes. 631s # */ 631s # 631s # typedef GoodTypesIface GoodTypesInterface; 631s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 631s # 631s # static void 631s # good_types_default_init (GoodTypesIface *iface) 631s # { 631s # /* GObject properties for D-Bus properties: */ 631s # /** 631s # * GoodTypes:good-property-type: 631s # * 631s # * Represents the D-Bus property "GoodPropertyType". 631s # * 631s # * 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. 631s # */ 631s # g_object_interface_install_property (iface, 631s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 631s # } 631s # 631s # /** 631s # * good_types_get_good_property_type: (skip) 631s # * @object: A GoodTypes. 631s # * 631s # * Gets the value of the "GoodPropertyType" D-Bus property. 631s # * 631s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 631s # * 631s # * 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. 631s # * 631s # * 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. 631s # */ 631s # GVariant * 631s # good_types_get_good_property_type (GoodTypes *object) 631s # { 631s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 631s # 631s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 631s # } 631s # 631s # /** 631s # * good_types_dup_good_property_type: (skip) 631s # * @object: A GoodTypes. 631s # * 631s # * Gets a copy of the "GoodPropertyType" D-Bus property. 631s # * 631s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 631s # * 631s # * 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(). 631s # */ 631s # GVariant * 631s # good_types_dup_good_property_type (GoodTypes *object) 631s # { 631s # GVariant *value; 631s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 631s # return value; 631s # } 631s # 631s # /** 631s # * good_types_set_good_property_type: (skip) 631s # * @object: A GoodTypes. 631s # * @value: The value to set. 631s # * 631s # * Sets the "GoodPropertyType" D-Bus property to @value. 631s # * 631s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 631s # */ 631s # void 631s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 631s # { 631s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 631s # } 631s # 631s # /* ------------------------------------------------------------------------ */ 631s # 631s # /** 631s # * GoodTypesProxy: 631s # * 631s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 631s # */ 631s # 631s # /** 631s # * GoodTypesProxyClass: 631s # * @parent_class: The parent class. 631s # * 631s # * Class structure for GoodTypesProxy. 631s # */ 631s # 631s # struct _GoodTypesProxyPrivate 631s # { 631s # GData *qdata; 631s # }; 631s # 631s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 631s # 631s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 631s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 631s # G_ADD_PRIVATE (GoodTypesProxy) 631s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 631s # 631s # #else 631s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 631s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 631s # 631s # #endif 631s # static void 631s # good_types_proxy_finalize (GObject *object) 631s # { 631s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 631s # g_datalist_clear (&proxy->priv->qdata); 631s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 631s # } 631s # 631s # static void 631s # good_types_proxy_get_property (GObject *object, 631s # guint prop_id, 631s # GValue *value, 631s # GParamSpec *pspec G_GNUC_UNUSED) 631s # { 631s # const _ExtendedGDBusPropertyInfo *info; 631s # GVariant *variant; 631s # g_assert (prop_id != 0 && prop_id - 1 < 1); 631s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 631s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 631s # if (info->use_gvariant) 631s # { 631s # g_value_set_variant (value, variant); 631s # } 631s # else 631s # { 631s # if (variant != NULL) 631s # g_dbus_gvariant_to_gvalue (variant, value); 631s # } 631s # if (variant != NULL) 631s # g_variant_unref (variant); 631s # } 631s # 631s # static void 631s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 631s # GAsyncResult *res, 631s # gpointer user_data) 631s # { 631s # const _ExtendedGDBusPropertyInfo *info = user_data; 631s # GError *error; 631s # GVariant *_ret; 631s # error = NULL; 631s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 631s # if (!_ret) 631s # { 631s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 631s # info->parent_struct.name, 631s # error->message, g_quark_to_string (error->domain), error->code); 631s # g_error_free (error); 631s # } 631s # else 631s # { 631s # g_variant_unref (_ret); 631s # } 631s # } 631s # 631s # static void 631s # good_types_proxy_set_property (GObject *object, 631s # guint prop_id, 631s # const GValue *value, 631s # GParamSpec *pspec G_GNUC_UNUSED) 631s # { 631s # const _ExtendedGDBusPropertyInfo *info; 631s # GVariant *variant; 631s # g_assert (prop_id != 0 && prop_id - 1 < 1); 631s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 631s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 631s # g_dbus_proxy_call (G_DBUS_PROXY (object), 631s # "org.freedesktop.DBus.Properties.Set", 631s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 631s # G_DBUS_CALL_FLAGS_NONE, 631s # -1, 631s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 631s # g_variant_unref (variant); 631s # } 631s # 631s # static void 631s # good_types_proxy_g_signal (GDBusProxy *proxy, 631s # const gchar *sender_name G_GNUC_UNUSED, 631s # const gchar *signal_name, 631s # GVariant *parameters) 631s # { 631s # _ExtendedGDBusSignalInfo *info; 631s # GVariantIter iter; 631s # GVariant *child; 631s # GValue *paramv; 631s # gsize num_params; 631s # gsize n; 631s # guint signal_id; 631s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 631s # if (info == NULL) 631s # return; 631s # num_params = g_variant_n_children (parameters); 631s # paramv = g_new0 (GValue, num_params + 1); 631s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 631s # g_value_set_object (¶mv[0], proxy); 631s # g_variant_iter_init (&iter, parameters); 631s # n = 1; 631s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 631s # { 631s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 631s # if (arg_info->use_gvariant) 631s # { 631s # g_value_init (¶mv[n], G_TYPE_VARIANT); 631s # g_value_set_variant (¶mv[n], child); 631s # n++; 631s # } 631s # else 631s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 631s # g_variant_unref (child); 631s # } 631s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 631s # g_signal_emitv (paramv, signal_id, 0, NULL); 631s # for (n = 0; n < num_params + 1; n++) 631s # g_value_unset (¶mv[n]); 631s # g_free (paramv); 631s # } 631s # 631s # static void 631s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 631s # GVariant *changed_properties, 631s # const gchar *const *invalidated_properties) 631s # { 631s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 631s # guint n; 631s # const gchar *key; 631s # GVariantIter *iter; 631s # _ExtendedGDBusPropertyInfo *info; 631s # g_variant_get (changed_properties, "a{sv}", &iter); 631s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 631s # { 631s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 631s # g_datalist_remove_data (&proxy->priv->qdata, key); 631s # if (info != NULL) 631s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 631s # } 631s # g_variant_iter_free (iter); 631s # for (n = 0; invalidated_properties[n] != NULL; n++) 631s # { 631s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 631s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 631s # if (info != NULL) 631s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 631s # } 631s # } 631s # 631s # static GVariant * 631s # good_types_proxy_get_good_property_type (GoodTypes *object) 631s # { 631s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 631s # GVariant *variant; 631s # GVariant *value = NULL; 631s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 631s # value = variant; 631s # if (variant != NULL) 631s # g_variant_unref (variant); 631s # return value; 631s # } 631s # 631s # static void 631s # good_types_proxy_init (GoodTypesProxy *proxy) 631s # { 631s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 631s # proxy->priv = good_types_proxy_get_instance_private (proxy); 631s # #else 631s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 631s # #endif 631s # 631s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 631s # } 631s # 631s # static void 631s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 631s # { 631s # GObjectClass *gobject_class; 631s # GDBusProxyClass *proxy_class; 631s # 631s # gobject_class = G_OBJECT_CLASS (klass); 631s # gobject_class->finalize = good_types_proxy_finalize; 631s # gobject_class->get_property = good_types_proxy_get_property; 631s # gobject_class->set_property = good_types_proxy_set_property; 631s # 631s # proxy_class = G_DBUS_PROXY_CLASS (klass); 631s # proxy_class->g_signal = good_types_proxy_g_signal; 631s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 631s # 631s # good_types_override_properties (gobject_class, 1); 631s # 631s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 631s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 631s # #endif 631s # } 631s # 631s # static void 631s # good_types_proxy_iface_init (GoodTypesIface *iface) 631s # { 631s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 631s # } 631s # 631s # /** 631s # * good_types_proxy_new: 631s # * @connection: A #GDBusConnection. 631s # * @flags: Flags from the #GDBusProxyFlags enumeration. 631s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 631s # * @object_path: An object path. 631s # * @cancellable: (nullable): A #GCancellable or %NULL. 631s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 631s # * @user_data: User data to pass to @callback. 631s # * 631s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 631s # * 631s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 631s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 631s # * 631s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 631s # */ 631s # void 631s # good_types_proxy_new ( 631s # GDBusConnection *connection, 631s # GDBusProxyFlags flags, 631s # const gchar *name, 631s # const gchar *object_path, 631s # GCancellable *cancellable, 631s # GAsyncReadyCallback callback, 631s # gpointer user_data) 631s # { 631s # 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); 631s # } 631s # 631s # /** 631s # * good_types_proxy_new_finish: 631s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 631s # * @error: Return location for error or %NULL 631s # * 631s # * Finishes an operation started with good_types_proxy_new(). 631s # * 631s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 631s # */ 631s # GoodTypes * 631s # good_types_proxy_new_finish ( 631s # GAsyncResult *res, 631s # GError **error) 631s # { 631s # GObject *ret; 631s # GObject *source_object; 631s # source_object = g_async_result_get_source_object (res); 631s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 631s # g_object_unref (source_object); 631s # if (ret != NULL) 631s # return GOOD_TYPES (ret); 631s # else 631s # return NULL; 631s # } 631s # 631s # /** 631s # * good_types_proxy_new_sync: 631s # * @connection: A #GDBusConnection. 631s # * @flags: Flags from the #GDBusProxyFlags enumeration. 631s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 631s # * @object_path: An object path. 631s # * @cancellable: (nullable): A #GCancellable or %NULL. 631s # * @error: Return location for error or %NULL 631s # * 631s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 631s # * 631s # * The calling thread is blocked until a reply is received. 631s # * 631s # * See good_types_proxy_new() for the asynchronous version of this constructor. 631s # * 631s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 631s # */ 631s # GoodTypes * 631s # good_types_proxy_new_sync ( 631s # GDBusConnection *connection, 631s # GDBusProxyFlags flags, 631s # const gchar *name, 631s # const gchar *object_path, 631s # GCancellable *cancellable, 631s # GError **error) 631s # { 631s # GInitable *ret; 631s # 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); 631s # if (ret != NULL) 631s # return GOOD_TYPES (ret); 631s # else 631s # return NULL; 631s # } 631s # 631s # 631s # /** 631s # * good_types_proxy_new_for_bus: 631s # * @bus_type: A #GBusType. 631s # * @flags: Flags from the #GDBusProxyFlags enumeration. 631s # * @name: A bus name (well-known or unique). 631s # * @object_path: An object path. 631s # * @cancellable: (nullable): A #GCancellable or %NULL. 631s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 631s # * @user_data: User data to pass to @callback. 631s # * 631s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 631s # * 631s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 631s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 631s # * 631s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 631s # */ 631s # void 631s # good_types_proxy_new_for_bus ( 631s # GBusType bus_type, 631s # GDBusProxyFlags flags, 631s # const gchar *name, 631s # const gchar *object_path, 631s # GCancellable *cancellable, 631s # GAsyncReadyCallback callback, 631s # gpointer user_data) 631s # { 631s # 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); 631s # } 631s # 631s # /** 631s # * good_types_proxy_new_for_bus_finish: 631s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 631s # * @error: Return location for error or %NULL 631s # * 631s # * Finishes an operation started with good_types_proxy_new_for_bus(). 631s # * 631s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 631s # */ 631s # GoodTypes * 631s # good_types_proxy_new_for_bus_finish ( 631s # GAsyncResult *res, 631s # GError **error) 631s # { 631s # GObject *ret; 631s # GObject *source_object; 631s # source_object = g_async_result_get_source_object (res); 631s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 631s # g_object_unref (source_object); 631s # if (ret != NULL) 631s # return GOOD_TYPES (ret); 631s # else 631s # return NULL; 631s # } 631s # 631s # /** 631s # * good_types_proxy_new_for_bus_sync: 631s # * @bus_type: A #GBusType. 631s # * @flags: Flags from the #GDBusProxyFlags enumeration. 631s # * @name: A bus name (well-known or unique). 631s # * @object_path: An object path. 631s # * @cancellable: (nullable): A #GCancellable or %NULL. 631s # * @error: Return location for error or %NULL 631s # * 631s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 631s # * 631s # * The calling thread is blocked until a reply is received. 631s # * 631s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 631s # * 631s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 631s # */ 631s # GoodTypes * 631s # good_types_proxy_new_for_bus_sync ( 631s # GBusType bus_type, 631s # GDBusProxyFlags flags, 631s # const gchar *name, 631s # const gchar *object_path, 631s # GCancellable *cancellable, 631s # GError **error) 631s # { 631s # GInitable *ret; 631s # 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); 631s # if (ret != NULL) 631s # return GOOD_TYPES (ret); 631s # else 631s # return NULL; 631s # } 631s # 631s # 631s # /* ------------------------------------------------------------------------ */ 631s # 631s # /** 631s # * GoodTypesSkeleton: 631s # * 631s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 631s # */ 631s # 631s # /** 631s # * GoodTypesSkeletonClass: 631s # * @parent_class: The parent class. 631s # * 631s # * Class structure for GoodTypesSkeleton. 631s # */ 631s # 631s # struct _GoodTypesSkeletonPrivate 631s # { 631s # GValue *properties; 631s # GList *changed_properties; 631s # GSource *changed_properties_idle_source; 631s # GMainContext *context; 631s # GMutex lock; 631s # }; 631s # 631s # static void 631s # _good_types_skeleton_handle_method_call ( 631s # GDBusConnection *connection G_GNUC_UNUSED, 631s # const gchar *sender G_GNUC_UNUSED, 631s # const gchar *object_path G_GNUC_UNUSED, 631s # const gchar *interface_name, 631s # const gchar *method_name, 631s # GVariant *parameters, 631s # GDBusMethodInvocation *invocation, 631s # gpointer user_data) 631s # { 631s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 631s # _ExtendedGDBusMethodInfo *info; 631s # GVariantIter iter; 631s # GVariant *child; 631s # GValue *paramv; 631s # gsize num_params; 631s # guint num_extra; 631s # gsize n; 631s # guint signal_id; 631s # GValue return_value = G_VALUE_INIT; 631s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 631s # g_assert (info != NULL); 631s # num_params = g_variant_n_children (parameters); 631s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 631s # n = 0; 631s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 631s # g_value_set_object (¶mv[n++], skeleton); 631s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 631s # g_value_set_object (¶mv[n++], invocation); 631s # if (info->pass_fdlist) 631s # { 631s # #ifdef G_OS_UNIX 631s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 631s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 631s # #else 631s # g_assert_not_reached (); 631s # #endif 631s # } 631s # g_variant_iter_init (&iter, parameters); 631s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 631s # { 631s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 631s # if (arg_info->use_gvariant) 631s # { 631s # g_value_init (¶mv[n], G_TYPE_VARIANT); 631s # g_value_set_variant (¶mv[n], child); 631s # n++; 631s # } 631s # else 631s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 631s # g_variant_unref (child); 631s # } 631s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 631s # g_value_init (&return_value, G_TYPE_BOOLEAN); 631s # g_signal_emitv (paramv, signal_id, 0, &return_value); 631s # if (!g_value_get_boolean (&return_value)) 631s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 631s # g_value_unset (&return_value); 631s # for (n = 0; n < num_params + num_extra; n++) 631s # g_value_unset (¶mv[n]); 631s # g_free (paramv); 631s # } 631s # 631s # static GVariant * 631s # _good_types_skeleton_handle_get_property ( 631s # GDBusConnection *connection G_GNUC_UNUSED, 631s # const gchar *sender G_GNUC_UNUSED, 631s # const gchar *object_path G_GNUC_UNUSED, 631s # const gchar *interface_name G_GNUC_UNUSED, 631s # const gchar *property_name, 631s # GError **error, 631s # gpointer user_data) 631s # { 631s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 631s # GValue value = G_VALUE_INIT; 631s # GParamSpec *pspec; 631s # _ExtendedGDBusPropertyInfo *info; 631s # GVariant *ret; 631s # ret = NULL; 631s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 631s # g_assert (info != NULL); 631s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 631s # if (pspec == NULL) 631s # { 631s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 631s # } 631s # else 631s # { 631s # g_value_init (&value, pspec->value_type); 631s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 631s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 631s # g_value_unset (&value); 631s # } 631s # return ret; 631s # } 631s # 631s # static gboolean 631s # _good_types_skeleton_handle_set_property ( 631s # GDBusConnection *connection G_GNUC_UNUSED, 631s # const gchar *sender G_GNUC_UNUSED, 631s # const gchar *object_path G_GNUC_UNUSED, 631s # const gchar *interface_name G_GNUC_UNUSED, 631s # const gchar *property_name, 631s # GVariant *variant, 631s # GError **error, 631s # gpointer user_data) 631s # { 631s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 631s # GValue value = G_VALUE_INIT; 631s # GParamSpec *pspec; 631s # _ExtendedGDBusPropertyInfo *info; 631s # gboolean ret; 631s # ret = FALSE; 631s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 631s # g_assert (info != NULL); 631s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 631s # if (pspec == NULL) 631s # { 631s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 631s # } 631s # else 631s # { 631s # if (info->use_gvariant) 631s # g_value_set_variant (&value, variant); 631s # else 631s # g_dbus_gvariant_to_gvalue (variant, &value); 631s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 631s # g_value_unset (&value); 631s # ret = TRUE; 631s # } 631s # return ret; 631s # } 631s # 631s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 631s # { 631s # _good_types_skeleton_handle_method_call, 631s # _good_types_skeleton_handle_get_property, 631s # _good_types_skeleton_handle_set_property, 631s # {NULL} 631s # }; 631s # 631s # static GDBusInterfaceInfo * 631s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 631s # { 631s # return good_types_interface_info (); 631s # } 631s # 631s # static GDBusInterfaceVTable * 631s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 631s # { 631s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 631s # } 631s # 631s # static GVariant * 631s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 631s # { 631s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 631s # 631s # GVariantBuilder builder; 631s # guint n; 631s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 631s # if (_good_types_interface_info.parent_struct.properties == NULL) 631s # goto out; 631s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 631s # { 631s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 631s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 631s # { 631s # GVariant *value; 631s # 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); 631s # if (value != NULL) 631s # { 631s # g_variant_take_ref (value); 631s # g_variant_builder_add (&builder, "{sv}", info->name, value); 631s # g_variant_unref (value); 631s # } 631s # } 631s # } 631s # out: 631s # return g_variant_builder_end (&builder); 631s # } 631s # 631s # static gboolean _good_types_emit_changed (gpointer user_data); 631s # 631s # static void 631s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 631s # { 631s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 631s # gboolean emit_changed = FALSE; 631s # 631s # g_mutex_lock (&skeleton->priv->lock); 631s # if (skeleton->priv->changed_properties_idle_source != NULL) 631s # { 631s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 631s # skeleton->priv->changed_properties_idle_source = NULL; 631s # emit_changed = TRUE; 631s # } 631s # g_mutex_unlock (&skeleton->priv->lock); 631s # 631s # if (emit_changed) 631s # _good_types_emit_changed (skeleton); 631s # } 631s # 631s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 631s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 631s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 631s # G_ADD_PRIVATE (GoodTypesSkeleton) 631s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 631s # 631s # #else 631s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 631s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 631s # 631s # #endif 631s # static void 631s # good_types_skeleton_finalize (GObject *object) 631s # { 631s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 631s # guint n; 631s # for (n = 0; n < 1; n++) 631s # g_value_unset (&skeleton->priv->properties[n]); 631s # g_free (skeleton->priv->properties); 631s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 631s # if (skeleton->priv->changed_properties_idle_source != NULL) 631s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 631s # g_main_context_unref (skeleton->priv->context); 631s # g_mutex_clear (&skeleton->priv->lock); 631s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 631s # } 631s # 631s # static void 631s # good_types_skeleton_get_property (GObject *object, 631s # guint prop_id, 631s # GValue *value, 631s # GParamSpec *pspec G_GNUC_UNUSED) 631s # { 631s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 631s # g_assert (prop_id != 0 && prop_id - 1 < 1); 631s # g_mutex_lock (&skeleton->priv->lock); 631s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 631s # g_mutex_unlock (&skeleton->priv->lock); 631s # } 631s # 631s # static gboolean 631s # _good_types_emit_changed (gpointer user_data) 631s # { 631s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 631s # GList *l; 631s # GVariantBuilder builder; 631s # GVariantBuilder invalidated_builder; 631s # guint num_changes; 631s # 631s # g_mutex_lock (&skeleton->priv->lock); 631s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 631s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 631s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 631s # { 631s # ChangedProperty *cp = l->data; 631s # GVariant *variant; 631s # const GValue *cur_value; 631s # 631s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 631s # if (!_g_value_equal (cur_value, &cp->orig_value)) 631s # { 631s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 631s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 631s # g_variant_unref (variant); 631s # num_changes++; 631s # } 631s # } 631s # if (num_changes > 0) 631s # { 631s # GList *connections, *ll; 631s # GVariant *signal_variant; 631s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 631s # &builder, &invalidated_builder)); 631s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 631s # for (ll = connections; ll != NULL; ll = ll->next) 631s # { 631s # GDBusConnection *connection = ll->data; 631s # 631s # g_dbus_connection_emit_signal (connection, 631s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 631s # "org.freedesktop.DBus.Properties", 631s # "PropertiesChanged", 631s # signal_variant, 631s # NULL); 631s # } 631s # g_variant_unref (signal_variant); 631s # g_list_free_full (connections, g_object_unref); 631s # } 631s # else 631s # { 631s # g_variant_builder_clear (&builder); 631s # g_variant_builder_clear (&invalidated_builder); 631s # } 631s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 631s # skeleton->priv->changed_properties = NULL; 631s # skeleton->priv->changed_properties_idle_source = NULL; 631s # g_mutex_unlock (&skeleton->priv->lock); 631s # return FALSE; 631s # } 631s # 631s # static void 631s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 631s # { 631s # ChangedProperty *cp; 631s # GList *l; 631s # cp = NULL; 631s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 631s # { 631s # ChangedProperty *i_cp = l->data; 631s # if (i_cp->info == info) 631s # { 631s # cp = i_cp; 631s # break; 631s # } 631s # } 631s # if (cp == NULL) 631s # { 631s # cp = g_new0 (ChangedProperty, 1); 631s # cp->prop_id = prop_id; 631s # cp->info = info; 631s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 631s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 631s # g_value_copy (orig_value, &cp->orig_value); 631s # } 631s # } 631s # 631s # static void 631s # good_types_skeleton_notify (GObject *object, 631s # GParamSpec *pspec G_GNUC_UNUSED) 631s # { 631s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 631s # g_mutex_lock (&skeleton->priv->lock); 631s # if (skeleton->priv->changed_properties != NULL && 631s # skeleton->priv->changed_properties_idle_source == NULL) 631s # { 631s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 631s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 631s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 631s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 631s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 631s # g_source_unref (skeleton->priv->changed_properties_idle_source); 631s # } 631s # g_mutex_unlock (&skeleton->priv->lock); 631s # } 631s # 631s # static void 631s # good_types_skeleton_set_property (GObject *object, 631s # guint prop_id, 631s # const GValue *value, 631s # GParamSpec *pspec) 631s # { 631s # const _ExtendedGDBusPropertyInfo *info; 631s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 631s # g_assert (prop_id != 0 && prop_id - 1 < 1); 631s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 631s # g_mutex_lock (&skeleton->priv->lock); 631s # g_object_freeze_notify (object); 631s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 631s # { 631s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 631s # info->emits_changed_signal) 631s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 631s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 631s # g_object_notify_by_pspec (object, pspec); 631s # } 631s # g_mutex_unlock (&skeleton->priv->lock); 631s # g_object_thaw_notify (object); 631s # } 631s # 631s # static void 631s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 631s # { 631s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 631s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 631s # #else 631s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 631s # #endif 631s # 631s # g_mutex_init (&skeleton->priv->lock); 631s # skeleton->priv->context = g_main_context_ref_thread_default (); 631s # skeleton->priv->properties = g_new0 (GValue, 1); 631s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 631s # } 631s # 631s # static GVariant * 631s # good_types_skeleton_get_good_property_type (GoodTypes *object) 631s # { 631s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 631s # GVariant *value; 631s # g_mutex_lock (&skeleton->priv->lock); 631s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 631s # g_mutex_unlock (&skeleton->priv->lock); 631s # return value; 631s # } 631s # 631s # static void 631s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 631s # { 631s # GObjectClass *gobject_class; 631s # GDBusInterfaceSkeletonClass *skeleton_class; 631s # 631s # gobject_class = G_OBJECT_CLASS (klass); 631s # gobject_class->finalize = good_types_skeleton_finalize; 631s # gobject_class->get_property = good_types_skeleton_get_property; 631s # gobject_class->set_property = good_types_skeleton_set_property; 631s # gobject_class->notify = good_types_skeleton_notify; 631s # 631s # 631s # good_types_override_properties (gobject_class, 1); 631s # 631s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 631s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 631s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 631s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 631s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 631s # 631s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 631s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 631s # #endif 631s # } 631s # 631s # static void 631s # good_types_skeleton_iface_init (GoodTypesIface *iface) 631s # { 631s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 631s # } 631s # 631s # /** 631s # * good_types_skeleton_new: 631s # * 631s # * Creates a skeleton object for the D-Bus interface GoodTypes. 631s # * 631s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 631s # */ 631s # GoodTypes * 631s # good_types_skeleton_new (void) 631s # { 631s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 631s # } 631s # /tmp/tmpr1irxg4g/tmpefg5uamt.xml: 631s # 631s # 631s # 631s # 631s # 631s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr1irxg4g/tmpefg5uamt.xml', '--output', '-', '--body'] 631s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 631s # Output: /* 631s # * This file is generated by gdbus-codegen, do not modify it. 631s # * 631s # * The license of this code is the same as for the D-Bus interface description 631s # * it was derived from. Note that it links to GLib, so must comply with the 631s # * LGPL linking clauses. 631s # */ 631s # 631s # #ifdef HAVE_CONFIG_H 631s # # include "config.h" 631s # #endif 631s # 631s # #include 631s # #ifdef G_OS_UNIX 631s # # include 631s # #endif 631s # 631s # #ifdef G_ENABLE_DEBUG 631s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 631s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 631s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 631s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 631s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 631s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 631s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 631s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 631s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 631s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 631s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 631s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 631s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 631s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 631s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 631s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 631s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 631s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 631s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 631s # #else /* !G_ENABLE_DEBUG */ 631s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 631s # * Do not access GValues directly in your code. Instead, use the 631s # * g_value_get_*() functions 631s # */ 631s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 631s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 631s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 631s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 631s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 631s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 631s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 631s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 631s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 631s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 631s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 631s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 631s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 631s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 631s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 631s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 631s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 631s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 631s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 631s # #endif /* !G_ENABLE_DEBUG */ 631s # 631s # typedef struct 631s # { 631s # GDBusArgInfo parent_struct; 631s # gboolean use_gvariant; 631s # } _ExtendedGDBusArgInfo; 631s # 631s # typedef struct 631s # { 631s # GDBusMethodInfo parent_struct; 631s # const gchar *signal_name; 631s # gboolean pass_fdlist; 631s # } _ExtendedGDBusMethodInfo; 631s # 631s # typedef struct 631s # { 631s # GDBusSignalInfo parent_struct; 631s # const gchar *signal_name; 631s # } _ExtendedGDBusSignalInfo; 631s # 631s # typedef struct 631s # { 631s # GDBusPropertyInfo parent_struct; 631s # const gchar *hyphen_name; 631s # guint use_gvariant : 1; 631s # guint emits_changed_signal : 1; 631s # } _ExtendedGDBusPropertyInfo; 631s # 631s # typedef struct 631s # { 631s # GDBusInterfaceInfo parent_struct; 631s # const gchar *hyphen_name; 631s # } _ExtendedGDBusInterfaceInfo; 631s # 631s # typedef struct 631s # { 631s # const _ExtendedGDBusPropertyInfo *info; 631s # guint prop_id; 631s # GValue orig_value; /* the value before the change */ 631s # } ChangedProperty; 631s # 631s # static void 631s # _changed_property_free (ChangedProperty *data) 631s # { 631s # g_value_unset (&data->orig_value); 631s # g_free (data); 631s # } 631s # 631s # static gboolean 631s # _g_strv_equal0 (gchar **a, gchar **b) 631s # { 631s # gboolean ret = FALSE; 631s # guint n; 631s # if (a == NULL && b == NULL) 631s # { 631s # ret = TRUE; 631s # goto out; 631s # } 631s # if (a == NULL || b == NULL) 631s # goto out; 631s # if (g_strv_length (a) != g_strv_length (b)) 631s # goto out; 631s # for (n = 0; a[n] != NULL; n++) 631s # if (g_strcmp0 (a[n], b[n]) != 0) 631s # goto out; 631s # ret = TRUE; 631s # out: 631s # return ret; 631s # } 631s # 631s # static gboolean 631s # _g_variant_equal0 (GVariant *a, GVariant *b) 631s # { 631s # gboolean ret = FALSE; 631s # if (a == NULL && b == NULL) 631s # { 631s # ret = TRUE; 631s # goto out; 631s # } 631s # if (a == NULL || b == NULL) 631s # goto out; 631s # ret = g_variant_equal (a, b); 631s # out: 631s # return ret; 631s # } 631s # 631s # G_GNUC_UNUSED static gboolean 631s # _g_value_equal (const GValue *a, const GValue *b) 631s # { 631s # gboolean ret = FALSE; 631s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 631s # switch (G_VALUE_TYPE (a)) 631s # { 631s # case G_TYPE_BOOLEAN: 631s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 631s # break; 631s # case G_TYPE_UCHAR: 631s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 631s # break; 631s # case G_TYPE_INT: 631s # ret = (g_value_get_int (a) == g_value_get_int (b)); 631s # break; 631s # case G_TYPE_UINT: 631s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 631s # break; 631s # case G_TYPE_INT64: 631s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 631s # break; 631s # case G_TYPE_UINT64: 631s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 631s # break; 631s # case G_TYPE_DOUBLE: 631s # { 631s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 631s # gdouble da = g_value_get_double (a); 631s # gdouble db = g_value_get_double (b); 631s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 631s # } 631s # break; 631s # case G_TYPE_STRING: 631s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 631s # break; 631s # case G_TYPE_VARIANT: 631s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 631s # break; 631s # default: 631s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 631s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 631s # else 631s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 631s # break; 631s # } 631s # return ret; 631s # } 631s # 631s # /* ------------------------------------------------------------------------ 631s # * Code for interface GoodTypes 631s # * ------------------------------------------------------------------------ 631s # */ 631s # 631s # /** 631s # * SECTION:GoodTypes 631s # * @title: GoodTypes 631s # * @short_description: Generated C code for the GoodTypes D-Bus interface 631s # * 631s # * This section contains code for working with the GoodTypes D-Bus interface in C. 631s # */ 631s # 631s # /* ---- Introspection data for GoodTypes ---- */ 631s # 631s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 631s # { 631s # { 631s # -1, 631s # (gchar *) "GoodPropertyType", 631s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 631s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 631s # NULL 631s # }, 631s # "good-property-type", 631s # FALSE, 631s # TRUE 631s # }; 631s # 631s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 631s # { 631s # &_good_types_property_info_good_property_type.parent_struct, 631s # NULL 631s # }; 631s # 631s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 631s # { 631s # { 631s # -1, 631s # (gchar *) "GoodTypes", 631s # NULL, 631s # NULL, 631s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 631s # NULL 631s # }, 631s # "good-types", 631s # }; 631s # 631s # 631s # /** 631s # * good_types_interface_info: 631s # * 631s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 631s # * 631s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 631s # */ 631s # GDBusInterfaceInfo * 631s # good_types_interface_info (void) 631s # { 631s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 631s # } 631s # 631s # /** 631s # * good_types_override_properties: 631s # * @klass: The class structure for a #GObject derived class. 631s # * @property_id_begin: The property id to assign to the first overridden property. 631s # * 631s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 631s # * The properties are overridden in the order they are defined. 631s # * 631s # * Returns: The last property id. 631s # */ 631s # guint 631s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 631s # { 631s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 631s # return property_id_begin - 1; 631s # } 631s # 631s # 631s # 631s # /** 631s # * GoodTypes: 631s # * 631s # * Abstract interface type for the D-Bus interface GoodTypes. 631s # */ 631s # 631s # /** 631s # * GoodTypesIface: 631s # * @parent_iface: The parent interface. 631s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 631s # * 631s # * Virtual table for the D-Bus interface GoodTypes. 631s # */ 631s # 631s # typedef GoodTypesIface GoodTypesInterface; 631s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 631s # 631s # static void 631s # good_types_default_init (GoodTypesIface *iface) 631s # { 631s # /* GObject properties for D-Bus properties: */ 631s # /** 631s # * GoodTypes:good-property-type: 631s # * 631s # * Represents the D-Bus property "GoodPropertyType". 631s # * 631s # * 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. 631s # */ 631s # g_object_interface_install_property (iface, 631s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 631s # } 631s # 631s # /** 631s # * good_types_get_good_property_type: (skip) 631s # * @object: A GoodTypes. 631s # * 631s # * Gets the value of the "GoodPropertyType" D-Bus property. 631s # * 631s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 631s # * 631s # * 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. 631s # * 631s # * 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. 631s # */ 631s # GVariant * 631s # good_types_get_good_property_type (GoodTypes *object) 631s # { 631s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 631s # 631s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 631s # } 631s # 631s # /** 631s # * good_types_dup_good_property_type: (skip) 631s # * @object: A GoodTypes. 631s # * 631s # * Gets a copy of the "GoodPropertyType" D-Bus property. 631s # * 631s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 631s # * 631s # * 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(). 631s # */ 631s # GVariant * 631s # good_types_dup_good_property_type (GoodTypes *object) 631s # { 631s # GVariant *value; 631s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 631s # return value; 631s # } 631s # 631s # /** 631s # * good_types_set_good_property_type: (skip) 631s # * @object: A GoodTypes. 631s # * @value: The value to set. 631s # * 631s # * Sets the "GoodPropertyType" D-Bus property to @value. 631s # * 631s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 631s # */ 631s # void 631s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 631s # { 631s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 631s # } 631s # 631s # /* ------------------------------------------------------------------------ */ 631s # 631s # /** 631s # * GoodTypesProxy: 631s # * 631s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 631s # */ 631s # 631s # /** 631s # * GoodTypesProxyClass: 631s # * @parent_class: The parent class. 631s # * 631s # * Class structure for GoodTypesProxy. 631s # */ 631s # 631s # struct _GoodTypesProxyPrivate 631s # { 631s # GData *qdata; 631s # }; 631s # 631s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 631s # 631s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 631s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 631s # G_ADD_PRIVATE (GoodTypesProxy) 631s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 631s # 631s # #else 631s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 631s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 631s # 631s # #endif 631s # static void 631s # good_types_proxy_finalize (GObject *object) 631s # { 631s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 631s # g_datalist_clear (&proxy->priv->qdata); 631s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 631s # } 631s # 631s # static void 631s # good_types_proxy_get_property (GObject *object, 631s # guint prop_id, 631s # GValue *value, 631s # GParamSpec *pspec G_GNUC_UNUSED) 631s # { 631s # const _ExtendedGDBusPropertyInfo *info; 631s # GVariant *variant; 631s # g_assert (prop_id != 0 && prop_id - 1 < 1); 631s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 631s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 631s # if (info->use_gvariant) 631s # { 631s # g_value_set_variant (value, variant); 631s # } 631s # else 631s # { 631s # if (variant != NULL) 631s # g_dbus_gvariant_to_gvalue (variant, value); 631s # } 631s # if (variant != NULL) 631s # g_variant_unref (variant); 631s # } 631s # 631s # static void 631s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 631s # GAsyncResult *res, 631s # gpointer user_data) 631s # { 631s # const _ExtendedGDBusPropertyInfo *info = user_data; 631s # GError *error; 631s # GVariant *_ret; 631s # error = NULL; 631s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 631s # if (!_ret) 631s # { 631s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 631s # info->parent_struct.name, 631s # error->message, g_quark_to_string (error->domain), error->code); 631s # g_error_free (error); 631s # } 631s # else 631s # { 631s # g_variant_unref (_ret); 631s # } 631s # } 631s # 631s # static void 631s # good_types_proxy_set_property (GObject *object, 631s # guint prop_id, 631s # const GValue *value, 631s # GParamSpec *pspec G_GNUC_UNUSED) 631s # { 631s # const _ExtendedGDBusPropertyInfo *info; 631s # GVariant *variant; 631s # g_assert (prop_id != 0 && prop_id - 1 < 1); 631s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 631s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 631s # g_dbus_proxy_call (G_DBUS_PROXY (object), 631s # "org.freedesktop.DBus.Properties.Set", 631s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 631s # G_DBUS_CALL_FLAGS_NONE, 631s # -1, 631s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 631s # g_variant_unref (variant); 631s # } 631s # 631s # static void 631s # good_types_proxy_g_signal (GDBusProxy *proxy, 631s # const gchar *sender_name G_GNUC_UNUSED, 631s # const gchar *signal_name, 631s # GVariant *parameters) 631s # { 631s # _ExtendedGDBusSignalInfo *info; 631s # GVariantIter iter; 631s # GVariant *child; 631s # GValue *paramv; 631s # gsize num_params; 631s # gsize n; 631s # guint signal_id; 631s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 631s # if (info == NULL) 631s # return; 631s # num_params = g_variant_n_children (parameters); 631s # paramv = g_new0 (GValue, num_params + 1); 631s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 631s # g_value_set_object (¶mv[0], proxy); 631s # g_variant_iter_init (&iter, parameters); 631s # n = 1; 631s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 631s # { 631s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 631s # if (arg_info->use_gvariant) 631s # { 631s # g_value_init (¶mv[n], G_TYPE_VARIANT); 631s # g_value_set_variant (¶mv[n], child); 631s # n++; 631s # } 631s # else 631s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 631s # g_variant_unref (child); 631s # } 631s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 631s # g_signal_emitv (paramv, signal_id, 0, NULL); 631s # for (n = 0; n < num_params + 1; n++) 631s # g_value_unset (¶mv[n]); 631s # g_free (paramv); 631s # } 631s # 631s # static void 631s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 631s # GVariant *changed_properties, 631s # const gchar *const *invalidated_properties) 631s # { 631s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 631s # guint n; 631s # const gchar *key; 631s # GVariantIter *iter; 631s # _ExtendedGDBusPropertyInfo *info; 631s # g_variant_get (changed_properties, "a{sv}", &iter); 631s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 631s # { 631s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 631s # g_datalist_remove_data (&proxy->priv->qdata, key); 631s # if (info != NULL) 631s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 631s # } 631s # g_variant_iter_free (iter); 631s # for (n = 0; invalidated_properties[n] != NULL; n++) 631s # { 631s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 631s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 631s # if (info != NULL) 631s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 631s # } 631s # } 631s # 631s # static GVariant * 631s # good_types_proxy_get_good_property_type (GoodTypes *object) 631s # { 631s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 631s # GVariant *variant; 631s # GVariant *value = NULL; 631s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 631s # value = variant; 631s # if (variant != NULL) 631s # g_variant_unref (variant); 631s # return value; 631s # } 631s # 631s # static void 631s # good_types_proxy_init (GoodTypesProxy *proxy) 631s # { 631s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 631s # proxy->priv = good_types_proxy_get_instance_private (proxy); 631s # #else 631s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 631s # #endif 631s # 631s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 631s # } 631s # 631s # static void 631s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 631s # { 631s # GObjectClass *gobject_class; 631s # GDBusProxyClass *proxy_class; 631s # 631s # gobject_class = G_OBJECT_CLASS (klass); 631s # gobject_class->finalize = good_types_proxy_finalize; 631s # gobject_class->get_property = good_types_proxy_get_property; 631s # gobject_class->set_property = good_types_proxy_set_property; 631s # 631s # proxy_class = G_DBUS_PROXY_CLASS (klass); 631s # proxy_class->g_signal = good_types_proxy_g_signal; 631s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 631s # 631s # good_types_override_properties (gobject_class, 1); 631s # 631s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 631s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 631s # #endif 631s # } 631s # 631s # static void 631s # good_types_proxy_iface_init (GoodTypesIface *iface) 631s # { 631s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 631s # } 631s # 631s # /** 631s # * good_types_proxy_new: 631s # * @connection: A #GDBusConnection. 631s # * @flags: Flags from the #GDBusProxyFlags enumeration. 631s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 631s # * @object_path: An object path. 631s # * @cancellable: (nullable): A #GCancellable or %NULL. 631s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 631s # * @user_data: User data to pass to @callback. 631s # * 631s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 631s # * 631s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 631s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 631s # * 631s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 631s # */ 631s # void 631s # good_types_proxy_new ( 631s # GDBusConnection *connection, 631s # GDBusProxyFlags flags, 631s # const gchar *name, 631s # const gchar *object_path, 631s # GCancellable *cancellable, 631s # GAsyncReadyCallback callback, 631s # gpointer user_data) 631s # { 631s # 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); 631s # } 631s # 631s # /** 631s # * good_types_proxy_new_finish: 631s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 631s # * @error: Return location for error or %NULL 631s # * 631s # * Finishes an operation started with good_types_proxy_new(). 631s # * 631s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 631s # */ 631s # GoodTypes * 631s # good_types_proxy_new_finish ( 631s # GAsyncResult *res, 631s # GError **error) 631s # { 631s # GObject *ret; 631s # GObject *source_object; 631s # source_object = g_async_result_get_source_object (res); 631s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 631s # g_object_unref (source_object); 631s # if (ret != NULL) 631s # return GOOD_TYPES (ret); 631s # else 631s # return NULL; 631s # } 631s # 631s # /** 631s # * good_types_proxy_new_sync: 631s # * @connection: A #GDBusConnection. 631s # * @flags: Flags from the #GDBusProxyFlags enumeration. 631s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 631s # * @object_path: An object path. 631s # * @cancellable: (nullable): A #GCancellable or %NULL. 631s # * @error: Return location for error or %NULL 631s # * 631s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 631s # * 631s # * The calling thread is blocked until a reply is received. 631s # * 631s # * See good_types_proxy_new() for the asynchronous version of this constructor. 631s # * 631s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 631s # */ 631s # GoodTypes * 631s # good_types_proxy_new_sync ( 631s # GDBusConnection *connection, 631s # GDBusProxyFlags flags, 631s # const gchar *name, 631s # const gchar *object_path, 631s # GCancellable *cancellable, 631s # GError **error) 631s # { 631s # GInitable *ret; 631s # 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); 631s # if (ret != NULL) 631s # return GOOD_TYPES (ret); 631s # else 631s # return NULL; 631s # } 631s # 631s # 631s # /** 631s # * good_types_proxy_new_for_bus: 631s # * @bus_type: A #GBusType. 631s # * @flags: Flags from the #GDBusProxyFlags enumeration. 631s # * @name: A bus name (well-known or unique). 631s # * @object_path: An object path. 631s # * @cancellable: (nullable): A #GCancellable or %NULL. 631s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 631s # * @user_data: User data to pass to @callback. 631s # * 631s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 631s # * 631s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 631s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 631s # * 631s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 631s # */ 631s # void 631s # good_types_proxy_new_for_bus ( 631s # GBusType bus_type, 631s # GDBusProxyFlags flags, 631s # const gchar *name, 631s # const gchar *object_path, 631s # GCancellable *cancellable, 631s # GAsyncReadyCallback callback, 631s # gpointer user_data) 631s # { 631s # 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); 631s # } 631s # 631s # /** 631s # * good_types_proxy_new_for_bus_finish: 631s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 631s # * @error: Return location for error or %NULL 631s # * 631s # * Finishes an operation started with good_types_proxy_new_for_bus(). 631s # * 631s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 631s # */ 631s # GoodTypes * 631s # good_types_proxy_new_for_bus_finish ( 631s # GAsyncResult *res, 631s # GError **error) 631s # { 631s # GObject *ret; 631s # GObject *source_object; 631s # source_object = g_async_result_get_source_object (res); 631s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 631s # g_object_unref (source_object); 631s # if (ret != NULL) 631s # return GOOD_TYPES (ret); 631s # else 631s # return NULL; 631s # } 631s # 631s # /** 631s # * good_types_proxy_new_for_bus_sync: 631s # * @bus_type: A #GBusType. 631s # * @flags: Flags from the #GDBusProxyFlags enumeration. 631s # * @name: A bus name (well-known or unique). 631s # * @object_path: An object path. 631s # * @cancellable: (nullable): A #GCancellable or %NULL. 631s # * @error: Return location for error or %NULL 631s # * 631s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 631s # * 631s # * The calling thread is blocked until a reply is received. 631s # * 631s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 631s # * 631s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 631s # */ 631s # GoodTypes * 631s # good_types_proxy_new_for_bus_sync ( 631s # GBusType bus_type, 631s # GDBusProxyFlags flags, 631s # const gchar *name, 631s # const gchar *object_path, 631s # GCancellable *cancellable, 631s # GError **error) 631s # { 631s # GInitable *ret; 631s # 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); 631s # if (ret != NULL) 631s # return GOOD_TYPES (ret); 631s # else 631s # return NULL; 631s # } 631s # 631s # 631s # /* ------------------------------------------------------------------------ */ 631s # 631s # /** 631s # * GoodTypesSkeleton: 631s # * 631s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 631s # */ 631s # 631s # /** 631s # * GoodTypesSkeletonClass: 631s # * @parent_class: The parent class. 631s # * 631s # * Class structure for GoodTypesSkeleton. 631s # */ 631s # 631s # struct _GoodTypesSkeletonPrivate 631s # { 631s # GValue *properties; 631s # GList *changed_properties; 631s # GSource *changed_properties_idle_source; 631s # GMainContext *context; 631s # GMutex lock; 631s # }; 631s # 631s # static void 631s # _good_types_skeleton_handle_method_call ( 631s # GDBusConnection *connection G_GNUC_UNUSED, 631s # const gchar *sender G_GNUC_UNUSED, 631s # const gchar *object_path G_GNUC_UNUSED, 631s # const gchar *interface_name, 631s # const gchar *method_name, 631s # GVariant *parameters, 631s # GDBusMethodInvocation *invocation, 631s # gpointer user_data) 631s # { 631s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 631s # _ExtendedGDBusMethodInfo *info; 631s # GVariantIter iter; 631s # GVariant *child; 631s # GValue *paramv; 631s # gsize num_params; 631s # guint num_extra; 631s # gsize n; 631s # guint signal_id; 631s # GValue return_value = G_VALUE_INIT; 631s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 631s # g_assert (info != NULL); 631s # num_params = g_variant_n_children (parameters); 631s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 631s # n = 0; 631s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 631s # g_value_set_object (¶mv[n++], skeleton); 631s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 631s # g_value_set_object (¶mv[n++], invocation); 631s # if (info->pass_fdlist) 631s # { 631s # #ifdef G_OS_UNIX 631s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 631s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 631s # #else 631s # g_assert_not_reached (); 631s # #endif 631s # } 631s # g_variant_iter_init (&iter, parameters); 631s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 631s # { 631s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 631s # if (arg_info->use_gvariant) 631s # { 631s # g_value_init (¶mv[n], G_TYPE_VARIANT); 631s # g_value_set_variant (¶mv[n], child); 631s # n++; 631s # } 631s # else 631s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 631s # g_variant_unref (child); 631s # } 631s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 631s # g_value_init (&return_value, G_TYPE_BOOLEAN); 631s # g_signal_emitv (paramv, signal_id, 0, &return_value); 631s # if (!g_value_get_boolean (&return_value)) 631s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 631s # g_value_unset (&return_value); 631s # for (n = 0; n < num_params + num_extra; n++) 631s # g_value_unset (¶mv[n]); 631s # g_free (paramv); 631s # } 631s # 631s # static GVariant * 631s # _good_types_skeleton_handle_get_property ( 631s # GDBusConnection *connection G_GNUC_UNUSED, 631s # const gchar *sender G_GNUC_UNUSED, 631s # const gchar *object_path G_GNUC_UNUSED, 631s # const gchar *interface_name G_GNUC_UNUSED, 631s # const gchar *property_name, 631s # GError **error, 631s # gpointer user_data) 631s # { 631s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 631s # GValue value = G_VALUE_INIT; 631s # GParamSpec *pspec; 631s # _ExtendedGDBusPropertyInfo *info; 631s # GVariant *ret; 631s # ret = NULL; 631s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 631s # g_assert (info != NULL); 631s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 631s # if (pspec == NULL) 631s # { 631s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 631s # } 631s # else 631s # { 631s # g_value_init (&value, pspec->value_type); 631s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 631s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 631s # g_value_unset (&value); 631s # } 631s # return ret; 631s # } 631s # 631s # static gboolean 631s # _good_types_skeleton_handle_set_property ( 631s # GDBusConnection *connection G_GNUC_UNUSED, 631s # const gchar *sender G_GNUC_UNUSED, 631s # const gchar *object_path G_GNUC_UNUSED, 631s # const gchar *interface_name G_GNUC_UNUSED, 631s # const gchar *property_name, 631s # GVariant *variant, 631s # GError **error, 631s # gpointer user_data) 631s # { 631s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 631s # GValue value = G_VALUE_INIT; 631s # GParamSpec *pspec; 631s # _ExtendedGDBusPropertyInfo *info; 631s # gboolean ret; 631s # ret = FALSE; 631s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 631s # g_assert (info != NULL); 631s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 631s # if (pspec == NULL) 631s # { 631s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 631s # } 631s # else 631s # { 631s # if (info->use_gvariant) 631s # g_value_set_variant (&value, variant); 631s # else 631s # g_dbus_gvariant_to_gvalue (variant, &value); 631s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 631s # g_value_unset (&value); 631s # ret = TRUE; 631s # } 631s # return ret; 631s # } 631s # 631s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 631s # { 631s # _good_types_skeleton_handle_method_call, 631s # _good_types_skeleton_handle_get_property, 631s # _good_types_skeleton_handle_set_property, 631s # {NULL} 631s # }; 631s # 631s # static GDBusInterfaceInfo * 631s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 631s # { 631s # return good_types_interface_info (); 631s # } 631s # 631s # static GDBusInterfaceVTable * 631s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 631s # { 631s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 631s # } 631s # 631s # static GVariant * 631s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 631s # { 631s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 631s # 631s # GVariantBuilder builder; 631s # guint n; 631s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 631s # if (_good_types_interface_info.parent_struct.properties == NULL) 631s # goto out; 631s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 631s # { 631s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 631s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 631s # { 631s # GVariant *value; 631s # 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); 631s # if (value != NULL) 631s # { 631s # g_variant_take_ref (value); 631s # g_variant_builder_add (&builder, "{sv}", info->name, value); 631s # g_variant_unref (value); 631s # } 631s # } 631s # } 631s # out: 631s # return g_variant_builder_end (&builder); 631s # } 631s # 631s # static gboolean _good_types_emit_changed (gpointer user_data); 631s # 631s # static void 631s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 631s # { 631s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 631s # gboolean emit_changed = FALSE; 631s # 631s # g_mutex_lock (&skeleton->priv->lock); 631s # if (skeleton->priv->changed_properties_idle_source != NULL) 631s # { 631s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 631s # skeleton->priv->changed_properties_idle_source = NULL; 631s # emit_changed = TRUE; 631s # } 631s # g_mutex_unlock (&skeleton->priv->lock); 631s # 631s # if (emit_changed) 631s # _good_types_emit_changed (skeleton); 631s # } 631s # 631s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 631s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 631s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 631s # G_ADD_PRIVATE (GoodTypesSkeleton) 631s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 631s # 631s # #else 631s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 631s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 631s # 631s # #endif 631s # static void 631s # good_types_skeleton_finalize (GObject *object) 631s # { 631s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 631s # guint n; 631s # for (n = 0; n < 1; n++) 631s # g_value_unset (&skeleton->priv->properties[n]); 631s # g_free (skeleton->priv->properties); 631s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 631s # if (skeleton->priv->changed_properties_idle_source != NULL) 631s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 631s # g_main_context_unref (skeleton->priv->context); 631s # g_mutex_clear (&skeleton->priv->lock); 631s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 631s # } 631s # 631s # static void 631s # good_types_skeleton_get_property (GObject *object, 631s # guint prop_id, 631s # GValue *value, 631s # GParamSpec *pspec G_GNUC_UNUSED) 631s # { 631s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 631s # g_assert (prop_id != 0 && prop_id - 1 < 1); 631s # g_mutex_lock (&skeleton->priv->lock); 631s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 631s # g_mutex_unlock (&skeleton->priv->lock); 631s # } 631s # 631s # static gboolean 631s # _good_types_emit_changed (gpointer user_data) 631s # { 631s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 631s # GList *l; 631s # GVariantBuilder builder; 631s # GVariantBuilder invalidated_builder; 631s # guint num_changes; 631s # 631s # g_mutex_lock (&skeleton->priv->lock); 631s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 631s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 631s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 631s # { 631s # ChangedProperty *cp = l->data; 631s # GVariant *variant; 631s # const GValue *cur_value; 631s # 631s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 631s # if (!_g_value_equal (cur_value, &cp->orig_value)) 631s # { 631s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 631s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 631s # g_variant_unref (variant); 631s # num_changes++; 631s # } 631s # } 631s # if (num_changes > 0) 631s # { 631s # GList *connections, *ll; 631s # GVariant *signal_variant; 631s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 631s # &builder, &invalidated_builder)); 631s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 631s # for (ll = connections; ll != NULL; ll = ll->next) 631s # { 631s # GDBusConnection *connection = ll->data; 631s # 631s # g_dbus_connection_emit_signal (connection, 631s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 631s # "org.freedesktop.DBus.Properties", 631s # "PropertiesChanged", 631s # signal_variant, 631s # NULL); 631s # } 631s # g_variant_unref (signal_variant); 631s # g_list_free_full (connections, g_object_unref); 631s # } 631s # else 631s # { 631s # g_variant_builder_clear (&builder); 631s # g_variant_builder_clear (&invalidated_builder); 631s # } 631s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 631s # skeleton->priv->changed_properties = NULL; 631s # skeleton->priv->changed_properties_idle_source = NULL; 631s # g_mutex_unlock (&skeleton->priv->lock); 631s # return FALSE; 631s # } 631s # 631s # static void 631s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 631s # { 631s # ChangedProperty *cp; 631s # GList *l; 631s # cp = NULL; 631s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 631s # { 631s # ChangedProperty *i_cp = l->data; 631s # if (i_cp->info == info) 631s # { 631s # cp = i_cp; 631s # break; 631s # } 631s # } 631s # if (cp == NULL) 631s # { 631s # cp = g_new0 (ChangedProperty, 1); 631s # cp->prop_id = prop_id; 631s # cp->info = info; 631s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 631s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 631s # g_value_copy (orig_value, &cp->orig_value); 631s # } 631s # } 631s # 631s # static void 631s # good_types_skeleton_notify (GObject *object, 631s # GParamSpec *pspec G_GNUC_UNUSED) 631s # { 631s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 631s # g_mutex_lock (&skeleton->priv->lock); 631s # if (skeleton->priv->changed_properties != NULL && 631s # skeleton->priv->changed_properties_idle_source == NULL) 631s # { 631s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 631s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 631s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 631s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 631s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 631s # g_source_unref (skeleton->priv->changed_properties_idle_source); 631s # } 631s # g_mutex_unlock (&skeleton->priv->lock); 631s # } 631s # 631s # static void 631s # good_types_skeleton_set_property (GObject *object, 631s # guint prop_id, 631s # const GValue *value, 631s # GParamSpec *pspec) 631s # { 631s # const _ExtendedGDBusPropertyInfo *info; 631s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 631s # g_assert (prop_id != 0 && prop_id - 1 < 1); 631s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 631s # g_mutex_lock (&skeleton->priv->lock); 631s # g_object_freeze_notify (object); 631s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 631s # { 631s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 631s # info->emits_changed_signal) 631s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 631s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 631s # g_object_notify_by_pspec (object, pspec); 631s # } 631s # g_mutex_unlock (&skeleton->priv->lock); 631s # g_object_thaw_notify (object); 631s # } 631s # 631s # static void 631s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 631s # { 631s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 631s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 631s # #else 631s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 631s # #endif 631s # 631s # g_mutex_init (&skeleton->priv->lock); 631s # skeleton->priv->context = g_main_context_ref_thread_default (); 631s # skeleton->priv->properties = g_new0 (GValue, 1); 631s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 631s # } 631s # 631s # static GVariant * 631s # good_types_skeleton_get_good_property_type (GoodTypes *object) 631s # { 631s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 631s # GVariant *value; 631s # g_mutex_lock (&skeleton->priv->lock); 631s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 631s # g_mutex_unlock (&skeleton->priv->lock); 631s # return value; 631s # } 631s # 631s # static void 631s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 631s # { 631s # GObjectClass *gobject_class; 631s # GDBusInterfaceSkeletonClass *skeleton_class; 631s # 631s # gobject_class = G_OBJECT_CLASS (klass); 631s # gobject_class->finalize = good_types_skeleton_finalize; 631s # gobject_class->get_property = good_types_skeleton_get_property; 631s # gobject_class->set_property = good_types_skeleton_set_property; 631s # gobject_class->notify = good_types_skeleton_notify; 631s # 631s # 631s # good_types_override_properties (gobject_class, 1); 631s # 631s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 631s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 631s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 631s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 631s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 631s # 631s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 631s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 631s # #endif 631s # } 631s # 631s # static void 631s # good_types_skeleton_iface_init (GoodTypesIface *iface) 631s # { 631s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 631s # } 631s # 631s # /** 631s # * good_types_skeleton_new: 631s # * 631s # * Creates a skeleton object for the D-Bus interface GoodTypes. 631s # * 631s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 631s # */ 631s # GoodTypes * 631s # good_types_skeleton_new (void) 631s # { 631s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 631s # } 631s ok 3 __main__.TestCodegen.test_empty_interface_body 631s # tmpdir: /tmp/tmpszrhjgfn 631s # codegen: /usr/bin/gdbus-codegen 631s # /tmp/tmpszrhjgfn/tmpi0rlk_ft.xml: 631s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpszrhjgfn/tmpi0rlk_ft.xml', '--output', '-', '--body'] 631s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 631s # Output: /* 631s # * This file is generated by gdbus-codegen, do not modify it. 631s # * 631s # * The license of this code is the same as for the D-Bus interface description 631s # * it was derived from. Note that it links to GLib, so must comply with the 631s # * LGPL linking clauses. 631s # */ 631s # 631s # #ifdef HAVE_CONFIG_H 631s # # include "config.h" 631s # #endif 631s # 631s # #include 631s # #ifdef G_OS_UNIX 631s # # include 631s # #endif 631s # 631s # #ifdef G_ENABLE_DEBUG 631s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 631s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 631s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 631s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 631s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 631s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 631s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 631s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 631s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 631s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 631s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 631s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 631s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 631s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 631s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 631s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 631s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 631s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 631s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 631s # #else /* !G_ENABLE_DEBUG */ 631s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 631s # * Do not access GValues directly in your code. Instead, use the 631s # * g_value_get_*() functions 631s # */ 631s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 631s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 631s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 631s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 631s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 631s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 631s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 631s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 631s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 631s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 631s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 631s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 631s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 631s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 631s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 631s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 631s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 631s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 631s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 631s # #endif /* !G_ENABLE_DEBUG */ 631s # 631s # typedef struct 631s # { 631s # GDBusArgInfo parent_struct; 631s # gboolean use_gvariant; 631s # } _ExtendedGDBusArgInfo; 631s # 631s # typedef struct 631s # { 631s # GDBusMethodInfo parent_struct; 631s # const gchar *signal_name; 631s # gboolean pass_fdlist; 631s # } _ExtendedGDBusMethodInfo; 631s # 631s # typedef struct 631s # { 631s # GDBusSignalInfo parent_struct; 631s # const gchar *signal_name; 631s # } _ExtendedGDBusSignalInfo; 631s # 631s # typedef struct 631s # { 631s # GDBusPropertyInfo parent_struct; 631s # const gchar *hyphen_name; 631s # guint use_gvariant : 1; 631s # guint emits_changed_signal : 1; 631s # } _ExtendedGDBusPropertyInfo; 631s # 631s # typedef struct 631s # { 631s # GDBusInterfaceInfo parent_struct; 631s # const gchar *hyphen_name; 631s # } _ExtendedGDBusInterfaceInfo; 631s # 631s # typedef struct 631s # { 631s # const _ExtendedGDBusPropertyInfo *info; 631s # guint prop_id; 631s # GValue orig_value; /* the value before the change */ 631s # } ChangedProperty; 631s # 631s # static void 631s # _changed_property_free (ChangedProperty *data) 631s # { 631s # g_value_unset (&data->orig_value); 631s # g_free (data); 631s # } 631s # 631s # static gboolean 631s # _g_strv_equal0 (gchar **a, gchar **b) 631s # { 631s # gboolean ret = FALSE; 631s # guint n; 631s # if (a == NULL && b == NULL) 631s # { 631s # ret = TRUE; 631s # goto out; 631s # } 631s # if (a == NULL || b == NULL) 631s # goto out; 631s # if (g_strv_length (a) != g_strv_length (b)) 631s # goto out; 631s # for (n = 0; a[n] != NULL; n++) 631s # if (g_strcmp0 (a[n], b[n]) != 0) 631s # goto out; 631s # ret = TRUE; 631s # out: 631s # return ret; 631s # } 631s # 631s # static gboolean 631s # _g_variant_equal0 (GVariant *a, GVariant *b) 631s # { 631s # gboolean ret = FALSE; 631s # if (a == NULL && b == NULL) 631s # { 631s # ret = TRUE; 631s # goto out; 631s # } 631s # if (a == NULL || b == NULL) 631s # goto out; 631s # ret = g_variant_equal (a, b); 631s # out: 631s # return ret; 631s # } 631s # 631s # G_GNUC_UNUSED static gboolean 631s # _g_value_equal (const GValue *a, const GValue *b) 631s # { 631s # gboolean ret = FALSE; 631s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 631s # switch (G_VALUE_TYPE (a)) 631s # { 631s # case G_TYPE_BOOLEAN: 631s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 631s # break; 631s # case G_TYPE_UCHAR: 631s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 631s # break; 631s # case G_TYPE_INT: 631s # ret = (g_value_get_int (a) == g_value_get_int (b)); 631s # break; 631s # case G_TYPE_UINT: 631s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 631s # break; 631s # case G_TYPE_INT64: 631s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 631s # break; 631s # case G_TYPE_UINT64: 631s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 631s # break; 631s # case G_TYPE_DOUBLE: 631s # { 631s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 631s # gdouble da = g_value_get_double (a); 631s # gdouble db = g_value_get_double (b); 631s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 631s # } 631s # break; 631s # case G_TYPE_STRING: 631s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 631s # break; 631s # case G_TYPE_VARIANT: 631s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 631s # break; 631s # default: 631s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 631s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 631s # else 631s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 631s # break; 631s # } 631s # return ret; 631s # } 631s ok 4 __main__.TestCodegen.test_empty_interface_header 631s # tmpdir: /tmp/tmpxr6j2iol 631s # codegen: /usr/bin/gdbus-codegen 631s # /tmp/tmpxr6j2iol/tmp3qe1ird7.xml: 631s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxr6j2iol/tmp3qe1ird7.xml', '--output', '-', '--header'] 631s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 631s # Output: /* 631s # * This file is generated by gdbus-codegen, do not modify it. 631s # * 631s # * The license of this code is the same as for the D-Bus interface description 631s # * it was derived from. Note that it links to GLib, so must comply with the 631s # * LGPL linking clauses. 631s # */ 631s # 631s # #ifndef __STDOUT__ 631s # #define __STDOUT__ 631s # 631s # #include 631s # 631s # G_BEGIN_DECLS 631s # 631s # 631s # G_END_DECLS 631s # 631s # #endif /* __STDOUT__ */ 631s ok 5 __main__.TestCodegen.test_empty_interface_info_body 631s # tmpdir: /tmp/tmpb0236jch 631s # codegen: /usr/bin/gdbus-codegen 631s # /tmp/tmpb0236jch/tmpqgh_jkyq.xml: 631s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb0236jch/tmpqgh_jkyq.xml', '--output', '-', '--interface-info-body'] 631s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 631s # Output: /* 631s # * This file is generated by gdbus-codegen, do not modify it. 631s # * 631s # * The license of this code is the same as for the D-Bus interface description 631s # * it was derived from. Note that it links to GLib, so must comply with the 631s # * LGPL linking clauses. 631s # */ 631s # 631s # #ifdef HAVE_CONFIG_H 631s # # include "config.h" 631s # #endif 631s # 631s # #include 632s ok 6 __main__.TestCodegen.test_empty_interface_info_header 632s # tmpdir: /tmp/tmplkgx60t0 632s # codegen: /usr/bin/gdbus-codegen 632s # /tmp/tmplkgx60t0/tmpx_6x8cip.xml: 632s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplkgx60t0/tmpx_6x8cip.xml', '--output', '-', '--interface-info-header'] 632s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 632s # Output: /* 632s # * This file is generated by gdbus-codegen, do not modify it. 632s # * 632s # * The license of this code is the same as for the D-Bus interface description 632s # * it was derived from. Note that it links to GLib, so must comply with the 632s # * LGPL linking clauses. 632s # */ 632s # 632s # #ifndef __STDOUT__ 632s # #define __STDOUT__ 632s # 632s # #include 632s # 632s # G_BEGIN_DECLS 632s # 632s # 632s # G_END_DECLS 632s # 632s # #endif /* __STDOUT__ */ 632s ok 7 __main__.TestCodegen.test_generate_docbook 632s # tmpdir: /tmp/tmpc7sq3sxf 632s # codegen: /usr/bin/gdbus-codegen 632s # /tmp/tmpc7sq3sxf/tmpugdmuib0.xml: 632s # 632s # 632s # 632s # 632s # 632s # 632s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpc7sq3sxf/tmpugdmuib0.xml', '--generate-docbook', 'test'] 632s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 632s # Output: 632s ok 8 __main__.TestCodegen.test_generate_md 632s # tmpdir: /tmp/tmpvyjp0of5 632s # codegen: /usr/bin/gdbus-codegen 632s # /tmp/tmpvyjp0of5/tmp874ffup1.xml: 632s # 632s # 632s # 632s # 632s # 632s # 632s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvyjp0of5/tmp874ffup1.xml', '--generate-md', 'test'] 632s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 632s # Output: 632s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 632s # tmpdir: /tmp/tmp8483tq7r 632s # codegen: /usr/bin/gdbus-codegen 632s # /tmp/tmp8483tq7r/tmpsra_fgsx.xml: 632s # 632s # 632s # 632s # 632s # 632s # 632s # 632s # 632s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8483tq7r/tmpsra_fgsx.xml', '--output', '-', '--body'] 632s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 632s # Output: /* 632s # * This file is generated by gdbus-codegen, do not modify it. 632s # * 632s # * The license of this code is the same as for the D-Bus interface description 632s # * it was derived from. Note that it links to GLib, so must comply with the 632s # * LGPL linking clauses. 632s # */ 632s # 632s # #ifdef HAVE_CONFIG_H 632s # # include "config.h" 632s # #endif 632s # 632s # #include 632s # #ifdef G_OS_UNIX 632s # # include 632s # #endif 632s # 632s # #ifdef G_ENABLE_DEBUG 632s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 632s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 632s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 632s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 632s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 632s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 632s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 632s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 632s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 632s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 632s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 632s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 632s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 632s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 632s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 632s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 632s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 632s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 632s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 632s # #else /* !G_ENABLE_DEBUG */ 632s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 632s # * Do not access GValues directly in your code. Instead, use the 632s # * g_value_get_*() functions 632s # */ 632s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 632s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 632s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 632s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 632s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 632s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 632s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 632s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 632s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 632s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 632s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 632s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 632s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 632s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 632s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 632s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 632s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 632s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 632s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 632s # #endif /* !G_ENABLE_DEBUG */ 632s # 632s # typedef struct 632s # { 632s # GDBusArgInfo parent_struct; 632s # gboolean use_gvariant; 632s # } _ExtendedGDBusArgInfo; 632s # 632s # typedef struct 632s # { 632s # GDBusMethodInfo parent_struct; 632s # const gchar *signal_name; 632s # gboolean pass_fdlist; 632s # } _ExtendedGDBusMethodInfo; 632s # 632s # typedef struct 632s # { 632s # GDBusSignalInfo parent_struct; 632s # const gchar *signal_name; 632s # } _ExtendedGDBusSignalInfo; 632s # 632s # typedef struct 632s # { 632s # GDBusPropertyInfo parent_struct; 632s # const gchar *hyphen_name; 632s # guint use_gvariant : 1; 632s # guint emits_changed_signal : 1; 632s # } _ExtendedGDBusPropertyInfo; 632s # 632s # typedef struct 632s # { 632s # GDBusInterfaceInfo parent_struct; 632s # const gchar *hyphen_name; 632s # } _ExtendedGDBusInterfaceInfo; 632s # 632s # typedef struct 632s # { 632s # const _ExtendedGDBusPropertyInfo *info; 632s # guint prop_id; 632s # GValue orig_value; /* the value before the change */ 632s # } ChangedProperty; 632s # 632s # static void 632s # _changed_property_free (ChangedProperty *data) 632s # { 632s # g_value_unset (&data->orig_value); 632s # g_free (data); 632s # } 632s # 632s # static gboolean 632s # _g_strv_equal0 (gchar **a, gchar **b) 632s # { 632s # gboolean ret = FALSE; 632s # guint n; 632s # if (a == NULL && b == NULL) 632s # { 632s # ret = TRUE; 632s # goto out; 632s # } 632s # if (a == NULL || b == NULL) 632s # goto out; 632s # if (g_strv_length (a) != g_strv_length (b)) 632s # goto out; 632s # for (n = 0; a[n] != NULL; n++) 632s # if (g_strcmp0 (a[n], b[n]) != 0) 632s # goto out; 632s # ret = TRUE; 632s # out: 632s # return ret; 632s # } 632s # 632s # static gboolean 632s # _g_variant_equal0 (GVariant *a, GVariant *b) 632s # { 632s # gboolean ret = FALSE; 632s # if (a == NULL && b == NULL) 632s # { 632s # ret = TRUE; 632s # goto out; 632s # } 632s # if (a == NULL || b == NULL) 632s # goto out; 632s # ret = g_variant_equal (a, b); 632s # out: 632s # return ret; 632s # } 632s # 632s # G_GNUC_UNUSED static gboolean 632s # _g_value_equal (const GValue *a, const GValue *b) 632s # { 632s # gboolean ret = FALSE; 632s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 632s # switch (G_VALUE_TYPE (a)) 632s # { 632s # case G_TYPE_BOOLEAN: 632s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 632s # break; 632s # case G_TYPE_UCHAR: 632s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 632s # break; 632s # case G_TYPE_INT: 632s # ret = (g_value_get_int (a) == g_value_get_int (b)); 632s # break; 632s # case G_TYPE_UINT: 632s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 632s # break; 632s # case G_TYPE_INT64: 632s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 632s # break; 632s # case G_TYPE_UINT64: 632s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 632s # break; 632s # case G_TYPE_DOUBLE: 632s # { 632s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 632s # gdouble da = g_value_get_double (a); 632s # gdouble db = g_value_get_double (b); 632s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 632s # } 632s # break; 632s # case G_TYPE_STRING: 632s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 632s # break; 632s # case G_TYPE_VARIANT: 632s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 632s # break; 632s # default: 632s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 632s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 632s # else 632s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 632s # break; 632s # } 632s # return ret; 632s # } 632s # 632s # static void 632s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 632s # GClosure *closure, 632s # GValue *return_value, 632s # unsigned int n_param_values, 632s # const GValue *param_values, 632s # void *invocation_hint G_GNUC_UNUSED, 632s # void *marshal_data) 632s # { 632s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 632s # (void *data1, 632s # GDBusMethodInvocation *arg_method_invocation, 632s # void *data2); 632s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 632s # GCClosure *cc = (GCClosure*) closure; 632s # void *data1, *data2; 632s # gboolean v_return; 632s # 632s # g_return_if_fail (return_value != NULL); 632s # g_return_if_fail (n_param_values == 2); 632s # 632s # if (G_CCLOSURE_SWAP_DATA (closure)) 632s # { 632s # data1 = closure->data; 632s # data2 = g_value_peek_pointer (param_values + 0); 632s # } 632s # else 632s # { 632s # data1 = g_value_peek_pointer (param_values + 0); 632s # data2 = closure->data; 632s # } 632s # 632s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 632s # (marshal_data ? marshal_data : cc->callback); 632s # 632s # v_return = 632s # callback (data1, 632s # g_marshal_value_peek_object (param_values + 1), 632s # data2); 632s # 632s # g_value_set_boolean (return_value, v_return); 632s # } 632s # 632s # /* ------------------------------------------------------------------------ 632s # * Code for interface org.project.CallableIface 632s # * ------------------------------------------------------------------------ 632s # */ 632s # 632s # /** 632s # * SECTION:OrgProjectCallableIface 632s # * @title: OrgProjectCallableIface 632s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 632s # * 632s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 632s # */ 632s # 632s # /* ---- Introspection data for org.project.CallableIface ---- */ 632s # 632s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 632s # { 632s # { 632s # -1, 632s # (gchar *) "SimpleMethod", 632s # NULL, 632s # NULL, 632s # NULL 632s # }, 632s # "handle-simple-method", 632s # FALSE 632s # }; 632s # 632s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 632s # { 632s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 632s # NULL 632s # }; 632s # 632s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 632s # { 632s # { 632s # -1, 632s # (gchar *) "org.project.CallableIface", 632s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 632s # NULL, 632s # NULL, 632s # NULL 632s # }, 632s # "org-project-callable-iface", 632s # }; 632s # 632s # 632s # /** 632s # * org_project_callable_iface_interface_info: 632s # * 632s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 632s # * 632s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 632s # */ 632s # GDBusInterfaceInfo * 632s # org_project_callable_iface_interface_info (void) 632s # { 632s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 632s # } 632s # 632s # /** 632s # * org_project_callable_iface_override_properties: 632s # * @klass: The class structure for a #GObject derived class. 632s # * @property_id_begin: The property id to assign to the first overridden property. 632s # * 632s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 632s # * The properties are overridden in the order they are defined. 632s # * 632s # * Returns: The last property id. 632s # */ 632s # guint 632s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 632s # { 632s # return property_id_begin - 1; 632s # } 632s # 632s # 632s # inline static void 632s # org_project_callable_iface_method_marshal_simple_method ( 632s # GClosure *closure, 632s # GValue *return_value, 632s # unsigned int n_param_values, 632s # const GValue *param_values, 632s # void *invocation_hint, 632s # void *marshal_data) 632s # { 632s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 632s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 632s # } 632s # 632s # 632s # /** 632s # * OrgProjectCallableIface: 632s # * 632s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 632s # */ 632s # 632s # /** 632s # * OrgProjectCallableIfaceIface: 632s # * @parent_iface: The parent interface. 632s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 632s # * 632s # * Virtual table for the D-Bus interface org.project.CallableIface. 632s # */ 632s # 632s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 632s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 632s # 632s # static void 632s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 632s # { 632s # /* GObject signals for incoming D-Bus method calls: */ 632s # /** 632s # * OrgProjectCallableIface::handle-simple-method: 632s # * @object: A #OrgProjectCallableIface. 632s # * @invocation: A #GDBusMethodInvocation. 632s # * 632s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 632s # * 632s # * 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. 632s # * 632s # * 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. 632s # */ 632s # g_signal_new ("handle-simple-method", 632s # G_TYPE_FROM_INTERFACE (iface), 632s # G_SIGNAL_RUN_LAST, 632s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 632s # g_signal_accumulator_true_handled, 632s # NULL, 632s # org_project_callable_iface_method_marshal_simple_method, 632s # G_TYPE_BOOLEAN, 632s # 1, 632s # G_TYPE_DBUS_METHOD_INVOCATION); 632s # 632s # } 632s # 632s # /** 632s # * org_project_callable_iface_call_simple_method: 632s # * @proxy: A #OrgProjectCallableIfaceProxy. 632s # * @cancellable: (nullable): A #GCancellable or %NULL. 632s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 632s # * @user_data: User data to pass to @callback. 632s # * 632s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 632s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 632s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 632s # * 632s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 632s # */ 632s # void 632s # org_project_callable_iface_call_simple_method ( 632s # OrgProjectCallableIface *proxy, 632s # GCancellable *cancellable, 632s # GAsyncReadyCallback callback, 632s # gpointer user_data) 632s # { 632s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 632s # "SimpleMethod", 632s # g_variant_new ("()"), 632s # G_DBUS_CALL_FLAGS_NONE, 632s # -1, 632s # cancellable, 632s # callback, 632s # user_data); 632s # } 632s # 632s # /** 632s # * org_project_callable_iface_call_simple_method_finish: 632s # * @proxy: A #OrgProjectCallableIfaceProxy. 632s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 632s # * @error: Return location for error or %NULL. 632s # * 632s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 632s # * 632s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 632s # */ 632s # gboolean 632s # org_project_callable_iface_call_simple_method_finish ( 632s # OrgProjectCallableIface *proxy, 632s # GAsyncResult *res, 632s # GError **error) 632s # { 632s # GVariant *_ret; 632s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 632s # if (_ret == NULL) 632s # goto _out; 632s # g_variant_get (_ret, 632s # "()"); 632s # g_variant_unref (_ret); 632s # _out: 632s # return _ret != NULL; 632s # } 632s # 632s # /** 632s # * org_project_callable_iface_call_simple_method_sync: 632s # * @proxy: A #OrgProjectCallableIfaceProxy. 632s # * @cancellable: (nullable): A #GCancellable or %NULL. 632s # * @error: Return location for error or %NULL. 632s # * 632s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 632s # * 632s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 632s # * 632s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 632s # */ 632s # gboolean 632s # org_project_callable_iface_call_simple_method_sync ( 632s # OrgProjectCallableIface *proxy, 632s # GCancellable *cancellable, 632s # GError **error) 632s # { 632s # GVariant *_ret; 632s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 632s # "SimpleMethod", 632s # g_variant_new ("()"), 632s # G_DBUS_CALL_FLAGS_NONE, 632s # -1, 632s # cancellable, 632s # error); 632s # if (_ret == NULL) 632s # goto _out; 632s # g_variant_get (_ret, 632s # "()"); 632s # g_variant_unref (_ret); 632s # _out: 632s # return _ret != NULL; 632s # } 632s # 632s # /** 632s # * org_project_callable_iface_complete_simple_method: 632s # * @object: A #OrgProjectCallableIface. 632s # * @invocation: (transfer full): A #GDBusMethodInvocation. 632s # * 632s # * 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. 632s # * 632s # * This method will free @invocation, you cannot use it afterwards. 632s # */ 632s # void 632s # org_project_callable_iface_complete_simple_method ( 632s # OrgProjectCallableIface *object G_GNUC_UNUSED, 632s # GDBusMethodInvocation *invocation) 632s # { 632s # g_dbus_method_invocation_return_value (invocation, 632s # g_variant_new ("()")); 632s # } 632s # 632s # /* ------------------------------------------------------------------------ */ 632s # 632s # /** 632s # * OrgProjectCallableIfaceProxy: 632s # * 632s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 632s # */ 632s # 632s # /** 632s # * OrgProjectCallableIfaceProxyClass: 632s # * @parent_class: The parent class. 632s # * 632s # * Class structure for #OrgProjectCallableIfaceProxy. 632s # */ 632s # 632s # struct _OrgProjectCallableIfaceProxyPrivate 632s # { 632s # GData *qdata; 632s # }; 632s # 632s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 632s # 632s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 632s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 632s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 632s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 632s # 632s # #else 632s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 632s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 632s # 632s # #endif 632s # static void 632s # org_project_callable_iface_proxy_finalize (GObject *object) 632s # { 632s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 632s # g_datalist_clear (&proxy->priv->qdata); 632s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 632s # } 632s # 632s # static void 632s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 632s # guint prop_id G_GNUC_UNUSED, 632s # GValue *value G_GNUC_UNUSED, 632s # GParamSpec *pspec G_GNUC_UNUSED) 632s # { 632s # } 632s # 632s # static void 632s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 632s # guint prop_id G_GNUC_UNUSED, 632s # const GValue *value G_GNUC_UNUSED, 632s # GParamSpec *pspec G_GNUC_UNUSED) 632s # { 632s # } 632s # 632s # static void 632s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 632s # const gchar *sender_name G_GNUC_UNUSED, 632s # const gchar *signal_name, 632s # GVariant *parameters) 632s # { 632s # _ExtendedGDBusSignalInfo *info; 632s # GVariantIter iter; 632s # GVariant *child; 632s # GValue *paramv; 632s # gsize num_params; 632s # gsize n; 632s # guint signal_id; 632s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 632s # if (info == NULL) 632s # return; 632s # num_params = g_variant_n_children (parameters); 632s # paramv = g_new0 (GValue, num_params + 1); 632s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 632s # g_value_set_object (¶mv[0], proxy); 632s # g_variant_iter_init (&iter, parameters); 632s # n = 1; 632s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 632s # { 632s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 632s # if (arg_info->use_gvariant) 632s # { 632s # g_value_init (¶mv[n], G_TYPE_VARIANT); 632s # g_value_set_variant (¶mv[n], child); 632s # n++; 632s # } 632s # else 632s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 632s # g_variant_unref (child); 632s # } 632s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 632s # g_signal_emitv (paramv, signal_id, 0, NULL); 632s # for (n = 0; n < num_params + 1; n++) 632s # g_value_unset (¶mv[n]); 632s # g_free (paramv); 632s # } 632s # 632s # static void 632s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 632s # GVariant *changed_properties, 632s # const gchar *const *invalidated_properties) 632s # { 632s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 632s # guint n; 632s # const gchar *key; 632s # GVariantIter *iter; 632s # _ExtendedGDBusPropertyInfo *info; 632s # g_variant_get (changed_properties, "a{sv}", &iter); 632s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 632s # { 632s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 632s # g_datalist_remove_data (&proxy->priv->qdata, key); 632s # if (info != NULL) 632s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 632s # } 632s # g_variant_iter_free (iter); 632s # for (n = 0; invalidated_properties[n] != NULL; n++) 632s # { 632s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 632s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 632s # if (info != NULL) 632s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 632s # } 632s # } 632s # 632s # static void 632s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 632s # { 632s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 632s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 632s # #else 632s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 632s # #endif 632s # 632s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 632s # } 632s # 632s # static void 632s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 632s # { 632s # GObjectClass *gobject_class; 632s # GDBusProxyClass *proxy_class; 632s # 632s # gobject_class = G_OBJECT_CLASS (klass); 632s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 632s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 632s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 632s # 632s # proxy_class = G_DBUS_PROXY_CLASS (klass); 632s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 632s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 632s # 632s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 632s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 632s # #endif 632s # } 632s # 632s # static void 632s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 632s # { 632s # } 632s # 632s # /** 632s # * org_project_callable_iface_proxy_new: 632s # * @connection: A #GDBusConnection. 632s # * @flags: Flags from the #GDBusProxyFlags enumeration. 632s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 632s # * @object_path: An object path. 632s # * @cancellable: (nullable): A #GCancellable or %NULL. 632s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 632s # * @user_data: User data to pass to @callback. 632s # * 632s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 632s # * 632s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 632s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 632s # * 632s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 632s # */ 632s # void 632s # org_project_callable_iface_proxy_new ( 632s # GDBusConnection *connection, 632s # GDBusProxyFlags flags, 632s # const gchar *name, 632s # const gchar *object_path, 632s # GCancellable *cancellable, 632s # GAsyncReadyCallback callback, 632s # gpointer user_data) 632s # { 632s # 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); 632s # } 632s # 632s # /** 632s # * org_project_callable_iface_proxy_new_finish: 632s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 632s # * @error: Return location for error or %NULL 632s # * 632s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 632s # * 632s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 632s # */ 632s # OrgProjectCallableIface * 632s # org_project_callable_iface_proxy_new_finish ( 632s # GAsyncResult *res, 632s # GError **error) 632s # { 632s # GObject *ret; 632s # GObject *source_object; 632s # source_object = g_async_result_get_source_object (res); 632s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 632s # g_object_unref (source_object); 632s # if (ret != NULL) 632s # return ORG_PROJECT_CALLABLE_IFACE (ret); 632s # else 632s # return NULL; 632s # } 632s # 632s # /** 632s # * org_project_callable_iface_proxy_new_sync: 632s # * @connection: A #GDBusConnection. 632s # * @flags: Flags from the #GDBusProxyFlags enumeration. 632s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 632s # * @object_path: An object path. 632s # * @cancellable: (nullable): A #GCancellable or %NULL. 632s # * @error: Return location for error or %NULL 632s # * 632s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 632s # * 632s # * The calling thread is blocked until a reply is received. 632s # * 632s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 632s # * 632s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 632s # */ 632s # OrgProjectCallableIface * 632s # org_project_callable_iface_proxy_new_sync ( 632s # GDBusConnection *connection, 632s # GDBusProxyFlags flags, 632s # const gchar *name, 632s # const gchar *object_path, 632s # GCancellable *cancellable, 632s # GError **error) 632s # { 632s # GInitable *ret; 632s # 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); 632s # if (ret != NULL) 632s # return ORG_PROJECT_CALLABLE_IFACE (ret); 632s # else 632s # return NULL; 632s # } 632s # 632s # 632s # /** 632s # * org_project_callable_iface_proxy_new_for_bus: 632s # * @bus_type: A #GBusType. 632s # * @flags: Flags from the #GDBusProxyFlags enumeration. 632s # * @name: A bus name (well-known or unique). 632s # * @object_path: An object path. 632s # * @cancellable: (nullable): A #GCancellable or %NULL. 632s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 632s # * @user_data: User data to pass to @callback. 632s # * 632s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 632s # * 632s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 632s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 632s # * 632s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 632s # */ 632s # void 632s # org_project_callable_iface_proxy_new_for_bus ( 632s # GBusType bus_type, 632s # GDBusProxyFlags flags, 632s # const gchar *name, 632s # const gchar *object_path, 632s # GCancellable *cancellable, 632s # GAsyncReadyCallback callback, 632s # gpointer user_data) 632s # { 632s # 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); 632s # } 632s # 632s # /** 632s # * org_project_callable_iface_proxy_new_for_bus_finish: 632s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 632s # * @error: Return location for error or %NULL 632s # * 632s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 632s # * 632s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 632s # */ 632s # OrgProjectCallableIface * 632s # org_project_callable_iface_proxy_new_for_bus_finish ( 632s # GAsyncResult *res, 632s # GError **error) 632s # { 632s # GObject *ret; 632s # GObject *source_object; 632s # source_object = g_async_result_get_source_object (res); 632s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 632s # g_object_unref (source_object); 632s # if (ret != NULL) 632s # return ORG_PROJECT_CALLABLE_IFACE (ret); 632s # else 632s # return NULL; 632s # } 632s # 632s # /** 632s # * org_project_callable_iface_proxy_new_for_bus_sync: 632s # * @bus_type: A #GBusType. 632s # * @flags: Flags from the #GDBusProxyFlags enumeration. 632s # * @name: A bus name (well-known or unique). 632s # * @object_path: An object path. 632s # * @cancellable: (nullable): A #GCancellable or %NULL. 632s # * @error: Return location for error or %NULL 632s # * 632s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 632s # * 632s # * The calling thread is blocked until a reply is received. 632s # * 632s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 632s # * 632s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 632s # */ 632s # OrgProjectCallableIface * 632s # org_project_callable_iface_proxy_new_for_bus_sync ( 632s # GBusType bus_type, 632s # GDBusProxyFlags flags, 632s # const gchar *name, 632s # const gchar *object_path, 632s # GCancellable *cancellable, 632s # GError **error) 632s # { 632s # GInitable *ret; 632s # 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); 632s # if (ret != NULL) 632s # return ORG_PROJECT_CALLABLE_IFACE (ret); 632s # else 632s # return NULL; 632s # } 632s # 632s # 632s # /* ------------------------------------------------------------------------ */ 632s # 632s # /** 632s # * OrgProjectCallableIfaceSkeleton: 632s # * 632s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 632s # */ 632s # 632s # /** 632s # * OrgProjectCallableIfaceSkeletonClass: 632s # * @parent_class: The parent class. 632s # * 632s # * Class structure for #OrgProjectCallableIfaceSkeleton. 632s # */ 632s # 632s # struct _OrgProjectCallableIfaceSkeletonPrivate 632s # { 632s # GValue *properties; 632s # GList *changed_properties; 632s # GSource *changed_properties_idle_source; 632s # GMainContext *context; 632s # GMutex lock; 632s # }; 632s # 632s # static void 632s # _org_project_callable_iface_skeleton_handle_method_call ( 632s # GDBusConnection *connection G_GNUC_UNUSED, 632s # const gchar *sender G_GNUC_UNUSED, 632s # const gchar *object_path G_GNUC_UNUSED, 632s # const gchar *interface_name, 632s # const gchar *method_name, 632s # GVariant *parameters, 632s # GDBusMethodInvocation *invocation, 632s # gpointer user_data) 632s # { 632s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 632s # _ExtendedGDBusMethodInfo *info; 632s # GVariantIter iter; 632s # GVariant *child; 632s # GValue *paramv; 632s # gsize num_params; 632s # guint num_extra; 632s # gsize n; 632s # guint signal_id; 632s # GValue return_value = G_VALUE_INIT; 632s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 632s # g_assert (info != NULL); 632s # num_params = g_variant_n_children (parameters); 632s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 632s # n = 0; 632s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 632s # g_value_set_object (¶mv[n++], skeleton); 632s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 632s # g_value_set_object (¶mv[n++], invocation); 632s # if (info->pass_fdlist) 632s # { 632s # #ifdef G_OS_UNIX 632s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 632s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 632s # #else 632s # g_assert_not_reached (); 632s # #endif 632s # } 632s # g_variant_iter_init (&iter, parameters); 632s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 632s # { 632s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 632s # if (arg_info->use_gvariant) 632s # { 632s # g_value_init (¶mv[n], G_TYPE_VARIANT); 632s # g_value_set_variant (¶mv[n], child); 632s # n++; 632s # } 632s # else 632s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 632s # g_variant_unref (child); 632s # } 632s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 632s # g_value_init (&return_value, G_TYPE_BOOLEAN); 632s # g_signal_emitv (paramv, signal_id, 0, &return_value); 632s # if (!g_value_get_boolean (&return_value)) 632s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 632s # g_value_unset (&return_value); 632s # for (n = 0; n < num_params + num_extra; n++) 632s # g_value_unset (¶mv[n]); 632s # g_free (paramv); 632s # } 632s # 632s # static GVariant * 632s # _org_project_callable_iface_skeleton_handle_get_property ( 632s # GDBusConnection *connection G_GNUC_UNUSED, 632s # const gchar *sender G_GNUC_UNUSED, 632s # const gchar *object_path G_GNUC_UNUSED, 632s # const gchar *interface_name G_GNUC_UNUSED, 632s # const gchar *property_name, 632s # GError **error, 632s # gpointer user_data) 632s # { 632s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 632s # GValue value = G_VALUE_INIT; 632s # GParamSpec *pspec; 632s # _ExtendedGDBusPropertyInfo *info; 632s # GVariant *ret; 632s # ret = NULL; 632s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 632s # g_assert (info != NULL); 632s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 632s # if (pspec == NULL) 632s # { 632s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 632s # } 632s # else 632s # { 632s # g_value_init (&value, pspec->value_type); 632s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 632s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 632s # g_value_unset (&value); 632s # } 632s # return ret; 632s # } 632s # 632s # static gboolean 632s # _org_project_callable_iface_skeleton_handle_set_property ( 632s # GDBusConnection *connection G_GNUC_UNUSED, 632s # const gchar *sender G_GNUC_UNUSED, 632s # const gchar *object_path G_GNUC_UNUSED, 632s # const gchar *interface_name G_GNUC_UNUSED, 632s # const gchar *property_name, 632s # GVariant *variant, 632s # GError **error, 632s # gpointer user_data) 632s # { 632s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 632s # GValue value = G_VALUE_INIT; 632s # GParamSpec *pspec; 632s # _ExtendedGDBusPropertyInfo *info; 632s # gboolean ret; 632s # ret = FALSE; 632s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 632s # g_assert (info != NULL); 632s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 632s # if (pspec == NULL) 632s # { 632s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 632s # } 632s # else 632s # { 632s # if (info->use_gvariant) 632s # g_value_set_variant (&value, variant); 632s # else 632s # g_dbus_gvariant_to_gvalue (variant, &value); 632s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 632s # g_value_unset (&value); 632s # ret = TRUE; 632s # } 632s # return ret; 632s # } 632s # 632s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 632s # { 632s # _org_project_callable_iface_skeleton_handle_method_call, 632s # _org_project_callable_iface_skeleton_handle_get_property, 632s # _org_project_callable_iface_skeleton_handle_set_property, 632s # {NULL} 632s # }; 632s # 632s # static GDBusInterfaceInfo * 632s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 632s # { 632s # return org_project_callable_iface_interface_info (); 632s # } 632s # 632s # static GDBusInterfaceVTable * 632s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 632s # { 632s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 632s # } 632s # 632s # static GVariant * 632s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 632s # { 632s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 632s # 632s # GVariantBuilder builder; 632s # guint n; 632s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 632s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 632s # goto out; 632s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 632s # { 632s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 632s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 632s # { 632s # GVariant *value; 632s # 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); 632s # if (value != NULL) 632s # { 632s # g_variant_take_ref (value); 632s # g_variant_builder_add (&builder, "{sv}", info->name, value); 632s # g_variant_unref (value); 632s # } 632s # } 632s # } 632s # out: 632s # return g_variant_builder_end (&builder); 632s # } 632s # 632s # static void 632s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 632s # { 632s # } 632s # 632s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 632s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 632s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 632s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 632s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 632s # 632s # #else 632s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 632s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 632s # 632s # #endif 632s # static void 632s # org_project_callable_iface_skeleton_finalize (GObject *object) 632s # { 632s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 632s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 632s # if (skeleton->priv->changed_properties_idle_source != NULL) 632s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 632s # g_main_context_unref (skeleton->priv->context); 632s # g_mutex_clear (&skeleton->priv->lock); 632s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 632s # } 632s # 632s # static void 632s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 632s # { 632s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 632s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 632s # #else 632s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 632s # #endif 632s # 632s # g_mutex_init (&skeleton->priv->lock); 632s # skeleton->priv->context = g_main_context_ref_thread_default (); 632s # } 632s # 632s # static void 632s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 632s # { 632s # GObjectClass *gobject_class; 632s # GDBusInterfaceSkeletonClass *skeleton_class; 632s # 632s # gobject_class = G_OBJECT_CLASS (klass); 632s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 632s # 632s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 632s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 632s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 632s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 632s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 632s # 632s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 632s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 632s # #endif 632s # } 632s # 632s # static void 632s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 632s # { 632s # } 632s # 632s # /** 632s # * org_project_callable_iface_skeleton_new: 632s # * 632s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 632s # * 632s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 632s # */ 632s # OrgProjectCallableIface * 632s # org_project_callable_iface_skeleton_new (void) 632s # { 632s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 632s # } 632s # 632s # /* ------------------------------------------------------------------------ 632s # * Code for interface org.project.OtherCallableIface 632s # * ------------------------------------------------------------------------ 632s # */ 632s # 632s # /** 632s # * SECTION:OrgProjectOtherCallableIface 632s # * @title: OrgProjectOtherCallableIface 632s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 632s # * 632s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 632s # */ 632s # 632s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 632s # 632s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 632s # { 632s # { 632s # -1, 632s # (gchar *) "SimpleMethod", 632s # NULL, 632s # NULL, 632s # NULL 632s # }, 632s # "handle-simple-method", 632s # FALSE 632s # }; 632s # 632s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 632s # { 632s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 632s # NULL 632s # }; 632s # 632s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 632s # { 632s # { 632s # -1, 632s # (gchar *) "org.project.OtherCallableIface", 632s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 632s # NULL, 632s # NULL, 632s # NULL 632s # }, 632s # "org-project-other-callable-iface", 632s # }; 632s # 632s # 632s # /** 632s # * org_project_other_callable_iface_interface_info: 632s # * 632s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 632s # * 632s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 632s # */ 632s # GDBusInterfaceInfo * 632s # org_project_other_callable_iface_interface_info (void) 632s # { 632s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 632s # } 632s # 632s # /** 632s # * org_project_other_callable_iface_override_properties: 632s # * @klass: The class structure for a #GObject derived class. 632s # * @property_id_begin: The property id to assign to the first overridden property. 632s # * 632s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 632s # * The properties are overridden in the order they are defined. 632s # * 632s # * Returns: The last property id. 632s # */ 632s # guint 632s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 632s # { 632s # return property_id_begin - 1; 632s # } 632s # 632s # 632s # inline static void 632s # org_project_other_callable_iface_method_marshal_simple_method ( 632s # GClosure *closure, 632s # GValue *return_value, 632s # unsigned int n_param_values, 632s # const GValue *param_values, 632s # void *invocation_hint, 632s # void *marshal_data) 632s # { 632s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 632s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 632s # } 632s # 632s # 632s # /** 632s # * OrgProjectOtherCallableIface: 632s # * 632s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 632s # */ 632s # 632s # /** 632s # * OrgProjectOtherCallableIfaceIface: 632s # * @parent_iface: The parent interface. 632s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 632s # * 632s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 632s # */ 632s # 632s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 632s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 632s # 632s # static void 632s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 632s # { 632s # /* GObject signals for incoming D-Bus method calls: */ 632s # /** 632s # * OrgProjectOtherCallableIface::handle-simple-method: 632s # * @object: A #OrgProjectOtherCallableIface. 632s # * @invocation: A #GDBusMethodInvocation. 632s # * 632s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 632s # * 632s # * 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. 632s # * 632s # * 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. 632s # */ 632s # g_signal_new ("handle-simple-method", 632s # G_TYPE_FROM_INTERFACE (iface), 632s # G_SIGNAL_RUN_LAST, 632s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 632s # g_signal_accumulator_true_handled, 632s # NULL, 632s # org_project_other_callable_iface_method_marshal_simple_method, 632s # G_TYPE_BOOLEAN, 632s # 1, 632s # G_TYPE_DBUS_METHOD_INVOCATION); 632s # 632s # } 632s # 632s # /** 632s # * org_project_other_callable_iface_call_simple_method: 632s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 632s # * @cancellable: (nullable): A #GCancellable or %NULL. 632s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 632s # * @user_data: User data to pass to @callback. 632s # * 632s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 632s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 632s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 632s # * 632s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 632s # */ 632s # void 632s # org_project_other_callable_iface_call_simple_method ( 632s # OrgProjectOtherCallableIface *proxy, 632s # GCancellable *cancellable, 632s # GAsyncReadyCallback callback, 632s # gpointer user_data) 632s # { 632s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 632s # "SimpleMethod", 632s # g_variant_new ("()"), 632s # G_DBUS_CALL_FLAGS_NONE, 632s # -1, 632s # cancellable, 632s # callback, 632s # user_data); 632s # } 632s # 632s # /** 632s # * org_project_other_callable_iface_call_simple_method_finish: 632s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 632s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 632s # * @error: Return location for error or %NULL. 632s # * 632s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 632s # * 632s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 632s # */ 632s # gboolean 632s # org_project_other_callable_iface_call_simple_method_finish ( 632s # OrgProjectOtherCallableIface *proxy, 632s # GAsyncResult *res, 632s # GError **error) 632s # { 632s # GVariant *_ret; 632s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 632s # if (_ret == NULL) 632s # goto _out; 632s # g_variant_get (_ret, 632s # "()"); 632s # g_variant_unref (_ret); 632s # _out: 632s # return _ret != NULL; 632s # } 632s # 632s # /** 632s # * org_project_other_callable_iface_call_simple_method_sync: 632s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 632s # * @cancellable: (nullable): A #GCancellable or %NULL. 632s # * @error: Return location for error or %NULL. 632s # * 632s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 632s # * 632s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 632s # * 632s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 632s # */ 632s # gboolean 632s # org_project_other_callable_iface_call_simple_method_sync ( 632s # OrgProjectOtherCallableIface *proxy, 632s # GCancellable *cancellable, 632s # GError **error) 632s # { 632s # GVariant *_ret; 632s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 632s # "SimpleMethod", 632s # g_variant_new ("()"), 632s # G_DBUS_CALL_FLAGS_NONE, 632s # -1, 632s # cancellable, 632s # error); 632s # if (_ret == NULL) 632s # goto _out; 632s # g_variant_get (_ret, 632s # "()"); 632s # g_variant_unref (_ret); 632s # _out: 632s # return _ret != NULL; 632s # } 632s # 632s # /** 632s # * org_project_other_callable_iface_complete_simple_method: 632s # * @object: A #OrgProjectOtherCallableIface. 632s # * @invocation: (transfer full): A #GDBusMethodInvocation. 632s # * 632s # * 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. 632s # * 632s # * This method will free @invocation, you cannot use it afterwards. 632s # */ 632s # void 632s # org_project_other_callable_iface_complete_simple_method ( 632s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 632s # GDBusMethodInvocation *invocation) 632s # { 632s # g_dbus_method_invocation_return_value (invocation, 632s # g_variant_new ("()")); 632s # } 632s # 632s # /* ------------------------------------------------------------------------ */ 632s # 632s # /** 632s # * OrgProjectOtherCallableIfaceProxy: 632s # * 632s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 632s # */ 632s # 632s # /** 632s # * OrgProjectOtherCallableIfaceProxyClass: 632s # * @parent_class: The parent class. 632s # * 632s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 632s # */ 632s # 632s # struct _OrgProjectOtherCallableIfaceProxyPrivate 632s # { 632s # GData *qdata; 632s # }; 632s # 632s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 632s # 632s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 632s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 632s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 632s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 632s # 632s # #else 632s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 632s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 632s # 632s # #endif 632s # static void 632s # org_project_other_callable_iface_proxy_finalize (GObject *object) 632s # { 632s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 632s # g_datalist_clear (&proxy->priv->qdata); 632s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 632s # } 632s # 632s # static void 632s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 632s # guint prop_id G_GNUC_UNUSED, 632s # GValue *value G_GNUC_UNUSED, 632s # GParamSpec *pspec G_GNUC_UNUSED) 632s # { 632s # } 632s # 632s # static void 632s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 632s # guint prop_id G_GNUC_UNUSED, 632s # const GValue *value G_GNUC_UNUSED, 632s # GParamSpec *pspec G_GNUC_UNUSED) 632s # { 632s # } 632s # 632s # static void 632s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 632s # const gchar *sender_name G_GNUC_UNUSED, 632s # const gchar *signal_name, 632s # GVariant *parameters) 632s # { 632s # _ExtendedGDBusSignalInfo *info; 632s # GVariantIter iter; 632s # GVariant *child; 632s # GValue *paramv; 632s # gsize num_params; 632s # gsize n; 632s # guint signal_id; 632s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 632s # if (info == NULL) 632s # return; 632s # num_params = g_variant_n_children (parameters); 632s # paramv = g_new0 (GValue, num_params + 1); 632s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 632s # g_value_set_object (¶mv[0], proxy); 632s # g_variant_iter_init (&iter, parameters); 632s # n = 1; 632s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 632s # { 632s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 632s # if (arg_info->use_gvariant) 632s # { 632s # g_value_init (¶mv[n], G_TYPE_VARIANT); 632s # g_value_set_variant (¶mv[n], child); 632s # n++; 632s # } 632s # else 632s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 632s # g_variant_unref (child); 632s # } 632s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 632s # g_signal_emitv (paramv, signal_id, 0, NULL); 632s # for (n = 0; n < num_params + 1; n++) 632s # g_value_unset (¶mv[n]); 632s # g_free (paramv); 632s # } 632s # 632s # static void 632s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 632s # GVariant *changed_properties, 632s # const gchar *const *invalidated_properties) 632s # { 632s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 632s # guint n; 632s # const gchar *key; 632s # GVariantIter *iter; 632s # _ExtendedGDBusPropertyInfo *info; 632s # g_variant_get (changed_properties, "a{sv}", &iter); 632s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 632s # { 632s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 632s # g_datalist_remove_data (&proxy->priv->qdata, key); 632s # if (info != NULL) 632s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 632s # } 632s # g_variant_iter_free (iter); 632s # for (n = 0; invalidated_properties[n] != NULL; n++) 632s # { 632s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 632s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 632s # if (info != NULL) 632s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 632s # } 632s # } 632s # 632s # static void 632s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 632s # { 632s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 632s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 632s # #else 632s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 632s # #endif 632s # 632s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 632s # } 632s # 632s # static void 632s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 632s # { 632s # GObjectClass *gobject_class; 632s # GDBusProxyClass *proxy_class; 632s # 632s # gobject_class = G_OBJECT_CLASS (klass); 632s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 632s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 632s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 632s # 632s # proxy_class = G_DBUS_PROXY_CLASS (klass); 632s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 632s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 632s # 632s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 632s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 632s # #endif 632s # } 632s # 632s # static void 632s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 632s # { 632s # } 632s # 632s # /** 632s # * org_project_other_callable_iface_proxy_new: 632s # * @connection: A #GDBusConnection. 632s # * @flags: Flags from the #GDBusProxyFlags enumeration. 632s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 632s # * @object_path: An object path. 632s # * @cancellable: (nullable): A #GCancellable or %NULL. 632s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 632s # * @user_data: User data to pass to @callback. 632s # * 632s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 632s # * 632s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 632s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 632s # * 632s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 632s # */ 632s # void 632s # org_project_other_callable_iface_proxy_new ( 632s # GDBusConnection *connection, 632s # GDBusProxyFlags flags, 632s # const gchar *name, 632s # const gchar *object_path, 632s # GCancellable *cancellable, 632s # GAsyncReadyCallback callback, 632s # gpointer user_data) 632s # { 632s # 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); 632s # } 632s # 632s # /** 632s # * org_project_other_callable_iface_proxy_new_finish: 632s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 632s # * @error: Return location for error or %NULL 632s # * 632s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 632s # * 632s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 632s # */ 632s # OrgProjectOtherCallableIface * 632s # org_project_other_callable_iface_proxy_new_finish ( 632s # GAsyncResult *res, 632s # GError **error) 632s # { 632s # GObject *ret; 632s # GObject *source_object; 632s # source_object = g_async_result_get_source_object (res); 632s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 632s # g_object_unref (source_object); 632s # if (ret != NULL) 632s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 632s # else 632s # return NULL; 632s # } 632s # 632s # /** 632s # * org_project_other_callable_iface_proxy_new_sync: 632s # * @connection: A #GDBusConnection. 632s # * @flags: Flags from the #GDBusProxyFlags enumeration. 632s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 632s # * @object_path: An object path. 632s # * @cancellable: (nullable): A #GCancellable or %NULL. 632s # * @error: Return location for error or %NULL 632s # * 632s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 632s # * 632s # * The calling thread is blocked until a reply is received. 632s # * 632s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 632s # * 632s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 632s # */ 632s # OrgProjectOtherCallableIface * 632s # org_project_other_callable_iface_proxy_new_sync ( 632s # GDBusConnection *connection, 632s # GDBusProxyFlags flags, 632s # const gchar *name, 632s # const gchar *object_path, 632s # GCancellable *cancellable, 632s # GError **error) 632s # { 632s # GInitable *ret; 632s # 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); 632s # if (ret != NULL) 632s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 632s # else 632s # return NULL; 632s # } 632s # 632s # 632s # /** 632s # * org_project_other_callable_iface_proxy_new_for_bus: 632s # * @bus_type: A #GBusType. 632s # * @flags: Flags from the #GDBusProxyFlags enumeration. 632s # * @name: A bus name (well-known or unique). 632s # * @object_path: An object path. 632s # * @cancellable: (nullable): A #GCancellable or %NULL. 632s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 632s # * @user_data: User data to pass to @callback. 632s # * 632s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 632s # * 632s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 632s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 632s # * 632s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 632s # */ 632s # void 632s # org_project_other_callable_iface_proxy_new_for_bus ( 632s # GBusType bus_type, 632s # GDBusProxyFlags flags, 632s # const gchar *name, 632s # const gchar *object_path, 632s # GCancellable *cancellable, 632s # GAsyncReadyCallback callback, 632s # gpointer user_data) 632s # { 632s # 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); 632s # } 632s # 632s # /** 632s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 632s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 632s # * @error: Return location for error or %NULL 632s # * 632s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 632s # * 632s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 632s # */ 632s # OrgProjectOtherCallableIface * 632s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 632s # GAsyncResult *res, 632s # GError **error) 632s # { 632s # GObject *ret; 632s # GObject *source_object; 632s # source_object = g_async_result_get_source_object (res); 632s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 632s # g_object_unref (source_object); 632s # if (ret != NULL) 632s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 632s # else 632s # return NULL; 632s # } 632s # 632s # /** 632s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 632s # * @bus_type: A #GBusType. 632s # * @flags: Flags from the #GDBusProxyFlags enumeration. 632s # * @name: A bus name (well-known or unique). 632s # * @object_path: An object path. 632s # * @cancellable: (nullable): A #GCancellable or %NULL. 632s # * @error: Return location for error or %NULL 632s # * 632s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 632s # * 632s # * The calling thread is blocked until a reply is received. 632s # * 632s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 632s # * 632s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 632s # */ 632s # OrgProjectOtherCallableIface * 632s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 632s # GBusType bus_type, 632s # GDBusProxyFlags flags, 632s # const gchar *name, 632s # const gchar *object_path, 632s # GCancellable *cancellable, 632s # GError **error) 632s # { 632s # GInitable *ret; 632s # 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); 632s # if (ret != NULL) 632s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 632s # else 632s # return NULL; 632s # } 632s # 632s # 632s # /* ------------------------------------------------------------------------ */ 632s # 632s # /** 632s # * OrgProjectOtherCallableIfaceSkeleton: 632s # * 632s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 632s # */ 632s # 632s # /** 632s # * OrgProjectOtherCallableIfaceSkeletonClass: 632s # * @parent_class: The parent class. 632s # * 632s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 632s # */ 632s # 632s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 632s # { 632s # GValue *properties; 632s # GList *changed_properties; 632s # GSource *changed_properties_idle_source; 632s # GMainContext *context; 632s # GMutex lock; 632s # }; 632s # 632s # static void 632s # _org_project_other_callable_iface_skeleton_handle_method_call ( 632s # GDBusConnection *connection G_GNUC_UNUSED, 632s # const gchar *sender G_GNUC_UNUSED, 632s # const gchar *object_path G_GNUC_UNUSED, 632s # const gchar *interface_name, 632s # const gchar *method_name, 632s # GVariant *parameters, 632s # GDBusMethodInvocation *invocation, 632s # gpointer user_data) 632s # { 632s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 632s # _ExtendedGDBusMethodInfo *info; 632s # GVariantIter iter; 632s # GVariant *child; 632s # GValue *paramv; 632s # gsize num_params; 632s # guint num_extra; 632s # gsize n; 632s # guint signal_id; 632s # GValue return_value = G_VALUE_INIT; 632s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 632s # g_assert (info != NULL); 632s # num_params = g_variant_n_children (parameters); 632s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 632s # n = 0; 632s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 632s # g_value_set_object (¶mv[n++], skeleton); 632s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 632s # g_value_set_object (¶mv[n++], invocation); 632s # if (info->pass_fdlist) 632s # { 632s # #ifdef G_OS_UNIX 632s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 632s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 632s # #else 632s # g_assert_not_reached (); 632s # #endif 632s # } 632s # g_variant_iter_init (&iter, parameters); 632s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 632s # { 632s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 632s # if (arg_info->use_gvariant) 632s # { 632s # g_value_init (¶mv[n], G_TYPE_VARIANT); 632s # g_value_set_variant (¶mv[n], child); 632s # n++; 632s # } 632s # else 632s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 632s # g_variant_unref (child); 632s # } 632s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 632s # g_value_init (&return_value, G_TYPE_BOOLEAN); 632s # g_signal_emitv (paramv, signal_id, 0, &return_value); 632s # if (!g_value_get_boolean (&return_value)) 632s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 632s # g_value_unset (&return_value); 632s # for (n = 0; n < num_params + num_extra; n++) 632s # g_value_unset (¶mv[n]); 632s # g_free (paramv); 632s # } 632s # 632s # static GVariant * 632s # _org_project_other_callable_iface_skeleton_handle_get_property ( 632s # GDBusConnection *connection G_GNUC_UNUSED, 632s # const gchar *sender G_GNUC_UNUSED, 632s # const gchar *object_path G_GNUC_UNUSED, 632s # const gchar *interface_name G_GNUC_UNUSED, 632s # const gchar *property_name, 632s # GError **error, 632s # gpointer user_data) 632s # { 632s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 632s # GValue value = G_VALUE_INIT; 632s # GParamSpec *pspec; 632s # _ExtendedGDBusPropertyInfo *info; 632s # GVariant *ret; 632s # ret = NULL; 632s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 632s # g_assert (info != NULL); 632s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 632s # if (pspec == NULL) 632s # { 632s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 632s # } 632s # else 632s # { 632s # g_value_init (&value, pspec->value_type); 632s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 632s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 632s # g_value_unset (&value); 632s # } 632s # return ret; 632s # } 632s # 632s # static gboolean 632s # _org_project_other_callable_iface_skeleton_handle_set_property ( 632s # GDBusConnection *connection G_GNUC_UNUSED, 632s # const gchar *sender G_GNUC_UNUSED, 632s # const gchar *object_path G_GNUC_UNUSED, 632s # const gchar *interface_name G_GNUC_UNUSED, 632s # const gchar *property_name, 632s # GVariant *variant, 632s # GError **error, 632s # gpointer user_data) 632s # { 632s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 632s # GValue value = G_VALUE_INIT; 632s # GParamSpec *pspec; 632s # _ExtendedGDBusPropertyInfo *info; 632s # gboolean ret; 632s # ret = FALSE; 632s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 632s # g_assert (info != NULL); 632s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 632s # if (pspec == NULL) 632s # { 632s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 632s # } 632s # else 632s # { 632s # if (info->use_gvariant) 632s # g_value_set_variant (&value, variant); 632s # else 632s # g_dbus_gvariant_to_gvalue (variant, &value); 632s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 632s # g_value_unset (&value); 632s # ret = TRUE; 632s # } 632s # return ret; 632s # } 632s # 632s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 632s # { 632s # _org_project_other_callable_iface_skeleton_handle_method_call, 632s # _org_project_other_callable_iface_skeleton_handle_get_property, 632s # _org_project_other_callable_iface_skeleton_handle_set_property, 632s # {NULL} 632s # }; 632s # 632s # static GDBusInterfaceInfo * 632s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 632s # { 632s # return org_project_other_callable_iface_interface_info (); 632s # } 632s # 632s # static GDBusInterfaceVTable * 632s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 632s # { 632s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 632s # } 632s # 632s # static GVariant * 632s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 632s # { 632s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 632s # 632s # GVariantBuilder builder; 632s # guint n; 632s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 632s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 632s # goto out; 632s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 632s # { 632s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 632s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 632s # { 632s # GVariant *value; 632s # 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); 632s # if (value != NULL) 632s # { 632s # g_variant_take_ref (value); 632s # g_variant_builder_add (&builder, "{sv}", info->name, value); 632s # g_variant_unref (value); 632s # } 632s # } 632s # } 632s # out: 632s # return g_variant_builder_end (&builder); 632s # } 632s # 632s # static void 632s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 632s # { 632s # } 632s # 632s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 632s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 632s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 632s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 632s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 632s # 632s # #else 632s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 632s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 632s # 632s # #endif 632s # static void 632s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 632s # { 632s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 632s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 632s # if (skeleton->priv->changed_properties_idle_source != NULL) 632s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 632s # g_main_context_unref (skeleton->priv->context); 632s # g_mutex_clear (&skeleton->priv->lock); 632s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 632s # } 632s # 632s # static void 632s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 632s # { 632s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 632s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 632s # #else 632s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 632s # #endif 632s # 632s # g_mutex_init (&skeleton->priv->lock); 632s # skeleton->priv->context = g_main_context_ref_thread_default (); 632s # } 632s # 632s # static void 632s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 632s # { 632s # GObjectClass *gobject_class; 632s # GDBusInterfaceSkeletonClass *skeleton_class; 632s # 632s # gobject_class = G_OBJECT_CLASS (klass); 632s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 632s # 632s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 632s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 632s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 632s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 632s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 632s # 632s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 632s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 632s # #endif 632s # } 632s # 632s # static void 632s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 632s # { 632s # } 632s # 632s # /** 632s # * org_project_other_callable_iface_skeleton_new: 632s # * 632s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 632s # * 632s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 632s # */ 632s # OrgProjectOtherCallableIface * 632s # org_project_other_callable_iface_skeleton_new (void) 632s # { 632s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 632s # } 632s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 632s # tmpdir: /tmp/tmp4un2rcj2 632s # codegen: /usr/bin/gdbus-codegen 632s # /tmp/tmp4un2rcj2/tmpafpi096i.xml: 632s # 632s # 632s # 632s # 632s # 632s # 632s # 632s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4un2rcj2/tmpafpi096i.xml', '--output', '-', '--body'] 632s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 632s # Output: /* 632s # * This file is generated by gdbus-codegen, do not modify it. 632s # * 632s # * The license of this code is the same as for the D-Bus interface description 632s # * it was derived from. Note that it links to GLib, so must comply with the 632s # * LGPL linking clauses. 632s # */ 632s # 632s # #ifdef HAVE_CONFIG_H 632s # # include "config.h" 632s # #endif 632s # 632s # #include 632s # #ifdef G_OS_UNIX 632s # # include 632s # #endif 632s # 632s # #ifdef G_ENABLE_DEBUG 632s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 632s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 632s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 632s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 632s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 632s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 632s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 632s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 632s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 632s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 632s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 632s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 632s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 632s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 632s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 632s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 632s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 632s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 632s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 632s # #else /* !G_ENABLE_DEBUG */ 632s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 632s # * Do not access GValues directly in your code. Instead, use the 632s # * g_value_get_*() functions 632s # */ 632s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 632s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 632s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 632s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 632s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 632s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 632s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 632s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 632s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 632s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 632s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 632s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 632s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 632s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 632s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 632s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 632s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 632s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 632s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 632s # #endif /* !G_ENABLE_DEBUG */ 632s # 632s # typedef struct 632s # { 632s # GDBusArgInfo parent_struct; 632s # gboolean use_gvariant; 632s # } _ExtendedGDBusArgInfo; 632s # 632s # typedef struct 632s # { 632s # GDBusMethodInfo parent_struct; 632s # const gchar *signal_name; 632s # gboolean pass_fdlist; 632s # } _ExtendedGDBusMethodInfo; 632s # 632s # typedef struct 632s # { 632s # GDBusSignalInfo parent_struct; 632s # const gchar *signal_name; 632s # } _ExtendedGDBusSignalInfo; 632s # 632s # typedef struct 632s # { 632s # GDBusPropertyInfo parent_struct; 632s # const gchar *hyphen_name; 632s # guint use_gvariant : 1; 632s # guint emits_changed_signal : 1; 632s # } _ExtendedGDBusPropertyInfo; 632s # 632s # typedef struct 632s # { 632s # GDBusInterfaceInfo parent_struct; 632s # const gchar *hyphen_name; 632s # } _ExtendedGDBusInterfaceInfo; 632s # 632s # typedef struct 632s # { 632s # const _ExtendedGDBusPropertyInfo *info; 632s # guint prop_id; 632s # GValue orig_value; /* the value before the change */ 632s # } ChangedProperty; 632s # 632s # static void 632s # _changed_property_free (ChangedProperty *data) 632s # { 632s # g_value_unset (&data->orig_value); 632s # g_free (data); 632s # } 632s # 632s # static gboolean 632s # _g_strv_equal0 (gchar **a, gchar **b) 632s # { 632s # gboolean ret = FALSE; 632s # guint n; 632s # if (a == NULL && b == NULL) 632s # { 632s # ret = TRUE; 632s # goto out; 632s # } 632s # if (a == NULL || b == NULL) 632s # goto out; 632s # if (g_strv_length (a) != g_strv_length (b)) 632s # goto out; 632s # for (n = 0; a[n] != NULL; n++) 632s # if (g_strcmp0 (a[n], b[n]) != 0) 632s # goto out; 632s # ret = TRUE; 632s # out: 632s # return ret; 632s # } 632s # 632s # static gboolean 632s # _g_variant_equal0 (GVariant *a, GVariant *b) 632s # { 632s # gboolean ret = FALSE; 632s # if (a == NULL && b == NULL) 632s # { 632s # ret = TRUE; 632s # goto out; 632s # } 632s # if (a == NULL || b == NULL) 632s # goto out; 632s # ret = g_variant_equal (a, b); 632s # out: 632s # return ret; 632s # } 632s # 632s # G_GNUC_UNUSED static gboolean 632s # _g_value_equal (const GValue *a, const GValue *b) 632s # { 632s # gboolean ret = FALSE; 632s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 632s # switch (G_VALUE_TYPE (a)) 632s # { 632s # case G_TYPE_BOOLEAN: 632s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 632s # break; 632s # case G_TYPE_UCHAR: 632s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 632s # break; 632s # case G_TYPE_INT: 632s # ret = (g_value_get_int (a) == g_value_get_int (b)); 632s # break; 632s # case G_TYPE_UINT: 632s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 632s # break; 632s # case G_TYPE_INT64: 632s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 632s # break; 632s # case G_TYPE_UINT64: 632s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 632s # break; 632s # case G_TYPE_DOUBLE: 632s # { 632s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 632s # gdouble da = g_value_get_double (a); 632s # gdouble db = g_value_get_double (b); 632s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 632s # } 632s # break; 632s # case G_TYPE_STRING: 632s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 632s # break; 632s # case G_TYPE_VARIANT: 632s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 632s # break; 632s # default: 632s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 632s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 632s # else 632s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 632s # break; 632s # } 632s # return ret; 632s # } 632s # 632s # static void 632s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 632s # GClosure *closure, 632s # GValue *return_value, 632s # unsigned int n_param_values, 632s # const GValue *param_values, 632s # void *invocation_hint G_GNUC_UNUSED, 632s # void *marshal_data) 632s # { 632s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 632s # (void *data1, 632s # GDBusMethodInvocation *arg_method_invocation, 632s # gboolean arg_arg_b, 632s # void *data2); 632s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 632s # GCClosure *cc = (GCClosure*) closure; 632s # void *data1, *data2; 632s # gboolean v_return; 632s # 632s # g_return_if_fail (return_value != NULL); 632s # g_return_if_fail (n_param_values == 3); 632s # 632s # if (G_CCLOSURE_SWAP_DATA (closure)) 632s # { 632s # data1 = closure->data; 632s # data2 = g_value_peek_pointer (param_values + 0); 632s # } 632s # else 632s # { 632s # data1 = g_value_peek_pointer (param_values + 0); 632s # data2 = closure->data; 632s # } 632s # 632s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 632s # (marshal_data ? marshal_data : cc->callback); 632s # 632s # v_return = 632s # callback (data1, 632s # g_marshal_value_peek_object (param_values + 1), 632s # g_marshal_value_peek_boolean (param_values + 2), 632s # data2); 632s # 632s # g_value_set_boolean (return_value, v_return); 632s # } 632s # 632s # /* ------------------------------------------------------------------------ 632s # * Code for interface org.project.UsefulInterface 632s # * ------------------------------------------------------------------------ 632s # */ 632s # 632s # /** 632s # * SECTION:OrgProjectUsefulInterface 632s # * @title: OrgProjectUsefulInterface 632s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 632s # * 632s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 632s # */ 632s # 632s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 632s # 632s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 632s # { 632s # { 632s # -1, 632s # (gchar *) "arg_b", 632s # (gchar *) "b", 632s # NULL 632s # }, 632s # FALSE 632s # }; 632s # 632s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 632s # { 632s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 632s # NULL 632s # }; 632s # 632s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 632s # { 632s # { 632s # -1, 632s # (gchar *) "SingleArgMethodB", 632s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 632s # NULL, 632s # NULL 632s # }, 632s # "handle-single-arg-method-b", 632s # FALSE 632s # }; 632s # 632s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 632s # { 632s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 632s # NULL 632s # }; 632s # 632s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 632s # { 632s # { 632s # -1, 632s # (gchar *) "org.project.UsefulInterface", 632s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 632s # NULL, 632s # NULL, 632s # NULL 632s # }, 632s # "org-project-useful-interface", 632s # }; 632s # 632s # 632s # /** 632s # * org_project_useful_interface_interface_info: 632s # * 632s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 632s # * 632s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 632s # */ 632s # GDBusInterfaceInfo * 632s # org_project_useful_interface_interface_info (void) 632s # { 632s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 632s # } 632s # 632s # /** 632s # * org_project_useful_interface_override_properties: 632s # * @klass: The class structure for a #GObject derived class. 632s # * @property_id_begin: The property id to assign to the first overridden property. 632s # * 632s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 632s # * The properties are overridden in the order they are defined. 632s # * 632s # * Returns: The last property id. 632s # */ 632s # guint 632s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 632s # { 632s # return property_id_begin - 1; 632s # } 632s # 632s # 632s # inline static void 632s # org_project_useful_interface_method_marshal_single_arg_method_b ( 632s # GClosure *closure, 632s # GValue *return_value, 632s # unsigned int n_param_values, 632s # const GValue *param_values, 632s # void *invocation_hint, 632s # void *marshal_data) 632s # { 632s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 632s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 632s # } 632s # 632s # 632s # /** 632s # * OrgProjectUsefulInterface: 632s # * 632s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 632s # */ 632s # 632s # /** 632s # * OrgProjectUsefulInterfaceIface: 632s # * @parent_iface: The parent interface. 632s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 632s # * 632s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 632s # */ 632s # 632s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 632s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 632s # 632s # static void 632s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 632s # { 632s # /* GObject signals for incoming D-Bus method calls: */ 632s # /** 632s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 632s # * @object: A #OrgProjectUsefulInterface. 632s # * @invocation: A #GDBusMethodInvocation. 632s # * @arg_arg_b: Argument passed by remote caller. 632s # * 632s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 632s # * 632s # * 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. 632s # * 632s # * 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. 632s # */ 632s # g_signal_new ("handle-single-arg-method-b", 632s # G_TYPE_FROM_INTERFACE (iface), 632s # G_SIGNAL_RUN_LAST, 632s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 632s # g_signal_accumulator_true_handled, 632s # NULL, 632s # org_project_useful_interface_method_marshal_single_arg_method_b, 632s # G_TYPE_BOOLEAN, 632s # 2, 632s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 632s # 632s # } 632s # 632s # /** 632s # * org_project_useful_interface_call_single_arg_method_b: 632s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 632s # * @arg_arg_b: Argument to pass with the method invocation. 632s # * @cancellable: (nullable): A #GCancellable or %NULL. 632s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 632s # * @user_data: User data to pass to @callback. 632s # * 632s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 632s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 632s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 632s # * 632s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 632s # */ 632s # void 632s # org_project_useful_interface_call_single_arg_method_b ( 632s # OrgProjectUsefulInterface *proxy, 632s # gboolean arg_arg_b, 632s # GCancellable *cancellable, 632s # GAsyncReadyCallback callback, 632s # gpointer user_data) 632s # { 632s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 632s # "SingleArgMethodB", 632s # g_variant_new ("(b)", 632s # arg_arg_b), 632s # G_DBUS_CALL_FLAGS_NONE, 632s # -1, 632s # cancellable, 632s # callback, 632s # user_data); 632s # } 632s # 632s # /** 632s # * org_project_useful_interface_call_single_arg_method_b_finish: 632s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 632s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 632s # * @error: Return location for error or %NULL. 632s # * 632s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 632s # * 632s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 632s # */ 632s # gboolean 632s # org_project_useful_interface_call_single_arg_method_b_finish ( 632s # OrgProjectUsefulInterface *proxy, 632s # GAsyncResult *res, 632s # GError **error) 632s # { 632s # GVariant *_ret; 632s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 632s # if (_ret == NULL) 632s # goto _out; 632s # g_variant_get (_ret, 632s # "()"); 632s # g_variant_unref (_ret); 632s # _out: 632s # return _ret != NULL; 632s # } 632s # 632s # /** 632s # * org_project_useful_interface_call_single_arg_method_b_sync: 632s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 632s # * @arg_arg_b: Argument to pass with the method invocation. 632s # * @cancellable: (nullable): A #GCancellable or %NULL. 632s # * @error: Return location for error or %NULL. 632s # * 632s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 632s # * 632s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 632s # * 632s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 632s # */ 632s # gboolean 632s # org_project_useful_interface_call_single_arg_method_b_sync ( 632s # OrgProjectUsefulInterface *proxy, 632s # gboolean arg_arg_b, 632s # GCancellable *cancellable, 632s # GError **error) 632s # { 632s # GVariant *_ret; 632s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 632s # "SingleArgMethodB", 632s # g_variant_new ("(b)", 632s # arg_arg_b), 632s # G_DBUS_CALL_FLAGS_NONE, 632s # -1, 632s # cancellable, 632s # error); 632s # if (_ret == NULL) 632s # goto _out; 632s # g_variant_get (_ret, 632s # "()"); 632s # g_variant_unref (_ret); 632s # _out: 632s # return _ret != NULL; 632s # } 632s # 632s # /** 632s # * org_project_useful_interface_complete_single_arg_method_b: 632s # * @object: A #OrgProjectUsefulInterface. 632s # * @invocation: (transfer full): A #GDBusMethodInvocation. 632s # * 632s # * 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. 632s # * 632s # * This method will free @invocation, you cannot use it afterwards. 632s # */ 632s # void 632s # org_project_useful_interface_complete_single_arg_method_b ( 632s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 632s # GDBusMethodInvocation *invocation) 632s # { 632s # g_dbus_method_invocation_return_value (invocation, 632s # g_variant_new ("()")); 632s # } 632s # 632s # /* ------------------------------------------------------------------------ */ 632s # 632s # /** 632s # * OrgProjectUsefulInterfaceProxy: 632s # * 632s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 632s # */ 632s # 632s # /** 632s # * OrgProjectUsefulInterfaceProxyClass: 632s # * @parent_class: The parent class. 632s # * 632s # * Class structure for #OrgProjectUsefulInterfaceProxy. 632s # */ 632s # 632s # struct _OrgProjectUsefulInterfaceProxyPrivate 632s # { 632s # GData *qdata; 632s # }; 632s # 632s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 632s # 632s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 632s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 632s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 632s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 632s # 632s # #else 632s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 632s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 632s # 632s # #endif 632s # static void 632s # org_project_useful_interface_proxy_finalize (GObject *object) 632s # { 632s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 633s # g_datalist_clear (&proxy->priv->qdata); 633s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 633s # } 633s # 633s # static void 633s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 633s # guint prop_id G_GNUC_UNUSED, 633s # GValue *value G_GNUC_UNUSED, 633s # GParamSpec *pspec G_GNUC_UNUSED) 633s # { 633s # } 633s # 633s # static void 633s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 633s # guint prop_id G_GNUC_UNUSED, 633s # const GValue *value G_GNUC_UNUSED, 633s # GParamSpec *pspec G_GNUC_UNUSED) 633s # { 633s # } 633s # 633s # static void 633s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 633s # const gchar *sender_name G_GNUC_UNUSED, 633s # const gchar *signal_name, 633s # GVariant *parameters) 633s # { 633s # _ExtendedGDBusSignalInfo *info; 633s # GVariantIter iter; 633s # GVariant *child; 633s # GValue *paramv; 633s # gsize num_params; 633s # gsize n; 633s # guint signal_id; 633s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 633s # if (info == NULL) 633s # return; 633s # num_params = g_variant_n_children (parameters); 633s # paramv = g_new0 (GValue, num_params + 1); 633s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 633s # g_value_set_object (¶mv[0], proxy); 633s # g_variant_iter_init (&iter, parameters); 633s # n = 1; 633s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 633s # { 633s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 633s # if (arg_info->use_gvariant) 633s # { 633s # g_value_init (¶mv[n], G_TYPE_VARIANT); 633s # g_value_set_variant (¶mv[n], child); 633s # n++; 633s # } 633s # else 633s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 633s # g_variant_unref (child); 633s # } 633s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 633s # g_signal_emitv (paramv, signal_id, 0, NULL); 633s # for (n = 0; n < num_params + 1; n++) 633s # g_value_unset (¶mv[n]); 633s # g_free (paramv); 633s # } 633s # 633s # static void 633s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 633s # GVariant *changed_properties, 633s # const gchar *const *invalidated_properties) 633s # { 633s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 633s # guint n; 633s # const gchar *key; 633s # GVariantIter *iter; 633s # _ExtendedGDBusPropertyInfo *info; 633s # g_variant_get (changed_properties, "a{sv}", &iter); 633s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 633s # { 633s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 633s # g_datalist_remove_data (&proxy->priv->qdata, key); 633s # if (info != NULL) 633s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 633s # } 633s # g_variant_iter_free (iter); 633s # for (n = 0; invalidated_properties[n] != NULL; n++) 633s # { 633s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 633s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 633s # if (info != NULL) 633s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 633s # } 633s # } 633s # 633s # static void 633s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 633s # { 633s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 633s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 633s # #else 633s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 633s # #endif 633s # 633s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 633s # } 633s # 633s # static void 633s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 633s # { 633s # GObjectClass *gobject_class; 633s # GDBusProxyClass *proxy_class; 633s # 633s # gobject_class = G_OBJECT_CLASS (klass); 633s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 633s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 633s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 633s # 633s # proxy_class = G_DBUS_PROXY_CLASS (klass); 633s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 633s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 633s # 633s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 633s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 633s # #endif 633s # } 633s # 633s # static void 633s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 633s # { 633s # } 633s # 633s # /** 633s # * org_project_useful_interface_proxy_new: 633s # * @connection: A #GDBusConnection. 633s # * @flags: Flags from the #GDBusProxyFlags enumeration. 633s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 633s # * @object_path: An object path. 633s # * @cancellable: (nullable): A #GCancellable or %NULL. 633s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 633s # * @user_data: User data to pass to @callback. 633s # * 633s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 633s # * 633s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 633s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 633s # * 633s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 633s # */ 633s # void 633s # org_project_useful_interface_proxy_new ( 633s # GDBusConnection *connection, 633s # GDBusProxyFlags flags, 633s # const gchar *name, 633s # const gchar *object_path, 633s # GCancellable *cancellable, 633s # GAsyncReadyCallback callback, 633s # gpointer user_data) 633s # { 633s # g_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); 633s # } 633s # 633s # /** 633s # * org_project_useful_interface_proxy_new_finish: 633s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 633s # * @error: Return location for error or %NULL 633s # * 633s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 633s # * 633s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 633s # */ 633s # OrgProjectUsefulInterface * 633s # org_project_useful_interface_proxy_new_finish ( 633s # GAsyncResult *res, 633s # GError **error) 633s # { 633s # GObject *ret; 633s # GObject *source_object; 633s # source_object = g_async_result_get_source_object (res); 633s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 633s # g_object_unref (source_object); 633s # if (ret != NULL) 633s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 633s # else 633s # return NULL; 633s # } 633s # 633s # /** 633s # * org_project_useful_interface_proxy_new_sync: 633s # * @connection: A #GDBusConnection. 633s # * @flags: Flags from the #GDBusProxyFlags enumeration. 633s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 633s # * @object_path: An object path. 633s # * @cancellable: (nullable): A #GCancellable or %NULL. 633s # * @error: Return location for error or %NULL 633s # * 633s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 633s # * 633s # * The calling thread is blocked until a reply is received. 633s # * 633s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 633s # * 633s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 633s # */ 633s # OrgProjectUsefulInterface * 633s # org_project_useful_interface_proxy_new_sync ( 633s # GDBusConnection *connection, 633s # GDBusProxyFlags flags, 633s # const gchar *name, 633s # const gchar *object_path, 633s # GCancellable *cancellable, 633s # GError **error) 633s # { 633s # GInitable *ret; 633s # 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); 633s # if (ret != NULL) 633s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 633s # else 633s # return NULL; 633s # } 633s # 633s # 633s # /** 633s # * org_project_useful_interface_proxy_new_for_bus: 633s # * @bus_type: A #GBusType. 633s # * @flags: Flags from the #GDBusProxyFlags enumeration. 633s # * @name: A bus name (well-known or unique). 633s # * @object_path: An object path. 633s # * @cancellable: (nullable): A #GCancellable or %NULL. 633s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 633s # * @user_data: User data to pass to @callback. 633s # * 633s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 633s # * 633s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 633s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 633s # * 633s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 633s # */ 633s # void 633s # org_project_useful_interface_proxy_new_for_bus ( 633s # GBusType bus_type, 633s # GDBusProxyFlags flags, 633s # const gchar *name, 633s # const gchar *object_path, 633s # GCancellable *cancellable, 633s # GAsyncReadyCallback callback, 633s # gpointer user_data) 633s # { 633s # g_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); 633s # } 633s # 633s # /** 633s # * org_project_useful_interface_proxy_new_for_bus_finish: 633s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 633s # * @error: Return location for error or %NULL 633s # * 633s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 633s # * 633s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 633s # */ 633s # OrgProjectUsefulInterface * 633s # org_project_useful_interface_proxy_new_for_bus_finish ( 633s # GAsyncResult *res, 633s # GError **error) 633s # { 633s # GObject *ret; 633s # GObject *source_object; 633s # source_object = g_async_result_get_source_object (res); 633s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 633s # g_object_unref (source_object); 633s # if (ret != NULL) 633s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 633s # else 633s # return NULL; 633s # } 633s # 633s # /** 633s # * org_project_useful_interface_proxy_new_for_bus_sync: 633s # * @bus_type: A #GBusType. 633s # * @flags: Flags from the #GDBusProxyFlags enumeration. 633s # * @name: A bus name (well-known or unique). 633s # * @object_path: An object path. 633s # * @cancellable: (nullable): A #GCancellable or %NULL. 633s # * @error: Return location for error or %NULL 633s # * 633s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 633s # * 633s # * The calling thread is blocked until a reply is received. 633s # * 633s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 633s # * 633s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 633s # */ 633s # OrgProjectUsefulInterface * 633s # org_project_useful_interface_proxy_new_for_bus_sync ( 633s # GBusType bus_type, 633s # GDBusProxyFlags flags, 633s # const gchar *name, 633s # const gchar *object_path, 633s # GCancellable *cancellable, 633s # GError **error) 633s # { 633s # GInitable *ret; 633s # 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); 633s # if (ret != NULL) 633s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 633s # else 633s # return NULL; 633s # } 633s # 633s # 633s # /* ------------------------------------------------------------------------ */ 633s # 633s # /** 633s # * OrgProjectUsefulInterfaceSkeleton: 633s # * 633s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 633s # */ 633s # 633s # /** 633s # * OrgProjectUsefulInterfaceSkeletonClass: 633s # * @parent_class: The parent class. 633s # * 633s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 633s # */ 633s # 633s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 633s # { 633s # GValue *properties; 633s # GList *changed_properties; 633s # GSource *changed_properties_idle_source; 633s # GMainContext *context; 633s # GMutex lock; 633s # }; 633s # 633s # static void 633s # _org_project_useful_interface_skeleton_handle_method_call ( 633s # GDBusConnection *connection G_GNUC_UNUSED, 633s # const gchar *sender G_GNUC_UNUSED, 633s # const gchar *object_path G_GNUC_UNUSED, 633s # const gchar *interface_name, 633s # const gchar *method_name, 633s # GVariant *parameters, 633s # GDBusMethodInvocation *invocation, 633s # gpointer user_data) 633s # { 633s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 633s # _ExtendedGDBusMethodInfo *info; 633s # GVariantIter iter; 633s # GVariant *child; 633s # GValue *paramv; 633s # gsize num_params; 633s # guint num_extra; 633s # gsize n; 633s # guint signal_id; 633s # GValue return_value = G_VALUE_INIT; 633s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 633s # g_assert (info != NULL); 633s # num_params = g_variant_n_children (parameters); 633s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 633s # n = 0; 633s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 633s # g_value_set_object (¶mv[n++], skeleton); 633s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 633s # g_value_set_object (¶mv[n++], invocation); 633s # if (info->pass_fdlist) 633s # { 633s # #ifdef G_OS_UNIX 633s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 633s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 633s # #else 633s # g_assert_not_reached (); 633s # #endif 633s # } 633s # g_variant_iter_init (&iter, parameters); 633s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 633s # { 633s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 633s # if (arg_info->use_gvariant) 633s # { 633s # g_value_init (¶mv[n], G_TYPE_VARIANT); 633s # g_value_set_variant (¶mv[n], child); 633s # n++; 633s # } 633s # else 633s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 633s # g_variant_unref (child); 633s # } 633s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 633s # g_value_init (&return_value, G_TYPE_BOOLEAN); 633s # g_signal_emitv (paramv, signal_id, 0, &return_value); 633s # if (!g_value_get_boolean (&return_value)) 633s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 633s # g_value_unset (&return_value); 633s # for (n = 0; n < num_params + num_extra; n++) 633s # g_value_unset (¶mv[n]); 633s # g_free (paramv); 633s # } 633s # 633s # static GVariant * 633s # _org_project_useful_interface_skeleton_handle_get_property ( 633s # GDBusConnection *connection G_GNUC_UNUSED, 633s # const gchar *sender G_GNUC_UNUSED, 633s # const gchar *object_path G_GNUC_UNUSED, 633s # const gchar *interface_name G_GNUC_UNUSED, 633s # const gchar *property_name, 633s # GError **error, 633s # gpointer user_data) 633s # { 633s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 633s # GValue value = G_VALUE_INIT; 633s # GParamSpec *pspec; 633s # _ExtendedGDBusPropertyInfo *info; 633s # GVariant *ret; 633s # ret = NULL; 633s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 633s # g_assert (info != NULL); 633s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 633s # if (pspec == NULL) 633s # { 633s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 633s # } 633s # else 633s # { 633s # g_value_init (&value, pspec->value_type); 633s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 633s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 633s # g_value_unset (&value); 633s # } 633s # return ret; 633s # } 633s # 633s # static gboolean 633s # _org_project_useful_interface_skeleton_handle_set_property ( 633s # GDBusConnection *connection G_GNUC_UNUSED, 633s # const gchar *sender G_GNUC_UNUSED, 633s # const gchar *object_path G_GNUC_UNUSED, 633s # const gchar *interface_name G_GNUC_UNUSED, 633s # const gchar *property_name, 633s # GVariant *variant, 633s # GError **error, 633s # gpointer user_data) 633s # { 633s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 633s # GValue value = G_VALUE_INIT; 633s # GParamSpec *pspec; 633s # _ExtendedGDBusPropertyInfo *info; 633s # gboolean ret; 633s # ret = FALSE; 633s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 633s # g_assert (info != NULL); 633s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 633s # if (pspec == NULL) 633s # { 633s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 633s # } 633s # else 633s # { 633s # if (info->use_gvariant) 633s # g_value_set_variant (&value, variant); 633s # else 633s # g_dbus_gvariant_to_gvalue (variant, &value); 633s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 633s # g_value_unset (&value); 633s # ret = TRUE; 633s # } 633s # return ret; 633s # } 633s # 633s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 633s # { 633s # _org_project_useful_interface_skeleton_handle_method_call, 633s # _org_project_useful_interface_skeleton_handle_get_property, 633s # _org_project_useful_interface_skeleton_handle_set_property, 633s # {NULL} 633s # }; 633s # 633s # static GDBusInterfaceInfo * 633s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 633s # { 633s # return org_project_useful_interface_interface_info (); 633s # } 633s # 633s # static GDBusInterfaceVTable * 633s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 633s # { 633s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 633s # } 633s # 633s # static GVariant * 633s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 633s # { 633s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 633s # 633s # GVariantBuilder builder; 633s # guint n; 633s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 633s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 633s # goto out; 633s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 633s # { 633s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 633s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 633s # { 633s # GVariant *value; 633s # 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); 633s # if (value != NULL) 633s # { 633s # g_variant_take_ref (value); 633s # g_variant_builder_add (&builder, "{sv}", info->name, value); 633s # g_variant_unref (value); 633s # } 633s # } 633s # } 633s # out: 633s # return g_variant_builder_end (&builder); 633s # } 633s # 633s # static void 633s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 633s # { 633s # } 633s # 633s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 633s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 633s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 633s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 633s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 633s # 633s # #else 633s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 633s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 633s # 633s # #endif 633s # static void 633s # org_project_useful_interface_skeleton_finalize (GObject *object) 633s # { 633s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 633s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 633s # if (skeleton->priv->changed_properties_idle_source != NULL) 633s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 633s # g_main_context_unref (skeleton->priv->context); 633s # g_mutex_clear (&skeleton->priv->lock); 633s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 633s # } 633s # 633s # static void 633s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 633s # { 633s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 633s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 633s # #else 633s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 633s # #endif 633s # 633s # g_mutex_init (&skeleton->priv->lock); 633s # skeleton->priv->context = g_main_context_ref_thread_default (); 633s # } 633s # 633s # static void 633s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 633s # { 633s # GObjectClass *gobject_class; 633s # GDBusInterfaceSkeletonClass *skeleton_class; 633s # 633s # gobject_class = G_OBJECT_CLASS (klass); 633s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 633s # 633s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 633s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 633s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 633s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 633s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 633s # 633s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 633s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 633s # #endif 633s # } 633s # 633s # static void 633s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 633s # { 633s # } 633s # 633s # /** 633s # * org_project_useful_interface_skeleton_new: 633s # * 633s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 633s # * 633s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 633s # */ 633s # OrgProjectUsefulInterface * 633s # org_project_useful_interface_skeleton_new (void) 633s # { 633s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 633s # } 633s # /tmp/tmp4un2rcj2/tmpcgcnwqda.xml: 633s # 633s # 633s # 633s # 633s # 633s # 633s # 633s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4un2rcj2/tmpcgcnwqda.xml', '--output', '-', '--body'] 633s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 633s # Output: /* 633s # * This file is generated by gdbus-codegen, do not modify it. 633s # * 633s # * The license of this code is the same as for the D-Bus interface description 633s # * it was derived from. Note that it links to GLib, so must comply with the 633s # * LGPL linking clauses. 633s # */ 633s # 633s # #ifdef HAVE_CONFIG_H 633s # # include "config.h" 633s # #endif 633s # 633s # #include 633s # #ifdef G_OS_UNIX 633s # # include 633s # #endif 633s # 633s # #ifdef G_ENABLE_DEBUG 633s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 633s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 633s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 633s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 633s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 633s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 633s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 633s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 633s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 633s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 633s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 633s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 633s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 633s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 633s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 633s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 633s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 633s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 633s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 633s # #else /* !G_ENABLE_DEBUG */ 633s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 633s # * Do not access GValues directly in your code. Instead, use the 633s # * g_value_get_*() functions 633s # */ 633s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 633s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 633s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 633s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 633s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 633s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 633s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 633s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 633s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 633s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 633s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 633s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 633s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 633s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 633s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 633s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 633s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 633s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 633s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 633s # #endif /* !G_ENABLE_DEBUG */ 633s # 633s # typedef struct 633s # { 633s # GDBusArgInfo parent_struct; 633s # gboolean use_gvariant; 633s # } _ExtendedGDBusArgInfo; 633s # 633s # typedef struct 633s # { 633s # GDBusMethodInfo parent_struct; 633s # const gchar *signal_name; 633s # gboolean pass_fdlist; 633s # } _ExtendedGDBusMethodInfo; 633s # 633s # typedef struct 633s # { 633s # GDBusSignalInfo parent_struct; 633s # const gchar *signal_name; 633s # } _ExtendedGDBusSignalInfo; 633s # 633s # typedef struct 633s # { 633s # GDBusPropertyInfo parent_struct; 633s # const gchar *hyphen_name; 633s # guint use_gvariant : 1; 633s # guint emits_changed_signal : 1; 633s # } _ExtendedGDBusPropertyInfo; 633s # 633s # typedef struct 633s # { 633s # GDBusInterfaceInfo parent_struct; 633s # const gchar *hyphen_name; 633s # } _ExtendedGDBusInterfaceInfo; 633s # 633s # typedef struct 633s # { 633s # const _ExtendedGDBusPropertyInfo *info; 633s # guint prop_id; 633s # GValue orig_value; /* the value before the change */ 633s # } ChangedProperty; 633s # 633s # static void 633s # _changed_property_free (ChangedProperty *data) 633s # { 633s # g_value_unset (&data->orig_value); 633s # g_free (data); 633s # } 633s # 633s # static gboolean 633s # _g_strv_equal0 (gchar **a, gchar **b) 633s # { 633s # gboolean ret = FALSE; 633s # guint n; 633s # if (a == NULL && b == NULL) 633s # { 633s # ret = TRUE; 633s # goto out; 633s # } 633s # if (a == NULL || b == NULL) 633s # goto out; 633s # if (g_strv_length (a) != g_strv_length (b)) 633s # goto out; 633s # for (n = 0; a[n] != NULL; n++) 633s # if (g_strcmp0 (a[n], b[n]) != 0) 633s # goto out; 633s # ret = TRUE; 633s # out: 633s # return ret; 633s # } 633s # 633s # static gboolean 633s # _g_variant_equal0 (GVariant *a, GVariant *b) 633s # { 633s # gboolean ret = FALSE; 633s # if (a == NULL && b == NULL) 633s # { 633s # ret = TRUE; 633s # goto out; 633s # } 633s # if (a == NULL || b == NULL) 633s # goto out; 633s # ret = g_variant_equal (a, b); 633s # out: 633s # return ret; 633s # } 633s # 633s # G_GNUC_UNUSED static gboolean 633s # _g_value_equal (const GValue *a, const GValue *b) 633s # { 633s # gboolean ret = FALSE; 633s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 633s # switch (G_VALUE_TYPE (a)) 633s # { 633s # case G_TYPE_BOOLEAN: 633s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 633s # break; 633s # case G_TYPE_UCHAR: 633s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 633s # break; 633s # case G_TYPE_INT: 633s # ret = (g_value_get_int (a) == g_value_get_int (b)); 633s # break; 633s # case G_TYPE_UINT: 633s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 633s # break; 633s # case G_TYPE_INT64: 633s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 633s # break; 633s # case G_TYPE_UINT64: 633s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 633s # break; 633s # case G_TYPE_DOUBLE: 633s # { 633s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 633s # gdouble da = g_value_get_double (a); 633s # gdouble db = g_value_get_double (b); 633s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 633s # } 633s # break; 633s # case G_TYPE_STRING: 633s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 633s # break; 633s # case G_TYPE_VARIANT: 633s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 633s # break; 633s # default: 633s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 633s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 633s # else 633s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 633s # break; 633s # } 633s # return ret; 633s # } 633s # 633s # static void 633s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 633s # GClosure *closure, 633s # GValue *return_value, 633s # unsigned int n_param_values, 633s # const GValue *param_values, 633s # void *invocation_hint G_GNUC_UNUSED, 633s # void *marshal_data) 633s # { 633s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 633s # (void *data1, 633s # GDBusMethodInvocation *arg_method_invocation, 633s # guchar arg_arg_y, 633s # void *data2); 633s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 633s # GCClosure *cc = (GCClosure*) closure; 633s # void *data1, *data2; 633s # gboolean v_return; 633s # 633s # g_return_if_fail (return_value != NULL); 633s # g_return_if_fail (n_param_values == 3); 633s # 633s # if (G_CCLOSURE_SWAP_DATA (closure)) 633s # { 633s # data1 = closure->data; 633s # data2 = g_value_peek_pointer (param_values + 0); 633s # } 633s # else 633s # { 633s # data1 = g_value_peek_pointer (param_values + 0); 633s # data2 = closure->data; 633s # } 633s # 633s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 633s # (marshal_data ? marshal_data : cc->callback); 633s # 633s # v_return = 633s # callback (data1, 633s # g_marshal_value_peek_object (param_values + 1), 633s # g_marshal_value_peek_uchar (param_values + 2), 633s # data2); 633s # 633s # g_value_set_boolean (return_value, v_return); 633s # } 633s # 633s # /* ------------------------------------------------------------------------ 633s # * Code for interface org.project.UsefulInterface 633s # * ------------------------------------------------------------------------ 633s # */ 633s # 633s # /** 633s # * SECTION:OrgProjectUsefulInterface 633s # * @title: OrgProjectUsefulInterface 633s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 633s # * 633s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 633s # */ 633s # 633s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 633s # 633s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 633s # { 633s # { 633s # -1, 633s # (gchar *) "arg_y", 633s # (gchar *) "y", 633s # NULL 633s # }, 633s # FALSE 633s # }; 633s # 633s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 633s # { 633s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 633s # NULL 633s # }; 633s # 633s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 633s # { 633s # { 633s # -1, 633s # (gchar *) "SingleArgMethodY", 633s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 633s # NULL, 633s # NULL 633s # }, 633s # "handle-single-arg-method-y", 633s # FALSE 633s # }; 633s # 633s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 633s # { 633s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 633s # NULL 633s # }; 633s # 633s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 633s # { 633s # { 633s # -1, 633s # (gchar *) "org.project.UsefulInterface", 633s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 633s # NULL, 633s # NULL, 633s # NULL 633s # }, 633s # "org-project-useful-interface", 633s # }; 633s # 633s # 633s # /** 633s # * org_project_useful_interface_interface_info: 633s # * 633s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 633s # * 633s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 633s # */ 633s # GDBusInterfaceInfo * 633s # org_project_useful_interface_interface_info (void) 633s # { 633s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 633s # } 633s # 633s # /** 633s # * org_project_useful_interface_override_properties: 633s # * @klass: The class structure for a #GObject derived class. 633s # * @property_id_begin: The property id to assign to the first overridden property. 633s # * 633s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 633s # * The properties are overridden in the order they are defined. 633s # * 633s # * Returns: The last property id. 633s # */ 633s # guint 633s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 633s # { 633s # return property_id_begin - 1; 633s # } 633s # 633s # 633s # inline static void 633s # org_project_useful_interface_method_marshal_single_arg_method_y ( 633s # GClosure *closure, 633s # GValue *return_value, 633s # unsigned int n_param_values, 633s # const GValue *param_values, 633s # void *invocation_hint, 633s # void *marshal_data) 633s # { 633s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 633s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 633s # } 633s # 633s # 633s # /** 633s # * OrgProjectUsefulInterface: 633s # * 633s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 633s # */ 633s # 633s # /** 633s # * OrgProjectUsefulInterfaceIface: 633s # * @parent_iface: The parent interface. 633s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 633s # * 633s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 633s # */ 633s # 633s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 633s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 633s # 633s # static void 633s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 633s # { 633s # /* GObject signals for incoming D-Bus method calls: */ 633s # /** 633s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 633s # * @object: A #OrgProjectUsefulInterface. 633s # * @invocation: A #GDBusMethodInvocation. 633s # * @arg_arg_y: Argument passed by remote caller. 633s # * 633s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 633s # * 633s # * 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. 633s # * 633s # * 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. 633s # */ 633s # g_signal_new ("handle-single-arg-method-y", 633s # G_TYPE_FROM_INTERFACE (iface), 633s # G_SIGNAL_RUN_LAST, 633s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 633s # g_signal_accumulator_true_handled, 633s # NULL, 633s # org_project_useful_interface_method_marshal_single_arg_method_y, 633s # G_TYPE_BOOLEAN, 633s # 2, 633s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 633s # 633s # } 633s # 633s # /** 633s # * org_project_useful_interface_call_single_arg_method_y: 633s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 633s # * @arg_arg_y: Argument to pass with the method invocation. 633s # * @cancellable: (nullable): A #GCancellable or %NULL. 633s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 633s # * @user_data: User data to pass to @callback. 633s # * 633s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 633s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 633s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 633s # * 633s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 633s # */ 633s # void 633s # org_project_useful_interface_call_single_arg_method_y ( 633s # OrgProjectUsefulInterface *proxy, 633s # guchar arg_arg_y, 633s # GCancellable *cancellable, 633s # GAsyncReadyCallback callback, 633s # gpointer user_data) 633s # { 633s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 633s # "SingleArgMethodY", 633s # g_variant_new ("(y)", 633s # arg_arg_y), 633s # G_DBUS_CALL_FLAGS_NONE, 633s # -1, 633s # cancellable, 633s # callback, 633s # user_data); 633s # } 633s # 633s # /** 633s # * org_project_useful_interface_call_single_arg_method_y_finish: 633s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 633s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 633s # * @error: Return location for error or %NULL. 633s # * 633s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 633s # * 633s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 633s # */ 633s # gboolean 633s # org_project_useful_interface_call_single_arg_method_y_finish ( 633s # OrgProjectUsefulInterface *proxy, 633s # GAsyncResult *res, 633s # GError **error) 633s # { 633s # GVariant *_ret; 633s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 633s # if (_ret == NULL) 633s # goto _out; 633s # g_variant_get (_ret, 633s # "()"); 633s # g_variant_unref (_ret); 633s # _out: 633s # return _ret != NULL; 633s # } 633s # 633s # /** 633s # * org_project_useful_interface_call_single_arg_method_y_sync: 633s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 633s # * @arg_arg_y: Argument to pass with the method invocation. 633s # * @cancellable: (nullable): A #GCancellable or %NULL. 633s # * @error: Return location for error or %NULL. 633s # * 633s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 633s # * 633s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 633s # * 633s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 633s # */ 633s # gboolean 633s # org_project_useful_interface_call_single_arg_method_y_sync ( 633s # OrgProjectUsefulInterface *proxy, 633s # guchar arg_arg_y, 633s # GCancellable *cancellable, 633s # GError **error) 633s # { 633s # GVariant *_ret; 633s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 633s # "SingleArgMethodY", 633s # g_variant_new ("(y)", 633s # arg_arg_y), 633s # G_DBUS_CALL_FLAGS_NONE, 633s # -1, 633s # cancellable, 633s # error); 633s # if (_ret == NULL) 633s # goto _out; 633s # g_variant_get (_ret, 633s # "()"); 633s # g_variant_unref (_ret); 633s # _out: 633s # return _ret != NULL; 633s # } 633s # 633s # /** 633s # * org_project_useful_interface_complete_single_arg_method_y: 633s # * @object: A #OrgProjectUsefulInterface. 633s # * @invocation: (transfer full): A #GDBusMethodInvocation. 633s # * 633s # * 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. 633s # * 633s # * This method will free @invocation, you cannot use it afterwards. 633s # */ 633s # void 633s # org_project_useful_interface_complete_single_arg_method_y ( 633s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 633s # GDBusMethodInvocation *invocation) 633s # { 633s # g_dbus_method_invocation_return_value (invocation, 633s # g_variant_new ("()")); 633s # } 633s # 633s # /* ------------------------------------------------------------------------ */ 633s # 633s # /** 633s # * OrgProjectUsefulInterfaceProxy: 633s # * 633s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 633s # */ 633s # 633s # /** 633s # * OrgProjectUsefulInterfaceProxyClass: 633s # * @parent_class: The parent class. 633s # * 633s # * Class structure for #OrgProjectUsefulInterfaceProxy. 633s # */ 633s # 633s # struct _OrgProjectUsefulInterfaceProxyPrivate 633s # { 633s # GData *qdata; 633s # }; 633s # 633s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 633s # 633s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 633s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 633s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 633s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 633s # 633s # #else 633s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 633s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 633s # 633s # #endif 633s # static void 633s # org_project_useful_interface_proxy_finalize (GObject *object) 633s # { 633s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 633s # g_datalist_clear (&proxy->priv->qdata); 633s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 633s # } 633s # 633s # static void 633s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 633s # guint prop_id G_GNUC_UNUSED, 633s # GValue *value G_GNUC_UNUSED, 633s # GParamSpec *pspec G_GNUC_UNUSED) 633s # { 633s # } 633s # 633s # static void 633s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 633s # guint prop_id G_GNUC_UNUSED, 633s # const GValue *value G_GNUC_UNUSED, 633s # GParamSpec *pspec G_GNUC_UNUSED) 633s # { 633s # } 633s # 633s # static void 633s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 633s # const gchar *sender_name G_GNUC_UNUSED, 633s # const gchar *signal_name, 633s # GVariant *parameters) 633s # { 633s # _ExtendedGDBusSignalInfo *info; 633s # GVariantIter iter; 633s # GVariant *child; 633s # GValue *paramv; 633s # gsize num_params; 633s # gsize n; 633s # guint signal_id; 633s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 633s # if (info == NULL) 633s # return; 633s # num_params = g_variant_n_children (parameters); 633s # paramv = g_new0 (GValue, num_params + 1); 633s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 633s # g_value_set_object (¶mv[0], proxy); 633s # g_variant_iter_init (&iter, parameters); 633s # n = 1; 633s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 633s # { 633s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 633s # if (arg_info->use_gvariant) 633s # { 633s # g_value_init (¶mv[n], G_TYPE_VARIANT); 633s # g_value_set_variant (¶mv[n], child); 633s # n++; 633s # } 633s # else 633s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 633s # g_variant_unref (child); 633s # } 633s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 633s # g_signal_emitv (paramv, signal_id, 0, NULL); 633s # for (n = 0; n < num_params + 1; n++) 633s # g_value_unset (¶mv[n]); 633s # g_free (paramv); 633s # } 633s # 633s # static void 633s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 633s # GVariant *changed_properties, 633s # const gchar *const *invalidated_properties) 633s # { 633s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 633s # guint n; 633s # const gchar *key; 633s # GVariantIter *iter; 633s # _ExtendedGDBusPropertyInfo *info; 633s # g_variant_get (changed_properties, "a{sv}", &iter); 633s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 633s # { 633s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 633s # g_datalist_remove_data (&proxy->priv->qdata, key); 633s # if (info != NULL) 633s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 633s # } 633s # g_variant_iter_free (iter); 633s # for (n = 0; invalidated_properties[n] != NULL; n++) 633s # { 633s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 633s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 633s # if (info != NULL) 633s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 633s # } 633s # } 633s # 633s # static void 633s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 633s # { 633s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 633s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 633s # #else 633s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 633s # #endif 633s # 633s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 633s # } 633s # 633s # static void 633s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 633s # { 633s # GObjectClass *gobject_class; 633s # GDBusProxyClass *proxy_class; 633s # 633s # gobject_class = G_OBJECT_CLASS (klass); 633s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 633s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 633s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 633s # 633s # proxy_class = G_DBUS_PROXY_CLASS (klass); 633s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 633s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 633s # 633s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 633s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 633s # #endif 633s # } 633s # 633s # static void 633s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 633s # { 633s # } 633s # 633s # /** 633s # * org_project_useful_interface_proxy_new: 633s # * @connection: A #GDBusConnection. 633s # * @flags: Flags from the #GDBusProxyFlags enumeration. 633s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 633s # * @object_path: An object path. 633s # * @cancellable: (nullable): A #GCancellable or %NULL. 633s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 633s # * @user_data: User data to pass to @callback. 633s # * 633s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 633s # * 633s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 633s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 633s # * 633s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 633s # */ 633s # void 633s # org_project_useful_interface_proxy_new ( 633s # GDBusConnection *connection, 633s # GDBusProxyFlags flags, 633s # const gchar *name, 633s # const gchar *object_path, 633s # GCancellable *cancellable, 633s # GAsyncReadyCallback callback, 633s # gpointer user_data) 633s # { 633s # g_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); 633s # } 633s # 633s # /** 633s # * org_project_useful_interface_proxy_new_finish: 633s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 633s # * @error: Return location for error or %NULL 633s # * 633s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 633s # * 633s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 633s # */ 633s # OrgProjectUsefulInterface * 633s # org_project_useful_interface_proxy_new_finish ( 633s # GAsyncResult *res, 633s # GError **error) 633s # { 633s # GObject *ret; 633s # GObject *source_object; 633s # source_object = g_async_result_get_source_object (res); 633s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 633s # g_object_unref (source_object); 633s # if (ret != NULL) 633s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 633s # else 633s # return NULL; 633s # } 633s # 633s # /** 633s # * org_project_useful_interface_proxy_new_sync: 633s # * @connection: A #GDBusConnection. 633s # * @flags: Flags from the #GDBusProxyFlags enumeration. 633s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 633s # * @object_path: An object path. 633s # * @cancellable: (nullable): A #GCancellable or %NULL. 633s # * @error: Return location for error or %NULL 633s # * 633s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 633s # * 633s # * The calling thread is blocked until a reply is received. 633s # * 633s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 633s # * 633s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 633s # */ 633s # OrgProjectUsefulInterface * 633s # org_project_useful_interface_proxy_new_sync ( 633s # GDBusConnection *connection, 633s # GDBusProxyFlags flags, 633s # const gchar *name, 633s # const gchar *object_path, 633s # GCancellable *cancellable, 633s # GError **error) 633s # { 633s # GInitable *ret; 633s # 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); 633s # if (ret != NULL) 633s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 633s # else 633s # return NULL; 633s # } 633s # 633s # 633s # /** 633s # * org_project_useful_interface_proxy_new_for_bus: 633s # * @bus_type: A #GBusType. 633s # * @flags: Flags from the #GDBusProxyFlags enumeration. 633s # * @name: A bus name (well-known or unique). 633s # * @object_path: An object path. 633s # * @cancellable: (nullable): A #GCancellable or %NULL. 633s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 633s # * @user_data: User data to pass to @callback. 633s # * 633s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 633s # * 633s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 633s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 633s # * 633s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 633s # */ 633s # void 633s # org_project_useful_interface_proxy_new_for_bus ( 633s # GBusType bus_type, 633s # GDBusProxyFlags flags, 633s # const gchar *name, 633s # const gchar *object_path, 633s # GCancellable *cancellable, 633s # GAsyncReadyCallback callback, 633s # gpointer user_data) 633s # { 633s # g_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); 633s # } 633s # 633s # /** 633s # * org_project_useful_interface_proxy_new_for_bus_finish: 633s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 633s # * @error: Return location for error or %NULL 633s # * 633s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 633s # * 633s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 633s # */ 633s # OrgProjectUsefulInterface * 633s # org_project_useful_interface_proxy_new_for_bus_finish ( 633s # GAsyncResult *res, 633s # GError **error) 633s # { 633s # GObject *ret; 633s # GObject *source_object; 633s # source_object = g_async_result_get_source_object (res); 633s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 633s # g_object_unref (source_object); 633s # if (ret != NULL) 633s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 633s # else 633s # return NULL; 633s # } 633s # 633s # /** 633s # * org_project_useful_interface_proxy_new_for_bus_sync: 633s # * @bus_type: A #GBusType. 633s # * @flags: Flags from the #GDBusProxyFlags enumeration. 633s # * @name: A bus name (well-known or unique). 633s # * @object_path: An object path. 633s # * @cancellable: (nullable): A #GCancellable or %NULL. 633s # * @error: Return location for error or %NULL 633s # * 633s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 633s # * 633s # * The calling thread is blocked until a reply is received. 633s # * 633s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 633s # * 633s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 633s # */ 633s # OrgProjectUsefulInterface * 633s # org_project_useful_interface_proxy_new_for_bus_sync ( 633s # GBusType bus_type, 633s # GDBusProxyFlags flags, 633s # const gchar *name, 633s # const gchar *object_path, 633s # GCancellable *cancellable, 633s # GError **error) 633s # { 633s # GInitable *ret; 633s # 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); 633s # if (ret != NULL) 633s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 633s # else 633s # return NULL; 633s # } 633s # 633s # 633s # /* ------------------------------------------------------------------------ */ 633s # 633s # /** 633s # * OrgProjectUsefulInterfaceSkeleton: 633s # * 633s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 633s # */ 633s # 633s # /** 633s # * OrgProjectUsefulInterfaceSkeletonClass: 633s # * @parent_class: The parent class. 633s # * 633s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 633s # */ 633s # 633s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 633s # { 633s # GValue *properties; 633s # GList *changed_properties; 633s # GSource *changed_properties_idle_source; 633s # GMainContext *context; 633s # GMutex lock; 633s # }; 633s # 633s # static void 633s # _org_project_useful_interface_skeleton_handle_method_call ( 633s # GDBusConnection *connection G_GNUC_UNUSED, 633s # const gchar *sender G_GNUC_UNUSED, 633s # const gchar *object_path G_GNUC_UNUSED, 633s # const gchar *interface_name, 633s # const gchar *method_name, 633s # GVariant *parameters, 633s # GDBusMethodInvocation *invocation, 633s # gpointer user_data) 633s # { 633s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 633s # _ExtendedGDBusMethodInfo *info; 633s # GVariantIter iter; 633s # GVariant *child; 633s # GValue *paramv; 633s # gsize num_params; 633s # guint num_extra; 633s # gsize n; 633s # guint signal_id; 633s # GValue return_value = G_VALUE_INIT; 633s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 633s # g_assert (info != NULL); 633s # num_params = g_variant_n_children (parameters); 633s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 633s # n = 0; 633s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 633s # g_value_set_object (¶mv[n++], skeleton); 633s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 633s # g_value_set_object (¶mv[n++], invocation); 633s # if (info->pass_fdlist) 633s # { 633s # #ifdef G_OS_UNIX 633s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 633s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 633s # #else 633s # g_assert_not_reached (); 633s # #endif 633s # } 633s # g_variant_iter_init (&iter, parameters); 633s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 633s # { 633s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 633s # if (arg_info->use_gvariant) 633s # { 633s # g_value_init (¶mv[n], G_TYPE_VARIANT); 633s # g_value_set_variant (¶mv[n], child); 633s # n++; 633s # } 633s # else 633s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 633s # g_variant_unref (child); 633s # } 633s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 633s # g_value_init (&return_value, G_TYPE_BOOLEAN); 633s # g_signal_emitv (paramv, signal_id, 0, &return_value); 633s # if (!g_value_get_boolean (&return_value)) 633s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 633s # g_value_unset (&return_value); 633s # for (n = 0; n < num_params + num_extra; n++) 633s # g_value_unset (¶mv[n]); 633s # g_free (paramv); 633s # } 633s # 633s # static GVariant * 633s # _org_project_useful_interface_skeleton_handle_get_property ( 633s # GDBusConnection *connection G_GNUC_UNUSED, 633s # const gchar *sender G_GNUC_UNUSED, 633s # const gchar *object_path G_GNUC_UNUSED, 633s # const gchar *interface_name G_GNUC_UNUSED, 633s # const gchar *property_name, 633s # GError **error, 633s # gpointer user_data) 633s # { 633s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 633s # GValue value = G_VALUE_INIT; 633s # GParamSpec *pspec; 633s # _ExtendedGDBusPropertyInfo *info; 633s # GVariant *ret; 633s # ret = NULL; 633s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 633s # g_assert (info != NULL); 633s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 633s # if (pspec == NULL) 633s # { 633s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 633s # } 633s # else 633s # { 633s # g_value_init (&value, pspec->value_type); 633s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 633s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 633s # g_value_unset (&value); 633s # } 633s # return ret; 633s # } 633s # 633s # static gboolean 633s # _org_project_useful_interface_skeleton_handle_set_property ( 633s # GDBusConnection *connection G_GNUC_UNUSED, 633s # const gchar *sender G_GNUC_UNUSED, 633s # const gchar *object_path G_GNUC_UNUSED, 633s # const gchar *interface_name G_GNUC_UNUSED, 633s # const gchar *property_name, 633s # GVariant *variant, 633s # GError **error, 633s # gpointer user_data) 633s # { 633s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 633s # GValue value = G_VALUE_INIT; 633s # GParamSpec *pspec; 633s # _ExtendedGDBusPropertyInfo *info; 633s # gboolean ret; 633s # ret = FALSE; 633s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 633s # g_assert (info != NULL); 633s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 633s # if (pspec == NULL) 633s # { 633s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 633s # } 633s # else 633s # { 633s # if (info->use_gvariant) 633s # g_value_set_variant (&value, variant); 633s # else 633s # g_dbus_gvariant_to_gvalue (variant, &value); 633s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 633s # g_value_unset (&value); 633s # ret = TRUE; 633s # } 633s # return ret; 633s # } 633s # 633s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 633s # { 633s # _org_project_useful_interface_skeleton_handle_method_call, 633s # _org_project_useful_interface_skeleton_handle_get_property, 633s # _org_project_useful_interface_skeleton_handle_set_property, 633s # {NULL} 633s # }; 633s # 633s # static GDBusInterfaceInfo * 633s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 633s # { 633s # return org_project_useful_interface_interface_info (); 633s # } 633s # 633s # static GDBusInterfaceVTable * 633s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 633s # { 633s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 633s # } 633s # 633s # static GVariant * 633s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 633s # { 633s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 633s # 633s # GVariantBuilder builder; 633s # guint n; 633s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 633s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 633s # goto out; 633s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 633s # { 633s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 633s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 633s # { 633s # GVariant *value; 633s # 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); 633s # if (value != NULL) 633s # { 633s # g_variant_take_ref (value); 633s # g_variant_builder_add (&builder, "{sv}", info->name, value); 633s # g_variant_unref (value); 633s # } 633s # } 633s # } 633s # out: 633s # return g_variant_builder_end (&builder); 633s # } 633s # 633s # static void 633s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 633s # { 633s # } 633s # 633s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 633s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 633s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 633s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 633s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 633s # 633s # #else 633s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 633s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 633s # 633s # #endif 633s # static void 633s # org_project_useful_interface_skeleton_finalize (GObject *object) 633s # { 633s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 633s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 633s # if (skeleton->priv->changed_properties_idle_source != NULL) 633s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 633s # g_main_context_unref (skeleton->priv->context); 633s # g_mutex_clear (&skeleton->priv->lock); 633s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 633s # } 633s # 633s # static void 633s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 633s # { 633s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 633s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 633s # #else 633s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 633s # #endif 633s # 633s # g_mutex_init (&skeleton->priv->lock); 633s # skeleton->priv->context = g_main_context_ref_thread_default (); 633s # } 633s # 633s # static void 633s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 633s # { 633s # GObjectClass *gobject_class; 633s # GDBusInterfaceSkeletonClass *skeleton_class; 633s # 633s # gobject_class = G_OBJECT_CLASS (klass); 633s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 633s # 633s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 633s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 633s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 633s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 633s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 633s # 633s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 633s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 633s # #endif 633s # } 633s # 633s # static void 633s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 633s # { 633s # } 633s # 633s # /** 633s # * org_project_useful_interface_skeleton_new: 633s # * 633s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 633s # * 633s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 633s # */ 633s # OrgProjectUsefulInterface * 633s # org_project_useful_interface_skeleton_new (void) 633s # { 633s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 633s # } 633s # /tmp/tmp4un2rcj2/tmprwf29ng4.xml: 633s # 633s # 633s # 633s # 633s # 633s # 633s # 633s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4un2rcj2/tmprwf29ng4.xml', '--output', '-', '--body'] 633s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 633s # Output: /* 633s # * This file is generated by gdbus-codegen, do not modify it. 633s # * 633s # * The license of this code is the same as for the D-Bus interface description 633s # * it was derived from. Note that it links to GLib, so must comply with the 633s # * LGPL linking clauses. 633s # */ 633s # 633s # #ifdef HAVE_CONFIG_H 633s # # include "config.h" 633s # #endif 633s # 633s # #include 633s # #ifdef G_OS_UNIX 633s # # include 633s # #endif 633s # 633s # #ifdef G_ENABLE_DEBUG 633s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 633s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 633s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 633s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 633s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 633s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 633s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 633s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 633s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 633s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 633s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 633s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 633s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 633s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 633s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 633s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 633s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 633s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 633s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 633s # #else /* !G_ENABLE_DEBUG */ 633s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 633s # * Do not access GValues directly in your code. Instead, use the 633s # * g_value_get_*() functions 633s # */ 633s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 633s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 633s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 633s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 633s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 633s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 633s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 633s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 633s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 633s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 633s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 633s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 633s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 633s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 633s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 633s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 633s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 633s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 633s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 633s # #endif /* !G_ENABLE_DEBUG */ 633s # 633s # typedef struct 633s # { 633s # GDBusArgInfo parent_struct; 633s # gboolean use_gvariant; 633s # } _ExtendedGDBusArgInfo; 633s # 633s # typedef struct 633s # { 633s # GDBusMethodInfo parent_struct; 633s # const gchar *signal_name; 633s # gboolean pass_fdlist; 633s # } _ExtendedGDBusMethodInfo; 633s # 633s # typedef struct 633s # { 633s # GDBusSignalInfo parent_struct; 633s # const gchar *signal_name; 633s # } _ExtendedGDBusSignalInfo; 633s # 633s # typedef struct 633s # { 633s # GDBusPropertyInfo parent_struct; 633s # const gchar *hyphen_name; 633s # guint use_gvariant : 1; 633s # guint emits_changed_signal : 1; 633s # } _ExtendedGDBusPropertyInfo; 633s # 633s # typedef struct 633s # { 633s # GDBusInterfaceInfo parent_struct; 633s # const gchar *hyphen_name; 633s # } _ExtendedGDBusInterfaceInfo; 633s # 633s # typedef struct 633s # { 633s # const _ExtendedGDBusPropertyInfo *info; 633s # guint prop_id; 633s # GValue orig_value; /* the value before the change */ 633s # } ChangedProperty; 633s # 633s # static void 633s # _changed_property_free (ChangedProperty *data) 633s # { 633s # g_value_unset (&data->orig_value); 633s # g_free (data); 633s # } 633s # 633s # static gboolean 633s # _g_strv_equal0 (gchar **a, gchar **b) 633s # { 633s # gboolean ret = FALSE; 633s # guint n; 633s # if (a == NULL && b == NULL) 633s # { 633s # ret = TRUE; 633s # goto out; 633s # } 633s # if (a == NULL || b == NULL) 633s # goto out; 633s # if (g_strv_length (a) != g_strv_length (b)) 633s # goto out; 633s # for (n = 0; a[n] != NULL; n++) 633s # if (g_strcmp0 (a[n], b[n]) != 0) 633s # goto out; 633s # ret = TRUE; 633s # out: 633s # return ret; 633s # } 633s # 633s # static gboolean 633s # _g_variant_equal0 (GVariant *a, GVariant *b) 633s # { 633s # gboolean ret = FALSE; 633s # if (a == NULL && b == NULL) 633s # { 633s # ret = TRUE; 633s # goto out; 633s # } 633s # if (a == NULL || b == NULL) 633s # goto out; 633s # ret = g_variant_equal (a, b); 633s # out: 633s # return ret; 633s # } 633s # 633s # G_GNUC_UNUSED static gboolean 633s # _g_value_equal (const GValue *a, const GValue *b) 633s # { 633s # gboolean ret = FALSE; 633s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 633s # switch (G_VALUE_TYPE (a)) 633s # { 633s # case G_TYPE_BOOLEAN: 633s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 633s # break; 633s # case G_TYPE_UCHAR: 633s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 633s # break; 633s # case G_TYPE_INT: 633s # ret = (g_value_get_int (a) == g_value_get_int (b)); 633s # break; 633s # case G_TYPE_UINT: 633s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 633s # break; 633s # case G_TYPE_INT64: 633s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 633s # break; 633s # case G_TYPE_UINT64: 633s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 633s # break; 633s # case G_TYPE_DOUBLE: 633s # { 633s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 633s # gdouble da = g_value_get_double (a); 633s # gdouble db = g_value_get_double (b); 633s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 633s # } 633s # break; 633s # case G_TYPE_STRING: 633s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 633s # break; 633s # case G_TYPE_VARIANT: 633s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 633s # break; 633s # default: 633s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 633s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 633s # else 633s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 633s # break; 633s # } 633s # return ret; 633s # } 633s # 633s # static void 633s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 633s # GClosure *closure, 633s # GValue *return_value, 633s # unsigned int n_param_values, 633s # const GValue *param_values, 633s # void *invocation_hint G_GNUC_UNUSED, 633s # void *marshal_data) 633s # { 633s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 633s # (void *data1, 633s # GDBusMethodInvocation *arg_method_invocation, 633s # gint16 arg_arg_n, 633s # void *data2); 633s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 633s # GCClosure *cc = (GCClosure*) closure; 633s # void *data1, *data2; 633s # gboolean v_return; 633s # 633s # g_return_if_fail (return_value != NULL); 633s # g_return_if_fail (n_param_values == 3); 633s # 633s # if (G_CCLOSURE_SWAP_DATA (closure)) 633s # { 633s # data1 = closure->data; 633s # data2 = g_value_peek_pointer (param_values + 0); 633s # } 633s # else 633s # { 633s # data1 = g_value_peek_pointer (param_values + 0); 633s # data2 = closure->data; 633s # } 633s # 633s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 633s # (marshal_data ? marshal_data : cc->callback); 633s # 633s # v_return = 633s # callback (data1, 633s # g_marshal_value_peek_object (param_values + 1), 633s # g_marshal_value_peek_int (param_values + 2), 633s # data2); 633s # 633s # g_value_set_boolean (return_value, v_return); 633s # } 633s # 633s # /* ------------------------------------------------------------------------ 633s # * Code for interface org.project.UsefulInterface 633s # * ------------------------------------------------------------------------ 633s # */ 633s # 633s # /** 633s # * SECTION:OrgProjectUsefulInterface 633s # * @title: OrgProjectUsefulInterface 633s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 633s # * 633s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 633s # */ 633s # 633s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 633s # 633s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 633s # { 633s # { 633s # -1, 633s # (gchar *) "arg_n", 633s # (gchar *) "n", 633s # NULL 633s # }, 633s # FALSE 633s # }; 633s # 633s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 633s # { 633s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 633s # NULL 633s # }; 633s # 633s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 633s # { 633s # { 633s # -1, 633s # (gchar *) "SingleArgMethodN", 633s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 633s # NULL, 633s # NULL 633s # }, 633s # "handle-single-arg-method-n", 633s # FALSE 633s # }; 633s # 633s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 633s # { 633s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 633s # NULL 633s # }; 633s # 633s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 633s # { 633s # { 633s # -1, 633s # (gchar *) "org.project.UsefulInterface", 633s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 633s # NULL, 633s # NULL, 633s # NULL 633s # }, 633s # "org-project-useful-interface", 633s # }; 633s # 633s # 633s # /** 633s # * org_project_useful_interface_interface_info: 633s # * 633s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 633s # * 633s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 633s # */ 633s # GDBusInterfaceInfo * 633s # org_project_useful_interface_interface_info (void) 633s # { 633s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 633s # } 633s # 633s # /** 633s # * org_project_useful_interface_override_properties: 633s # * @klass: The class structure for a #GObject derived class. 633s # * @property_id_begin: The property id to assign to the first overridden property. 633s # * 633s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 633s # * The properties are overridden in the order they are defined. 633s # * 633s # * Returns: The last property id. 633s # */ 633s # guint 633s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 633s # { 633s # return property_id_begin - 1; 633s # } 633s # 633s # 633s # inline static void 633s # org_project_useful_interface_method_marshal_single_arg_method_n ( 633s # GClosure *closure, 633s # GValue *return_value, 633s # unsigned int n_param_values, 633s # const GValue *param_values, 633s # void *invocation_hint, 633s # void *marshal_data) 633s # { 633s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 633s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 633s # } 633s # 633s # 633s # /** 633s # * OrgProjectUsefulInterface: 633s # * 633s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 633s # */ 633s # 633s # /** 633s # * OrgProjectUsefulInterfaceIface: 633s # * @parent_iface: The parent interface. 633s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 633s # * 633s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 633s # */ 633s # 633s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 633s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 633s # 633s # static void 633s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 633s # { 633s # /* GObject signals for incoming D-Bus method calls: */ 633s # /** 633s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 633s # * @object: A #OrgProjectUsefulInterface. 633s # * @invocation: A #GDBusMethodInvocation. 633s # * @arg_arg_n: Argument passed by remote caller. 633s # * 633s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 633s # * 633s # * 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. 633s # * 633s # * 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. 633s # */ 633s # g_signal_new ("handle-single-arg-method-n", 633s # G_TYPE_FROM_INTERFACE (iface), 633s # G_SIGNAL_RUN_LAST, 633s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 633s # g_signal_accumulator_true_handled, 633s # NULL, 633s # org_project_useful_interface_method_marshal_single_arg_method_n, 633s # G_TYPE_BOOLEAN, 633s # 2, 633s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 633s # 633s # } 633s # 633s # /** 633s # * org_project_useful_interface_call_single_arg_method_n: 633s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 633s # * @arg_arg_n: Argument to pass with the method invocation. 633s # * @cancellable: (nullable): A #GCancellable or %NULL. 633s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 633s # * @user_data: User data to pass to @callback. 633s # * 633s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 633s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 633s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 633s # * 633s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 633s # */ 633s # void 633s # org_project_useful_interface_call_single_arg_method_n ( 633s # OrgProjectUsefulInterface *proxy, 633s # gint16 arg_arg_n, 633s # GCancellable *cancellable, 633s # GAsyncReadyCallback callback, 633s # gpointer user_data) 633s # { 633s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 633s # "SingleArgMethodN", 633s # g_variant_new ("(n)", 633s # arg_arg_n), 633s # G_DBUS_CALL_FLAGS_NONE, 633s # -1, 633s # cancellable, 633s # callback, 633s # user_data); 633s # } 633s # 633s # /** 633s # * org_project_useful_interface_call_single_arg_method_n_finish: 633s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 633s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 633s # * @error: Return location for error or %NULL. 633s # * 633s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 633s # * 633s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 633s # */ 633s # gboolean 633s # org_project_useful_interface_call_single_arg_method_n_finish ( 633s # OrgProjectUsefulInterface *proxy, 633s # GAsyncResult *res, 633s # GError **error) 633s # { 633s # GVariant *_ret; 633s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 633s # if (_ret == NULL) 633s # goto _out; 633s # g_variant_get (_ret, 633s # "()"); 633s # g_variant_unref (_ret); 633s # _out: 633s # return _ret != NULL; 633s # } 633s # 633s # /** 633s # * org_project_useful_interface_call_single_arg_method_n_sync: 633s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 633s # * @arg_arg_n: Argument to pass with the method invocation. 633s # * @cancellable: (nullable): A #GCancellable or %NULL. 633s # * @error: Return location for error or %NULL. 633s # * 633s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 633s # * 633s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 633s # * 633s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 633s # */ 633s # gboolean 633s # org_project_useful_interface_call_single_arg_method_n_sync ( 633s # OrgProjectUsefulInterface *proxy, 633s # gint16 arg_arg_n, 633s # GCancellable *cancellable, 633s # GError **error) 633s # { 633s # GVariant *_ret; 633s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 633s # "SingleArgMethodN", 633s # g_variant_new ("(n)", 633s # arg_arg_n), 633s # G_DBUS_CALL_FLAGS_NONE, 633s # -1, 633s # cancellable, 633s # error); 633s # if (_ret == NULL) 633s # goto _out; 633s # g_variant_get (_ret, 633s # "()"); 633s # g_variant_unref (_ret); 633s # _out: 633s # return _ret != NULL; 633s # } 633s # 633s # /** 633s # * org_project_useful_interface_complete_single_arg_method_n: 633s # * @object: A #OrgProjectUsefulInterface. 633s # * @invocation: (transfer full): A #GDBusMethodInvocation. 633s # * 633s # * 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. 633s # * 633s # * This method will free @invocation, you cannot use it afterwards. 633s # */ 633s # void 633s # org_project_useful_interface_complete_single_arg_method_n ( 633s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 633s # GDBusMethodInvocation *invocation) 633s # { 633s # g_dbus_method_invocation_return_value (invocation, 633s # g_variant_new ("()")); 633s # } 633s # 633s # /* ------------------------------------------------------------------------ */ 633s # 633s # /** 633s # * OrgProjectUsefulInterfaceProxy: 633s # * 633s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 633s # */ 633s # 633s # /** 633s # * OrgProjectUsefulInterfaceProxyClass: 633s # * @parent_class: The parent class. 633s # * 633s # * Class structure for #OrgProjectUsefulInterfaceProxy. 633s # */ 633s # 633s # struct _OrgProjectUsefulInterfaceProxyPrivate 633s # { 633s # GData *qdata; 633s # }; 633s # 633s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 633s # 633s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 633s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 633s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 633s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 633s # 633s # #else 633s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 633s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 633s # 633s # #endif 633s # static void 633s # org_project_useful_interface_proxy_finalize (GObject *object) 633s # { 633s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 633s # g_datalist_clear (&proxy->priv->qdata); 633s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 633s # } 633s # 633s # static void 633s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 633s # guint prop_id G_GNUC_UNUSED, 633s # GValue *value G_GNUC_UNUSED, 633s # GParamSpec *pspec G_GNUC_UNUSED) 633s # { 633s # } 633s # 633s # static void 633s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 633s # guint prop_id G_GNUC_UNUSED, 633s # const GValue *value G_GNUC_UNUSED, 633s # GParamSpec *pspec G_GNUC_UNUSED) 633s # { 633s # } 633s # 633s # static void 633s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 633s # const gchar *sender_name G_GNUC_UNUSED, 633s # const gchar *signal_name, 633s # GVariant *parameters) 633s # { 633s # _ExtendedGDBusSignalInfo *info; 633s # GVariantIter iter; 633s # GVariant *child; 633s # GValue *paramv; 633s # gsize num_params; 633s # gsize n; 633s # guint signal_id; 633s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 633s # if (info == NULL) 633s # return; 633s # num_params = g_variant_n_children (parameters); 633s # paramv = g_new0 (GValue, num_params + 1); 633s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 633s # g_value_set_object (¶mv[0], proxy); 633s # g_variant_iter_init (&iter, parameters); 633s # n = 1; 633s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 633s # { 633s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 633s # if (arg_info->use_gvariant) 633s # { 633s # g_value_init (¶mv[n], G_TYPE_VARIANT); 633s # g_value_set_variant (¶mv[n], child); 633s # n++; 633s # } 633s # else 633s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 633s # g_variant_unref (child); 633s # } 633s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 633s # g_signal_emitv (paramv, signal_id, 0, NULL); 633s # for (n = 0; n < num_params + 1; n++) 633s # g_value_unset (¶mv[n]); 633s # g_free (paramv); 633s # } 633s # 633s # static void 633s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 633s # GVariant *changed_properties, 633s # const gchar *const *invalidated_properties) 633s # { 633s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 633s # guint n; 633s # const gchar *key; 633s # GVariantIter *iter; 633s # _ExtendedGDBusPropertyInfo *info; 633s # g_variant_get (changed_properties, "a{sv}", &iter); 633s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 633s # { 633s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 633s # g_datalist_remove_data (&proxy->priv->qdata, key); 633s # if (info != NULL) 633s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 633s # } 633s # g_variant_iter_free (iter); 633s # for (n = 0; invalidated_properties[n] != NULL; n++) 633s # { 633s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 633s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 633s # if (info != NULL) 633s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 633s # } 633s # } 633s # 633s # static void 633s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 633s # { 633s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 633s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 633s # #else 633s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 633s # #endif 633s # 633s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 633s # } 633s # 633s # static void 633s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 633s # { 633s # GObjectClass *gobject_class; 633s # GDBusProxyClass *proxy_class; 633s # 633s # gobject_class = G_OBJECT_CLASS (klass); 633s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 633s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 633s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 633s # 633s # proxy_class = G_DBUS_PROXY_CLASS (klass); 633s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 633s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 633s # 633s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 633s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 633s # #endif 633s # } 633s # 633s # static void 633s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 633s # { 633s # } 633s # 633s # /** 633s # * org_project_useful_interface_proxy_new: 633s # * @connection: A #GDBusConnection. 633s # * @flags: Flags from the #GDBusProxyFlags enumeration. 633s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 633s # * @object_path: An object path. 633s # * @cancellable: (nullable): A #GCancellable or %NULL. 633s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 633s # * @user_data: User data to pass to @callback. 633s # * 633s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 633s # * 633s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 633s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 633s # * 633s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 633s # */ 633s # void 633s # org_project_useful_interface_proxy_new ( 633s # GDBusConnection *connection, 633s # GDBusProxyFlags flags, 633s # const gchar *name, 633s # const gchar *object_path, 633s # GCancellable *cancellable, 633s # GAsyncReadyCallback callback, 633s # gpointer user_data) 633s # { 633s # g_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); 633s # } 633s # 633s # /** 633s # * org_project_useful_interface_proxy_new_finish: 633s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 633s # * @error: Return location for error or %NULL 633s # * 633s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 633s # * 633s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 633s # */ 633s # OrgProjectUsefulInterface * 633s # org_project_useful_interface_proxy_new_finish ( 633s # GAsyncResult *res, 633s # GError **error) 633s # { 633s # GObject *ret; 633s # GObject *source_object; 633s # source_object = g_async_result_get_source_object (res); 633s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 633s # g_object_unref (source_object); 633s # if (ret != NULL) 633s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 633s # else 633s # return NULL; 633s # } 633s # 633s # /** 633s # * org_project_useful_interface_proxy_new_sync: 633s # * @connection: A #GDBusConnection. 633s # * @flags: Flags from the #GDBusProxyFlags enumeration. 633s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 633s # * @object_path: An object path. 633s # * @cancellable: (nullable): A #GCancellable or %NULL. 633s # * @error: Return location for error or %NULL 633s # * 633s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 633s # * 633s # * The calling thread is blocked until a reply is received. 633s # * 633s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 633s # * 633s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 633s # */ 633s # OrgProjectUsefulInterface * 633s # org_project_useful_interface_proxy_new_sync ( 633s # GDBusConnection *connection, 633s # GDBusProxyFlags flags, 633s # const gchar *name, 633s # const gchar *object_path, 633s # GCancellable *cancellable, 633s # GError **error) 633s # { 633s # GInitable *ret; 633s # 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); 633s # if (ret != NULL) 633s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 633s # else 633s # return NULL; 633s # } 633s # 633s # 633s # /** 633s # * org_project_useful_interface_proxy_new_for_bus: 633s # * @bus_type: A #GBusType. 633s # * @flags: Flags from the #GDBusProxyFlags enumeration. 633s # * @name: A bus name (well-known or unique). 633s # * @object_path: An object path. 633s # * @cancellable: (nullable): A #GCancellable or %NULL. 633s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 633s # * @user_data: User data to pass to @callback. 633s # * 633s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 633s # * 633s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 633s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 633s # * 633s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 633s # */ 633s # void 633s # org_project_useful_interface_proxy_new_for_bus ( 633s # GBusType bus_type, 633s # GDBusProxyFlags flags, 633s # const gchar *name, 633s # const gchar *object_path, 633s # GCancellable *cancellable, 633s # GAsyncReadyCallback callback, 633s # gpointer user_data) 633s # { 633s # g_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); 633s # } 633s # 633s # /** 633s # * org_project_useful_interface_proxy_new_for_bus_finish: 633s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 633s # * @error: Return location for error or %NULL 633s # * 633s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 633s # * 633s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 633s # */ 633s # OrgProjectUsefulInterface * 633s # org_project_useful_interface_proxy_new_for_bus_finish ( 633s # GAsyncResult *res, 633s # GError **error) 633s # { 633s # GObject *ret; 633s # GObject *source_object; 633s # source_object = g_async_result_get_source_object (res); 633s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 633s # g_object_unref (source_object); 633s # if (ret != NULL) 633s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 633s # else 633s # return NULL; 633s # } 633s # 633s # /** 633s # * org_project_useful_interface_proxy_new_for_bus_sync: 633s # * @bus_type: A #GBusType. 633s # * @flags: Flags from the #GDBusProxyFlags enumeration. 633s # * @name: A bus name (well-known or unique). 633s # * @object_path: An object path. 633s # * @cancellable: (nullable): A #GCancellable or %NULL. 633s # * @error: Return location for error or %NULL 633s # * 633s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 633s # * 633s # * The calling thread is blocked until a reply is received. 633s # * 633s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 633s # * 633s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 633s # */ 633s # OrgProjectUsefulInterface * 633s # org_project_useful_interface_proxy_new_for_bus_sync ( 633s # GBusType bus_type, 633s # GDBusProxyFlags flags, 633s # const gchar *name, 633s # const gchar *object_path, 633s # GCancellable *cancellable, 633s # GError **error) 633s # { 633s # GInitable *ret; 633s # 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); 633s # if (ret != NULL) 633s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 633s # else 633s # return NULL; 633s # } 633s # 633s # 633s # /* ------------------------------------------------------------------------ */ 633s # 633s # /** 633s # * OrgProjectUsefulInterfaceSkeleton: 633s # * 633s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 633s # */ 633s # 633s # /** 633s # * OrgProjectUsefulInterfaceSkeletonClass: 633s # * @parent_class: The parent class. 633s # * 633s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 633s # */ 633s # 633s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 633s # { 633s # GValue *properties; 633s # GList *changed_properties; 633s # GSource *changed_properties_idle_source; 633s # GMainContext *context; 633s # GMutex lock; 633s # }; 633s # 633s # static void 633s # _org_project_useful_interface_skeleton_handle_method_call ( 633s # GDBusConnection *connection G_GNUC_UNUSED, 633s # const gchar *sender G_GNUC_UNUSED, 633s # const gchar *object_path G_GNUC_UNUSED, 633s # const gchar *interface_name, 633s # const gchar *method_name, 633s # GVariant *parameters, 633s # GDBusMethodInvocation *invocation, 633s # gpointer user_data) 633s # { 633s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 633s # _ExtendedGDBusMethodInfo *info; 633s # GVariantIter iter; 633s # GVariant *child; 633s # GValue *paramv; 633s # gsize num_params; 633s # guint num_extra; 633s # gsize n; 633s # guint signal_id; 633s # GValue return_value = G_VALUE_INIT; 633s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 633s # g_assert (info != NULL); 633s # num_params = g_variant_n_children (parameters); 633s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 633s # n = 0; 633s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 633s # g_value_set_object (¶mv[n++], skeleton); 633s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 633s # g_value_set_object (¶mv[n++], invocation); 633s # if (info->pass_fdlist) 633s # { 633s # #ifdef G_OS_UNIX 633s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 633s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 633s # #else 633s # g_assert_not_reached (); 633s # #endif 633s # } 633s # g_variant_iter_init (&iter, parameters); 633s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 633s # { 633s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 633s # if (arg_info->use_gvariant) 633s # { 633s # g_value_init (¶mv[n], G_TYPE_VARIANT); 633s # g_value_set_variant (¶mv[n], child); 633s # n++; 633s # } 633s # else 633s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 633s # g_variant_unref (child); 633s # } 633s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 633s # g_value_init (&return_value, G_TYPE_BOOLEAN); 633s # g_signal_emitv (paramv, signal_id, 0, &return_value); 633s # if (!g_value_get_boolean (&return_value)) 633s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 633s # g_value_unset (&return_value); 633s # for (n = 0; n < num_params + num_extra; n++) 633s # g_value_unset (¶mv[n]); 633s # g_free (paramv); 633s # } 633s # 633s # static GVariant * 633s # _org_project_useful_interface_skeleton_handle_get_property ( 633s # GDBusConnection *connection G_GNUC_UNUSED, 633s # const gchar *sender G_GNUC_UNUSED, 633s # const gchar *object_path G_GNUC_UNUSED, 633s # const gchar *interface_name G_GNUC_UNUSED, 633s # const gchar *property_name, 633s # GError **error, 633s # gpointer user_data) 633s # { 633s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 633s # GValue value = G_VALUE_INIT; 633s # GParamSpec *pspec; 633s # _ExtendedGDBusPropertyInfo *info; 633s # GVariant *ret; 633s # ret = NULL; 633s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 633s # g_assert (info != NULL); 633s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 633s # if (pspec == NULL) 633s # { 633s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 633s # } 633s # else 633s # { 633s # g_value_init (&value, pspec->value_type); 633s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 633s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 633s # g_value_unset (&value); 633s # } 633s # return ret; 633s # } 633s # 633s # static gboolean 633s # _org_project_useful_interface_skeleton_handle_set_property ( 633s # GDBusConnection *connection G_GNUC_UNUSED, 633s # const gchar *sender G_GNUC_UNUSED, 633s # const gchar *object_path G_GNUC_UNUSED, 633s # const gchar *interface_name G_GNUC_UNUSED, 633s # const gchar *property_name, 633s # GVariant *variant, 633s # GError **error, 633s # gpointer user_data) 633s # { 633s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 633s # GValue value = G_VALUE_INIT; 633s # GParamSpec *pspec; 633s # _ExtendedGDBusPropertyInfo *info; 633s # gboolean ret; 633s # ret = FALSE; 633s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 633s # g_assert (info != NULL); 633s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 633s # if (pspec == NULL) 633s # { 633s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 633s # } 633s # else 633s # { 633s # if (info->use_gvariant) 633s # g_value_set_variant (&value, variant); 633s # else 633s # g_dbus_gvariant_to_gvalue (variant, &value); 633s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 633s # g_value_unset (&value); 633s # ret = TRUE; 633s # } 633s # return ret; 633s # } 633s # 633s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 633s # { 633s # _org_project_useful_interface_skeleton_handle_method_call, 633s # _org_project_useful_interface_skeleton_handle_get_property, 633s # _org_project_useful_interface_skeleton_handle_set_property, 633s # {NULL} 633s # }; 633s # 633s # static GDBusInterfaceInfo * 633s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 633s # { 633s # return org_project_useful_interface_interface_info (); 633s # } 633s # 633s # static GDBusInterfaceVTable * 633s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 633s # { 633s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 633s # } 633s # 633s # static GVariant * 633s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 633s # { 633s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 633s # 633s # GVariantBuilder builder; 633s # guint n; 633s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 633s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 633s # goto out; 633s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 633s # { 633s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 633s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 633s # { 633s # GVariant *value; 633s # 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); 633s # if (value != NULL) 633s # { 633s # g_variant_take_ref (value); 633s # g_variant_builder_add (&builder, "{sv}", info->name, value); 633s # g_variant_unref (value); 633s # } 633s # } 633s # } 633s # out: 633s # return g_variant_builder_end (&builder); 633s # } 633s # 633s # static void 633s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 633s # { 633s # } 633s # 633s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 633s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 633s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 633s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 633s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 633s # 633s # #else 633s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 633s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 633s # 633s # #endif 633s # static void 633s # org_project_useful_interface_skeleton_finalize (GObject *object) 633s # { 633s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 633s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 633s # if (skeleton->priv->changed_properties_idle_source != NULL) 633s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 633s # g_main_context_unref (skeleton->priv->context); 633s # g_mutex_clear (&skeleton->priv->lock); 633s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 633s # } 633s # 633s # static void 633s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 633s # { 633s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 633s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 633s # #else 633s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 633s # #endif 633s # 633s # g_mutex_init (&skeleton->priv->lock); 633s # skeleton->priv->context = g_main_context_ref_thread_default (); 633s # } 633s # 633s # static void 633s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 633s # { 633s # GObjectClass *gobject_class; 633s # GDBusInterfaceSkeletonClass *skeleton_class; 633s # 633s # gobject_class = G_OBJECT_CLASS (klass); 633s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 633s # 633s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 633s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 633s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 633s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 633s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 633s # 633s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 633s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 633s # #endif 633s # } 633s # 633s # static void 633s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 633s # { 633s # } 633s # 633s # /** 633s # * org_project_useful_interface_skeleton_new: 633s # * 633s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 633s # * 633s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 633s # */ 633s # OrgProjectUsefulInterface * 633s # org_project_useful_interface_skeleton_new (void) 633s # { 633s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 633s # } 633s # /tmp/tmp4un2rcj2/tmpu8jun8jm.xml: 633s # 633s # 633s # 633s # 633s # 633s # 633s # 633s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4un2rcj2/tmpu8jun8jm.xml', '--output', '-', '--body'] 633s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 633s # Output: /* 633s # * This file is generated by gdbus-codegen, do not modify it. 633s # * 633s # * The license of this code is the same as for the D-Bus interface description 633s # * it was derived from. Note that it links to GLib, so must comply with the 633s # * LGPL linking clauses. 633s # */ 633s # 633s # #ifdef HAVE_CONFIG_H 633s # # include "config.h" 633s # #endif 633s # 633s # #include 633s # #ifdef G_OS_UNIX 633s # # include 633s # #endif 633s # 633s # #ifdef G_ENABLE_DEBUG 633s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 633s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 633s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 633s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 633s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 633s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 633s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 633s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 633s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 633s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 633s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 633s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 633s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 633s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 633s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 633s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 633s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 633s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 633s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 633s # #else /* !G_ENABLE_DEBUG */ 633s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 633s # * Do not access GValues directly in your code. Instead, use the 633s # * g_value_get_*() functions 633s # */ 633s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 633s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 633s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 633s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 633s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 633s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 633s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 633s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 633s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 633s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 633s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 633s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 633s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 633s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 633s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 633s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 633s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 633s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 633s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 633s # #endif /* !G_ENABLE_DEBUG */ 633s # 633s # typedef struct 633s # { 633s # GDBusArgInfo parent_struct; 633s # gboolean use_gvariant; 633s # } _ExtendedGDBusArgInfo; 633s # 633s # typedef struct 633s # { 633s # GDBusMethodInfo parent_struct; 633s # const gchar *signal_name; 633s # gboolean pass_fdlist; 633s # } _ExtendedGDBusMethodInfo; 633s # 633s # typedef struct 633s # { 633s # GDBusSignalInfo parent_struct; 633s # const gchar *signal_name; 633s # } _ExtendedGDBusSignalInfo; 633s # 633s # typedef struct 633s # { 633s # GDBusPropertyInfo parent_struct; 633s # const gchar *hyphen_name; 633s # guint use_gvariant : 1; 633s # guint emits_changed_signal : 1; 633s # } _ExtendedGDBusPropertyInfo; 633s # 633s # typedef struct 633s # { 633s # GDBusInterfaceInfo parent_struct; 633s # const gchar *hyphen_name; 633s # } _ExtendedGDBusInterfaceInfo; 633s # 633s # typedef struct 633s # { 633s # const _ExtendedGDBusPropertyInfo *info; 633s # guint prop_id; 633s # GValue orig_value; /* the value before the change */ 633s # } ChangedProperty; 633s # 633s # static void 633s # _changed_property_free (ChangedProperty *data) 633s # { 633s # g_value_unset (&data->orig_value); 633s # g_free (data); 633s # } 633s # 633s # static gboolean 633s # _g_strv_equal0 (gchar **a, gchar **b) 633s # { 633s # gboolean ret = FALSE; 633s # guint n; 633s # if (a == NULL && b == NULL) 633s # { 633s # ret = TRUE; 633s # goto out; 633s # } 633s # if (a == NULL || b == NULL) 633s # goto out; 633s # if (g_strv_length (a) != g_strv_length (b)) 633s # goto out; 633s # for (n = 0; a[n] != NULL; n++) 633s # if (g_strcmp0 (a[n], b[n]) != 0) 633s # goto out; 633s # ret = TRUE; 633s # out: 633s # return ret; 633s # } 633s # 633s # static gboolean 633s # _g_variant_equal0 (GVariant *a, GVariant *b) 633s # { 633s # gboolean ret = FALSE; 633s # if (a == NULL && b == NULL) 633s # { 633s # ret = TRUE; 633s # goto out; 633s # } 633s # if (a == NULL || b == NULL) 633s # goto out; 633s # ret = g_variant_equal (a, b); 633s # out: 633s # return ret; 633s # } 633s # 633s # G_GNUC_UNUSED static gboolean 633s # _g_value_equal (const GValue *a, const GValue *b) 633s # { 633s # gboolean ret = FALSE; 633s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 633s # switch (G_VALUE_TYPE (a)) 633s # { 633s # case G_TYPE_BOOLEAN: 633s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 633s # break; 633s # case G_TYPE_UCHAR: 633s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 633s # break; 633s # case G_TYPE_INT: 633s # ret = (g_value_get_int (a) == g_value_get_int (b)); 633s # break; 633s # case G_TYPE_UINT: 633s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 633s # break; 633s # case G_TYPE_INT64: 633s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 633s # break; 633s # case G_TYPE_UINT64: 633s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 633s # break; 633s # case G_TYPE_DOUBLE: 633s # { 633s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 633s # gdouble da = g_value_get_double (a); 633s # gdouble db = g_value_get_double (b); 633s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 633s # } 633s # break; 633s # case G_TYPE_STRING: 633s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 633s # break; 633s # case G_TYPE_VARIANT: 633s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 633s # break; 633s # default: 633s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 633s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 633s # else 633s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 633s # break; 633s # } 633s # return ret; 633s # } 633s # 633s # static void 633s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 633s # GClosure *closure, 633s # GValue *return_value, 633s # unsigned int n_param_values, 633s # const GValue *param_values, 633s # void *invocation_hint G_GNUC_UNUSED, 633s # void *marshal_data) 633s # { 633s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 633s # (void *data1, 633s # GDBusMethodInvocation *arg_method_invocation, 633s # guint16 arg_arg_q, 633s # void *data2); 633s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 633s # GCClosure *cc = (GCClosure*) closure; 633s # void *data1, *data2; 633s # gboolean v_return; 633s # 633s # g_return_if_fail (return_value != NULL); 633s # g_return_if_fail (n_param_values == 3); 633s # 633s # if (G_CCLOSURE_SWAP_DATA (closure)) 633s # { 633s # data1 = closure->data; 633s # data2 = g_value_peek_pointer (param_values + 0); 633s # } 633s # else 633s # { 633s # data1 = g_value_peek_pointer (param_values + 0); 633s # data2 = closure->data; 633s # } 633s # 633s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 633s # (marshal_data ? marshal_data : cc->callback); 633s # 633s # v_return = 633s # callback (data1, 633s # g_marshal_value_peek_object (param_values + 1), 633s # g_marshal_value_peek_uint (param_values + 2), 633s # data2); 633s # 633s # g_value_set_boolean (return_value, v_return); 633s # } 633s # 633s # /* ------------------------------------------------------------------------ 633s # * Code for interface org.project.UsefulInterface 633s # * ------------------------------------------------------------------------ 633s # */ 633s # 633s # /** 633s # * SECTION:OrgProjectUsefulInterface 633s # * @title: OrgProjectUsefulInterface 633s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 633s # * 633s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 633s # */ 633s # 633s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 633s # 633s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 633s # { 633s # { 633s # -1, 633s # (gchar *) "arg_q", 633s # (gchar *) "q", 633s # NULL 633s # }, 633s # FALSE 633s # }; 633s # 633s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 633s # { 633s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 633s # NULL 633s # }; 633s # 633s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 633s # { 633s # { 633s # -1, 633s # (gchar *) "SingleArgMethodQ", 633s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 633s # NULL, 633s # NULL 633s # }, 633s # "handle-single-arg-method-q", 633s # FALSE 633s # }; 633s # 633s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 633s # { 633s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 633s # NULL 633s # }; 633s # 633s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 633s # { 633s # { 633s # -1, 633s # (gchar *) "org.project.UsefulInterface", 633s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 633s # NULL, 633s # NULL, 633s # NULL 633s # }, 633s # "org-project-useful-interface", 633s # }; 633s # 633s # 633s # /** 633s # * org_project_useful_interface_interface_info: 633s # * 633s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 633s # * 633s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 633s # */ 633s # GDBusInterfaceInfo * 633s # org_project_useful_interface_interface_info (void) 633s # { 633s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 633s # } 633s # 633s # /** 633s # * org_project_useful_interface_override_properties: 633s # * @klass: The class structure for a #GObject derived class. 633s # * @property_id_begin: The property id to assign to the first overridden property. 633s # * 633s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 633s # * The properties are overridden in the order they are defined. 633s # * 633s # * Returns: The last property id. 633s # */ 633s # guint 633s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 633s # { 633s # return property_id_begin - 1; 633s # } 633s # 633s # 633s # inline static void 633s # org_project_useful_interface_method_marshal_single_arg_method_q ( 633s # GClosure *closure, 633s # GValue *return_value, 633s # unsigned int n_param_values, 633s # const GValue *param_values, 633s # void *invocation_hint, 633s # void *marshal_data) 633s # { 633s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 633s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 633s # } 633s # 633s # 633s # /** 633s # * OrgProjectUsefulInterface: 633s # * 633s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 633s # */ 633s # 633s # /** 633s # * OrgProjectUsefulInterfaceIface: 633s # * @parent_iface: The parent interface. 633s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 633s # * 633s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 633s # */ 633s # 633s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 633s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 633s # 633s # static void 633s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 633s # { 633s # /* GObject signals for incoming D-Bus method calls: */ 633s # /** 633s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 633s # * @object: A #OrgProjectUsefulInterface. 633s # * @invocation: A #GDBusMethodInvocation. 633s # * @arg_arg_q: Argument passed by remote caller. 633s # * 633s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 633s # * 633s # * 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. 633s # * 633s # * 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. 633s # */ 633s # g_signal_new ("handle-single-arg-method-q", 633s # G_TYPE_FROM_INTERFACE (iface), 633s # G_SIGNAL_RUN_LAST, 633s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 633s # g_signal_accumulator_true_handled, 633s # NULL, 633s # org_project_useful_interface_method_marshal_single_arg_method_q, 633s # G_TYPE_BOOLEAN, 633s # 2, 633s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 633s # 633s # } 633s # 633s # /** 633s # * org_project_useful_interface_call_single_arg_method_q: 633s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 633s # * @arg_arg_q: Argument to pass with the method invocation. 633s # * @cancellable: (nullable): A #GCancellable or %NULL. 633s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 633s # * @user_data: User data to pass to @callback. 633s # * 633s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 633s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 633s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 633s # * 633s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 633s # */ 633s # void 633s # org_project_useful_interface_call_single_arg_method_q ( 633s # OrgProjectUsefulInterface *proxy, 633s # guint16 arg_arg_q, 633s # GCancellable *cancellable, 633s # GAsyncReadyCallback callback, 633s # gpointer user_data) 633s # { 633s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 633s # "SingleArgMethodQ", 633s # g_variant_new ("(q)", 633s # arg_arg_q), 633s # G_DBUS_CALL_FLAGS_NONE, 633s # -1, 633s # cancellable, 633s # callback, 633s # user_data); 633s # } 633s # 633s # /** 633s # * org_project_useful_interface_call_single_arg_method_q_finish: 633s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 633s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 633s # * @error: Return location for error or %NULL. 633s # * 633s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 633s # * 633s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 633s # */ 633s # gboolean 633s # org_project_useful_interface_call_single_arg_method_q_finish ( 633s # OrgProjectUsefulInterface *proxy, 633s # GAsyncResult *res, 633s # GError **error) 633s # { 633s # GVariant *_ret; 633s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 633s # if (_ret == NULL) 633s # goto _out; 633s # g_variant_get (_ret, 633s # "()"); 633s # g_variant_unref (_ret); 633s # _out: 633s # return _ret != NULL; 633s # } 633s # 633s # /** 633s # * org_project_useful_interface_call_single_arg_method_q_sync: 633s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 633s # * @arg_arg_q: Argument to pass with the method invocation. 633s # * @cancellable: (nullable): A #GCancellable or %NULL. 633s # * @error: Return location for error or %NULL. 633s # * 633s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 633s # * 633s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 633s # * 633s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 633s # */ 633s # gboolean 633s # org_project_useful_interface_call_single_arg_method_q_sync ( 633s # OrgProjectUsefulInterface *proxy, 633s # guint16 arg_arg_q, 633s # GCancellable *cancellable, 633s # GError **error) 633s # { 633s # GVariant *_ret; 633s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 633s # "SingleArgMethodQ", 633s # g_variant_new ("(q)", 633s # arg_arg_q), 633s # G_DBUS_CALL_FLAGS_NONE, 633s # -1, 633s # cancellable, 633s # error); 633s # if (_ret == NULL) 633s # goto _out; 633s # g_variant_get (_ret, 633s # "()"); 633s # g_variant_unref (_ret); 633s # _out: 633s # return _ret != NULL; 633s # } 633s # 633s # /** 633s # * org_project_useful_interface_complete_single_arg_method_q: 633s # * @object: A #OrgProjectUsefulInterface. 633s # * @invocation: (transfer full): A #GDBusMethodInvocation. 633s # * 633s # * 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. 633s # * 633s # * This method will free @invocation, you cannot use it afterwards. 633s # */ 633s # void 633s # org_project_useful_interface_complete_single_arg_method_q ( 633s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 633s # GDBusMethodInvocation *invocation) 633s # { 633s # g_dbus_method_invocation_return_value (invocation, 633s # g_variant_new ("()")); 633s # } 633s # 633s # /* ------------------------------------------------------------------------ */ 633s # 633s # /** 633s # * OrgProjectUsefulInterfaceProxy: 633s # * 633s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 633s # */ 633s # 633s # /** 633s # * OrgProjectUsefulInterfaceProxyClass: 633s # * @parent_class: The parent class. 633s # * 633s # * Class structure for #OrgProjectUsefulInterfaceProxy. 633s # */ 633s # 633s # struct _OrgProjectUsefulInterfaceProxyPrivate 633s # { 633s # GData *qdata; 633s # }; 633s # 633s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 633s # 633s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 633s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 633s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 633s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 633s # 633s # #else 633s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 633s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 633s # 633s # #endif 633s # static void 633s # org_project_useful_interface_proxy_finalize (GObject *object) 633s # { 633s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 633s # g_datalist_clear (&proxy->priv->qdata); 633s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 633s # } 633s # 633s # static void 633s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 633s # guint prop_id G_GNUC_UNUSED, 633s # GValue *value G_GNUC_UNUSED, 633s # GParamSpec *pspec G_GNUC_UNUSED) 633s # { 633s # } 633s # 633s # static void 633s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 633s # guint prop_id G_GNUC_UNUSED, 633s # const GValue *value G_GNUC_UNUSED, 633s # GParamSpec *pspec G_GNUC_UNUSED) 633s # { 633s # } 633s # 633s # static void 633s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 633s # const gchar *sender_name G_GNUC_UNUSED, 633s # const gchar *signal_name, 633s # GVariant *parameters) 633s # { 633s # _ExtendedGDBusSignalInfo *info; 633s # GVariantIter iter; 633s # GVariant *child; 633s # GValue *paramv; 633s # gsize num_params; 633s # gsize n; 633s # guint signal_id; 633s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 633s # if (info == NULL) 633s # return; 633s # num_params = g_variant_n_children (parameters); 633s # paramv = g_new0 (GValue, num_params + 1); 633s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 633s # g_value_set_object (¶mv[0], proxy); 633s # g_variant_iter_init (&iter, parameters); 633s # n = 1; 633s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 633s # { 633s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 633s # if (arg_info->use_gvariant) 633s # { 633s # g_value_init (¶mv[n], G_TYPE_VARIANT); 633s # g_value_set_variant (¶mv[n], child); 633s # n++; 633s # } 633s # else 633s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 633s # g_variant_unref (child); 633s # } 633s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 633s # g_signal_emitv (paramv, signal_id, 0, NULL); 633s # for (n = 0; n < num_params + 1; n++) 633s # g_value_unset (¶mv[n]); 633s # g_free (paramv); 633s # } 633s # 633s # static void 633s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 633s # GVariant *changed_properties, 633s # const gchar *const *invalidated_properties) 633s # { 633s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 633s # guint n; 633s # const gchar *key; 633s # GVariantIter *iter; 633s # _ExtendedGDBusPropertyInfo *info; 633s # g_variant_get (changed_properties, "a{sv}", &iter); 633s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 633s # { 633s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 633s # g_datalist_remove_data (&proxy->priv->qdata, key); 633s # if (info != NULL) 633s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 633s # } 633s # g_variant_iter_free (iter); 633s # for (n = 0; invalidated_properties[n] != NULL; n++) 633s # { 633s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 633s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 633s # if (info != NULL) 633s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 633s # } 633s # } 633s # 633s # static void 633s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 633s # { 633s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 633s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 633s # #else 633s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 633s # #endif 633s # 633s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 633s # } 633s # 633s # static void 633s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 633s # { 633s # GObjectClass *gobject_class; 633s # GDBusProxyClass *proxy_class; 633s # 633s # gobject_class = G_OBJECT_CLASS (klass); 633s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 633s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 633s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 633s # 633s # proxy_class = G_DBUS_PROXY_CLASS (klass); 633s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 633s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 633s # 633s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 633s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 633s # #endif 633s # } 633s # 633s # static void 633s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 633s # { 633s # } 633s # 633s # /** 633s # * org_project_useful_interface_proxy_new: 633s # * @connection: A #GDBusConnection. 633s # * @flags: Flags from the #GDBusProxyFlags enumeration. 633s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 633s # * @object_path: An object path. 633s # * @cancellable: (nullable): A #GCancellable or %NULL. 633s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 633s # * @user_data: User data to pass to @callback. 633s # * 633s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 633s # * 633s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 633s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 633s # * 633s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 633s # */ 633s # void 633s # org_project_useful_interface_proxy_new ( 633s # GDBusConnection *connection, 633s # GDBusProxyFlags flags, 633s # const gchar *name, 633s # const gchar *object_path, 633s # GCancellable *cancellable, 633s # GAsyncReadyCallback callback, 633s # gpointer user_data) 633s # { 633s # g_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); 633s # } 633s # 633s # /** 633s # * org_project_useful_interface_proxy_new_finish: 633s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 633s # * @error: Return location for error or %NULL 633s # * 633s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 633s # * 633s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 633s # */ 633s # OrgProjectUsefulInterface * 633s # org_project_useful_interface_proxy_new_finish ( 633s # GAsyncResult *res, 633s # GError **error) 633s # { 633s # GObject *ret; 633s # GObject *source_object; 633s # source_object = g_async_result_get_source_object (res); 633s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 633s # g_object_unref (source_object); 633s # if (ret != NULL) 633s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 633s # else 633s # return NULL; 633s # } 633s # 633s # /** 633s # * org_project_useful_interface_proxy_new_sync: 633s # * @connection: A #GDBusConnection. 633s # * @flags: Flags from the #GDBusProxyFlags enumeration. 633s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 633s # * @object_path: An object path. 633s # * @cancellable: (nullable): A #GCancellable or %NULL. 633s # * @error: Return location for error or %NULL 633s # * 633s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 633s # * 633s # * The calling thread is blocked until a reply is received. 633s # * 633s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 633s # * 633s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 633s # */ 633s # OrgProjectUsefulInterface * 633s # org_project_useful_interface_proxy_new_sync ( 633s # GDBusConnection *connection, 633s # GDBusProxyFlags flags, 633s # const gchar *name, 633s # const gchar *object_path, 633s # GCancellable *cancellable, 633s # GError **error) 633s # { 633s # GInitable *ret; 633s # 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); 633s # if (ret != NULL) 633s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 633s # else 633s # return NULL; 633s # } 633s # 633s # 633s # /** 633s # * org_project_useful_interface_proxy_new_for_bus: 633s # * @bus_type: A #GBusType. 633s # * @flags: Flags from the #GDBusProxyFlags enumeration. 633s # * @name: A bus name (well-known or unique). 633s # * @object_path: An object path. 633s # * @cancellable: (nullable): A #GCancellable or %NULL. 633s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 633s # * @user_data: User data to pass to @callback. 633s # * 633s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 633s # * 633s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 633s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 633s # * 633s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 633s # */ 633s # void 633s # org_project_useful_interface_proxy_new_for_bus ( 633s # GBusType bus_type, 633s # GDBusProxyFlags flags, 633s # const gchar *name, 633s # const gchar *object_path, 633s # GCancellable *cancellable, 633s # GAsyncReadyCallback callback, 633s # gpointer user_data) 633s # { 633s # g_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); 633s # } 633s # 633s # /** 633s # * org_project_useful_interface_proxy_new_for_bus_finish: 633s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 633s # * @error: Return location for error or %NULL 633s # * 633s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 633s # * 633s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 633s # */ 633s # OrgProjectUsefulInterface * 633s # org_project_useful_interface_proxy_new_for_bus_finish ( 633s # GAsyncResult *res, 633s # GError **error) 633s # { 633s # GObject *ret; 633s # GObject *source_object; 633s # source_object = g_async_result_get_source_object (res); 633s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 633s # g_object_unref (source_object); 633s # if (ret != NULL) 633s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 633s # else 633s # return NULL; 633s # } 633s # 633s # /** 633s # * org_project_useful_interface_proxy_new_for_bus_sync: 633s # * @bus_type: A #GBusType. 633s # * @flags: Flags from the #GDBusProxyFlags enumeration. 633s # * @name: A bus name (well-known or unique). 633s # * @object_path: An object path. 633s # * @cancellable: (nullable): A #GCancellable or %NULL. 633s # * @error: Return location for error or %NULL 633s # * 633s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 633s # * 633s # * The calling thread is blocked until a reply is received. 633s # * 633s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 633s # * 633s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 633s # */ 633s # OrgProjectUsefulInterface * 633s # org_project_useful_interface_proxy_new_for_bus_sync ( 633s # GBusType bus_type, 633s # GDBusProxyFlags flags, 633s # const gchar *name, 633s # const gchar *object_path, 633s # GCancellable *cancellable, 633s # GError **error) 633s # { 633s # GInitable *ret; 633s # 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); 633s # if (ret != NULL) 633s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 633s # else 633s # return NULL; 633s # } 633s # 633s # 633s # /* ------------------------------------------------------------------------ */ 633s # 633s # /** 633s # * OrgProjectUsefulInterfaceSkeleton: 633s # * 633s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 633s # */ 633s # 633s # /** 633s # * OrgProjectUsefulInterfaceSkeletonClass: 633s # * @parent_class: The parent class. 633s # * 633s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 633s # */ 633s # 633s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 633s # { 633s # GValue *properties; 633s # GList *changed_properties; 633s # GSource *changed_properties_idle_source; 633s # GMainContext *context; 633s # GMutex lock; 633s # }; 633s # 633s # static void 633s # _org_project_useful_interface_skeleton_handle_method_call ( 633s # GDBusConnection *connection G_GNUC_UNUSED, 633s # const gchar *sender G_GNUC_UNUSED, 633s # const gchar *object_path G_GNUC_UNUSED, 633s # const gchar *interface_name, 633s # const gchar *method_name, 633s # GVariant *parameters, 633s # GDBusMethodInvocation *invocation, 633s # gpointer user_data) 633s # { 633s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 633s # _ExtendedGDBusMethodInfo *info; 633s # GVariantIter iter; 633s # GVariant *child; 633s # GValue *paramv; 633s # gsize num_params; 633s # guint num_extra; 633s # gsize n; 633s # guint signal_id; 633s # GValue return_value = G_VALUE_INIT; 633s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 633s # g_assert (info != NULL); 633s # num_params = g_variant_n_children (parameters); 633s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 633s # n = 0; 633s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 633s # g_value_set_object (¶mv[n++], skeleton); 633s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 633s # g_value_set_object (¶mv[n++], invocation); 633s # if (info->pass_fdlist) 633s # { 633s # #ifdef G_OS_UNIX 633s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 633s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 633s # #else 633s # g_assert_not_reached (); 633s # #endif 633s # } 633s # g_variant_iter_init (&iter, parameters); 633s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 633s # { 633s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 633s # if (arg_info->use_gvariant) 633s # { 633s # g_value_init (¶mv[n], G_TYPE_VARIANT); 633s # g_value_set_variant (¶mv[n], child); 633s # n++; 633s # } 633s # else 633s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 633s # g_variant_unref (child); 633s # } 633s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 633s # g_value_init (&return_value, G_TYPE_BOOLEAN); 633s # g_signal_emitv (paramv, signal_id, 0, &return_value); 633s # if (!g_value_get_boolean (&return_value)) 633s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 633s # g_value_unset (&return_value); 633s # for (n = 0; n < num_params + num_extra; n++) 633s # g_value_unset (¶mv[n]); 633s # g_free (paramv); 633s # } 633s # 633s # static GVariant * 633s # _org_project_useful_interface_skeleton_handle_get_property ( 633s # GDBusConnection *connection G_GNUC_UNUSED, 633s # const gchar *sender G_GNUC_UNUSED, 633s # const gchar *object_path G_GNUC_UNUSED, 633s # const gchar *interface_name G_GNUC_UNUSED, 633s # const gchar *property_name, 633s # GError **error, 633s # gpointer user_data) 633s # { 633s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 633s # GValue value = G_VALUE_INIT; 633s # GParamSpec *pspec; 633s # _ExtendedGDBusPropertyInfo *info; 633s # GVariant *ret; 633s # ret = NULL; 633s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 633s # g_assert (info != NULL); 633s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 633s # if (pspec == NULL) 633s # { 633s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 633s # } 633s # else 633s # { 633s # g_value_init (&value, pspec->value_type); 633s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 633s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 633s # g_value_unset (&value); 633s # } 633s # return ret; 633s # } 633s # 633s # static gboolean 633s # _org_project_useful_interface_skeleton_handle_set_property ( 633s # GDBusConnection *connection G_GNUC_UNUSED, 633s # const gchar *sender G_GNUC_UNUSED, 633s # const gchar *object_path G_GNUC_UNUSED, 633s # const gchar *interface_name G_GNUC_UNUSED, 633s # const gchar *property_name, 633s # GVariant *variant, 633s # GError **error, 633s # gpointer user_data) 633s # { 633s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 633s # GValue value = G_VALUE_INIT; 633s # GParamSpec *pspec; 633s # _ExtendedGDBusPropertyInfo *info; 633s # gboolean ret; 633s # ret = FALSE; 633s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 633s # g_assert (info != NULL); 633s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 633s # if (pspec == NULL) 633s # { 633s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 633s # } 633s # else 633s # { 633s # if (info->use_gvariant) 633s # g_value_set_variant (&value, variant); 633s # else 633s # g_dbus_gvariant_to_gvalue (variant, &value); 633s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 633s # g_value_unset (&value); 633s # ret = TRUE; 633s # } 633s # return ret; 633s # } 633s # 633s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 633s # { 633s # _org_project_useful_interface_skeleton_handle_method_call, 633s # _org_project_useful_interface_skeleton_handle_get_property, 633s # _org_project_useful_interface_skeleton_handle_set_property, 633s # {NULL} 633s # }; 633s # 633s # static GDBusInterfaceInfo * 633s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 633s # { 633s # return org_project_useful_interface_interface_info (); 633s # } 633s # 633s # static GDBusInterfaceVTable * 633s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 633s # { 633s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 633s # } 633s # 633s # static GVariant * 633s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 633s # { 633s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 633s # 633s # GVariantBuilder builder; 633s # guint n; 633s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 633s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 633s # goto out; 633s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 633s # { 633s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 633s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 633s # { 633s # GVariant *value; 633s # 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); 633s # if (value != NULL) 633s # { 633s # g_variant_take_ref (value); 633s # g_variant_builder_add (&builder, "{sv}", info->name, value); 633s # g_variant_unref (value); 633s # } 633s # } 633s # } 633s # out: 633s # return g_variant_builder_end (&builder); 633s # } 633s # 633s # static void 633s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 633s # { 633s # } 633s # 633s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 633s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 633s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 633s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 633s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 633s # 633s # #else 633s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 633s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 633s # 633s # #endif 633s # static void 633s # org_project_useful_interface_skeleton_finalize (GObject *object) 633s # { 633s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 633s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 633s # if (skeleton->priv->changed_properties_idle_source != NULL) 633s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 633s # g_main_context_unref (skeleton->priv->context); 633s # g_mutex_clear (&skeleton->priv->lock); 633s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 633s # } 633s # 633s # static void 633s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 633s # { 633s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 633s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 633s # #else 633s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 633s # #endif 633s # 633s # g_mutex_init (&skeleton->priv->lock); 633s # skeleton->priv->context = g_main_context_ref_thread_default (); 633s # } 633s # 633s # static void 633s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 633s # { 633s # GObjectClass *gobject_class; 633s # GDBusInterfaceSkeletonClass *skeleton_class; 633s # 633s # gobject_class = G_OBJECT_CLASS (klass); 633s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 633s # 633s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 633s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 633s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 633s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 633s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 633s # 633s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 633s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 633s # #endif 633s # } 633s # 633s # static void 633s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 633s # { 633s # } 633s # 633s # /** 633s # * org_project_useful_interface_skeleton_new: 633s # * 633s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 633s # * 633s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 633s # */ 633s # OrgProjectUsefulInterface * 633s # org_project_useful_interface_skeleton_new (void) 633s # { 633s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 633s # } 633s # /tmp/tmp4un2rcj2/tmpkan3ubk_.xml: 633s # 633s # 633s # 633s # 633s # 633s # 633s # 633s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4un2rcj2/tmpkan3ubk_.xml', '--output', '-', '--body'] 633s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 633s # Output: /* 633s # * This file is generated by gdbus-codegen, do not modify it. 633s # * 633s # * The license of this code is the same as for the D-Bus interface description 633s # * it was derived from. Note that it links to GLib, so must comply with the 633s # * LGPL linking clauses. 633s # */ 633s # 633s # #ifdef HAVE_CONFIG_H 633s # # include "config.h" 633s # #endif 633s # 633s # #include 633s # #ifdef G_OS_UNIX 633s # # include 633s # #endif 633s # 633s # #ifdef G_ENABLE_DEBUG 633s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 633s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 633s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 633s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 633s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 633s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 633s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 633s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 633s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 633s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 633s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 633s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 633s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 633s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 633s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 633s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 633s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 633s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 633s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 633s # #else /* !G_ENABLE_DEBUG */ 633s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 633s # * Do not access GValues directly in your code. Instead, use the 633s # * g_value_get_*() functions 633s # */ 633s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 633s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 633s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 633s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 633s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 633s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 633s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 633s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 633s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 633s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 633s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 633s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 633s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 633s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 633s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 633s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 633s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 633s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 633s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 633s # #endif /* !G_ENABLE_DEBUG */ 633s # 633s # typedef struct 633s # { 633s # GDBusArgInfo parent_struct; 633s # gboolean use_gvariant; 633s # } _ExtendedGDBusArgInfo; 633s # 633s # typedef struct 633s # { 633s # GDBusMethodInfo parent_struct; 633s # const gchar *signal_name; 633s # gboolean pass_fdlist; 633s # } _ExtendedGDBusMethodInfo; 633s # 633s # typedef struct 633s # { 633s # GDBusSignalInfo parent_struct; 633s # const gchar *signal_name; 633s # } _ExtendedGDBusSignalInfo; 633s # 633s # typedef struct 633s # { 633s # GDBusPropertyInfo parent_struct; 633s # const gchar *hyphen_name; 633s # guint use_gvariant : 1; 633s # guint emits_changed_signal : 1; 633s # } _ExtendedGDBusPropertyInfo; 633s # 633s # typedef struct 633s # { 633s # GDBusInterfaceInfo parent_struct; 633s # const gchar *hyphen_name; 633s # } _ExtendedGDBusInterfaceInfo; 633s # 633s # typedef struct 633s # { 633s # const _ExtendedGDBusPropertyInfo *info; 633s # guint prop_id; 633s # GValue orig_value; /* the value before the change */ 633s # } ChangedProperty; 633s # 633s # static void 633s # _changed_property_free (ChangedProperty *data) 633s # { 633s # g_value_unset (&data->orig_value); 633s # g_free (data); 633s # } 633s # 633s # static gboolean 633s # _g_strv_equal0 (gchar **a, gchar **b) 633s # { 633s # gboolean ret = FALSE; 633s # guint n; 633s # if (a == NULL && b == NULL) 633s # { 633s # ret = TRUE; 633s # goto out; 633s # } 633s # if (a == NULL || b == NULL) 633s # goto out; 633s # if (g_strv_length (a) != g_strv_length (b)) 633s # goto out; 633s # for (n = 0; a[n] != NULL; n++) 633s # if (g_strcmp0 (a[n], b[n]) != 0) 633s # goto out; 633s # ret = TRUE; 633s # out: 633s # return ret; 633s # } 633s # 633s # static gboolean 633s # _g_variant_equal0 (GVariant *a, GVariant *b) 633s # { 633s # gboolean ret = FALSE; 633s # if (a == NULL && b == NULL) 633s # { 633s # ret = TRUE; 633s # goto out; 633s # } 633s # if (a == NULL || b == NULL) 633s # goto out; 633s # ret = g_variant_equal (a, b); 633s # out: 633s # return ret; 633s # } 633s # 633s # G_GNUC_UNUSED static gboolean 633s # _g_value_equal (const GValue *a, const GValue *b) 633s # { 633s # gboolean ret = FALSE; 633s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 633s # switch (G_VALUE_TYPE (a)) 633s # { 633s # case G_TYPE_BOOLEAN: 633s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 633s # break; 633s # case G_TYPE_UCHAR: 633s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 633s # break; 633s # case G_TYPE_INT: 633s # ret = (g_value_get_int (a) == g_value_get_int (b)); 633s # break; 633s # case G_TYPE_UINT: 633s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 633s # break; 633s # case G_TYPE_INT64: 633s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 633s # break; 633s # case G_TYPE_UINT64: 633s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 633s # break; 633s # case G_TYPE_DOUBLE: 633s # { 633s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 633s # gdouble da = g_value_get_double (a); 633s # gdouble db = g_value_get_double (b); 633s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 633s # } 633s # break; 633s # case G_TYPE_STRING: 633s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 633s # break; 633s # case G_TYPE_VARIANT: 633s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 633s # break; 633s # default: 633s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 633s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 633s # else 633s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 633s # break; 633s # } 633s # return ret; 633s # } 633s # 633s # static void 633s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 633s # GClosure *closure, 633s # GValue *return_value, 633s # unsigned int n_param_values, 633s # const GValue *param_values, 633s # void *invocation_hint G_GNUC_UNUSED, 633s # void *marshal_data) 633s # { 633s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 633s # (void *data1, 633s # GDBusMethodInvocation *arg_method_invocation, 633s # gint arg_arg_i, 633s # void *data2); 633s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 633s # GCClosure *cc = (GCClosure*) closure; 633s # void *data1, *data2; 633s # gboolean v_return; 633s # 633s # g_return_if_fail (return_value != NULL); 633s # g_return_if_fail (n_param_values == 3); 633s # 633s # if (G_CCLOSURE_SWAP_DATA (closure)) 633s # { 633s # data1 = closure->data; 633s # data2 = g_value_peek_pointer (param_values + 0); 633s # } 633s # else 633s # { 633s # data1 = g_value_peek_pointer (param_values + 0); 633s # data2 = closure->data; 633s # } 633s # 633s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 633s # (marshal_data ? marshal_data : cc->callback); 633s # 633s # v_return = 633s # callback (data1, 633s # g_marshal_value_peek_object (param_values + 1), 633s # g_marshal_value_peek_int (param_values + 2), 633s # data2); 633s # 633s # g_value_set_boolean (return_value, v_return); 633s # } 633s # 633s # /* ------------------------------------------------------------------------ 633s # * Code for interface org.project.UsefulInterface 633s # * ------------------------------------------------------------------------ 633s # */ 633s # 633s # /** 633s # * SECTION:OrgProjectUsefulInterface 633s # * @title: OrgProjectUsefulInterface 633s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 633s # * 633s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 633s # */ 633s # 633s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 633s # 633s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 633s # { 633s # { 633s # -1, 633s # (gchar *) "arg_i", 633s # (gchar *) "i", 633s # NULL 633s # }, 633s # FALSE 633s # }; 633s # 633s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 633s # { 633s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 633s # NULL 633s # }; 633s # 633s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 633s # { 633s # { 633s # -1, 633s # (gchar *) "SingleArgMethodI", 633s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 633s # NULL, 633s # NULL 633s # }, 633s # "handle-single-arg-method-i", 633s # FALSE 633s # }; 633s # 633s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 633s # { 633s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 633s # NULL 633s # }; 633s # 633s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 633s # { 633s # { 633s # -1, 633s # (gchar *) "org.project.UsefulInterface", 633s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 633s # NULL, 633s # NULL, 633s # NULL 633s # }, 633s # "org-project-useful-interface", 633s # }; 633s # 633s # 633s # /** 633s # * org_project_useful_interface_interface_info: 633s # * 634s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 634s # * 634s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 634s # */ 634s # GDBusInterfaceInfo * 634s # org_project_useful_interface_interface_info (void) 634s # { 634s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 634s # } 634s # 634s # /** 634s # * org_project_useful_interface_override_properties: 634s # * @klass: The class structure for a #GObject derived class. 634s # * @property_id_begin: The property id to assign to the first overridden property. 634s # * 634s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 634s # * The properties are overridden in the order they are defined. 634s # * 634s # * Returns: The last property id. 634s # */ 634s # guint 634s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 634s # { 634s # return property_id_begin - 1; 634s # } 634s # 634s # 634s # inline static void 634s # org_project_useful_interface_method_marshal_single_arg_method_i ( 634s # GClosure *closure, 634s # GValue *return_value, 634s # unsigned int n_param_values, 634s # const GValue *param_values, 634s # void *invocation_hint, 634s # void *marshal_data) 634s # { 634s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 634s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 634s # } 634s # 634s # 634s # /** 634s # * OrgProjectUsefulInterface: 634s # * 634s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 634s # */ 634s # 634s # /** 634s # * OrgProjectUsefulInterfaceIface: 634s # * @parent_iface: The parent interface. 634s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 634s # * 634s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 634s # */ 634s # 634s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 634s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 634s # 634s # static void 634s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 634s # { 634s # /* GObject signals for incoming D-Bus method calls: */ 634s # /** 634s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 634s # * @object: A #OrgProjectUsefulInterface. 634s # * @invocation: A #GDBusMethodInvocation. 634s # * @arg_arg_i: Argument passed by remote caller. 634s # * 634s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 634s # * 634s # * 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. 634s # * 634s # * 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. 634s # */ 634s # g_signal_new ("handle-single-arg-method-i", 634s # G_TYPE_FROM_INTERFACE (iface), 634s # G_SIGNAL_RUN_LAST, 634s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 634s # g_signal_accumulator_true_handled, 634s # NULL, 634s # org_project_useful_interface_method_marshal_single_arg_method_i, 634s # G_TYPE_BOOLEAN, 634s # 2, 634s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 634s # 634s # } 634s # 634s # /** 634s # * org_project_useful_interface_call_single_arg_method_i: 634s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 634s # * @arg_arg_i: Argument to pass with the method invocation. 634s # * @cancellable: (nullable): A #GCancellable or %NULL. 634s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 634s # * @user_data: User data to pass to @callback. 634s # * 634s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 634s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 634s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 634s # * 634s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 634s # */ 634s # void 634s # org_project_useful_interface_call_single_arg_method_i ( 634s # OrgProjectUsefulInterface *proxy, 634s # gint arg_arg_i, 634s # GCancellable *cancellable, 634s # GAsyncReadyCallback callback, 634s # gpointer user_data) 634s # { 634s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 634s # "SingleArgMethodI", 634s # g_variant_new ("(i)", 634s # arg_arg_i), 634s # G_DBUS_CALL_FLAGS_NONE, 634s # -1, 634s # cancellable, 634s # callback, 634s # user_data); 634s # } 634s # 634s # /** 634s # * org_project_useful_interface_call_single_arg_method_i_finish: 634s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 634s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 634s # * @error: Return location for error or %NULL. 634s # * 634s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 634s # * 634s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 634s # */ 634s # gboolean 634s # org_project_useful_interface_call_single_arg_method_i_finish ( 634s # OrgProjectUsefulInterface *proxy, 634s # GAsyncResult *res, 634s # GError **error) 634s # { 634s # GVariant *_ret; 634s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 634s # if (_ret == NULL) 634s # goto _out; 634s # g_variant_get (_ret, 634s # "()"); 634s # g_variant_unref (_ret); 634s # _out: 634s # return _ret != NULL; 634s # } 634s # 634s # /** 634s # * org_project_useful_interface_call_single_arg_method_i_sync: 634s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 634s # * @arg_arg_i: Argument to pass with the method invocation. 634s # * @cancellable: (nullable): A #GCancellable or %NULL. 634s # * @error: Return location for error or %NULL. 634s # * 634s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 634s # * 634s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 634s # * 634s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 634s # */ 634s # gboolean 634s # org_project_useful_interface_call_single_arg_method_i_sync ( 634s # OrgProjectUsefulInterface *proxy, 634s # gint arg_arg_i, 634s # GCancellable *cancellable, 634s # GError **error) 634s # { 634s # GVariant *_ret; 634s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 634s # "SingleArgMethodI", 634s # g_variant_new ("(i)", 634s # arg_arg_i), 634s # G_DBUS_CALL_FLAGS_NONE, 634s # -1, 634s # cancellable, 634s # error); 634s # if (_ret == NULL) 634s # goto _out; 634s # g_variant_get (_ret, 634s # "()"); 634s # g_variant_unref (_ret); 634s # _out: 634s # return _ret != NULL; 634s # } 634s # 634s # /** 634s # * org_project_useful_interface_complete_single_arg_method_i: 634s # * @object: A #OrgProjectUsefulInterface. 634s # * @invocation: (transfer full): A #GDBusMethodInvocation. 634s # * 634s # * 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. 634s # * 634s # * This method will free @invocation, you cannot use it afterwards. 634s # */ 634s # void 634s # org_project_useful_interface_complete_single_arg_method_i ( 634s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 634s # GDBusMethodInvocation *invocation) 634s # { 634s # g_dbus_method_invocation_return_value (invocation, 634s # g_variant_new ("()")); 634s # } 634s # 634s # /* ------------------------------------------------------------------------ */ 634s # 634s # /** 634s # * OrgProjectUsefulInterfaceProxy: 634s # * 634s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 634s # */ 634s # 634s # /** 634s # * OrgProjectUsefulInterfaceProxyClass: 634s # * @parent_class: The parent class. 634s # * 634s # * Class structure for #OrgProjectUsefulInterfaceProxy. 634s # */ 634s # 634s # struct _OrgProjectUsefulInterfaceProxyPrivate 634s # { 634s # GData *qdata; 634s # }; 634s # 634s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 634s # 634s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 634s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 634s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 634s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 634s # 634s # #else 634s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 634s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 634s # 634s # #endif 634s # static void 634s # org_project_useful_interface_proxy_finalize (GObject *object) 634s # { 634s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 634s # g_datalist_clear (&proxy->priv->qdata); 634s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 634s # } 634s # 634s # static void 634s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 634s # guint prop_id G_GNUC_UNUSED, 634s # GValue *value G_GNUC_UNUSED, 634s # GParamSpec *pspec G_GNUC_UNUSED) 634s # { 634s # } 634s # 634s # static void 634s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 634s # guint prop_id G_GNUC_UNUSED, 634s # const GValue *value G_GNUC_UNUSED, 634s # GParamSpec *pspec G_GNUC_UNUSED) 634s # { 634s # } 634s # 634s # static void 634s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 634s # const gchar *sender_name G_GNUC_UNUSED, 634s # const gchar *signal_name, 634s # GVariant *parameters) 634s # { 634s # _ExtendedGDBusSignalInfo *info; 634s # GVariantIter iter; 634s # GVariant *child; 634s # GValue *paramv; 634s # gsize num_params; 634s # gsize n; 634s # guint signal_id; 634s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 634s # if (info == NULL) 634s # return; 634s # num_params = g_variant_n_children (parameters); 634s # paramv = g_new0 (GValue, num_params + 1); 634s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 634s # g_value_set_object (¶mv[0], proxy); 634s # g_variant_iter_init (&iter, parameters); 634s # n = 1; 634s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 634s # { 634s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 634s # if (arg_info->use_gvariant) 634s # { 634s # g_value_init (¶mv[n], G_TYPE_VARIANT); 634s # g_value_set_variant (¶mv[n], child); 634s # n++; 634s # } 634s # else 634s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 634s # g_variant_unref (child); 634s # } 634s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 634s # g_signal_emitv (paramv, signal_id, 0, NULL); 634s # for (n = 0; n < num_params + 1; n++) 634s # g_value_unset (¶mv[n]); 634s # g_free (paramv); 634s # } 634s # 634s # static void 634s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 634s # GVariant *changed_properties, 634s # const gchar *const *invalidated_properties) 634s # { 634s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 634s # guint n; 634s # const gchar *key; 634s # GVariantIter *iter; 634s # _ExtendedGDBusPropertyInfo *info; 634s # g_variant_get (changed_properties, "a{sv}", &iter); 634s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 634s # { 634s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 634s # g_datalist_remove_data (&proxy->priv->qdata, key); 634s # if (info != NULL) 634s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 634s # } 634s # g_variant_iter_free (iter); 634s # for (n = 0; invalidated_properties[n] != NULL; n++) 634s # { 634s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 634s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 634s # if (info != NULL) 634s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 634s # } 634s # } 634s # 634s # static void 634s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 634s # { 634s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 634s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 634s # #else 634s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 634s # #endif 634s # 634s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 634s # } 634s # 634s # static void 634s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 634s # { 634s # GObjectClass *gobject_class; 634s # GDBusProxyClass *proxy_class; 634s # 634s # gobject_class = G_OBJECT_CLASS (klass); 634s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 634s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 634s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 634s # 634s # proxy_class = G_DBUS_PROXY_CLASS (klass); 634s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 634s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 634s # 634s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 634s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 634s # #endif 634s # } 634s # 634s # static void 634s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 634s # { 634s # } 634s # 634s # /** 634s # * org_project_useful_interface_proxy_new: 634s # * @connection: A #GDBusConnection. 634s # * @flags: Flags from the #GDBusProxyFlags enumeration. 634s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 634s # * @object_path: An object path. 634s # * @cancellable: (nullable): A #GCancellable or %NULL. 634s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 634s # * @user_data: User data to pass to @callback. 634s # * 634s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 634s # * 634s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 634s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 634s # * 634s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 634s # */ 634s # void 634s # org_project_useful_interface_proxy_new ( 634s # GDBusConnection *connection, 634s # GDBusProxyFlags flags, 634s # const gchar *name, 634s # const gchar *object_path, 634s # GCancellable *cancellable, 634s # GAsyncReadyCallback callback, 634s # gpointer user_data) 634s # { 634s # g_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); 634s # } 634s # 634s # /** 634s # * org_project_useful_interface_proxy_new_finish: 634s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 634s # * @error: Return location for error or %NULL 634s # * 634s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 634s # * 634s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 634s # */ 634s # OrgProjectUsefulInterface * 634s # org_project_useful_interface_proxy_new_finish ( 634s # GAsyncResult *res, 634s # GError **error) 634s # { 634s # GObject *ret; 634s # GObject *source_object; 634s # source_object = g_async_result_get_source_object (res); 634s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 634s # g_object_unref (source_object); 634s # if (ret != NULL) 634s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 634s # else 634s # return NULL; 634s # } 634s # 634s # /** 634s # * org_project_useful_interface_proxy_new_sync: 634s # * @connection: A #GDBusConnection. 634s # * @flags: Flags from the #GDBusProxyFlags enumeration. 634s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 634s # * @object_path: An object path. 634s # * @cancellable: (nullable): A #GCancellable or %NULL. 634s # * @error: Return location for error or %NULL 634s # * 634s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 634s # * 634s # * The calling thread is blocked until a reply is received. 634s # * 634s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 634s # * 634s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 634s # */ 634s # OrgProjectUsefulInterface * 634s # org_project_useful_interface_proxy_new_sync ( 634s # GDBusConnection *connection, 634s # GDBusProxyFlags flags, 634s # const gchar *name, 634s # const gchar *object_path, 634s # GCancellable *cancellable, 634s # GError **error) 634s # { 634s # GInitable *ret; 634s # 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); 634s # if (ret != NULL) 634s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 634s # else 634s # return NULL; 634s # } 634s # 634s # 634s # /** 634s # * org_project_useful_interface_proxy_new_for_bus: 634s # * @bus_type: A #GBusType. 634s # * @flags: Flags from the #GDBusProxyFlags enumeration. 634s # * @name: A bus name (well-known or unique). 634s # * @object_path: An object path. 634s # * @cancellable: (nullable): A #GCancellable or %NULL. 634s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 634s # * @user_data: User data to pass to @callback. 634s # * 634s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 634s # * 634s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 634s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 634s # * 634s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 634s # */ 634s # void 634s # org_project_useful_interface_proxy_new_for_bus ( 634s # GBusType bus_type, 634s # GDBusProxyFlags flags, 634s # const gchar *name, 634s # const gchar *object_path, 634s # GCancellable *cancellable, 634s # GAsyncReadyCallback callback, 634s # gpointer user_data) 634s # { 634s # g_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); 634s # } 634s # 634s # /** 634s # * org_project_useful_interface_proxy_new_for_bus_finish: 634s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 634s # * @error: Return location for error or %NULL 634s # * 634s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 634s # * 634s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 634s # */ 634s # OrgProjectUsefulInterface * 634s # org_project_useful_interface_proxy_new_for_bus_finish ( 634s # GAsyncResult *res, 634s # GError **error) 634s # { 634s # GObject *ret; 634s # GObject *source_object; 634s # source_object = g_async_result_get_source_object (res); 634s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 634s # g_object_unref (source_object); 634s # if (ret != NULL) 634s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 634s # else 634s # return NULL; 634s # } 634s # 634s # /** 634s # * org_project_useful_interface_proxy_new_for_bus_sync: 634s # * @bus_type: A #GBusType. 634s # * @flags: Flags from the #GDBusProxyFlags enumeration. 634s # * @name: A bus name (well-known or unique). 634s # * @object_path: An object path. 634s # * @cancellable: (nullable): A #GCancellable or %NULL. 634s # * @error: Return location for error or %NULL 634s # * 634s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 634s # * 634s # * The calling thread is blocked until a reply is received. 634s # * 634s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 634s # * 634s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 634s # */ 634s # OrgProjectUsefulInterface * 634s # org_project_useful_interface_proxy_new_for_bus_sync ( 634s # GBusType bus_type, 634s # GDBusProxyFlags flags, 634s # const gchar *name, 634s # const gchar *object_path, 634s # GCancellable *cancellable, 634s # GError **error) 634s # { 634s # GInitable *ret; 634s # 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); 634s # if (ret != NULL) 634s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 634s # else 634s # return NULL; 634s # } 634s # 634s # 634s # /* ------------------------------------------------------------------------ */ 634s # 634s # /** 634s # * OrgProjectUsefulInterfaceSkeleton: 634s # * 634s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 634s # */ 634s # 634s # /** 634s # * OrgProjectUsefulInterfaceSkeletonClass: 634s # * @parent_class: The parent class. 634s # * 634s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 634s # */ 634s # 634s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 634s # { 634s # GValue *properties; 634s # GList *changed_properties; 634s # GSource *changed_properties_idle_source; 634s # GMainContext *context; 634s # GMutex lock; 634s # }; 634s # 634s # static void 634s # _org_project_useful_interface_skeleton_handle_method_call ( 634s # GDBusConnection *connection G_GNUC_UNUSED, 634s # const gchar *sender G_GNUC_UNUSED, 634s # const gchar *object_path G_GNUC_UNUSED, 634s # const gchar *interface_name, 634s # const gchar *method_name, 634s # GVariant *parameters, 634s # GDBusMethodInvocation *invocation, 634s # gpointer user_data) 634s # { 634s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 634s # _ExtendedGDBusMethodInfo *info; 634s # GVariantIter iter; 634s # GVariant *child; 634s # GValue *paramv; 634s # gsize num_params; 634s # guint num_extra; 634s # gsize n; 634s # guint signal_id; 634s # GValue return_value = G_VALUE_INIT; 634s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 634s # g_assert (info != NULL); 634s # num_params = g_variant_n_children (parameters); 634s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 634s # n = 0; 634s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 634s # g_value_set_object (¶mv[n++], skeleton); 634s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 634s # g_value_set_object (¶mv[n++], invocation); 634s # if (info->pass_fdlist) 634s # { 634s # #ifdef G_OS_UNIX 634s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 634s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 634s # #else 634s # g_assert_not_reached (); 634s # #endif 634s # } 634s # g_variant_iter_init (&iter, parameters); 634s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 634s # { 634s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 634s # if (arg_info->use_gvariant) 634s # { 634s # g_value_init (¶mv[n], G_TYPE_VARIANT); 634s # g_value_set_variant (¶mv[n], child); 634s # n++; 634s # } 634s # else 634s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 634s # g_variant_unref (child); 634s # } 634s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 634s # g_value_init (&return_value, G_TYPE_BOOLEAN); 634s # g_signal_emitv (paramv, signal_id, 0, &return_value); 634s # if (!g_value_get_boolean (&return_value)) 634s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 634s # g_value_unset (&return_value); 634s # for (n = 0; n < num_params + num_extra; n++) 634s # g_value_unset (¶mv[n]); 634s # g_free (paramv); 634s # } 634s # 634s # static GVariant * 634s # _org_project_useful_interface_skeleton_handle_get_property ( 634s # GDBusConnection *connection G_GNUC_UNUSED, 634s # const gchar *sender G_GNUC_UNUSED, 634s # const gchar *object_path G_GNUC_UNUSED, 634s # const gchar *interface_name G_GNUC_UNUSED, 634s # const gchar *property_name, 634s # GError **error, 634s # gpointer user_data) 634s # { 634s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 634s # GValue value = G_VALUE_INIT; 634s # GParamSpec *pspec; 634s # _ExtendedGDBusPropertyInfo *info; 634s # GVariant *ret; 634s # ret = NULL; 634s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 634s # g_assert (info != NULL); 634s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 634s # if (pspec == NULL) 634s # { 634s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 634s # } 634s # else 634s # { 634s # g_value_init (&value, pspec->value_type); 634s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 634s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 634s # g_value_unset (&value); 634s # } 634s # return ret; 634s # } 634s # 634s # static gboolean 634s # _org_project_useful_interface_skeleton_handle_set_property ( 634s # GDBusConnection *connection G_GNUC_UNUSED, 634s # const gchar *sender G_GNUC_UNUSED, 634s # const gchar *object_path G_GNUC_UNUSED, 634s # const gchar *interface_name G_GNUC_UNUSED, 634s # const gchar *property_name, 634s # GVariant *variant, 634s # GError **error, 634s # gpointer user_data) 634s # { 634s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 634s # GValue value = G_VALUE_INIT; 634s # GParamSpec *pspec; 634s # _ExtendedGDBusPropertyInfo *info; 634s # gboolean ret; 634s # ret = FALSE; 634s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 634s # g_assert (info != NULL); 634s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 634s # if (pspec == NULL) 634s # { 634s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 634s # } 634s # else 634s # { 634s # if (info->use_gvariant) 634s # g_value_set_variant (&value, variant); 634s # else 634s # g_dbus_gvariant_to_gvalue (variant, &value); 634s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 634s # g_value_unset (&value); 634s # ret = TRUE; 634s # } 634s # return ret; 634s # } 634s # 634s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 634s # { 634s # _org_project_useful_interface_skeleton_handle_method_call, 634s # _org_project_useful_interface_skeleton_handle_get_property, 634s # _org_project_useful_interface_skeleton_handle_set_property, 634s # {NULL} 634s # }; 634s # 634s # static GDBusInterfaceInfo * 634s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 634s # { 634s # return org_project_useful_interface_interface_info (); 634s # } 634s # 634s # static GDBusInterfaceVTable * 634s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 634s # { 634s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 634s # } 634s # 634s # static GVariant * 634s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 634s # { 634s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 634s # 634s # GVariantBuilder builder; 634s # guint n; 634s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 634s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 634s # goto out; 634s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 634s # { 634s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 634s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 634s # { 634s # GVariant *value; 634s # 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); 634s # if (value != NULL) 634s # { 634s # g_variant_take_ref (value); 634s # g_variant_builder_add (&builder, "{sv}", info->name, value); 634s # g_variant_unref (value); 634s # } 634s # } 634s # } 634s # out: 634s # return g_variant_builder_end (&builder); 634s # } 634s # 634s # static void 634s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 634s # { 634s # } 634s # 634s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 634s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 634s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 634s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 634s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 634s # 634s # #else 634s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 634s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 634s # 634s # #endif 634s # static void 634s # org_project_useful_interface_skeleton_finalize (GObject *object) 634s # { 634s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 634s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 634s # if (skeleton->priv->changed_properties_idle_source != NULL) 634s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 634s # g_main_context_unref (skeleton->priv->context); 634s # g_mutex_clear (&skeleton->priv->lock); 634s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 634s # } 634s # 634s # static void 634s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 634s # { 634s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 634s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 634s # #else 634s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 634s # #endif 634s # 634s # g_mutex_init (&skeleton->priv->lock); 634s # skeleton->priv->context = g_main_context_ref_thread_default (); 634s # } 634s # 634s # static void 634s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 634s # { 634s # GObjectClass *gobject_class; 634s # GDBusInterfaceSkeletonClass *skeleton_class; 634s # 634s # gobject_class = G_OBJECT_CLASS (klass); 634s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 634s # 634s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 634s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 634s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 634s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 634s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 634s # 634s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 634s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 634s # #endif 634s # } 634s # 634s # static void 634s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 634s # { 634s # } 634s # 634s # /** 634s # * org_project_useful_interface_skeleton_new: 634s # * 634s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 634s # * 634s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 634s # */ 634s # OrgProjectUsefulInterface * 634s # org_project_useful_interface_skeleton_new (void) 634s # { 634s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 634s # } 634s # /tmp/tmp4un2rcj2/tmpdzh994ya.xml: 634s # 634s # 634s # 634s # 634s # 634s # 634s # 634s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4un2rcj2/tmpdzh994ya.xml', '--output', '-', '--body'] 634s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 634s # Output: /* 634s # * This file is generated by gdbus-codegen, do not modify it. 634s # * 634s # * The license of this code is the same as for the D-Bus interface description 634s # * it was derived from. Note that it links to GLib, so must comply with the 634s # * LGPL linking clauses. 634s # */ 634s # 634s # #ifdef HAVE_CONFIG_H 634s # # include "config.h" 634s # #endif 634s # 634s # #include 634s # #ifdef G_OS_UNIX 634s # # include 634s # #endif 634s # 634s # #ifdef G_ENABLE_DEBUG 634s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 634s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 634s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 634s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 634s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 634s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 634s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 634s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 634s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 634s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 634s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 634s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 634s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 634s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 634s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 634s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 634s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 634s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 634s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 634s # #else /* !G_ENABLE_DEBUG */ 634s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 634s # * Do not access GValues directly in your code. Instead, use the 634s # * g_value_get_*() functions 634s # */ 634s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 634s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 634s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 634s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 634s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 634s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 634s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 634s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 634s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 634s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 634s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 634s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 634s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 634s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 634s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 634s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 634s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 634s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 634s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 634s # #endif /* !G_ENABLE_DEBUG */ 634s # 634s # typedef struct 634s # { 634s # GDBusArgInfo parent_struct; 634s # gboolean use_gvariant; 634s # } _ExtendedGDBusArgInfo; 634s # 634s # typedef struct 634s # { 634s # GDBusMethodInfo parent_struct; 634s # const gchar *signal_name; 634s # gboolean pass_fdlist; 634s # } _ExtendedGDBusMethodInfo; 634s # 634s # typedef struct 634s # { 634s # GDBusSignalInfo parent_struct; 634s # const gchar *signal_name; 634s # } _ExtendedGDBusSignalInfo; 634s # 634s # typedef struct 634s # { 634s # GDBusPropertyInfo parent_struct; 634s # const gchar *hyphen_name; 634s # guint use_gvariant : 1; 634s # guint emits_changed_signal : 1; 634s # } _ExtendedGDBusPropertyInfo; 634s # 634s # typedef struct 634s # { 634s # GDBusInterfaceInfo parent_struct; 634s # const gchar *hyphen_name; 634s # } _ExtendedGDBusInterfaceInfo; 634s # 634s # typedef struct 634s # { 634s # const _ExtendedGDBusPropertyInfo *info; 634s # guint prop_id; 634s # GValue orig_value; /* the value before the change */ 634s # } ChangedProperty; 634s # 634s # static void 634s # _changed_property_free (ChangedProperty *data) 634s # { 634s # g_value_unset (&data->orig_value); 634s # g_free (data); 634s # } 634s # 634s # static gboolean 634s # _g_strv_equal0 (gchar **a, gchar **b) 634s # { 634s # gboolean ret = FALSE; 634s # guint n; 634s # if (a == NULL && b == NULL) 634s # { 634s # ret = TRUE; 634s # goto out; 634s # } 634s # if (a == NULL || b == NULL) 634s # goto out; 634s # if (g_strv_length (a) != g_strv_length (b)) 634s # goto out; 634s # for (n = 0; a[n] != NULL; n++) 634s # if (g_strcmp0 (a[n], b[n]) != 0) 634s # goto out; 634s # ret = TRUE; 634s # out: 634s # return ret; 634s # } 634s # 634s # static gboolean 634s # _g_variant_equal0 (GVariant *a, GVariant *b) 634s # { 634s # gboolean ret = FALSE; 634s # if (a == NULL && b == NULL) 634s # { 634s # ret = TRUE; 634s # goto out; 634s # } 634s # if (a == NULL || b == NULL) 634s # goto out; 634s # ret = g_variant_equal (a, b); 634s # out: 634s # return ret; 634s # } 634s # 634s # G_GNUC_UNUSED static gboolean 634s # _g_value_equal (const GValue *a, const GValue *b) 634s # { 634s # gboolean ret = FALSE; 634s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 634s # switch (G_VALUE_TYPE (a)) 634s # { 634s # case G_TYPE_BOOLEAN: 634s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 634s # break; 634s # case G_TYPE_UCHAR: 634s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 634s # break; 634s # case G_TYPE_INT: 634s # ret = (g_value_get_int (a) == g_value_get_int (b)); 634s # break; 634s # case G_TYPE_UINT: 634s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 634s # break; 634s # case G_TYPE_INT64: 634s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 634s # break; 634s # case G_TYPE_UINT64: 634s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 634s # break; 634s # case G_TYPE_DOUBLE: 634s # { 634s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 634s # gdouble da = g_value_get_double (a); 634s # gdouble db = g_value_get_double (b); 634s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 634s # } 634s # break; 634s # case G_TYPE_STRING: 634s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 634s # break; 634s # case G_TYPE_VARIANT: 634s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 634s # break; 634s # default: 634s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 634s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 634s # else 634s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 634s # break; 634s # } 634s # return ret; 634s # } 634s # 634s # static void 634s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 634s # GClosure *closure, 634s # GValue *return_value, 634s # unsigned int n_param_values, 634s # const GValue *param_values, 634s # void *invocation_hint G_GNUC_UNUSED, 634s # void *marshal_data) 634s # { 634s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 634s # (void *data1, 634s # GDBusMethodInvocation *arg_method_invocation, 634s # guint arg_arg_u, 634s # void *data2); 634s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 634s # GCClosure *cc = (GCClosure*) closure; 634s # void *data1, *data2; 634s # gboolean v_return; 634s # 634s # g_return_if_fail (return_value != NULL); 634s # g_return_if_fail (n_param_values == 3); 634s # 634s # if (G_CCLOSURE_SWAP_DATA (closure)) 634s # { 634s # data1 = closure->data; 634s # data2 = g_value_peek_pointer (param_values + 0); 634s # } 634s # else 634s # { 634s # data1 = g_value_peek_pointer (param_values + 0); 634s # data2 = closure->data; 634s # } 634s # 634s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 634s # (marshal_data ? marshal_data : cc->callback); 634s # 634s # v_return = 634s # callback (data1, 634s # g_marshal_value_peek_object (param_values + 1), 634s # g_marshal_value_peek_uint (param_values + 2), 634s # data2); 634s # 634s # g_value_set_boolean (return_value, v_return); 634s # } 634s # 634s # /* ------------------------------------------------------------------------ 634s # * Code for interface org.project.UsefulInterface 634s # * ------------------------------------------------------------------------ 634s # */ 634s # 634s # /** 634s # * SECTION:OrgProjectUsefulInterface 634s # * @title: OrgProjectUsefulInterface 634s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 634s # * 634s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 634s # */ 634s # 634s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 634s # 634s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 634s # { 634s # { 634s # -1, 634s # (gchar *) "arg_u", 634s # (gchar *) "u", 634s # NULL 634s # }, 634s # FALSE 634s # }; 634s # 634s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 634s # { 634s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 634s # NULL 634s # }; 634s # 634s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 634s # { 634s # { 634s # -1, 634s # (gchar *) "SingleArgMethodU", 634s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 634s # NULL, 634s # NULL 634s # }, 634s # "handle-single-arg-method-u", 634s # FALSE 634s # }; 634s # 634s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 634s # { 634s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 634s # NULL 634s # }; 634s # 634s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 634s # { 634s # { 634s # -1, 634s # (gchar *) "org.project.UsefulInterface", 634s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 634s # NULL, 634s # NULL, 634s # NULL 634s # }, 634s # "org-project-useful-interface", 634s # }; 634s # 634s # 634s # /** 634s # * org_project_useful_interface_interface_info: 634s # * 634s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 634s # * 634s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 634s # */ 634s # GDBusInterfaceInfo * 634s # org_project_useful_interface_interface_info (void) 634s # { 634s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 634s # } 634s # 634s # /** 634s # * org_project_useful_interface_override_properties: 634s # * @klass: The class structure for a #GObject derived class. 634s # * @property_id_begin: The property id to assign to the first overridden property. 634s # * 634s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 634s # * The properties are overridden in the order they are defined. 634s # * 634s # * Returns: The last property id. 634s # */ 634s # guint 634s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 634s # { 634s # return property_id_begin - 1; 634s # } 634s # 634s # 634s # inline static void 634s # org_project_useful_interface_method_marshal_single_arg_method_u ( 634s # GClosure *closure, 634s # GValue *return_value, 634s # unsigned int n_param_values, 634s # const GValue *param_values, 634s # void *invocation_hint, 634s # void *marshal_data) 634s # { 634s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 634s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 634s # } 634s # 634s # 634s # /** 634s # * OrgProjectUsefulInterface: 634s # * 634s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 634s # */ 634s # 634s # /** 634s # * OrgProjectUsefulInterfaceIface: 634s # * @parent_iface: The parent interface. 634s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 634s # * 634s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 634s # */ 634s # 634s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 634s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 634s # 634s # static void 634s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 634s # { 634s # /* GObject signals for incoming D-Bus method calls: */ 634s # /** 634s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 634s # * @object: A #OrgProjectUsefulInterface. 634s # * @invocation: A #GDBusMethodInvocation. 634s # * @arg_arg_u: Argument passed by remote caller. 634s # * 634s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 634s # * 634s # * 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. 634s # * 634s # * 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. 634s # */ 634s # g_signal_new ("handle-single-arg-method-u", 634s # G_TYPE_FROM_INTERFACE (iface), 634s # G_SIGNAL_RUN_LAST, 634s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 634s # g_signal_accumulator_true_handled, 634s # NULL, 634s # org_project_useful_interface_method_marshal_single_arg_method_u, 634s # G_TYPE_BOOLEAN, 634s # 2, 634s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 634s # 634s # } 634s # 634s # /** 634s # * org_project_useful_interface_call_single_arg_method_u: 634s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 634s # * @arg_arg_u: Argument to pass with the method invocation. 634s # * @cancellable: (nullable): A #GCancellable or %NULL. 634s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 634s # * @user_data: User data to pass to @callback. 634s # * 634s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 634s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 634s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 634s # * 634s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 634s # */ 634s # void 634s # org_project_useful_interface_call_single_arg_method_u ( 634s # OrgProjectUsefulInterface *proxy, 634s # guint arg_arg_u, 634s # GCancellable *cancellable, 634s # GAsyncReadyCallback callback, 634s # gpointer user_data) 634s # { 634s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 634s # "SingleArgMethodU", 634s # g_variant_new ("(u)", 634s # arg_arg_u), 634s # G_DBUS_CALL_FLAGS_NONE, 634s # -1, 634s # cancellable, 634s # callback, 634s # user_data); 634s # } 634s # 634s # /** 634s # * org_project_useful_interface_call_single_arg_method_u_finish: 634s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 634s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 634s # * @error: Return location for error or %NULL. 634s # * 634s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 634s # * 634s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 634s # */ 634s # gboolean 634s # org_project_useful_interface_call_single_arg_method_u_finish ( 634s # OrgProjectUsefulInterface *proxy, 634s # GAsyncResult *res, 634s # GError **error) 634s # { 634s # GVariant *_ret; 634s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 634s # if (_ret == NULL) 634s # goto _out; 634s # g_variant_get (_ret, 634s # "()"); 634s # g_variant_unref (_ret); 634s # _out: 634s # return _ret != NULL; 634s # } 634s # 634s # /** 634s # * org_project_useful_interface_call_single_arg_method_u_sync: 634s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 634s # * @arg_arg_u: Argument to pass with the method invocation. 634s # * @cancellable: (nullable): A #GCancellable or %NULL. 634s # * @error: Return location for error or %NULL. 634s # * 634s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 634s # * 634s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 634s # * 634s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 634s # */ 634s # gboolean 634s # org_project_useful_interface_call_single_arg_method_u_sync ( 634s # OrgProjectUsefulInterface *proxy, 634s # guint arg_arg_u, 634s # GCancellable *cancellable, 634s # GError **error) 634s # { 634s # GVariant *_ret; 634s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 634s # "SingleArgMethodU", 634s # g_variant_new ("(u)", 634s # arg_arg_u), 634s # G_DBUS_CALL_FLAGS_NONE, 634s # -1, 634s # cancellable, 634s # error); 634s # if (_ret == NULL) 634s # goto _out; 634s # g_variant_get (_ret, 634s # "()"); 634s # g_variant_unref (_ret); 634s # _out: 634s # return _ret != NULL; 634s # } 634s # 634s # /** 634s # * org_project_useful_interface_complete_single_arg_method_u: 634s # * @object: A #OrgProjectUsefulInterface. 634s # * @invocation: (transfer full): A #GDBusMethodInvocation. 634s # * 634s # * 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. 634s # * 634s # * This method will free @invocation, you cannot use it afterwards. 634s # */ 634s # void 634s # org_project_useful_interface_complete_single_arg_method_u ( 634s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 634s # GDBusMethodInvocation *invocation) 634s # { 634s # g_dbus_method_invocation_return_value (invocation, 634s # g_variant_new ("()")); 634s # } 634s # 634s # /* ------------------------------------------------------------------------ */ 634s # 634s # /** 634s # * OrgProjectUsefulInterfaceProxy: 634s # * 634s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 634s # */ 634s # 634s # /** 634s # * OrgProjectUsefulInterfaceProxyClass: 634s # * @parent_class: The parent class. 634s # * 634s # * Class structure for #OrgProjectUsefulInterfaceProxy. 634s # */ 634s # 634s # struct _OrgProjectUsefulInterfaceProxyPrivate 634s # { 634s # GData *qdata; 634s # }; 634s # 634s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 634s # 634s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 634s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 634s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 634s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 634s # 634s # #else 634s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 634s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 634s # 634s # #endif 634s # static void 634s # org_project_useful_interface_proxy_finalize (GObject *object) 634s # { 634s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 634s # g_datalist_clear (&proxy->priv->qdata); 634s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 634s # } 634s # 634s # static void 634s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 634s # guint prop_id G_GNUC_UNUSED, 634s # GValue *value G_GNUC_UNUSED, 634s # GParamSpec *pspec G_GNUC_UNUSED) 634s # { 634s # } 634s # 634s # static void 634s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 634s # guint prop_id G_GNUC_UNUSED, 634s # const GValue *value G_GNUC_UNUSED, 634s # GParamSpec *pspec G_GNUC_UNUSED) 634s # { 634s # } 634s # 634s # static void 634s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 634s # const gchar *sender_name G_GNUC_UNUSED, 634s # const gchar *signal_name, 634s # GVariant *parameters) 634s # { 634s # _ExtendedGDBusSignalInfo *info; 634s # GVariantIter iter; 634s # GVariant *child; 634s # GValue *paramv; 634s # gsize num_params; 634s # gsize n; 634s # guint signal_id; 634s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 634s # if (info == NULL) 634s # return; 634s # num_params = g_variant_n_children (parameters); 634s # paramv = g_new0 (GValue, num_params + 1); 634s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 634s # g_value_set_object (¶mv[0], proxy); 634s # g_variant_iter_init (&iter, parameters); 634s # n = 1; 634s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 634s # { 634s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 634s # if (arg_info->use_gvariant) 634s # { 634s # g_value_init (¶mv[n], G_TYPE_VARIANT); 634s # g_value_set_variant (¶mv[n], child); 634s # n++; 634s # } 634s # else 634s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 634s # g_variant_unref (child); 634s # } 634s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 634s # g_signal_emitv (paramv, signal_id, 0, NULL); 634s # for (n = 0; n < num_params + 1; n++) 634s # g_value_unset (¶mv[n]); 634s # g_free (paramv); 634s # } 634s # 634s # static void 634s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 634s # GVariant *changed_properties, 634s # const gchar *const *invalidated_properties) 634s # { 634s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 634s # guint n; 634s # const gchar *key; 634s # GVariantIter *iter; 634s # _ExtendedGDBusPropertyInfo *info; 634s # g_variant_get (changed_properties, "a{sv}", &iter); 634s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 634s # { 634s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 634s # g_datalist_remove_data (&proxy->priv->qdata, key); 634s # if (info != NULL) 634s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 634s # } 634s # g_variant_iter_free (iter); 634s # for (n = 0; invalidated_properties[n] != NULL; n++) 634s # { 634s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 634s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 634s # if (info != NULL) 634s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 634s # } 634s # } 634s # 634s # static void 634s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 634s # { 634s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 634s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 634s # #else 634s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 634s # #endif 634s # 634s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 634s # } 634s # 634s # static void 634s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 634s # { 634s # GObjectClass *gobject_class; 634s # GDBusProxyClass *proxy_class; 634s # 634s # gobject_class = G_OBJECT_CLASS (klass); 634s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 634s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 634s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 634s # 634s # proxy_class = G_DBUS_PROXY_CLASS (klass); 634s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 634s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 634s # 634s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 634s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 634s # #endif 634s # } 634s # 634s # static void 634s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 634s # { 634s # } 634s # 634s # /** 634s # * org_project_useful_interface_proxy_new: 634s # * @connection: A #GDBusConnection. 634s # * @flags: Flags from the #GDBusProxyFlags enumeration. 634s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 634s # * @object_path: An object path. 634s # * @cancellable: (nullable): A #GCancellable or %NULL. 634s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 634s # * @user_data: User data to pass to @callback. 634s # * 634s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 634s # * 634s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 634s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 634s # * 634s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 634s # */ 634s # void 634s # org_project_useful_interface_proxy_new ( 634s # GDBusConnection *connection, 634s # GDBusProxyFlags flags, 634s # const gchar *name, 634s # const gchar *object_path, 634s # GCancellable *cancellable, 634s # GAsyncReadyCallback callback, 634s # gpointer user_data) 634s # { 634s # g_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); 634s # } 634s # 634s # /** 634s # * org_project_useful_interface_proxy_new_finish: 634s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 634s # * @error: Return location for error or %NULL 634s # * 634s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 634s # * 634s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 634s # */ 634s # OrgProjectUsefulInterface * 634s # org_project_useful_interface_proxy_new_finish ( 634s # GAsyncResult *res, 634s # GError **error) 634s # { 634s # GObject *ret; 634s # GObject *source_object; 634s # source_object = g_async_result_get_source_object (res); 634s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 634s # g_object_unref (source_object); 634s # if (ret != NULL) 634s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 634s # else 634s # return NULL; 634s # } 634s # 634s # /** 634s # * org_project_useful_interface_proxy_new_sync: 634s # * @connection: A #GDBusConnection. 634s # * @flags: Flags from the #GDBusProxyFlags enumeration. 634s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 634s # * @object_path: An object path. 634s # * @cancellable: (nullable): A #GCancellable or %NULL. 634s # * @error: Return location for error or %NULL 634s # * 634s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 634s # * 634s # * The calling thread is blocked until a reply is received. 634s # * 634s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 634s # * 634s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 634s # */ 634s # OrgProjectUsefulInterface * 634s # org_project_useful_interface_proxy_new_sync ( 634s # GDBusConnection *connection, 634s # GDBusProxyFlags flags, 634s # const gchar *name, 634s # const gchar *object_path, 634s # GCancellable *cancellable, 634s # GError **error) 634s # { 634s # GInitable *ret; 634s # 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); 634s # if (ret != NULL) 634s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 634s # else 634s # return NULL; 634s # } 634s # 634s # 634s # /** 634s # * org_project_useful_interface_proxy_new_for_bus: 634s # * @bus_type: A #GBusType. 634s # * @flags: Flags from the #GDBusProxyFlags enumeration. 634s # * @name: A bus name (well-known or unique). 634s # * @object_path: An object path. 634s # * @cancellable: (nullable): A #GCancellable or %NULL. 634s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 634s # * @user_data: User data to pass to @callback. 634s # * 634s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 634s # * 634s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 634s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 634s # * 634s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 634s # */ 634s # void 634s # org_project_useful_interface_proxy_new_for_bus ( 634s # GBusType bus_type, 634s # GDBusProxyFlags flags, 634s # const gchar *name, 634s # const gchar *object_path, 634s # GCancellable *cancellable, 634s # GAsyncReadyCallback callback, 634s # gpointer user_data) 634s # { 634s # g_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); 634s # } 634s # 634s # /** 634s # * org_project_useful_interface_proxy_new_for_bus_finish: 634s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 634s # * @error: Return location for error or %NULL 634s # * 634s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 634s # * 634s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 634s # */ 634s # OrgProjectUsefulInterface * 634s # org_project_useful_interface_proxy_new_for_bus_finish ( 634s # GAsyncResult *res, 634s # GError **error) 634s # { 634s # GObject *ret; 634s # GObject *source_object; 634s # source_object = g_async_result_get_source_object (res); 634s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 634s # g_object_unref (source_object); 634s # if (ret != NULL) 634s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 634s # else 634s # return NULL; 634s # } 634s # 634s # /** 634s # * org_project_useful_interface_proxy_new_for_bus_sync: 634s # * @bus_type: A #GBusType. 634s # * @flags: Flags from the #GDBusProxyFlags enumeration. 634s # * @name: A bus name (well-known or unique). 634s # * @object_path: An object path. 634s # * @cancellable: (nullable): A #GCancellable or %NULL. 634s # * @error: Return location for error or %NULL 634s # * 634s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 634s # * 634s # * The calling thread is blocked until a reply is received. 634s # * 634s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 634s # * 634s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 634s # */ 634s # OrgProjectUsefulInterface * 634s # org_project_useful_interface_proxy_new_for_bus_sync ( 634s # GBusType bus_type, 634s # GDBusProxyFlags flags, 634s # const gchar *name, 634s # const gchar *object_path, 634s # GCancellable *cancellable, 634s # GError **error) 634s # { 634s # GInitable *ret; 634s # 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); 634s # if (ret != NULL) 634s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 634s # else 634s # return NULL; 634s # } 634s # 634s # 634s # /* ------------------------------------------------------------------------ */ 634s # 634s # /** 634s # * OrgProjectUsefulInterfaceSkeleton: 634s # * 634s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 634s # */ 634s # 634s # /** 634s # * OrgProjectUsefulInterfaceSkeletonClass: 634s # * @parent_class: The parent class. 634s # * 634s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 634s # */ 634s # 634s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 634s # { 634s # GValue *properties; 634s # GList *changed_properties; 634s # GSource *changed_properties_idle_source; 634s # GMainContext *context; 634s # GMutex lock; 634s # }; 634s # 634s # static void 634s # _org_project_useful_interface_skeleton_handle_method_call ( 634s # GDBusConnection *connection G_GNUC_UNUSED, 634s # const gchar *sender G_GNUC_UNUSED, 634s # const gchar *object_path G_GNUC_UNUSED, 634s # const gchar *interface_name, 634s # const gchar *method_name, 634s # GVariant *parameters, 634s # GDBusMethodInvocation *invocation, 634s # gpointer user_data) 634s # { 634s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 634s # _ExtendedGDBusMethodInfo *info; 634s # GVariantIter iter; 634s # GVariant *child; 634s # GValue *paramv; 634s # gsize num_params; 634s # guint num_extra; 634s # gsize n; 634s # guint signal_id; 634s # GValue return_value = G_VALUE_INIT; 634s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 634s # g_assert (info != NULL); 634s # num_params = g_variant_n_children (parameters); 634s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 634s # n = 0; 634s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 634s # g_value_set_object (¶mv[n++], skeleton); 634s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 634s # g_value_set_object (¶mv[n++], invocation); 634s # if (info->pass_fdlist) 634s # { 634s # #ifdef G_OS_UNIX 634s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 634s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 634s # #else 634s # g_assert_not_reached (); 634s # #endif 634s # } 634s # g_variant_iter_init (&iter, parameters); 634s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 634s # { 634s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 634s # if (arg_info->use_gvariant) 634s # { 634s # g_value_init (¶mv[n], G_TYPE_VARIANT); 634s # g_value_set_variant (¶mv[n], child); 634s # n++; 634s # } 634s # else 634s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 634s # g_variant_unref (child); 634s # } 634s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 634s # g_value_init (&return_value, G_TYPE_BOOLEAN); 634s # g_signal_emitv (paramv, signal_id, 0, &return_value); 634s # if (!g_value_get_boolean (&return_value)) 634s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 634s # g_value_unset (&return_value); 634s # for (n = 0; n < num_params + num_extra; n++) 634s # g_value_unset (¶mv[n]); 634s # g_free (paramv); 634s # } 634s # 634s # static GVariant * 634s # _org_project_useful_interface_skeleton_handle_get_property ( 634s # GDBusConnection *connection G_GNUC_UNUSED, 634s # const gchar *sender G_GNUC_UNUSED, 634s # const gchar *object_path G_GNUC_UNUSED, 634s # const gchar *interface_name G_GNUC_UNUSED, 634s # const gchar *property_name, 634s # GError **error, 634s # gpointer user_data) 634s # { 634s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 634s # GValue value = G_VALUE_INIT; 634s # GParamSpec *pspec; 634s # _ExtendedGDBusPropertyInfo *info; 634s # GVariant *ret; 634s # ret = NULL; 634s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 634s # g_assert (info != NULL); 634s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 634s # if (pspec == NULL) 634s # { 634s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 634s # } 634s # else 634s # { 634s # g_value_init (&value, pspec->value_type); 634s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 634s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 634s # g_value_unset (&value); 634s # } 634s # return ret; 634s # } 634s # 634s # static gboolean 634s # _org_project_useful_interface_skeleton_handle_set_property ( 634s # GDBusConnection *connection G_GNUC_UNUSED, 634s # const gchar *sender G_GNUC_UNUSED, 634s # const gchar *object_path G_GNUC_UNUSED, 634s # const gchar *interface_name G_GNUC_UNUSED, 634s # const gchar *property_name, 634s # GVariant *variant, 634s # GError **error, 634s # gpointer user_data) 634s # { 634s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 634s # GValue value = G_VALUE_INIT; 634s # GParamSpec *pspec; 634s # _ExtendedGDBusPropertyInfo *info; 634s # gboolean ret; 634s # ret = FALSE; 634s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 634s # g_assert (info != NULL); 634s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 634s # if (pspec == NULL) 634s # { 634s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 634s # } 634s # else 634s # { 634s # if (info->use_gvariant) 634s # g_value_set_variant (&value, variant); 634s # else 634s # g_dbus_gvariant_to_gvalue (variant, &value); 634s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 634s # g_value_unset (&value); 634s # ret = TRUE; 634s # } 634s # return ret; 634s # } 634s # 634s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 634s # { 634s # _org_project_useful_interface_skeleton_handle_method_call, 634s # _org_project_useful_interface_skeleton_handle_get_property, 634s # _org_project_useful_interface_skeleton_handle_set_property, 634s # {NULL} 634s # }; 634s # 634s # static GDBusInterfaceInfo * 634s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 634s # { 634s # return org_project_useful_interface_interface_info (); 634s # } 634s # 634s # static GDBusInterfaceVTable * 634s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 634s # { 634s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 634s # } 634s # 634s # static GVariant * 634s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 634s # { 634s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 634s # 634s # GVariantBuilder builder; 634s # guint n; 634s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 634s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 634s # goto out; 634s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 634s # { 634s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 634s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 634s # { 634s # GVariant *value; 634s # 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); 634s # if (value != NULL) 634s # { 634s # g_variant_take_ref (value); 634s # g_variant_builder_add (&builder, "{sv}", info->name, value); 634s # g_variant_unref (value); 634s # } 634s # } 634s # } 634s # out: 634s # return g_variant_builder_end (&builder); 634s # } 634s # 634s # static void 634s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 634s # { 634s # } 634s # 634s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 634s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 634s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 634s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 634s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 634s # 634s # #else 634s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 634s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 634s # 634s # #endif 634s # static void 634s # org_project_useful_interface_skeleton_finalize (GObject *object) 634s # { 634s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 634s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 634s # if (skeleton->priv->changed_properties_idle_source != NULL) 634s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 634s # g_main_context_unref (skeleton->priv->context); 634s # g_mutex_clear (&skeleton->priv->lock); 634s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 634s # } 634s # 634s # static void 634s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 634s # { 634s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 634s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 634s # #else 634s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 634s # #endif 634s # 634s # g_mutex_init (&skeleton->priv->lock); 634s # skeleton->priv->context = g_main_context_ref_thread_default (); 634s # } 634s # 634s # static void 634s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 634s # { 634s # GObjectClass *gobject_class; 634s # GDBusInterfaceSkeletonClass *skeleton_class; 634s # 634s # gobject_class = G_OBJECT_CLASS (klass); 634s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 634s # 634s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 634s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 634s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 634s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 634s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 634s # 634s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 634s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 634s # #endif 634s # } 634s # 634s # static void 634s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 634s # { 634s # } 634s # 634s # /** 634s # * org_project_useful_interface_skeleton_new: 634s # * 634s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 634s # * 634s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 634s # */ 634s # OrgProjectUsefulInterface * 634s # org_project_useful_interface_skeleton_new (void) 634s # { 634s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 634s # } 634s # /tmp/tmp4un2rcj2/tmpvk63mb9y.xml: 634s # 634s # 634s # 634s # 634s # 634s # 634s # 634s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4un2rcj2/tmpvk63mb9y.xml', '--output', '-', '--body'] 634s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 634s # Output: /* 634s # * This file is generated by gdbus-codegen, do not modify it. 634s # * 634s # * The license of this code is the same as for the D-Bus interface description 634s # * it was derived from. Note that it links to GLib, so must comply with the 634s # * LGPL linking clauses. 634s # */ 634s # 634s # #ifdef HAVE_CONFIG_H 634s # # include "config.h" 634s # #endif 634s # 634s # #include 634s # #ifdef G_OS_UNIX 634s # # include 634s # #endif 634s # 634s # #ifdef G_ENABLE_DEBUG 634s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 634s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 634s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 634s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 634s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 634s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 634s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 634s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 634s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 634s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 634s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 634s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 634s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 634s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 634s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 634s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 634s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 634s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 634s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 634s # #else /* !G_ENABLE_DEBUG */ 634s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 634s # * Do not access GValues directly in your code. Instead, use the 634s # * g_value_get_*() functions 634s # */ 634s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 634s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 634s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 634s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 634s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 634s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 634s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 634s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 634s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 634s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 634s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 634s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 634s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 634s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 634s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 634s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 634s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 634s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 634s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 634s # #endif /* !G_ENABLE_DEBUG */ 634s # 634s # typedef struct 634s # { 634s # GDBusArgInfo parent_struct; 634s # gboolean use_gvariant; 634s # } _ExtendedGDBusArgInfo; 634s # 634s # typedef struct 634s # { 634s # GDBusMethodInfo parent_struct; 634s # const gchar *signal_name; 634s # gboolean pass_fdlist; 634s # } _ExtendedGDBusMethodInfo; 634s # 634s # typedef struct 634s # { 634s # GDBusSignalInfo parent_struct; 634s # const gchar *signal_name; 634s # } _ExtendedGDBusSignalInfo; 634s # 634s # typedef struct 634s # { 634s # GDBusPropertyInfo parent_struct; 634s # const gchar *hyphen_name; 634s # guint use_gvariant : 1; 634s # guint emits_changed_signal : 1; 634s # } _ExtendedGDBusPropertyInfo; 634s # 634s # typedef struct 634s # { 634s # GDBusInterfaceInfo parent_struct; 634s # const gchar *hyphen_name; 634s # } _ExtendedGDBusInterfaceInfo; 634s # 634s # typedef struct 634s # { 634s # const _ExtendedGDBusPropertyInfo *info; 634s # guint prop_id; 634s # GValue orig_value; /* the value before the change */ 634s # } ChangedProperty; 634s # 634s # static void 634s # _changed_property_free (ChangedProperty *data) 634s # { 634s # g_value_unset (&data->orig_value); 634s # g_free (data); 634s # } 634s # 634s # static gboolean 634s # _g_strv_equal0 (gchar **a, gchar **b) 634s # { 634s # gboolean ret = FALSE; 634s # guint n; 634s # if (a == NULL && b == NULL) 634s # { 634s # ret = TRUE; 634s # goto out; 634s # } 634s # if (a == NULL || b == NULL) 634s # goto out; 634s # if (g_strv_length (a) != g_strv_length (b)) 634s # goto out; 634s # for (n = 0; a[n] != NULL; n++) 634s # if (g_strcmp0 (a[n], b[n]) != 0) 634s # goto out; 634s # ret = TRUE; 634s # out: 634s # return ret; 634s # } 634s # 634s # static gboolean 634s # _g_variant_equal0 (GVariant *a, GVariant *b) 634s # { 634s # gboolean ret = FALSE; 634s # if (a == NULL && b == NULL) 634s # { 634s # ret = TRUE; 634s # goto out; 634s # } 634s # if (a == NULL || b == NULL) 634s # goto out; 634s # ret = g_variant_equal (a, b); 634s # out: 634s # return ret; 634s # } 634s # 634s # G_GNUC_UNUSED static gboolean 634s # _g_value_equal (const GValue *a, const GValue *b) 634s # { 634s # gboolean ret = FALSE; 634s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 634s # switch (G_VALUE_TYPE (a)) 634s # { 634s # case G_TYPE_BOOLEAN: 634s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 634s # break; 634s # case G_TYPE_UCHAR: 634s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 634s # break; 634s # case G_TYPE_INT: 634s # ret = (g_value_get_int (a) == g_value_get_int (b)); 634s # break; 634s # case G_TYPE_UINT: 634s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 634s # break; 634s # case G_TYPE_INT64: 634s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 634s # break; 634s # case G_TYPE_UINT64: 634s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 634s # break; 634s # case G_TYPE_DOUBLE: 634s # { 634s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 634s # gdouble da = g_value_get_double (a); 634s # gdouble db = g_value_get_double (b); 634s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 634s # } 634s # break; 634s # case G_TYPE_STRING: 634s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 634s # break; 634s # case G_TYPE_VARIANT: 634s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 634s # break; 634s # default: 634s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 634s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 634s # else 634s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 634s # break; 634s # } 634s # return ret; 634s # } 634s # 634s # static void 634s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 634s # GClosure *closure, 634s # GValue *return_value, 634s # unsigned int n_param_values, 634s # const GValue *param_values, 634s # void *invocation_hint G_GNUC_UNUSED, 634s # void *marshal_data) 634s # { 634s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 634s # (void *data1, 634s # GDBusMethodInvocation *arg_method_invocation, 634s # gint64 arg_arg_x, 634s # void *data2); 634s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 634s # GCClosure *cc = (GCClosure*) closure; 634s # void *data1, *data2; 634s # gboolean v_return; 634s # 634s # g_return_if_fail (return_value != NULL); 634s # g_return_if_fail (n_param_values == 3); 634s # 634s # if (G_CCLOSURE_SWAP_DATA (closure)) 634s # { 634s # data1 = closure->data; 634s # data2 = g_value_peek_pointer (param_values + 0); 634s # } 634s # else 634s # { 634s # data1 = g_value_peek_pointer (param_values + 0); 634s # data2 = closure->data; 634s # } 634s # 634s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 634s # (marshal_data ? marshal_data : cc->callback); 634s # 634s # v_return = 634s # callback (data1, 634s # g_marshal_value_peek_object (param_values + 1), 634s # g_marshal_value_peek_int64 (param_values + 2), 634s # data2); 634s # 634s # g_value_set_boolean (return_value, v_return); 634s # } 634s # 634s # /* ------------------------------------------------------------------------ 634s # * Code for interface org.project.UsefulInterface 634s # * ------------------------------------------------------------------------ 634s # */ 634s # 634s # /** 634s # * SECTION:OrgProjectUsefulInterface 634s # * @title: OrgProjectUsefulInterface 634s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 634s # * 634s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 634s # */ 634s # 634s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 634s # 634s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 634s # { 634s # { 634s # -1, 634s # (gchar *) "arg_x", 634s # (gchar *) "x", 634s # NULL 634s # }, 634s # FALSE 634s # }; 634s # 634s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 634s # { 634s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 634s # NULL 634s # }; 634s # 634s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 634s # { 634s # { 634s # -1, 634s # (gchar *) "SingleArgMethodX", 634s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 634s # NULL, 634s # NULL 634s # }, 634s # "handle-single-arg-method-x", 634s # FALSE 634s # }; 634s # 634s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 634s # { 634s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 634s # NULL 634s # }; 634s # 634s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 634s # { 634s # { 634s # -1, 634s # (gchar *) "org.project.UsefulInterface", 634s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 634s # NULL, 634s # NULL, 634s # NULL 634s # }, 634s # "org-project-useful-interface", 634s # }; 634s # 634s # 634s # /** 634s # * org_project_useful_interface_interface_info: 634s # * 634s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 634s # * 634s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 634s # */ 634s # GDBusInterfaceInfo * 634s # org_project_useful_interface_interface_info (void) 634s # { 634s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 634s # } 634s # 634s # /** 634s # * org_project_useful_interface_override_properties: 634s # * @klass: The class structure for a #GObject derived class. 634s # * @property_id_begin: The property id to assign to the first overridden property. 634s # * 634s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 634s # * The properties are overridden in the order they are defined. 634s # * 634s # * Returns: The last property id. 634s # */ 634s # guint 634s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 634s # { 634s # return property_id_begin - 1; 634s # } 634s # 634s # 634s # inline static void 634s # org_project_useful_interface_method_marshal_single_arg_method_x ( 634s # GClosure *closure, 634s # GValue *return_value, 634s # unsigned int n_param_values, 634s # const GValue *param_values, 634s # void *invocation_hint, 634s # void *marshal_data) 634s # { 634s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 634s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 634s # } 634s # 634s # 634s # /** 634s # * OrgProjectUsefulInterface: 634s # * 634s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 634s # */ 634s # 634s # /** 634s # * OrgProjectUsefulInterfaceIface: 634s # * @parent_iface: The parent interface. 634s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 634s # * 634s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 634s # */ 634s # 634s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 634s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 634s # 634s # static void 634s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 634s # { 634s # /* GObject signals for incoming D-Bus method calls: */ 634s # /** 634s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 634s # * @object: A #OrgProjectUsefulInterface. 634s # * @invocation: A #GDBusMethodInvocation. 634s # * @arg_arg_x: Argument passed by remote caller. 634s # * 634s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 634s # * 634s # * 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. 634s # * 634s # * 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. 634s # */ 634s # g_signal_new ("handle-single-arg-method-x", 634s # G_TYPE_FROM_INTERFACE (iface), 634s # G_SIGNAL_RUN_LAST, 634s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 634s # g_signal_accumulator_true_handled, 634s # NULL, 634s # org_project_useful_interface_method_marshal_single_arg_method_x, 634s # G_TYPE_BOOLEAN, 634s # 2, 634s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 634s # 634s # } 634s # 634s # /** 634s # * org_project_useful_interface_call_single_arg_method_x: 634s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 634s # * @arg_arg_x: Argument to pass with the method invocation. 634s # * @cancellable: (nullable): A #GCancellable or %NULL. 634s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 634s # * @user_data: User data to pass to @callback. 634s # * 634s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 634s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 634s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 634s # * 634s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 634s # */ 634s # void 634s # org_project_useful_interface_call_single_arg_method_x ( 634s # OrgProjectUsefulInterface *proxy, 634s # gint64 arg_arg_x, 634s # GCancellable *cancellable, 634s # GAsyncReadyCallback callback, 634s # gpointer user_data) 634s # { 634s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 634s # "SingleArgMethodX", 634s # g_variant_new ("(x)", 634s # arg_arg_x), 634s # G_DBUS_CALL_FLAGS_NONE, 634s # -1, 634s # cancellable, 634s # callback, 634s # user_data); 634s # } 634s # 634s # /** 634s # * org_project_useful_interface_call_single_arg_method_x_finish: 634s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 634s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 634s # * @error: Return location for error or %NULL. 634s # * 634s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 634s # * 634s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 634s # */ 634s # gboolean 634s # org_project_useful_interface_call_single_arg_method_x_finish ( 634s # OrgProjectUsefulInterface *proxy, 634s # GAsyncResult *res, 634s # GError **error) 634s # { 634s # GVariant *_ret; 634s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 634s # if (_ret == NULL) 634s # goto _out; 634s # g_variant_get (_ret, 634s # "()"); 634s # g_variant_unref (_ret); 634s # _out: 634s # return _ret != NULL; 634s # } 634s # 634s # /** 634s # * org_project_useful_interface_call_single_arg_method_x_sync: 634s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 634s # * @arg_arg_x: Argument to pass with the method invocation. 634s # * @cancellable: (nullable): A #GCancellable or %NULL. 634s # * @error: Return location for error or %NULL. 634s # * 634s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 634s # * 634s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 634s # * 634s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 634s # */ 634s # gboolean 634s # org_project_useful_interface_call_single_arg_method_x_sync ( 634s # OrgProjectUsefulInterface *proxy, 634s # gint64 arg_arg_x, 634s # GCancellable *cancellable, 634s # GError **error) 634s # { 634s # GVariant *_ret; 634s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 634s # "SingleArgMethodX", 634s # g_variant_new ("(x)", 634s # arg_arg_x), 634s # G_DBUS_CALL_FLAGS_NONE, 634s # -1, 634s # cancellable, 634s # error); 634s # if (_ret == NULL) 634s # goto _out; 634s # g_variant_get (_ret, 634s # "()"); 634s # g_variant_unref (_ret); 634s # _out: 634s # return _ret != NULL; 634s # } 634s # 634s # /** 634s # * org_project_useful_interface_complete_single_arg_method_x: 634s # * @object: A #OrgProjectUsefulInterface. 634s # * @invocation: (transfer full): A #GDBusMethodInvocation. 634s # * 634s # * 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. 634s # * 634s # * This method will free @invocation, you cannot use it afterwards. 634s # */ 634s # void 634s # org_project_useful_interface_complete_single_arg_method_x ( 634s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 634s # GDBusMethodInvocation *invocation) 634s # { 634s # g_dbus_method_invocation_return_value (invocation, 634s # g_variant_new ("()")); 634s # } 634s # 634s # /* ------------------------------------------------------------------------ */ 634s # 634s # /** 634s # * OrgProjectUsefulInterfaceProxy: 634s # * 634s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 634s # */ 634s # 634s # /** 634s # * OrgProjectUsefulInterfaceProxyClass: 634s # * @parent_class: The parent class. 634s # * 634s # * Class structure for #OrgProjectUsefulInterfaceProxy. 634s # */ 634s # 634s # struct _OrgProjectUsefulInterfaceProxyPrivate 634s # { 634s # GData *qdata; 634s # }; 634s # 634s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 634s # 634s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 634s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 634s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 634s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 634s # 634s # #else 634s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 634s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 634s # 634s # #endif 634s # static void 634s # org_project_useful_interface_proxy_finalize (GObject *object) 634s # { 634s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 634s # g_datalist_clear (&proxy->priv->qdata); 634s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 634s # } 634s # 634s # static void 634s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 634s # guint prop_id G_GNUC_UNUSED, 634s # GValue *value G_GNUC_UNUSED, 634s # GParamSpec *pspec G_GNUC_UNUSED) 634s # { 634s # } 634s # 634s # static void 634s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 634s # guint prop_id G_GNUC_UNUSED, 634s # const GValue *value G_GNUC_UNUSED, 634s # GParamSpec *pspec G_GNUC_UNUSED) 634s # { 634s # } 634s # 634s # static void 634s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 634s # const gchar *sender_name G_GNUC_UNUSED, 634s # const gchar *signal_name, 634s # GVariant *parameters) 634s # { 634s # _ExtendedGDBusSignalInfo *info; 634s # GVariantIter iter; 634s # GVariant *child; 634s # GValue *paramv; 634s # gsize num_params; 634s # gsize n; 634s # guint signal_id; 634s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 634s # if (info == NULL) 634s # return; 634s # num_params = g_variant_n_children (parameters); 634s # paramv = g_new0 (GValue, num_params + 1); 634s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 634s # g_value_set_object (¶mv[0], proxy); 634s # g_variant_iter_init (&iter, parameters); 634s # n = 1; 634s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 634s # { 634s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 634s # if (arg_info->use_gvariant) 634s # { 634s # g_value_init (¶mv[n], G_TYPE_VARIANT); 634s # g_value_set_variant (¶mv[n], child); 634s # n++; 634s # } 634s # else 634s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 634s # g_variant_unref (child); 634s # } 634s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 634s # g_signal_emitv (paramv, signal_id, 0, NULL); 634s # for (n = 0; n < num_params + 1; n++) 634s # g_value_unset (¶mv[n]); 634s # g_free (paramv); 634s # } 634s # 634s # static void 634s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 634s # GVariant *changed_properties, 634s # const gchar *const *invalidated_properties) 634s # { 634s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 634s # guint n; 634s # const gchar *key; 634s # GVariantIter *iter; 634s # _ExtendedGDBusPropertyInfo *info; 634s # g_variant_get (changed_properties, "a{sv}", &iter); 634s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 634s # { 634s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 634s # g_datalist_remove_data (&proxy->priv->qdata, key); 634s # if (info != NULL) 634s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 634s # } 634s # g_variant_iter_free (iter); 634s # for (n = 0; invalidated_properties[n] != NULL; n++) 634s # { 634s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 634s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 634s # if (info != NULL) 634s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 634s # } 634s # } 634s # 634s # static void 634s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 634s # { 634s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 634s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 634s # #else 634s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 634s # #endif 634s # 634s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 634s # } 634s # 634s # static void 634s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 634s # { 634s # GObjectClass *gobject_class; 634s # GDBusProxyClass *proxy_class; 634s # 634s # gobject_class = G_OBJECT_CLASS (klass); 634s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 634s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 634s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 634s # 634s # proxy_class = G_DBUS_PROXY_CLASS (klass); 634s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 634s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 634s # 634s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 634s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 634s # #endif 634s # } 634s # 634s # static void 634s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 634s # { 634s # } 634s # 634s # /** 634s # * org_project_useful_interface_proxy_new: 634s # * @connection: A #GDBusConnection. 634s # * @flags: Flags from the #GDBusProxyFlags enumeration. 634s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 634s # * @object_path: An object path. 634s # * @cancellable: (nullable): A #GCancellable or %NULL. 634s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 634s # * @user_data: User data to pass to @callback. 634s # * 634s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 634s # * 634s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 634s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 634s # * 634s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 634s # */ 634s # void 634s # org_project_useful_interface_proxy_new ( 634s # GDBusConnection *connection, 634s # GDBusProxyFlags flags, 634s # const gchar *name, 634s # const gchar *object_path, 634s # GCancellable *cancellable, 634s # GAsyncReadyCallback callback, 634s # gpointer user_data) 634s # { 634s # g_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); 634s # } 634s # 634s # /** 634s # * org_project_useful_interface_proxy_new_finish: 634s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 634s # * @error: Return location for error or %NULL 634s # * 634s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 634s # * 634s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 634s # */ 634s # OrgProjectUsefulInterface * 634s # org_project_useful_interface_proxy_new_finish ( 634s # GAsyncResult *res, 634s # GError **error) 634s # { 634s # GObject *ret; 634s # GObject *source_object; 634s # source_object = g_async_result_get_source_object (res); 634s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 634s # g_object_unref (source_object); 634s # if (ret != NULL) 634s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 634s # else 634s # return NULL; 634s # } 634s # 634s # /** 634s # * org_project_useful_interface_proxy_new_sync: 634s # * @connection: A #GDBusConnection. 634s # * @flags: Flags from the #GDBusProxyFlags enumeration. 634s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 634s # * @object_path: An object path. 634s # * @cancellable: (nullable): A #GCancellable or %NULL. 634s # * @error: Return location for error or %NULL 634s # * 634s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 634s # * 634s # * The calling thread is blocked until a reply is received. 634s # * 634s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 634s # * 634s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 634s # */ 634s # OrgProjectUsefulInterface * 634s # org_project_useful_interface_proxy_new_sync ( 634s # GDBusConnection *connection, 634s # GDBusProxyFlags flags, 634s # const gchar *name, 634s # const gchar *object_path, 634s # GCancellable *cancellable, 634s # GError **error) 634s # { 634s # GInitable *ret; 634s # 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); 634s # if (ret != NULL) 634s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 634s # else 634s # return NULL; 634s # } 634s # 634s # 634s # /** 634s # * org_project_useful_interface_proxy_new_for_bus: 634s # * @bus_type: A #GBusType. 634s # * @flags: Flags from the #GDBusProxyFlags enumeration. 634s # * @name: A bus name (well-known or unique). 634s # * @object_path: An object path. 634s # * @cancellable: (nullable): A #GCancellable or %NULL. 634s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 634s # * @user_data: User data to pass to @callback. 634s # * 634s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 634s # * 634s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 634s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 634s # * 634s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 634s # */ 634s # void 634s # org_project_useful_interface_proxy_new_for_bus ( 634s # GBusType bus_type, 634s # GDBusProxyFlags flags, 634s # const gchar *name, 634s # const gchar *object_path, 634s # GCancellable *cancellable, 634s # GAsyncReadyCallback callback, 634s # gpointer user_data) 634s # { 634s # g_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); 634s # } 634s # 634s # /** 634s # * org_project_useful_interface_proxy_new_for_bus_finish: 634s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 634s # * @error: Return location for error or %NULL 634s # * 634s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 634s # * 634s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 634s # */ 634s # OrgProjectUsefulInterface * 634s # org_project_useful_interface_proxy_new_for_bus_finish ( 634s # GAsyncResult *res, 634s # GError **error) 634s # { 634s # GObject *ret; 634s # GObject *source_object; 634s # source_object = g_async_result_get_source_object (res); 634s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 634s # g_object_unref (source_object); 634s # if (ret != NULL) 634s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 634s # else 634s # return NULL; 634s # } 634s # 634s # /** 634s # * org_project_useful_interface_proxy_new_for_bus_sync: 634s # * @bus_type: A #GBusType. 634s # * @flags: Flags from the #GDBusProxyFlags enumeration. 634s # * @name: A bus name (well-known or unique). 634s # * @object_path: An object path. 634s # * @cancellable: (nullable): A #GCancellable or %NULL. 634s # * @error: Return location for error or %NULL 634s # * 634s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 634s # * 634s # * The calling thread is blocked until a reply is received. 634s # * 634s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 634s # * 634s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 634s # */ 634s # OrgProjectUsefulInterface * 634s # org_project_useful_interface_proxy_new_for_bus_sync ( 634s # GBusType bus_type, 634s # GDBusProxyFlags flags, 634s # const gchar *name, 634s # const gchar *object_path, 634s # GCancellable *cancellable, 634s # GError **error) 634s # { 634s # GInitable *ret; 634s # 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); 634s # if (ret != NULL) 634s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 634s # else 634s # return NULL; 634s # } 634s # 634s # 634s # /* ------------------------------------------------------------------------ */ 634s # 634s # /** 634s # * OrgProjectUsefulInterfaceSkeleton: 634s # * 634s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 634s # */ 634s # 634s # /** 634s # * OrgProjectUsefulInterfaceSkeletonClass: 634s # * @parent_class: The parent class. 634s # * 634s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 634s # */ 634s # 634s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 634s # { 634s # GValue *properties; 634s # GList *changed_properties; 634s # GSource *changed_properties_idle_source; 634s # GMainContext *context; 634s # GMutex lock; 634s # }; 634s # 634s # static void 634s # _org_project_useful_interface_skeleton_handle_method_call ( 634s # GDBusConnection *connection G_GNUC_UNUSED, 634s # const gchar *sender G_GNUC_UNUSED, 634s # const gchar *object_path G_GNUC_UNUSED, 634s # const gchar *interface_name, 634s # const gchar *method_name, 634s # GVariant *parameters, 634s # GDBusMethodInvocation *invocation, 634s # gpointer user_data) 634s # { 634s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 634s # _ExtendedGDBusMethodInfo *info; 634s # GVariantIter iter; 634s # GVariant *child; 634s # GValue *paramv; 634s # gsize num_params; 634s # guint num_extra; 634s # gsize n; 634s # guint signal_id; 634s # GValue return_value = G_VALUE_INIT; 634s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 634s # g_assert (info != NULL); 634s # num_params = g_variant_n_children (parameters); 634s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 634s # n = 0; 634s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 634s # g_value_set_object (¶mv[n++], skeleton); 634s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 634s # g_value_set_object (¶mv[n++], invocation); 634s # if (info->pass_fdlist) 634s # { 634s # #ifdef G_OS_UNIX 634s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 634s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 634s # #else 634s # g_assert_not_reached (); 634s # #endif 634s # } 634s # g_variant_iter_init (&iter, parameters); 634s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 634s # { 634s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 634s # if (arg_info->use_gvariant) 634s # { 634s # g_value_init (¶mv[n], G_TYPE_VARIANT); 634s # g_value_set_variant (¶mv[n], child); 634s # n++; 634s # } 634s # else 634s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 634s # g_variant_unref (child); 634s # } 634s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 634s # g_value_init (&return_value, G_TYPE_BOOLEAN); 634s # g_signal_emitv (paramv, signal_id, 0, &return_value); 634s # if (!g_value_get_boolean (&return_value)) 634s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 634s # g_value_unset (&return_value); 634s # for (n = 0; n < num_params + num_extra; n++) 634s # g_value_unset (¶mv[n]); 634s # g_free (paramv); 634s # } 634s # 634s # static GVariant * 634s # _org_project_useful_interface_skeleton_handle_get_property ( 634s # GDBusConnection *connection G_GNUC_UNUSED, 634s # const gchar *sender G_GNUC_UNUSED, 634s # const gchar *object_path G_GNUC_UNUSED, 634s # const gchar *interface_name G_GNUC_UNUSED, 634s # const gchar *property_name, 634s # GError **error, 634s # gpointer user_data) 634s # { 634s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 634s # GValue value = G_VALUE_INIT; 634s # GParamSpec *pspec; 634s # _ExtendedGDBusPropertyInfo *info; 634s # GVariant *ret; 634s # ret = NULL; 634s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 634s # g_assert (info != NULL); 634s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 634s # if (pspec == NULL) 634s # { 634s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 634s # } 634s # else 634s # { 634s # g_value_init (&value, pspec->value_type); 634s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 634s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 634s # g_value_unset (&value); 634s # } 634s # return ret; 634s # } 634s # 634s # static gboolean 634s # _org_project_useful_interface_skeleton_handle_set_property ( 634s # GDBusConnection *connection G_GNUC_UNUSED, 634s # const gchar *sender G_GNUC_UNUSED, 634s # const gchar *object_path G_GNUC_UNUSED, 634s # const gchar *interface_name G_GNUC_UNUSED, 634s # const gchar *property_name, 634s # GVariant *variant, 634s # GError **error, 634s # gpointer user_data) 634s # { 634s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 634s # GValue value = G_VALUE_INIT; 634s # GParamSpec *pspec; 634s # _ExtendedGDBusPropertyInfo *info; 634s # gboolean ret; 634s # ret = FALSE; 634s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 634s # g_assert (info != NULL); 634s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 634s # if (pspec == NULL) 634s # { 634s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 634s # } 634s # else 634s # { 634s # if (info->use_gvariant) 634s # g_value_set_variant (&value, variant); 634s # else 634s # g_dbus_gvariant_to_gvalue (variant, &value); 634s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 634s # g_value_unset (&value); 634s # ret = TRUE; 634s # } 634s # return ret; 634s # } 634s # 634s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 634s # { 634s # _org_project_useful_interface_skeleton_handle_method_call, 634s # _org_project_useful_interface_skeleton_handle_get_property, 634s # _org_project_useful_interface_skeleton_handle_set_property, 634s # {NULL} 634s # }; 634s # 634s # static GDBusInterfaceInfo * 634s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 634s # { 634s # return org_project_useful_interface_interface_info (); 634s # } 634s # 634s # static GDBusInterfaceVTable * 634s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 634s # { 634s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 634s # } 634s # 634s # static GVariant * 634s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 634s # { 634s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 634s # 634s # GVariantBuilder builder; 634s # guint n; 634s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 634s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 634s # goto out; 634s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 634s # { 634s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 634s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 634s # { 634s # GVariant *value; 634s # 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); 634s # if (value != NULL) 634s # { 634s # g_variant_take_ref (value); 634s # g_variant_builder_add (&builder, "{sv}", info->name, value); 634s # g_variant_unref (value); 634s # } 634s # } 634s # } 634s # out: 634s # return g_variant_builder_end (&builder); 634s # } 634s # 634s # static void 634s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 634s # { 634s # } 634s # 634s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 634s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 634s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 634s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 634s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 634s # 634s # #else 634s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 634s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 634s # 634s # #endif 634s # static void 634s # org_project_useful_interface_skeleton_finalize (GObject *object) 634s # { 634s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 634s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 634s # if (skeleton->priv->changed_properties_idle_source != NULL) 634s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 634s # g_main_context_unref (skeleton->priv->context); 634s # g_mutex_clear (&skeleton->priv->lock); 634s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 634s # } 634s # 634s # static void 634s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 634s # { 634s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 634s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 634s # #else 634s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 634s # #endif 634s # 634s # g_mutex_init (&skeleton->priv->lock); 634s # skeleton->priv->context = g_main_context_ref_thread_default (); 634s # } 634s # 634s # static void 634s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 634s # { 634s # GObjectClass *gobject_class; 634s # GDBusInterfaceSkeletonClass *skeleton_class; 634s # 634s # gobject_class = G_OBJECT_CLASS (klass); 634s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 634s # 634s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 634s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 634s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 634s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 634s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 634s # 634s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 634s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 634s # #endif 634s # } 634s # 634s # static void 634s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 634s # { 634s # } 634s # 634s # /** 634s # * org_project_useful_interface_skeleton_new: 634s # * 634s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 634s # * 634s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 634s # */ 634s # OrgProjectUsefulInterface * 634s # org_project_useful_interface_skeleton_new (void) 634s # { 634s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 634s # } 634s # /tmp/tmp4un2rcj2/tmpednv31ii.xml: 634s # 634s # 634s # 634s # 634s # 634s # 634s # 634s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4un2rcj2/tmpednv31ii.xml', '--output', '-', '--body'] 634s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 634s # Output: /* 634s # * This file is generated by gdbus-codegen, do not modify it. 634s # * 634s # * The license of this code is the same as for the D-Bus interface description 634s # * it was derived from. Note that it links to GLib, so must comply with the 634s # * LGPL linking clauses. 634s # */ 634s # 634s # #ifdef HAVE_CONFIG_H 634s # # include "config.h" 634s # #endif 634s # 634s # #include 634s # #ifdef G_OS_UNIX 634s # # include 634s # #endif 634s # 634s # #ifdef G_ENABLE_DEBUG 634s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 634s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 634s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 634s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 634s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 634s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 634s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 634s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 634s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 634s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 634s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 634s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 634s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 634s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 634s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 634s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 634s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 634s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 634s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 634s # #else /* !G_ENABLE_DEBUG */ 634s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 634s # * Do not access GValues directly in your code. Instead, use the 634s # * g_value_get_*() functions 634s # */ 634s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 634s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 634s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 634s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 634s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 634s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 634s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 634s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 634s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 634s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 634s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 634s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 634s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 634s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 634s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 634s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 634s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 634s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 634s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 634s # #endif /* !G_ENABLE_DEBUG */ 634s # 634s # typedef struct 634s # { 634s # GDBusArgInfo parent_struct; 634s # gboolean use_gvariant; 634s # } _ExtendedGDBusArgInfo; 634s # 634s # typedef struct 634s # { 634s # GDBusMethodInfo parent_struct; 634s # const gchar *signal_name; 634s # gboolean pass_fdlist; 634s # } _ExtendedGDBusMethodInfo; 634s # 634s # typedef struct 634s # { 634s # GDBusSignalInfo parent_struct; 634s # const gchar *signal_name; 634s # } _ExtendedGDBusSignalInfo; 634s # 634s # typedef struct 634s # { 634s # GDBusPropertyInfo parent_struct; 634s # const gchar *hyphen_name; 634s # guint use_gvariant : 1; 634s # guint emits_changed_signal : 1; 634s # } _ExtendedGDBusPropertyInfo; 634s # 634s # typedef struct 634s # { 634s # GDBusInterfaceInfo parent_struct; 634s # const gchar *hyphen_name; 634s # } _ExtendedGDBusInterfaceInfo; 634s # 634s # typedef struct 634s # { 634s # const _ExtendedGDBusPropertyInfo *info; 634s # guint prop_id; 634s # GValue orig_value; /* the value before the change */ 634s # } ChangedProperty; 634s # 634s # static void 634s # _changed_property_free (ChangedProperty *data) 634s # { 634s # g_value_unset (&data->orig_value); 634s # g_free (data); 634s # } 634s # 634s # static gboolean 634s # _g_strv_equal0 (gchar **a, gchar **b) 634s # { 634s # gboolean ret = FALSE; 634s # guint n; 634s # if (a == NULL && b == NULL) 634s # { 634s # ret = TRUE; 634s # goto out; 634s # } 634s # if (a == NULL || b == NULL) 634s # goto out; 634s # if (g_strv_length (a) != g_strv_length (b)) 634s # goto out; 634s # for (n = 0; a[n] != NULL; n++) 634s # if (g_strcmp0 (a[n], b[n]) != 0) 634s # goto out; 634s # ret = TRUE; 634s # out: 634s # return ret; 634s # } 634s # 634s # static gboolean 634s # _g_variant_equal0 (GVariant *a, GVariant *b) 634s # { 634s # gboolean ret = FALSE; 634s # if (a == NULL && b == NULL) 634s # { 634s # ret = TRUE; 634s # goto out; 634s # } 634s # if (a == NULL || b == NULL) 634s # goto out; 634s # ret = g_variant_equal (a, b); 634s # out: 634s # return ret; 634s # } 634s # 634s # G_GNUC_UNUSED static gboolean 634s # _g_value_equal (const GValue *a, const GValue *b) 634s # { 634s # gboolean ret = FALSE; 634s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 634s # switch (G_VALUE_TYPE (a)) 634s # { 634s # case G_TYPE_BOOLEAN: 634s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 634s # break; 634s # case G_TYPE_UCHAR: 634s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 634s # break; 634s # case G_TYPE_INT: 634s # ret = (g_value_get_int (a) == g_value_get_int (b)); 634s # break; 634s # case G_TYPE_UINT: 634s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 634s # break; 634s # case G_TYPE_INT64: 634s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 634s # break; 634s # case G_TYPE_UINT64: 634s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 634s # break; 634s # case G_TYPE_DOUBLE: 634s # { 634s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 634s # gdouble da = g_value_get_double (a); 634s # gdouble db = g_value_get_double (b); 634s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 634s # } 634s # break; 634s # case G_TYPE_STRING: 634s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 634s # break; 634s # case G_TYPE_VARIANT: 634s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 634s # break; 634s # default: 634s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 634s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 634s # else 634s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 634s # break; 634s # } 634s # return ret; 634s # } 634s # 634s # static void 634s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 634s # GClosure *closure, 634s # GValue *return_value, 634s # unsigned int n_param_values, 634s # const GValue *param_values, 634s # void *invocation_hint G_GNUC_UNUSED, 634s # void *marshal_data) 634s # { 634s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 634s # (void *data1, 634s # GDBusMethodInvocation *arg_method_invocation, 634s # guint64 arg_arg_t, 634s # void *data2); 634s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 634s # GCClosure *cc = (GCClosure*) closure; 634s # void *data1, *data2; 634s # gboolean v_return; 634s # 634s # g_return_if_fail (return_value != NULL); 634s # g_return_if_fail (n_param_values == 3); 634s # 634s # if (G_CCLOSURE_SWAP_DATA (closure)) 634s # { 634s # data1 = closure->data; 634s # data2 = g_value_peek_pointer (param_values + 0); 634s # } 634s # else 634s # { 634s # data1 = g_value_peek_pointer (param_values + 0); 634s # data2 = closure->data; 634s # } 634s # 634s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 634s # (marshal_data ? marshal_data : cc->callback); 634s # 634s # v_return = 634s # callback (data1, 634s # g_marshal_value_peek_object (param_values + 1), 634s # g_marshal_value_peek_uint64 (param_values + 2), 634s # data2); 634s # 634s # g_value_set_boolean (return_value, v_return); 634s # } 634s # 634s # /* ------------------------------------------------------------------------ 634s # * Code for interface org.project.UsefulInterface 634s # * ------------------------------------------------------------------------ 634s # */ 634s # 634s # /** 634s # * SECTION:OrgProjectUsefulInterface 634s # * @title: OrgProjectUsefulInterface 634s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 634s # * 634s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 634s # */ 634s # 634s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 634s # 634s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 634s # { 634s # { 634s # -1, 634s # (gchar *) "arg_t", 634s # (gchar *) "t", 634s # NULL 634s # }, 634s # FALSE 634s # }; 634s # 634s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 634s # { 634s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 634s # NULL 634s # }; 634s # 634s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 634s # { 634s # { 634s # -1, 634s # (gchar *) "SingleArgMethodT", 634s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 634s # NULL, 634s # NULL 634s # }, 634s # "handle-single-arg-method-t", 634s # FALSE 634s # }; 634s # 634s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 634s # { 634s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 634s # NULL 634s # }; 634s # 634s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 634s # { 634s # { 634s # -1, 634s # (gchar *) "org.project.UsefulInterface", 634s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 634s # NULL, 634s # NULL, 634s # NULL 634s # }, 634s # "org-project-useful-interface", 634s # }; 634s # 634s # 634s # /** 634s # * org_project_useful_interface_interface_info: 634s # * 634s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 634s # * 634s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 634s # */ 634s # GDBusInterfaceInfo * 634s # org_project_useful_interface_interface_info (void) 634s # { 634s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 634s # } 634s # 634s # /** 634s # * org_project_useful_interface_override_properties: 634s # * @klass: The class structure for a #GObject derived class. 634s # * @property_id_begin: The property id to assign to the first overridden property. 634s # * 634s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 634s # * The properties are overridden in the order they are defined. 634s # * 634s # * Returns: The last property id. 634s # */ 634s # guint 634s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 634s # { 634s # return property_id_begin - 1; 634s # } 634s # 634s # 634s # inline static void 634s # org_project_useful_interface_method_marshal_single_arg_method_t ( 634s # GClosure *closure, 634s # GValue *return_value, 634s # unsigned int n_param_values, 634s # const GValue *param_values, 634s # void *invocation_hint, 634s # void *marshal_data) 634s # { 634s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 634s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 634s # } 634s # 634s # 634s # /** 634s # * OrgProjectUsefulInterface: 634s # * 634s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 634s # */ 634s # 634s # /** 634s # * OrgProjectUsefulInterfaceIface: 634s # * @parent_iface: The parent interface. 634s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 634s # * 634s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 634s # */ 634s # 634s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 634s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 634s # 634s # static void 634s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 634s # { 634s # /* GObject signals for incoming D-Bus method calls: */ 634s # /** 634s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 634s # * @object: A #OrgProjectUsefulInterface. 634s # * @invocation: A #GDBusMethodInvocation. 634s # * @arg_arg_t: Argument passed by remote caller. 634s # * 634s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 634s # * 634s # * 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. 634s # * 634s # * 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. 634s # */ 634s # g_signal_new ("handle-single-arg-method-t", 634s # G_TYPE_FROM_INTERFACE (iface), 634s # G_SIGNAL_RUN_LAST, 634s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 634s # g_signal_accumulator_true_handled, 634s # NULL, 634s # org_project_useful_interface_method_marshal_single_arg_method_t, 634s # G_TYPE_BOOLEAN, 634s # 2, 634s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 634s # 634s # } 634s # 634s # /** 634s # * org_project_useful_interface_call_single_arg_method_t: 634s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 634s # * @arg_arg_t: Argument to pass with the method invocation. 634s # * @cancellable: (nullable): A #GCancellable or %NULL. 634s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 634s # * @user_data: User data to pass to @callback. 634s # * 634s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 634s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 634s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 634s # * 634s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 634s # */ 634s # void 634s # org_project_useful_interface_call_single_arg_method_t ( 634s # OrgProjectUsefulInterface *proxy, 634s # guint64 arg_arg_t, 634s # GCancellable *cancellable, 634s # GAsyncReadyCallback callback, 634s # gpointer user_data) 634s # { 634s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 634s # "SingleArgMethodT", 634s # g_variant_new ("(t)", 634s # arg_arg_t), 634s # G_DBUS_CALL_FLAGS_NONE, 634s # -1, 634s # cancellable, 634s # callback, 634s # user_data); 634s # } 634s # 634s # /** 634s # * org_project_useful_interface_call_single_arg_method_t_finish: 634s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 634s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 634s # * @error: Return location for error or %NULL. 634s # * 634s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 634s # * 634s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 634s # */ 634s # gboolean 634s # org_project_useful_interface_call_single_arg_method_t_finish ( 634s # OrgProjectUsefulInterface *proxy, 634s # GAsyncResult *res, 634s # GError **error) 634s # { 634s # GVariant *_ret; 634s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 634s # if (_ret == NULL) 634s # goto _out; 634s # g_variant_get (_ret, 634s # "()"); 634s # g_variant_unref (_ret); 634s # _out: 634s # return _ret != NULL; 634s # } 634s # 634s # /** 634s # * org_project_useful_interface_call_single_arg_method_t_sync: 634s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 634s # * @arg_arg_t: Argument to pass with the method invocation. 634s # * @cancellable: (nullable): A #GCancellable or %NULL. 634s # * @error: Return location for error or %NULL. 634s # * 634s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 634s # * 634s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 634s # * 634s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 634s # */ 634s # gboolean 634s # org_project_useful_interface_call_single_arg_method_t_sync ( 634s # OrgProjectUsefulInterface *proxy, 634s # guint64 arg_arg_t, 634s # GCancellable *cancellable, 634s # GError **error) 634s # { 634s # GVariant *_ret; 634s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 634s # "SingleArgMethodT", 634s # g_variant_new ("(t)", 634s # arg_arg_t), 634s # G_DBUS_CALL_FLAGS_NONE, 634s # -1, 634s # cancellable, 634s # error); 634s # if (_ret == NULL) 634s # goto _out; 634s # g_variant_get (_ret, 634s # "()"); 634s # g_variant_unref (_ret); 634s # _out: 634s # return _ret != NULL; 634s # } 634s # 634s # /** 634s # * org_project_useful_interface_complete_single_arg_method_t: 634s # * @object: A #OrgProjectUsefulInterface. 634s # * @invocation: (transfer full): A #GDBusMethodInvocation. 634s # * 634s # * 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. 634s # * 634s # * This method will free @invocation, you cannot use it afterwards. 634s # */ 634s # void 634s # org_project_useful_interface_complete_single_arg_method_t ( 634s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 634s # GDBusMethodInvocation *invocation) 634s # { 634s # g_dbus_method_invocation_return_value (invocation, 634s # g_variant_new ("()")); 634s # } 634s # 634s # /* ------------------------------------------------------------------------ */ 634s # 634s # /** 634s # * OrgProjectUsefulInterfaceProxy: 634s # * 634s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 634s # */ 634s # 634s # /** 634s # * OrgProjectUsefulInterfaceProxyClass: 634s # * @parent_class: The parent class. 634s # * 634s # * Class structure for #OrgProjectUsefulInterfaceProxy. 634s # */ 634s # 634s # struct _OrgProjectUsefulInterfaceProxyPrivate 634s # { 634s # GData *qdata; 634s # }; 634s # 634s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 634s # 634s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 634s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 634s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 634s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 634s # 634s # #else 634s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 634s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 634s # 634s # #endif 634s # static void 634s # org_project_useful_interface_proxy_finalize (GObject *object) 634s # { 634s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 634s # g_datalist_clear (&proxy->priv->qdata); 634s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 634s # } 634s # 634s # static void 634s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 634s # guint prop_id G_GNUC_UNUSED, 634s # GValue *value G_GNUC_UNUSED, 634s # GParamSpec *pspec G_GNUC_UNUSED) 634s # { 634s # } 634s # 634s # static void 634s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 634s # guint prop_id G_GNUC_UNUSED, 634s # const GValue *value G_GNUC_UNUSED, 634s # GParamSpec *pspec G_GNUC_UNUSED) 634s # { 634s # } 634s # 634s # static void 634s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 634s # const gchar *sender_name G_GNUC_UNUSED, 634s # const gchar *signal_name, 634s # GVariant *parameters) 634s # { 634s # _ExtendedGDBusSignalInfo *info; 634s # GVariantIter iter; 634s # GVariant *child; 634s # GValue *paramv; 634s # gsize num_params; 634s # gsize n; 634s # guint signal_id; 634s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 634s # if (info == NULL) 634s # return; 634s # num_params = g_variant_n_children (parameters); 634s # paramv = g_new0 (GValue, num_params + 1); 634s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 634s # g_value_set_object (¶mv[0], proxy); 634s # g_variant_iter_init (&iter, parameters); 634s # n = 1; 634s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 634s # { 634s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 634s # if (arg_info->use_gvariant) 634s # { 634s # g_value_init (¶mv[n], G_TYPE_VARIANT); 634s # g_value_set_variant (¶mv[n], child); 634s # n++; 634s # } 634s # else 634s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 634s # g_variant_unref (child); 634s # } 634s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 634s # g_signal_emitv (paramv, signal_id, 0, NULL); 634s # for (n = 0; n < num_params + 1; n++) 634s # g_value_unset (¶mv[n]); 634s # g_free (paramv); 634s # } 634s # 634s # static void 634s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 634s # GVariant *changed_properties, 634s # const gchar *const *invalidated_properties) 634s # { 634s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 634s # guint n; 634s # const gchar *key; 634s # GVariantIter *iter; 634s # _ExtendedGDBusPropertyInfo *info; 634s # g_variant_get (changed_properties, "a{sv}", &iter); 634s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 634s # { 634s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 634s # g_datalist_remove_data (&proxy->priv->qdata, key); 634s # if (info != NULL) 634s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 634s # } 634s # g_variant_iter_free (iter); 634s # for (n = 0; invalidated_properties[n] != NULL; n++) 634s # { 634s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 634s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 634s # if (info != NULL) 634s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 634s # } 634s # } 634s # 634s # static void 634s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 634s # { 634s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 634s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 634s # #else 634s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 634s # #endif 634s # 634s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 634s # } 634s # 634s # static void 634s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 634s # { 634s # GObjectClass *gobject_class; 634s # GDBusProxyClass *proxy_class; 634s # 634s # gobject_class = G_OBJECT_CLASS (klass); 634s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 634s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 634s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 634s # 634s # proxy_class = G_DBUS_PROXY_CLASS (klass); 634s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 634s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 634s # 634s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 634s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 634s # #endif 634s # } 634s # 634s # static void 634s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 634s # { 634s # } 634s # 634s # /** 634s # * org_project_useful_interface_proxy_new: 634s # * @connection: A #GDBusConnection. 634s # * @flags: Flags from the #GDBusProxyFlags enumeration. 634s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 634s # * @object_path: An object path. 634s # * @cancellable: (nullable): A #GCancellable or %NULL. 634s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 634s # * @user_data: User data to pass to @callback. 634s # * 634s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 634s # * 634s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 634s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 634s # * 634s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 634s # */ 634s # void 634s # org_project_useful_interface_proxy_new ( 634s # GDBusConnection *connection, 634s # GDBusProxyFlags flags, 634s # const gchar *name, 634s # const gchar *object_path, 634s # GCancellable *cancellable, 634s # GAsyncReadyCallback callback, 634s # gpointer user_data) 634s # { 634s # g_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); 634s # } 634s # 634s # /** 634s # * org_project_useful_interface_proxy_new_finish: 634s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 634s # * @error: Return location for error or %NULL 634s # * 634s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 634s # * 634s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 634s # */ 634s # OrgProjectUsefulInterface * 634s # org_project_useful_interface_proxy_new_finish ( 634s # GAsyncResult *res, 634s # GError **error) 634s # { 634s # GObject *ret; 634s # GObject *source_object; 634s # source_object = g_async_result_get_source_object (res); 634s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 634s # g_object_unref (source_object); 634s # if (ret != NULL) 634s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 634s # else 634s # return NULL; 634s # } 634s # 634s # /** 634s # * org_project_useful_interface_proxy_new_sync: 634s # * @connection: A #GDBusConnection. 634s # * @flags: Flags from the #GDBusProxyFlags enumeration. 634s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 634s # * @object_path: An object path. 634s # * @cancellable: (nullable): A #GCancellable or %NULL. 634s # * @error: Return location for error or %NULL 634s # * 634s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 634s # * 634s # * The calling thread is blocked until a reply is received. 634s # * 634s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 634s # * 634s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 634s # */ 634s # OrgProjectUsefulInterface * 634s # org_project_useful_interface_proxy_new_sync ( 634s # GDBusConnection *connection, 634s # GDBusProxyFlags flags, 634s # const gchar *name, 634s # const gchar *object_path, 634s # GCancellable *cancellable, 634s # GError **error) 634s # { 634s # GInitable *ret; 634s # 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); 634s # if (ret != NULL) 634s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 634s # else 634s # return NULL; 634s # } 634s # 634s # 634s # /** 634s # * org_project_useful_interface_proxy_new_for_bus: 634s # * @bus_type: A #GBusType. 634s # * @flags: Flags from the #GDBusProxyFlags enumeration. 634s # * @name: A bus name (well-known or unique). 634s # * @object_path: An object path. 634s # * @cancellable: (nullable): A #GCancellable or %NULL. 634s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 634s # * @user_data: User data to pass to @callback. 634s # * 634s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 634s # * 634s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 634s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 634s # * 634s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 634s # */ 634s # void 634s # org_project_useful_interface_proxy_new_for_bus ( 634s # GBusType bus_type, 634s # GDBusProxyFlags flags, 634s # const gchar *name, 634s # const gchar *object_path, 634s # GCancellable *cancellable, 634s # GAsyncReadyCallback callback, 634s # gpointer user_data) 634s # { 634s # g_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); 634s # } 634s # 634s # /** 634s # * org_project_useful_interface_proxy_new_for_bus_finish: 634s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 634s # * @error: Return location for error or %NULL 634s # * 634s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 634s # * 634s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 634s # */ 634s # OrgProjectUsefulInterface * 634s # org_project_useful_interface_proxy_new_for_bus_finish ( 634s # GAsyncResult *res, 634s # GError **error) 634s # { 634s # GObject *ret; 634s # GObject *source_object; 634s # source_object = g_async_result_get_source_object (res); 634s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 634s # g_object_unref (source_object); 634s # if (ret != NULL) 634s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 634s # else 634s # return NULL; 634s # } 634s # 634s # /** 634s # * org_project_useful_interface_proxy_new_for_bus_sync: 634s # * @bus_type: A #GBusType. 634s # * @flags: Flags from the #GDBusProxyFlags enumeration. 634s # * @name: A bus name (well-known or unique). 634s # * @object_path: An object path. 634s # * @cancellable: (nullable): A #GCancellable or %NULL. 634s # * @error: Return location for error or %NULL 634s # * 634s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 634s # * 634s # * The calling thread is blocked until a reply is received. 634s # * 634s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 634s # * 634s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 634s # */ 634s # OrgProjectUsefulInterface * 634s # org_project_useful_interface_proxy_new_for_bus_sync ( 634s # GBusType bus_type, 634s # GDBusProxyFlags flags, 634s # const gchar *name, 634s # const gchar *object_path, 634s # GCancellable *cancellable, 634s # GError **error) 634s # { 634s # GInitable *ret; 634s # 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); 634s # if (ret != NULL) 634s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 634s # else 634s # return NULL; 634s # } 634s # 634s # 634s # /* ------------------------------------------------------------------------ */ 634s # 634s # /** 634s # * OrgProjectUsefulInterfaceSkeleton: 634s # * 634s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 634s # */ 634s # 634s # /** 634s # * OrgProjectUsefulInterfaceSkeletonClass: 634s # * @parent_class: The parent class. 634s # * 634s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 634s # */ 634s # 634s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 634s # { 634s # GValue *properties; 634s # GList *changed_properties; 634s # GSource *changed_properties_idle_source; 634s # GMainContext *context; 634s # GMutex lock; 634s # }; 634s # 634s # static void 634s # _org_project_useful_interface_skeleton_handle_method_call ( 634s # GDBusConnection *connection G_GNUC_UNUSED, 634s # const gchar *sender G_GNUC_UNUSED, 634s # const gchar *object_path G_GNUC_UNUSED, 634s # const gchar *interface_name, 634s # const gchar *method_name, 634s # GVariant *parameters, 634s # GDBusMethodInvocation *invocation, 634s # gpointer user_data) 634s # { 634s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 634s # _ExtendedGDBusMethodInfo *info; 634s # GVariantIter iter; 634s # GVariant *child; 634s # GValue *paramv; 634s # gsize num_params; 634s # guint num_extra; 634s # gsize n; 634s # guint signal_id; 634s # GValue return_value = G_VALUE_INIT; 634s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 634s # g_assert (info != NULL); 634s # num_params = g_variant_n_children (parameters); 634s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 634s # n = 0; 634s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 634s # g_value_set_object (¶mv[n++], skeleton); 634s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 634s # g_value_set_object (¶mv[n++], invocation); 634s # if (info->pass_fdlist) 634s # { 634s # #ifdef G_OS_UNIX 634s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 634s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 634s # #else 634s # g_assert_not_reached (); 634s # #endif 634s # } 634s # g_variant_iter_init (&iter, parameters); 634s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 634s # { 634s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 634s # if (arg_info->use_gvariant) 634s # { 634s # g_value_init (¶mv[n], G_TYPE_VARIANT); 634s # g_value_set_variant (¶mv[n], child); 634s # n++; 634s # } 634s # else 634s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 634s # g_variant_unref (child); 634s # } 634s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 634s # g_value_init (&return_value, G_TYPE_BOOLEAN); 634s # g_signal_emitv (paramv, signal_id, 0, &return_value); 634s # if (!g_value_get_boolean (&return_value)) 634s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 634s # g_value_unset (&return_value); 634s # for (n = 0; n < num_params + num_extra; n++) 634s # g_value_unset (¶mv[n]); 634s # g_free (paramv); 634s # } 634s # 634s # static GVariant * 634s # _org_project_useful_interface_skeleton_handle_get_property ( 634s # GDBusConnection *connection G_GNUC_UNUSED, 634s # const gchar *sender G_GNUC_UNUSED, 634s # const gchar *object_path G_GNUC_UNUSED, 634s # const gchar *interface_name G_GNUC_UNUSED, 634s # const gchar *property_name, 634s # GError **error, 634s # gpointer user_data) 634s # { 634s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 634s # GValue value = G_VALUE_INIT; 634s # GParamSpec *pspec; 634s # _ExtendedGDBusPropertyInfo *info; 634s # GVariant *ret; 634s # ret = NULL; 634s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 634s # g_assert (info != NULL); 634s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 634s # if (pspec == NULL) 634s # { 634s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 634s # } 634s # else 634s # { 634s # g_value_init (&value, pspec->value_type); 634s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 634s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 634s # g_value_unset (&value); 634s # } 634s # return ret; 634s # } 634s # 634s # static gboolean 634s # _org_project_useful_interface_skeleton_handle_set_property ( 634s # GDBusConnection *connection G_GNUC_UNUSED, 634s # const gchar *sender G_GNUC_UNUSED, 634s # const gchar *object_path G_GNUC_UNUSED, 634s # const gchar *interface_name G_GNUC_UNUSED, 634s # const gchar *property_name, 634s # GVariant *variant, 634s # GError **error, 634s # gpointer user_data) 634s # { 634s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 634s # GValue value = G_VALUE_INIT; 634s # GParamSpec *pspec; 634s # _ExtendedGDBusPropertyInfo *info; 634s # gboolean ret; 634s # ret = FALSE; 634s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 634s # g_assert (info != NULL); 634s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 634s # if (pspec == NULL) 634s # { 634s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 634s # } 634s # else 634s # { 634s # if (info->use_gvariant) 634s # g_value_set_variant (&value, variant); 634s # else 634s # g_dbus_gvariant_to_gvalue (variant, &value); 634s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 634s # g_value_unset (&value); 634s # ret = TRUE; 634s # } 634s # return ret; 634s # } 634s # 634s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 634s # { 634s # _org_project_useful_interface_skeleton_handle_method_call, 634s # _org_project_useful_interface_skeleton_handle_get_property, 634s # _org_project_useful_interface_skeleton_handle_set_property, 634s # {NULL} 634s # }; 634s # 634s # static GDBusInterfaceInfo * 634s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 634s # { 634s # return org_project_useful_interface_interface_info (); 634s # } 634s # 634s # static GDBusInterfaceVTable * 634s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 634s # { 634s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 634s # } 634s # 634s # static GVariant * 634s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 634s # { 634s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 634s # 634s # GVariantBuilder builder; 634s # guint n; 634s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 634s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 634s # goto out; 634s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 634s # { 634s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 634s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 634s # { 634s # GVariant *value; 634s # 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); 634s # if (value != NULL) 634s # { 634s # g_variant_take_ref (value); 634s # g_variant_builder_add (&builder, "{sv}", info->name, value); 634s # g_variant_unref (value); 634s # } 634s # } 634s # } 634s # out: 634s # return g_variant_builder_end (&builder); 634s # } 634s # 634s # static void 634s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 634s # { 634s # } 634s # 634s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 634s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 634s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 634s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 634s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 634s # 634s # #else 634s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 634s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 634s # 634s # #endif 634s # static void 634s # org_project_useful_interface_skeleton_finalize (GObject *object) 634s # { 634s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 634s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 634s # if (skeleton->priv->changed_properties_idle_source != NULL) 634s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 634s # g_main_context_unref (skeleton->priv->context); 634s # g_mutex_clear (&skeleton->priv->lock); 634s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 634s # } 634s # 634s # static void 634s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 634s # { 634s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 634s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 634s # #else 634s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 634s # #endif 634s # 634s # g_mutex_init (&skeleton->priv->lock); 634s # skeleton->priv->context = g_main_context_ref_thread_default (); 634s # } 634s # 634s # static void 634s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 634s # { 634s # GObjectClass *gobject_class; 634s # GDBusInterfaceSkeletonClass *skeleton_class; 634s # 634s # gobject_class = G_OBJECT_CLASS (klass); 634s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 634s # 634s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 634s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 634s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 634s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 634s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 634s # 634s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 634s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 634s # #endif 634s # } 634s # 634s # static void 634s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 634s # { 634s # } 634s # 634s # /** 634s # * org_project_useful_interface_skeleton_new: 634s # * 634s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 634s # * 634s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 634s # */ 634s # OrgProjectUsefulInterface * 634s # org_project_useful_interface_skeleton_new (void) 634s # { 634s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 634s # } 634s # /tmp/tmp4un2rcj2/tmp45kof3vd.xml: 634s # 634s # 634s # 634s # 634s # 634s # 634s # 634s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4un2rcj2/tmp45kof3vd.xml', '--output', '-', '--body'] 634s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 634s # Output: /* 634s # * This file is generated by gdbus-codegen, do not modify it. 634s # * 634s # * The license of this code is the same as for the D-Bus interface description 634s # * it was derived from. Note that it links to GLib, so must comply with the 634s # * LGPL linking clauses. 634s # */ 634s # 634s # #ifdef HAVE_CONFIG_H 634s # # include "config.h" 634s # #endif 634s # 634s # #include 634s # #ifdef G_OS_UNIX 634s # # include 634s # #endif 634s # 634s # #ifdef G_ENABLE_DEBUG 634s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 634s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 634s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 634s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 634s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 634s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 634s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 634s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 634s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 634s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 634s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 634s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 634s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 634s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 634s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 634s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 634s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 634s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 634s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 634s # #else /* !G_ENABLE_DEBUG */ 634s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 634s # * Do not access GValues directly in your code. Instead, use the 634s # * g_value_get_*() functions 634s # */ 634s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 634s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 634s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 634s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 634s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 634s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 634s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 634s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 634s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 634s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 634s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 634s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 634s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 634s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 634s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 634s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 634s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 634s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 634s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 634s # #endif /* !G_ENABLE_DEBUG */ 634s # 634s # typedef struct 634s # { 634s # GDBusArgInfo parent_struct; 634s # gboolean use_gvariant; 634s # } _ExtendedGDBusArgInfo; 634s # 634s # typedef struct 634s # { 634s # GDBusMethodInfo parent_struct; 634s # const gchar *signal_name; 634s # gboolean pass_fdlist; 634s # } _ExtendedGDBusMethodInfo; 634s # 634s # typedef struct 634s # { 634s # GDBusSignalInfo parent_struct; 634s # const gchar *signal_name; 634s # } _ExtendedGDBusSignalInfo; 634s # 634s # typedef struct 634s # { 634s # GDBusPropertyInfo parent_struct; 634s # const gchar *hyphen_name; 634s # guint use_gvariant : 1; 634s # guint emits_changed_signal : 1; 634s # } _ExtendedGDBusPropertyInfo; 634s # 634s # typedef struct 634s # { 634s # GDBusInterfaceInfo parent_struct; 634s # const gchar *hyphen_name; 634s # } _ExtendedGDBusInterfaceInfo; 634s # 634s # typedef struct 634s # { 634s # const _ExtendedGDBusPropertyInfo *info; 634s # guint prop_id; 634s # GValue orig_value; /* the value before the change */ 634s # } ChangedProperty; 634s # 634s # static void 634s # _changed_property_free (ChangedProperty *data) 634s # { 634s # g_value_unset (&data->orig_value); 634s # g_free (data); 634s # } 634s # 634s # static gboolean 634s # _g_strv_equal0 (gchar **a, gchar **b) 634s # { 634s # gboolean ret = FALSE; 634s # guint n; 634s # if (a == NULL && b == NULL) 634s # { 634s # ret = TRUE; 634s # goto out; 634s # } 634s # if (a == NULL || b == NULL) 634s # goto out; 634s # if (g_strv_length (a) != g_strv_length (b)) 634s # goto out; 634s # for (n = 0; a[n] != NULL; n++) 634s # if (g_strcmp0 (a[n], b[n]) != 0) 634s # goto out; 634s # ret = TRUE; 634s # out: 634s # return ret; 634s # } 634s # 634s # static gboolean 634s # _g_variant_equal0 (GVariant *a, GVariant *b) 634s # { 634s # gboolean ret = FALSE; 634s # if (a == NULL && b == NULL) 634s # { 634s # ret = TRUE; 634s # goto out; 634s # } 634s # if (a == NULL || b == NULL) 634s # goto out; 634s # ret = g_variant_equal (a, b); 634s # out: 634s # return ret; 634s # } 634s # 634s # G_GNUC_UNUSED static gboolean 634s # _g_value_equal (const GValue *a, const GValue *b) 634s # { 634s # gboolean ret = FALSE; 634s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 634s # switch (G_VALUE_TYPE (a)) 634s # { 634s # case G_TYPE_BOOLEAN: 634s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 634s # break; 634s # case G_TYPE_UCHAR: 634s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 634s # break; 634s # case G_TYPE_INT: 634s # ret = (g_value_get_int (a) == g_value_get_int (b)); 634s # break; 634s # case G_TYPE_UINT: 634s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 634s # break; 634s # case G_TYPE_INT64: 634s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 634s # break; 634s # case G_TYPE_UINT64: 634s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 634s # break; 634s # case G_TYPE_DOUBLE: 634s # { 634s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 634s # gdouble da = g_value_get_double (a); 634s # gdouble db = g_value_get_double (b); 634s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 634s # } 634s # break; 634s # case G_TYPE_STRING: 634s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 634s # break; 634s # case G_TYPE_VARIANT: 634s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 634s # break; 634s # default: 634s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 634s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 634s # else 634s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 634s # break; 634s # } 634s # return ret; 634s # } 634s # 634s # static void 634s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 634s # GClosure *closure, 634s # GValue *return_value, 634s # unsigned int n_param_values, 634s # const GValue *param_values, 634s # void *invocation_hint G_GNUC_UNUSED, 634s # void *marshal_data) 634s # { 634s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 634s # (void *data1, 634s # GDBusMethodInvocation *arg_method_invocation, 634s # gdouble arg_arg_d, 634s # void *data2); 634s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 634s # GCClosure *cc = (GCClosure*) closure; 634s # void *data1, *data2; 634s # gboolean v_return; 634s # 634s # g_return_if_fail (return_value != NULL); 634s # g_return_if_fail (n_param_values == 3); 634s # 634s # if (G_CCLOSURE_SWAP_DATA (closure)) 634s # { 634s # data1 = closure->data; 634s # data2 = g_value_peek_pointer (param_values + 0); 634s # } 634s # else 634s # { 634s # data1 = g_value_peek_pointer (param_values + 0); 634s # data2 = closure->data; 634s # } 634s # 634s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 634s # (marshal_data ? marshal_data : cc->callback); 634s # 634s # v_return = 634s # callback (data1, 634s # g_marshal_value_peek_object (param_values + 1), 634s # g_marshal_value_peek_double (param_values + 2), 634s # data2); 634s # 634s # g_value_set_boolean (return_value, v_return); 634s # } 634s # 634s # /* ------------------------------------------------------------------------ 634s # * Code for interface org.project.UsefulInterface 634s # * ------------------------------------------------------------------------ 634s # */ 634s # 634s # /** 634s # * SECTION:OrgProjectUsefulInterface 634s # * @title: OrgProjectUsefulInterface 634s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 634s # * 634s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 634s # */ 634s # 634s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 634s # 634s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 634s # { 634s # { 634s # -1, 634s # (gchar *) "arg_d", 634s # (gchar *) "d", 634s # NULL 634s # }, 634s # FALSE 634s # }; 634s # 634s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 634s # { 634s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 634s # NULL 634s # }; 634s # 634s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 634s # { 634s # { 634s # -1, 634s # (gchar *) "SingleArgMethodD", 634s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 634s # NULL, 634s # NULL 634s # }, 634s # "handle-single-arg-method-d", 634s # FALSE 634s # }; 634s # 634s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 634s # { 634s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 634s # NULL 634s # }; 634s # 634s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 634s # { 634s # { 634s # -1, 634s # (gchar *) "org.project.UsefulInterface", 634s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 634s # NULL, 634s # NULL, 634s # NULL 634s # }, 634s # "org-project-useful-interface", 634s # }; 634s # 634s # 634s # /** 634s # * org_project_useful_interface_interface_info: 634s # * 634s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 634s # * 634s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 634s # */ 634s # GDBusInterfaceInfo * 634s # org_project_useful_interface_interface_info (void) 634s # { 634s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 634s # } 634s # 634s # /** 634s # * org_project_useful_interface_override_properties: 634s # * @klass: The class structure for a #GObject derived class. 634s # * @property_id_begin: The property id to assign to the first overridden property. 634s # * 634s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 634s # * The properties are overridden in the order they are defined. 634s # * 634s # * Returns: The last property id. 634s # */ 634s # guint 634s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 634s # { 634s # return property_id_begin - 1; 634s # } 634s # 634s # 634s # inline static void 634s # org_project_useful_interface_method_marshal_single_arg_method_d ( 634s # GClosure *closure, 634s # GValue *return_value, 634s # unsigned int n_param_values, 634s # const GValue *param_values, 634s # void *invocation_hint, 634s # void *marshal_data) 634s # { 634s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 634s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 634s # } 634s # 634s # 634s # /** 634s # * OrgProjectUsefulInterface: 634s # * 634s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 634s # */ 634s # 634s # /** 634s # * OrgProjectUsefulInterfaceIface: 634s # * @parent_iface: The parent interface. 634s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 634s # * 634s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 634s # */ 634s # 634s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 634s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 634s # 634s # static void 634s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 634s # { 634s # /* GObject signals for incoming D-Bus method calls: */ 634s # /** 634s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 634s # * @object: A #OrgProjectUsefulInterface. 634s # * @invocation: A #GDBusMethodInvocation. 634s # * @arg_arg_d: Argument passed by remote caller. 634s # * 634s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 634s # * 634s # * 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. 634s # * 634s # * 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. 634s # */ 634s # g_signal_new ("handle-single-arg-method-d", 634s # G_TYPE_FROM_INTERFACE (iface), 634s # G_SIGNAL_RUN_LAST, 634s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 634s # g_signal_accumulator_true_handled, 634s # NULL, 634s # org_project_useful_interface_method_marshal_single_arg_method_d, 634s # G_TYPE_BOOLEAN, 634s # 2, 634s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 634s # 634s # } 634s # 634s # /** 634s # * org_project_useful_interface_call_single_arg_method_d: 634s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 634s # * @arg_arg_d: Argument to pass with the method invocation. 634s # * @cancellable: (nullable): A #GCancellable or %NULL. 634s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 634s # * @user_data: User data to pass to @callback. 634s # * 634s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 634s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 634s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 634s # * 634s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 634s # */ 634s # void 634s # org_project_useful_interface_call_single_arg_method_d ( 634s # OrgProjectUsefulInterface *proxy, 634s # gdouble arg_arg_d, 634s # GCancellable *cancellable, 634s # GAsyncReadyCallback callback, 634s # gpointer user_data) 634s # { 634s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 634s # "SingleArgMethodD", 634s # g_variant_new ("(d)", 634s # arg_arg_d), 635s # G_DBUS_CALL_FLAGS_NONE, 635s # -1, 635s # cancellable, 635s # callback, 635s # user_data); 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_call_single_arg_method_d_finish: 635s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 635s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 635s # * @error: Return location for error or %NULL. 635s # * 635s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 635s # * 635s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 635s # */ 635s # gboolean 635s # org_project_useful_interface_call_single_arg_method_d_finish ( 635s # OrgProjectUsefulInterface *proxy, 635s # GAsyncResult *res, 635s # GError **error) 635s # { 635s # GVariant *_ret; 635s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 635s # if (_ret == NULL) 635s # goto _out; 635s # g_variant_get (_ret, 635s # "()"); 635s # g_variant_unref (_ret); 635s # _out: 635s # return _ret != NULL; 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_call_single_arg_method_d_sync: 635s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 635s # * @arg_arg_d: Argument to pass with the method invocation. 635s # * @cancellable: (nullable): A #GCancellable or %NULL. 635s # * @error: Return location for error or %NULL. 635s # * 635s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 635s # * 635s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 635s # * 635s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 635s # */ 635s # gboolean 635s # org_project_useful_interface_call_single_arg_method_d_sync ( 635s # OrgProjectUsefulInterface *proxy, 635s # gdouble arg_arg_d, 635s # GCancellable *cancellable, 635s # GError **error) 635s # { 635s # GVariant *_ret; 635s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 635s # "SingleArgMethodD", 635s # g_variant_new ("(d)", 635s # arg_arg_d), 635s # G_DBUS_CALL_FLAGS_NONE, 635s # -1, 635s # cancellable, 635s # error); 635s # if (_ret == NULL) 635s # goto _out; 635s # g_variant_get (_ret, 635s # "()"); 635s # g_variant_unref (_ret); 635s # _out: 635s # return _ret != NULL; 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_complete_single_arg_method_d: 635s # * @object: A #OrgProjectUsefulInterface. 635s # * @invocation: (transfer full): A #GDBusMethodInvocation. 635s # * 635s # * 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. 635s # * 635s # * This method will free @invocation, you cannot use it afterwards. 635s # */ 635s # void 635s # org_project_useful_interface_complete_single_arg_method_d ( 635s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 635s # GDBusMethodInvocation *invocation) 635s # { 635s # g_dbus_method_invocation_return_value (invocation, 635s # g_variant_new ("()")); 635s # } 635s # 635s # /* ------------------------------------------------------------------------ */ 635s # 635s # /** 635s # * OrgProjectUsefulInterfaceProxy: 635s # * 635s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 635s # */ 635s # 635s # /** 635s # * OrgProjectUsefulInterfaceProxyClass: 635s # * @parent_class: The parent class. 635s # * 635s # * Class structure for #OrgProjectUsefulInterfaceProxy. 635s # */ 635s # 635s # struct _OrgProjectUsefulInterfaceProxyPrivate 635s # { 635s # GData *qdata; 635s # }; 635s # 635s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 635s # 635s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 635s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 635s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 635s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 635s # 635s # #else 635s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 635s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 635s # 635s # #endif 635s # static void 635s # org_project_useful_interface_proxy_finalize (GObject *object) 635s # { 635s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 635s # g_datalist_clear (&proxy->priv->qdata); 635s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 635s # } 635s # 635s # static void 635s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 635s # guint prop_id G_GNUC_UNUSED, 635s # GValue *value G_GNUC_UNUSED, 635s # GParamSpec *pspec G_GNUC_UNUSED) 635s # { 635s # } 635s # 635s # static void 635s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 635s # guint prop_id G_GNUC_UNUSED, 635s # const GValue *value G_GNUC_UNUSED, 635s # GParamSpec *pspec G_GNUC_UNUSED) 635s # { 635s # } 635s # 635s # static void 635s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 635s # const gchar *sender_name G_GNUC_UNUSED, 635s # const gchar *signal_name, 635s # GVariant *parameters) 635s # { 635s # _ExtendedGDBusSignalInfo *info; 635s # GVariantIter iter; 635s # GVariant *child; 635s # GValue *paramv; 635s # gsize num_params; 635s # gsize n; 635s # guint signal_id; 635s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 635s # if (info == NULL) 635s # return; 635s # num_params = g_variant_n_children (parameters); 635s # paramv = g_new0 (GValue, num_params + 1); 635s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 635s # g_value_set_object (¶mv[0], proxy); 635s # g_variant_iter_init (&iter, parameters); 635s # n = 1; 635s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 635s # { 635s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 635s # if (arg_info->use_gvariant) 635s # { 635s # g_value_init (¶mv[n], G_TYPE_VARIANT); 635s # g_value_set_variant (¶mv[n], child); 635s # n++; 635s # } 635s # else 635s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 635s # g_variant_unref (child); 635s # } 635s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 635s # g_signal_emitv (paramv, signal_id, 0, NULL); 635s # for (n = 0; n < num_params + 1; n++) 635s # g_value_unset (¶mv[n]); 635s # g_free (paramv); 635s # } 635s # 635s # static void 635s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 635s # GVariant *changed_properties, 635s # const gchar *const *invalidated_properties) 635s # { 635s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 635s # guint n; 635s # const gchar *key; 635s # GVariantIter *iter; 635s # _ExtendedGDBusPropertyInfo *info; 635s # g_variant_get (changed_properties, "a{sv}", &iter); 635s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 635s # { 635s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 635s # g_datalist_remove_data (&proxy->priv->qdata, key); 635s # if (info != NULL) 635s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 635s # } 635s # g_variant_iter_free (iter); 635s # for (n = 0; invalidated_properties[n] != NULL; n++) 635s # { 635s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 635s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 635s # if (info != NULL) 635s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 635s # } 635s # } 635s # 635s # static void 635s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 635s # { 635s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 635s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 635s # #else 635s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 635s # #endif 635s # 635s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 635s # } 635s # 635s # static void 635s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 635s # { 635s # GObjectClass *gobject_class; 635s # GDBusProxyClass *proxy_class; 635s # 635s # gobject_class = G_OBJECT_CLASS (klass); 635s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 635s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 635s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 635s # 635s # proxy_class = G_DBUS_PROXY_CLASS (klass); 635s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 635s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 635s # 635s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 635s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 635s # #endif 635s # } 635s # 635s # static void 635s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 635s # { 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_proxy_new: 635s # * @connection: A #GDBusConnection. 635s # * @flags: Flags from the #GDBusProxyFlags enumeration. 635s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 635s # * @object_path: An object path. 635s # * @cancellable: (nullable): A #GCancellable or %NULL. 635s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 635s # * @user_data: User data to pass to @callback. 635s # * 635s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 635s # * 635s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 635s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 635s # * 635s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 635s # */ 635s # void 635s # org_project_useful_interface_proxy_new ( 635s # GDBusConnection *connection, 635s # GDBusProxyFlags flags, 635s # const gchar *name, 635s # const gchar *object_path, 635s # GCancellable *cancellable, 635s # GAsyncReadyCallback callback, 635s # gpointer user_data) 635s # { 635s # g_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); 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_proxy_new_finish: 635s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 635s # * @error: Return location for error or %NULL 635s # * 635s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 635s # * 635s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 635s # */ 635s # OrgProjectUsefulInterface * 635s # org_project_useful_interface_proxy_new_finish ( 635s # GAsyncResult *res, 635s # GError **error) 635s # { 635s # GObject *ret; 635s # GObject *source_object; 635s # source_object = g_async_result_get_source_object (res); 635s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 635s # g_object_unref (source_object); 635s # if (ret != NULL) 635s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 635s # else 635s # return NULL; 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_proxy_new_sync: 635s # * @connection: A #GDBusConnection. 635s # * @flags: Flags from the #GDBusProxyFlags enumeration. 635s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 635s # * @object_path: An object path. 635s # * @cancellable: (nullable): A #GCancellable or %NULL. 635s # * @error: Return location for error or %NULL 635s # * 635s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 635s # * 635s # * The calling thread is blocked until a reply is received. 635s # * 635s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 635s # * 635s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 635s # */ 635s # OrgProjectUsefulInterface * 635s # org_project_useful_interface_proxy_new_sync ( 635s # GDBusConnection *connection, 635s # GDBusProxyFlags flags, 635s # const gchar *name, 635s # const gchar *object_path, 635s # GCancellable *cancellable, 635s # GError **error) 635s # { 635s # GInitable *ret; 635s # 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); 635s # if (ret != NULL) 635s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 635s # else 635s # return NULL; 635s # } 635s # 635s # 635s # /** 635s # * org_project_useful_interface_proxy_new_for_bus: 635s # * @bus_type: A #GBusType. 635s # * @flags: Flags from the #GDBusProxyFlags enumeration. 635s # * @name: A bus name (well-known or unique). 635s # * @object_path: An object path. 635s # * @cancellable: (nullable): A #GCancellable or %NULL. 635s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 635s # * @user_data: User data to pass to @callback. 635s # * 635s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 635s # * 635s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 635s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 635s # * 635s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 635s # */ 635s # void 635s # org_project_useful_interface_proxy_new_for_bus ( 635s # GBusType bus_type, 635s # GDBusProxyFlags flags, 635s # const gchar *name, 635s # const gchar *object_path, 635s # GCancellable *cancellable, 635s # GAsyncReadyCallback callback, 635s # gpointer user_data) 635s # { 635s # g_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); 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_proxy_new_for_bus_finish: 635s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 635s # * @error: Return location for error or %NULL 635s # * 635s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 635s # * 635s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 635s # */ 635s # OrgProjectUsefulInterface * 635s # org_project_useful_interface_proxy_new_for_bus_finish ( 635s # GAsyncResult *res, 635s # GError **error) 635s # { 635s # GObject *ret; 635s # GObject *source_object; 635s # source_object = g_async_result_get_source_object (res); 635s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 635s # g_object_unref (source_object); 635s # if (ret != NULL) 635s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 635s # else 635s # return NULL; 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_proxy_new_for_bus_sync: 635s # * @bus_type: A #GBusType. 635s # * @flags: Flags from the #GDBusProxyFlags enumeration. 635s # * @name: A bus name (well-known or unique). 635s # * @object_path: An object path. 635s # * @cancellable: (nullable): A #GCancellable or %NULL. 635s # * @error: Return location for error or %NULL 635s # * 635s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 635s # * 635s # * The calling thread is blocked until a reply is received. 635s # * 635s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 635s # * 635s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 635s # */ 635s # OrgProjectUsefulInterface * 635s # org_project_useful_interface_proxy_new_for_bus_sync ( 635s # GBusType bus_type, 635s # GDBusProxyFlags flags, 635s # const gchar *name, 635s # const gchar *object_path, 635s # GCancellable *cancellable, 635s # GError **error) 635s # { 635s # GInitable *ret; 635s # 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); 635s # if (ret != NULL) 635s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 635s # else 635s # return NULL; 635s # } 635s # 635s # 635s # /* ------------------------------------------------------------------------ */ 635s # 635s # /** 635s # * OrgProjectUsefulInterfaceSkeleton: 635s # * 635s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 635s # */ 635s # 635s # /** 635s # * OrgProjectUsefulInterfaceSkeletonClass: 635s # * @parent_class: The parent class. 635s # * 635s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 635s # */ 635s # 635s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 635s # { 635s # GValue *properties; 635s # GList *changed_properties; 635s # GSource *changed_properties_idle_source; 635s # GMainContext *context; 635s # GMutex lock; 635s # }; 635s # 635s # static void 635s # _org_project_useful_interface_skeleton_handle_method_call ( 635s # GDBusConnection *connection G_GNUC_UNUSED, 635s # const gchar *sender G_GNUC_UNUSED, 635s # const gchar *object_path G_GNUC_UNUSED, 635s # const gchar *interface_name, 635s # const gchar *method_name, 635s # GVariant *parameters, 635s # GDBusMethodInvocation *invocation, 635s # gpointer user_data) 635s # { 635s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 635s # _ExtendedGDBusMethodInfo *info; 635s # GVariantIter iter; 635s # GVariant *child; 635s # GValue *paramv; 635s # gsize num_params; 635s # guint num_extra; 635s # gsize n; 635s # guint signal_id; 635s # GValue return_value = G_VALUE_INIT; 635s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 635s # g_assert (info != NULL); 635s # num_params = g_variant_n_children (parameters); 635s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 635s # n = 0; 635s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 635s # g_value_set_object (¶mv[n++], skeleton); 635s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 635s # g_value_set_object (¶mv[n++], invocation); 635s # if (info->pass_fdlist) 635s # { 635s # #ifdef G_OS_UNIX 635s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 635s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 635s # #else 635s # g_assert_not_reached (); 635s # #endif 635s # } 635s # g_variant_iter_init (&iter, parameters); 635s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 635s # { 635s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 635s # if (arg_info->use_gvariant) 635s # { 635s # g_value_init (¶mv[n], G_TYPE_VARIANT); 635s # g_value_set_variant (¶mv[n], child); 635s # n++; 635s # } 635s # else 635s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 635s # g_variant_unref (child); 635s # } 635s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 635s # g_value_init (&return_value, G_TYPE_BOOLEAN); 635s # g_signal_emitv (paramv, signal_id, 0, &return_value); 635s # if (!g_value_get_boolean (&return_value)) 635s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 635s # g_value_unset (&return_value); 635s # for (n = 0; n < num_params + num_extra; n++) 635s # g_value_unset (¶mv[n]); 635s # g_free (paramv); 635s # } 635s # 635s # static GVariant * 635s # _org_project_useful_interface_skeleton_handle_get_property ( 635s # GDBusConnection *connection G_GNUC_UNUSED, 635s # const gchar *sender G_GNUC_UNUSED, 635s # const gchar *object_path G_GNUC_UNUSED, 635s # const gchar *interface_name G_GNUC_UNUSED, 635s # const gchar *property_name, 635s # GError **error, 635s # gpointer user_data) 635s # { 635s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 635s # GValue value = G_VALUE_INIT; 635s # GParamSpec *pspec; 635s # _ExtendedGDBusPropertyInfo *info; 635s # GVariant *ret; 635s # ret = NULL; 635s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 635s # g_assert (info != NULL); 635s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 635s # if (pspec == NULL) 635s # { 635s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 635s # } 635s # else 635s # { 635s # g_value_init (&value, pspec->value_type); 635s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 635s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 635s # g_value_unset (&value); 635s # } 635s # return ret; 635s # } 635s # 635s # static gboolean 635s # _org_project_useful_interface_skeleton_handle_set_property ( 635s # GDBusConnection *connection G_GNUC_UNUSED, 635s # const gchar *sender G_GNUC_UNUSED, 635s # const gchar *object_path G_GNUC_UNUSED, 635s # const gchar *interface_name G_GNUC_UNUSED, 635s # const gchar *property_name, 635s # GVariant *variant, 635s # GError **error, 635s # gpointer user_data) 635s # { 635s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 635s # GValue value = G_VALUE_INIT; 635s # GParamSpec *pspec; 635s # _ExtendedGDBusPropertyInfo *info; 635s # gboolean ret; 635s # ret = FALSE; 635s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 635s # g_assert (info != NULL); 635s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 635s # if (pspec == NULL) 635s # { 635s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 635s # } 635s # else 635s # { 635s # if (info->use_gvariant) 635s # g_value_set_variant (&value, variant); 635s # else 635s # g_dbus_gvariant_to_gvalue (variant, &value); 635s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 635s # g_value_unset (&value); 635s # ret = TRUE; 635s # } 635s # return ret; 635s # } 635s # 635s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 635s # { 635s # _org_project_useful_interface_skeleton_handle_method_call, 635s # _org_project_useful_interface_skeleton_handle_get_property, 635s # _org_project_useful_interface_skeleton_handle_set_property, 635s # {NULL} 635s # }; 635s # 635s # static GDBusInterfaceInfo * 635s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 635s # { 635s # return org_project_useful_interface_interface_info (); 635s # } 635s # 635s # static GDBusInterfaceVTable * 635s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 635s # { 635s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 635s # } 635s # 635s # static GVariant * 635s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 635s # { 635s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 635s # 635s # GVariantBuilder builder; 635s # guint n; 635s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 635s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 635s # goto out; 635s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 635s # { 635s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 635s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 635s # { 635s # GVariant *value; 635s # 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); 635s # if (value != NULL) 635s # { 635s # g_variant_take_ref (value); 635s # g_variant_builder_add (&builder, "{sv}", info->name, value); 635s # g_variant_unref (value); 635s # } 635s # } 635s # } 635s # out: 635s # return g_variant_builder_end (&builder); 635s # } 635s # 635s # static void 635s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 635s # { 635s # } 635s # 635s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 635s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 635s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 635s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 635s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 635s # 635s # #else 635s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 635s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 635s # 635s # #endif 635s # static void 635s # org_project_useful_interface_skeleton_finalize (GObject *object) 635s # { 635s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 635s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 635s # if (skeleton->priv->changed_properties_idle_source != NULL) 635s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 635s # g_main_context_unref (skeleton->priv->context); 635s # g_mutex_clear (&skeleton->priv->lock); 635s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 635s # } 635s # 635s # static void 635s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 635s # { 635s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 635s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 635s # #else 635s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 635s # #endif 635s # 635s # g_mutex_init (&skeleton->priv->lock); 635s # skeleton->priv->context = g_main_context_ref_thread_default (); 635s # } 635s # 635s # static void 635s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 635s # { 635s # GObjectClass *gobject_class; 635s # GDBusInterfaceSkeletonClass *skeleton_class; 635s # 635s # gobject_class = G_OBJECT_CLASS (klass); 635s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 635s # 635s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 635s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 635s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 635s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 635s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 635s # 635s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 635s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 635s # #endif 635s # } 635s # 635s # static void 635s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 635s # { 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_skeleton_new: 635s # * 635s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 635s # * 635s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 635s # */ 635s # OrgProjectUsefulInterface * 635s # org_project_useful_interface_skeleton_new (void) 635s # { 635s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 635s # } 635s # /tmp/tmp4un2rcj2/tmp5xdah2dt.xml: 635s # 635s # 635s # 635s # 635s # 635s # 635s # 635s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4un2rcj2/tmp5xdah2dt.xml', '--output', '-', '--body'] 635s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 635s # Output: /* 635s # * This file is generated by gdbus-codegen, do not modify it. 635s # * 635s # * The license of this code is the same as for the D-Bus interface description 635s # * it was derived from. Note that it links to GLib, so must comply with the 635s # * LGPL linking clauses. 635s # */ 635s # 635s # #ifdef HAVE_CONFIG_H 635s # # include "config.h" 635s # #endif 635s # 635s # #include 635s # #ifdef G_OS_UNIX 635s # # include 635s # #endif 635s # 635s # #ifdef G_ENABLE_DEBUG 635s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 635s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 635s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 635s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 635s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 635s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 635s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 635s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 635s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 635s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 635s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 635s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 635s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 635s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 635s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 635s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 635s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 635s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 635s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 635s # #else /* !G_ENABLE_DEBUG */ 635s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 635s # * Do not access GValues directly in your code. Instead, use the 635s # * g_value_get_*() functions 635s # */ 635s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 635s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 635s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 635s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 635s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 635s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 635s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 635s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 635s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 635s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 635s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 635s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 635s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 635s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 635s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 635s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 635s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 635s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 635s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 635s # #endif /* !G_ENABLE_DEBUG */ 635s # 635s # typedef struct 635s # { 635s # GDBusArgInfo parent_struct; 635s # gboolean use_gvariant; 635s # } _ExtendedGDBusArgInfo; 635s # 635s # typedef struct 635s # { 635s # GDBusMethodInfo parent_struct; 635s # const gchar *signal_name; 635s # gboolean pass_fdlist; 635s # } _ExtendedGDBusMethodInfo; 635s # 635s # typedef struct 635s # { 635s # GDBusSignalInfo parent_struct; 635s # const gchar *signal_name; 635s # } _ExtendedGDBusSignalInfo; 635s # 635s # typedef struct 635s # { 635s # GDBusPropertyInfo parent_struct; 635s # const gchar *hyphen_name; 635s # guint use_gvariant : 1; 635s # guint emits_changed_signal : 1; 635s # } _ExtendedGDBusPropertyInfo; 635s # 635s # typedef struct 635s # { 635s # GDBusInterfaceInfo parent_struct; 635s # const gchar *hyphen_name; 635s # } _ExtendedGDBusInterfaceInfo; 635s # 635s # typedef struct 635s # { 635s # const _ExtendedGDBusPropertyInfo *info; 635s # guint prop_id; 635s # GValue orig_value; /* the value before the change */ 635s # } ChangedProperty; 635s # 635s # static void 635s # _changed_property_free (ChangedProperty *data) 635s # { 635s # g_value_unset (&data->orig_value); 635s # g_free (data); 635s # } 635s # 635s # static gboolean 635s # _g_strv_equal0 (gchar **a, gchar **b) 635s # { 635s # gboolean ret = FALSE; 635s # guint n; 635s # if (a == NULL && b == NULL) 635s # { 635s # ret = TRUE; 635s # goto out; 635s # } 635s # if (a == NULL || b == NULL) 635s # goto out; 635s # if (g_strv_length (a) != g_strv_length (b)) 635s # goto out; 635s # for (n = 0; a[n] != NULL; n++) 635s # if (g_strcmp0 (a[n], b[n]) != 0) 635s # goto out; 635s # ret = TRUE; 635s # out: 635s # return ret; 635s # } 635s # 635s # static gboolean 635s # _g_variant_equal0 (GVariant *a, GVariant *b) 635s # { 635s # gboolean ret = FALSE; 635s # if (a == NULL && b == NULL) 635s # { 635s # ret = TRUE; 635s # goto out; 635s # } 635s # if (a == NULL || b == NULL) 635s # goto out; 635s # ret = g_variant_equal (a, b); 635s # out: 635s # return ret; 635s # } 635s # 635s # G_GNUC_UNUSED static gboolean 635s # _g_value_equal (const GValue *a, const GValue *b) 635s # { 635s # gboolean ret = FALSE; 635s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 635s # switch (G_VALUE_TYPE (a)) 635s # { 635s # case G_TYPE_BOOLEAN: 635s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 635s # break; 635s # case G_TYPE_UCHAR: 635s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 635s # break; 635s # case G_TYPE_INT: 635s # ret = (g_value_get_int (a) == g_value_get_int (b)); 635s # break; 635s # case G_TYPE_UINT: 635s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 635s # break; 635s # case G_TYPE_INT64: 635s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 635s # break; 635s # case G_TYPE_UINT64: 635s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 635s # break; 635s # case G_TYPE_DOUBLE: 635s # { 635s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 635s # gdouble da = g_value_get_double (a); 635s # gdouble db = g_value_get_double (b); 635s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 635s # } 635s # break; 635s # case G_TYPE_STRING: 635s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 635s # break; 635s # case G_TYPE_VARIANT: 635s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 635s # break; 635s # default: 635s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 635s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 635s # else 635s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 635s # break; 635s # } 635s # return ret; 635s # } 635s # 635s # static void 635s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 635s # GClosure *closure, 635s # GValue *return_value, 635s # unsigned int n_param_values, 635s # const GValue *param_values, 635s # void *invocation_hint G_GNUC_UNUSED, 635s # void *marshal_data) 635s # { 635s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 635s # (void *data1, 635s # GDBusMethodInvocation *arg_method_invocation, 635s # const gchar *arg_arg_s, 635s # void *data2); 635s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 635s # GCClosure *cc = (GCClosure*) closure; 635s # void *data1, *data2; 635s # gboolean v_return; 635s # 635s # g_return_if_fail (return_value != NULL); 635s # g_return_if_fail (n_param_values == 3); 635s # 635s # if (G_CCLOSURE_SWAP_DATA (closure)) 635s # { 635s # data1 = closure->data; 635s # data2 = g_value_peek_pointer (param_values + 0); 635s # } 635s # else 635s # { 635s # data1 = g_value_peek_pointer (param_values + 0); 635s # data2 = closure->data; 635s # } 635s # 635s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 635s # (marshal_data ? marshal_data : cc->callback); 635s # 635s # v_return = 635s # callback (data1, 635s # g_marshal_value_peek_object (param_values + 1), 635s # g_marshal_value_peek_string (param_values + 2), 635s # data2); 635s # 635s # g_value_set_boolean (return_value, v_return); 635s # } 635s # 635s # /* ------------------------------------------------------------------------ 635s # * Code for interface org.project.UsefulInterface 635s # * ------------------------------------------------------------------------ 635s # */ 635s # 635s # /** 635s # * SECTION:OrgProjectUsefulInterface 635s # * @title: OrgProjectUsefulInterface 635s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 635s # * 635s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 635s # */ 635s # 635s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 635s # 635s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 635s # { 635s # { 635s # -1, 635s # (gchar *) "arg_s", 635s # (gchar *) "s", 635s # NULL 635s # }, 635s # FALSE 635s # }; 635s # 635s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 635s # { 635s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 635s # NULL 635s # }; 635s # 635s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 635s # { 635s # { 635s # -1, 635s # (gchar *) "SingleArgMethodS", 635s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 635s # NULL, 635s # NULL 635s # }, 635s # "handle-single-arg-method-s", 635s # FALSE 635s # }; 635s # 635s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 635s # { 635s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 635s # NULL 635s # }; 635s # 635s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 635s # { 635s # { 635s # -1, 635s # (gchar *) "org.project.UsefulInterface", 635s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 635s # NULL, 635s # NULL, 635s # NULL 635s # }, 635s # "org-project-useful-interface", 635s # }; 635s # 635s # 635s # /** 635s # * org_project_useful_interface_interface_info: 635s # * 635s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 635s # * 635s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 635s # */ 635s # GDBusInterfaceInfo * 635s # org_project_useful_interface_interface_info (void) 635s # { 635s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_override_properties: 635s # * @klass: The class structure for a #GObject derived class. 635s # * @property_id_begin: The property id to assign to the first overridden property. 635s # * 635s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 635s # * The properties are overridden in the order they are defined. 635s # * 635s # * Returns: The last property id. 635s # */ 635s # guint 635s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 635s # { 635s # return property_id_begin - 1; 635s # } 635s # 635s # 635s # inline static void 635s # org_project_useful_interface_method_marshal_single_arg_method_s ( 635s # GClosure *closure, 635s # GValue *return_value, 635s # unsigned int n_param_values, 635s # const GValue *param_values, 635s # void *invocation_hint, 635s # void *marshal_data) 635s # { 635s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 635s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 635s # } 635s # 635s # 635s # /** 635s # * OrgProjectUsefulInterface: 635s # * 635s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 635s # */ 635s # 635s # /** 635s # * OrgProjectUsefulInterfaceIface: 635s # * @parent_iface: The parent interface. 635s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 635s # * 635s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 635s # */ 635s # 635s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 635s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 635s # 635s # static void 635s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 635s # { 635s # /* GObject signals for incoming D-Bus method calls: */ 635s # /** 635s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 635s # * @object: A #OrgProjectUsefulInterface. 635s # * @invocation: A #GDBusMethodInvocation. 635s # * @arg_arg_s: Argument passed by remote caller. 635s # * 635s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 635s # * 635s # * 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. 635s # * 635s # * 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. 635s # */ 635s # g_signal_new ("handle-single-arg-method-s", 635s # G_TYPE_FROM_INTERFACE (iface), 635s # G_SIGNAL_RUN_LAST, 635s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 635s # g_signal_accumulator_true_handled, 635s # NULL, 635s # org_project_useful_interface_method_marshal_single_arg_method_s, 635s # G_TYPE_BOOLEAN, 635s # 2, 635s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 635s # 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_call_single_arg_method_s: 635s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 635s # * @arg_arg_s: Argument to pass with the method invocation. 635s # * @cancellable: (nullable): A #GCancellable or %NULL. 635s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 635s # * @user_data: User data to pass to @callback. 635s # * 635s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 635s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 635s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 635s # * 635s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 635s # */ 635s # void 635s # org_project_useful_interface_call_single_arg_method_s ( 635s # OrgProjectUsefulInterface *proxy, 635s # const gchar *arg_arg_s, 635s # GCancellable *cancellable, 635s # GAsyncReadyCallback callback, 635s # gpointer user_data) 635s # { 635s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 635s # "SingleArgMethodS", 635s # g_variant_new ("(s)", 635s # arg_arg_s), 635s # G_DBUS_CALL_FLAGS_NONE, 635s # -1, 635s # cancellable, 635s # callback, 635s # user_data); 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_call_single_arg_method_s_finish: 635s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 635s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 635s # * @error: Return location for error or %NULL. 635s # * 635s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 635s # * 635s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 635s # */ 635s # gboolean 635s # org_project_useful_interface_call_single_arg_method_s_finish ( 635s # OrgProjectUsefulInterface *proxy, 635s # GAsyncResult *res, 635s # GError **error) 635s # { 635s # GVariant *_ret; 635s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 635s # if (_ret == NULL) 635s # goto _out; 635s # g_variant_get (_ret, 635s # "()"); 635s # g_variant_unref (_ret); 635s # _out: 635s # return _ret != NULL; 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_call_single_arg_method_s_sync: 635s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 635s # * @arg_arg_s: Argument to pass with the method invocation. 635s # * @cancellable: (nullable): A #GCancellable or %NULL. 635s # * @error: Return location for error or %NULL. 635s # * 635s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 635s # * 635s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 635s # * 635s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 635s # */ 635s # gboolean 635s # org_project_useful_interface_call_single_arg_method_s_sync ( 635s # OrgProjectUsefulInterface *proxy, 635s # const gchar *arg_arg_s, 635s # GCancellable *cancellable, 635s # GError **error) 635s # { 635s # GVariant *_ret; 635s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 635s # "SingleArgMethodS", 635s # g_variant_new ("(s)", 635s # arg_arg_s), 635s # G_DBUS_CALL_FLAGS_NONE, 635s # -1, 635s # cancellable, 635s # error); 635s # if (_ret == NULL) 635s # goto _out; 635s # g_variant_get (_ret, 635s # "()"); 635s # g_variant_unref (_ret); 635s # _out: 635s # return _ret != NULL; 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_complete_single_arg_method_s: 635s # * @object: A #OrgProjectUsefulInterface. 635s # * @invocation: (transfer full): A #GDBusMethodInvocation. 635s # * 635s # * 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. 635s # * 635s # * This method will free @invocation, you cannot use it afterwards. 635s # */ 635s # void 635s # org_project_useful_interface_complete_single_arg_method_s ( 635s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 635s # GDBusMethodInvocation *invocation) 635s # { 635s # g_dbus_method_invocation_return_value (invocation, 635s # g_variant_new ("()")); 635s # } 635s # 635s # /* ------------------------------------------------------------------------ */ 635s # 635s # /** 635s # * OrgProjectUsefulInterfaceProxy: 635s # * 635s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 635s # */ 635s # 635s # /** 635s # * OrgProjectUsefulInterfaceProxyClass: 635s # * @parent_class: The parent class. 635s # * 635s # * Class structure for #OrgProjectUsefulInterfaceProxy. 635s # */ 635s # 635s # struct _OrgProjectUsefulInterfaceProxyPrivate 635s # { 635s # GData *qdata; 635s # }; 635s # 635s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 635s # 635s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 635s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 635s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 635s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 635s # 635s # #else 635s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 635s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 635s # 635s # #endif 635s # static void 635s # org_project_useful_interface_proxy_finalize (GObject *object) 635s # { 635s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 635s # g_datalist_clear (&proxy->priv->qdata); 635s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 635s # } 635s # 635s # static void 635s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 635s # guint prop_id G_GNUC_UNUSED, 635s # GValue *value G_GNUC_UNUSED, 635s # GParamSpec *pspec G_GNUC_UNUSED) 635s # { 635s # } 635s # 635s # static void 635s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 635s # guint prop_id G_GNUC_UNUSED, 635s # const GValue *value G_GNUC_UNUSED, 635s # GParamSpec *pspec G_GNUC_UNUSED) 635s # { 635s # } 635s # 635s # static void 635s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 635s # const gchar *sender_name G_GNUC_UNUSED, 635s # const gchar *signal_name, 635s # GVariant *parameters) 635s # { 635s # _ExtendedGDBusSignalInfo *info; 635s # GVariantIter iter; 635s # GVariant *child; 635s # GValue *paramv; 635s # gsize num_params; 635s # gsize n; 635s # guint signal_id; 635s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 635s # if (info == NULL) 635s # return; 635s # num_params = g_variant_n_children (parameters); 635s # paramv = g_new0 (GValue, num_params + 1); 635s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 635s # g_value_set_object (¶mv[0], proxy); 635s # g_variant_iter_init (&iter, parameters); 635s # n = 1; 635s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 635s # { 635s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 635s # if (arg_info->use_gvariant) 635s # { 635s # g_value_init (¶mv[n], G_TYPE_VARIANT); 635s # g_value_set_variant (¶mv[n], child); 635s # n++; 635s # } 635s # else 635s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 635s # g_variant_unref (child); 635s # } 635s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 635s # g_signal_emitv (paramv, signal_id, 0, NULL); 635s # for (n = 0; n < num_params + 1; n++) 635s # g_value_unset (¶mv[n]); 635s # g_free (paramv); 635s # } 635s # 635s # static void 635s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 635s # GVariant *changed_properties, 635s # const gchar *const *invalidated_properties) 635s # { 635s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 635s # guint n; 635s # const gchar *key; 635s # GVariantIter *iter; 635s # _ExtendedGDBusPropertyInfo *info; 635s # g_variant_get (changed_properties, "a{sv}", &iter); 635s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 635s # { 635s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 635s # g_datalist_remove_data (&proxy->priv->qdata, key); 635s # if (info != NULL) 635s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 635s # } 635s # g_variant_iter_free (iter); 635s # for (n = 0; invalidated_properties[n] != NULL; n++) 635s # { 635s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 635s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 635s # if (info != NULL) 635s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 635s # } 635s # } 635s # 635s # static void 635s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 635s # { 635s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 635s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 635s # #else 635s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 635s # #endif 635s # 635s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 635s # } 635s # 635s # static void 635s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 635s # { 635s # GObjectClass *gobject_class; 635s # GDBusProxyClass *proxy_class; 635s # 635s # gobject_class = G_OBJECT_CLASS (klass); 635s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 635s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 635s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 635s # 635s # proxy_class = G_DBUS_PROXY_CLASS (klass); 635s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 635s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 635s # 635s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 635s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 635s # #endif 635s # } 635s # 635s # static void 635s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 635s # { 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_proxy_new: 635s # * @connection: A #GDBusConnection. 635s # * @flags: Flags from the #GDBusProxyFlags enumeration. 635s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 635s # * @object_path: An object path. 635s # * @cancellable: (nullable): A #GCancellable or %NULL. 635s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 635s # * @user_data: User data to pass to @callback. 635s # * 635s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 635s # * 635s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 635s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 635s # * 635s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 635s # */ 635s # void 635s # org_project_useful_interface_proxy_new ( 635s # GDBusConnection *connection, 635s # GDBusProxyFlags flags, 635s # const gchar *name, 635s # const gchar *object_path, 635s # GCancellable *cancellable, 635s # GAsyncReadyCallback callback, 635s # gpointer user_data) 635s # { 635s # g_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); 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_proxy_new_finish: 635s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 635s # * @error: Return location for error or %NULL 635s # * 635s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 635s # * 635s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 635s # */ 635s # OrgProjectUsefulInterface * 635s # org_project_useful_interface_proxy_new_finish ( 635s # GAsyncResult *res, 635s # GError **error) 635s # { 635s # GObject *ret; 635s # GObject *source_object; 635s # source_object = g_async_result_get_source_object (res); 635s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 635s # g_object_unref (source_object); 635s # if (ret != NULL) 635s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 635s # else 635s # return NULL; 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_proxy_new_sync: 635s # * @connection: A #GDBusConnection. 635s # * @flags: Flags from the #GDBusProxyFlags enumeration. 635s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 635s # * @object_path: An object path. 635s # * @cancellable: (nullable): A #GCancellable or %NULL. 635s # * @error: Return location for error or %NULL 635s # * 635s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 635s # * 635s # * The calling thread is blocked until a reply is received. 635s # * 635s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 635s # * 635s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 635s # */ 635s # OrgProjectUsefulInterface * 635s # org_project_useful_interface_proxy_new_sync ( 635s # GDBusConnection *connection, 635s # GDBusProxyFlags flags, 635s # const gchar *name, 635s # const gchar *object_path, 635s # GCancellable *cancellable, 635s # GError **error) 635s # { 635s # GInitable *ret; 635s # 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); 635s # if (ret != NULL) 635s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 635s # else 635s # return NULL; 635s # } 635s # 635s # 635s # /** 635s # * org_project_useful_interface_proxy_new_for_bus: 635s # * @bus_type: A #GBusType. 635s # * @flags: Flags from the #GDBusProxyFlags enumeration. 635s # * @name: A bus name (well-known or unique). 635s # * @object_path: An object path. 635s # * @cancellable: (nullable): A #GCancellable or %NULL. 635s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 635s # * @user_data: User data to pass to @callback. 635s # * 635s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 635s # * 635s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 635s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 635s # * 635s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 635s # */ 635s # void 635s # org_project_useful_interface_proxy_new_for_bus ( 635s # GBusType bus_type, 635s # GDBusProxyFlags flags, 635s # const gchar *name, 635s # const gchar *object_path, 635s # GCancellable *cancellable, 635s # GAsyncReadyCallback callback, 635s # gpointer user_data) 635s # { 635s # g_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); 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_proxy_new_for_bus_finish: 635s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 635s # * @error: Return location for error or %NULL 635s # * 635s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 635s # * 635s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 635s # */ 635s # OrgProjectUsefulInterface * 635s # org_project_useful_interface_proxy_new_for_bus_finish ( 635s # GAsyncResult *res, 635s # GError **error) 635s # { 635s # GObject *ret; 635s # GObject *source_object; 635s # source_object = g_async_result_get_source_object (res); 635s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 635s # g_object_unref (source_object); 635s # if (ret != NULL) 635s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 635s # else 635s # return NULL; 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_proxy_new_for_bus_sync: 635s # * @bus_type: A #GBusType. 635s # * @flags: Flags from the #GDBusProxyFlags enumeration. 635s # * @name: A bus name (well-known or unique). 635s # * @object_path: An object path. 635s # * @cancellable: (nullable): A #GCancellable or %NULL. 635s # * @error: Return location for error or %NULL 635s # * 635s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 635s # * 635s # * The calling thread is blocked until a reply is received. 635s # * 635s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 635s # * 635s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 635s # */ 635s # OrgProjectUsefulInterface * 635s # org_project_useful_interface_proxy_new_for_bus_sync ( 635s # GBusType bus_type, 635s # GDBusProxyFlags flags, 635s # const gchar *name, 635s # const gchar *object_path, 635s # GCancellable *cancellable, 635s # GError **error) 635s # { 635s # GInitable *ret; 635s # 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); 635s # if (ret != NULL) 635s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 635s # else 635s # return NULL; 635s # } 635s # 635s # 635s # /* ------------------------------------------------------------------------ */ 635s # 635s # /** 635s # * OrgProjectUsefulInterfaceSkeleton: 635s # * 635s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 635s # */ 635s # 635s # /** 635s # * OrgProjectUsefulInterfaceSkeletonClass: 635s # * @parent_class: The parent class. 635s # * 635s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 635s # */ 635s # 635s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 635s # { 635s # GValue *properties; 635s # GList *changed_properties; 635s # GSource *changed_properties_idle_source; 635s # GMainContext *context; 635s # GMutex lock; 635s # }; 635s # 635s # static void 635s # _org_project_useful_interface_skeleton_handle_method_call ( 635s # GDBusConnection *connection G_GNUC_UNUSED, 635s # const gchar *sender G_GNUC_UNUSED, 635s # const gchar *object_path G_GNUC_UNUSED, 635s # const gchar *interface_name, 635s # const gchar *method_name, 635s # GVariant *parameters, 635s # GDBusMethodInvocation *invocation, 635s # gpointer user_data) 635s # { 635s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 635s # _ExtendedGDBusMethodInfo *info; 635s # GVariantIter iter; 635s # GVariant *child; 635s # GValue *paramv; 635s # gsize num_params; 635s # guint num_extra; 635s # gsize n; 635s # guint signal_id; 635s # GValue return_value = G_VALUE_INIT; 635s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 635s # g_assert (info != NULL); 635s # num_params = g_variant_n_children (parameters); 635s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 635s # n = 0; 635s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 635s # g_value_set_object (¶mv[n++], skeleton); 635s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 635s # g_value_set_object (¶mv[n++], invocation); 635s # if (info->pass_fdlist) 635s # { 635s # #ifdef G_OS_UNIX 635s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 635s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 635s # #else 635s # g_assert_not_reached (); 635s # #endif 635s # } 635s # g_variant_iter_init (&iter, parameters); 635s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 635s # { 635s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 635s # if (arg_info->use_gvariant) 635s # { 635s # g_value_init (¶mv[n], G_TYPE_VARIANT); 635s # g_value_set_variant (¶mv[n], child); 635s # n++; 635s # } 635s # else 635s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 635s # g_variant_unref (child); 635s # } 635s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 635s # g_value_init (&return_value, G_TYPE_BOOLEAN); 635s # g_signal_emitv (paramv, signal_id, 0, &return_value); 635s # if (!g_value_get_boolean (&return_value)) 635s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 635s # g_value_unset (&return_value); 635s # for (n = 0; n < num_params + num_extra; n++) 635s # g_value_unset (¶mv[n]); 635s # g_free (paramv); 635s # } 635s # 635s # static GVariant * 635s # _org_project_useful_interface_skeleton_handle_get_property ( 635s # GDBusConnection *connection G_GNUC_UNUSED, 635s # const gchar *sender G_GNUC_UNUSED, 635s # const gchar *object_path G_GNUC_UNUSED, 635s # const gchar *interface_name G_GNUC_UNUSED, 635s # const gchar *property_name, 635s # GError **error, 635s # gpointer user_data) 635s # { 635s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 635s # GValue value = G_VALUE_INIT; 635s # GParamSpec *pspec; 635s # _ExtendedGDBusPropertyInfo *info; 635s # GVariant *ret; 635s # ret = NULL; 635s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 635s # g_assert (info != NULL); 635s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 635s # if (pspec == NULL) 635s # { 635s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 635s # } 635s # else 635s # { 635s # g_value_init (&value, pspec->value_type); 635s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 635s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 635s # g_value_unset (&value); 635s # } 635s # return ret; 635s # } 635s # 635s # static gboolean 635s # _org_project_useful_interface_skeleton_handle_set_property ( 635s # GDBusConnection *connection G_GNUC_UNUSED, 635s # const gchar *sender G_GNUC_UNUSED, 635s # const gchar *object_path G_GNUC_UNUSED, 635s # const gchar *interface_name G_GNUC_UNUSED, 635s # const gchar *property_name, 635s # GVariant *variant, 635s # GError **error, 635s # gpointer user_data) 635s # { 635s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 635s # GValue value = G_VALUE_INIT; 635s # GParamSpec *pspec; 635s # _ExtendedGDBusPropertyInfo *info; 635s # gboolean ret; 635s # ret = FALSE; 635s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 635s # g_assert (info != NULL); 635s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 635s # if (pspec == NULL) 635s # { 635s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 635s # } 635s # else 635s # { 635s # if (info->use_gvariant) 635s # g_value_set_variant (&value, variant); 635s # else 635s # g_dbus_gvariant_to_gvalue (variant, &value); 635s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 635s # g_value_unset (&value); 635s # ret = TRUE; 635s # } 635s # return ret; 635s # } 635s # 635s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 635s # { 635s # _org_project_useful_interface_skeleton_handle_method_call, 635s # _org_project_useful_interface_skeleton_handle_get_property, 635s # _org_project_useful_interface_skeleton_handle_set_property, 635s # {NULL} 635s # }; 635s # 635s # static GDBusInterfaceInfo * 635s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 635s # { 635s # return org_project_useful_interface_interface_info (); 635s # } 635s # 635s # static GDBusInterfaceVTable * 635s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 635s # { 635s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 635s # } 635s # 635s # static GVariant * 635s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 635s # { 635s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 635s # 635s # GVariantBuilder builder; 635s # guint n; 635s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 635s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 635s # goto out; 635s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 635s # { 635s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 635s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 635s # { 635s # GVariant *value; 635s # 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); 635s # if (value != NULL) 635s # { 635s # g_variant_take_ref (value); 635s # g_variant_builder_add (&builder, "{sv}", info->name, value); 635s # g_variant_unref (value); 635s # } 635s # } 635s # } 635s # out: 635s # return g_variant_builder_end (&builder); 635s # } 635s # 635s # static void 635s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 635s # { 635s # } 635s # 635s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 635s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 635s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 635s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 635s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 635s # 635s # #else 635s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 635s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 635s # 635s # #endif 635s # static void 635s # org_project_useful_interface_skeleton_finalize (GObject *object) 635s # { 635s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 635s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 635s # if (skeleton->priv->changed_properties_idle_source != NULL) 635s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 635s # g_main_context_unref (skeleton->priv->context); 635s # g_mutex_clear (&skeleton->priv->lock); 635s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 635s # } 635s # 635s # static void 635s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 635s # { 635s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 635s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 635s # #else 635s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 635s # #endif 635s # 635s # g_mutex_init (&skeleton->priv->lock); 635s # skeleton->priv->context = g_main_context_ref_thread_default (); 635s # } 635s # 635s # static void 635s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 635s # { 635s # GObjectClass *gobject_class; 635s # GDBusInterfaceSkeletonClass *skeleton_class; 635s # 635s # gobject_class = G_OBJECT_CLASS (klass); 635s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 635s # 635s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 635s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 635s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 635s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 635s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 635s # 635s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 635s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 635s # #endif 635s # } 635s # 635s # static void 635s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 635s # { 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_skeleton_new: 635s # * 635s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 635s # * 635s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 635s # */ 635s # OrgProjectUsefulInterface * 635s # org_project_useful_interface_skeleton_new (void) 635s # { 635s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 635s # } 635s # /tmp/tmp4un2rcj2/tmpavhojdiz.xml: 635s # 635s # 635s # 635s # 635s # 635s # 635s # 635s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4un2rcj2/tmpavhojdiz.xml', '--output', '-', '--body'] 635s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 635s # Output: /* 635s # * This file is generated by gdbus-codegen, do not modify it. 635s # * 635s # * The license of this code is the same as for the D-Bus interface description 635s # * it was derived from. Note that it links to GLib, so must comply with the 635s # * LGPL linking clauses. 635s # */ 635s # 635s # #ifdef HAVE_CONFIG_H 635s # # include "config.h" 635s # #endif 635s # 635s # #include 635s # #ifdef G_OS_UNIX 635s # # include 635s # #endif 635s # 635s # #ifdef G_ENABLE_DEBUG 635s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 635s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 635s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 635s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 635s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 635s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 635s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 635s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 635s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 635s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 635s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 635s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 635s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 635s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 635s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 635s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 635s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 635s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 635s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 635s # #else /* !G_ENABLE_DEBUG */ 635s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 635s # * Do not access GValues directly in your code. Instead, use the 635s # * g_value_get_*() functions 635s # */ 635s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 635s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 635s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 635s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 635s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 635s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 635s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 635s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 635s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 635s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 635s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 635s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 635s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 635s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 635s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 635s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 635s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 635s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 635s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 635s # #endif /* !G_ENABLE_DEBUG */ 635s # 635s # typedef struct 635s # { 635s # GDBusArgInfo parent_struct; 635s # gboolean use_gvariant; 635s # } _ExtendedGDBusArgInfo; 635s # 635s # typedef struct 635s # { 635s # GDBusMethodInfo parent_struct; 635s # const gchar *signal_name; 635s # gboolean pass_fdlist; 635s # } _ExtendedGDBusMethodInfo; 635s # 635s # typedef struct 635s # { 635s # GDBusSignalInfo parent_struct; 635s # const gchar *signal_name; 635s # } _ExtendedGDBusSignalInfo; 635s # 635s # typedef struct 635s # { 635s # GDBusPropertyInfo parent_struct; 635s # const gchar *hyphen_name; 635s # guint use_gvariant : 1; 635s # guint emits_changed_signal : 1; 635s # } _ExtendedGDBusPropertyInfo; 635s # 635s # typedef struct 635s # { 635s # GDBusInterfaceInfo parent_struct; 635s # const gchar *hyphen_name; 635s # } _ExtendedGDBusInterfaceInfo; 635s # 635s # typedef struct 635s # { 635s # const _ExtendedGDBusPropertyInfo *info; 635s # guint prop_id; 635s # GValue orig_value; /* the value before the change */ 635s # } ChangedProperty; 635s # 635s # static void 635s # _changed_property_free (ChangedProperty *data) 635s # { 635s # g_value_unset (&data->orig_value); 635s # g_free (data); 635s # } 635s # 635s # static gboolean 635s # _g_strv_equal0 (gchar **a, gchar **b) 635s # { 635s # gboolean ret = FALSE; 635s # guint n; 635s # if (a == NULL && b == NULL) 635s # { 635s # ret = TRUE; 635s # goto out; 635s # } 635s # if (a == NULL || b == NULL) 635s # goto out; 635s # if (g_strv_length (a) != g_strv_length (b)) 635s # goto out; 635s # for (n = 0; a[n] != NULL; n++) 635s # if (g_strcmp0 (a[n], b[n]) != 0) 635s # goto out; 635s # ret = TRUE; 635s # out: 635s # return ret; 635s # } 635s # 635s # static gboolean 635s # _g_variant_equal0 (GVariant *a, GVariant *b) 635s # { 635s # gboolean ret = FALSE; 635s # if (a == NULL && b == NULL) 635s # { 635s # ret = TRUE; 635s # goto out; 635s # } 635s # if (a == NULL || b == NULL) 635s # goto out; 635s # ret = g_variant_equal (a, b); 635s # out: 635s # return ret; 635s # } 635s # 635s # G_GNUC_UNUSED static gboolean 635s # _g_value_equal (const GValue *a, const GValue *b) 635s # { 635s # gboolean ret = FALSE; 635s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 635s # switch (G_VALUE_TYPE (a)) 635s # { 635s # case G_TYPE_BOOLEAN: 635s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 635s # break; 635s # case G_TYPE_UCHAR: 635s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 635s # break; 635s # case G_TYPE_INT: 635s # ret = (g_value_get_int (a) == g_value_get_int (b)); 635s # break; 635s # case G_TYPE_UINT: 635s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 635s # break; 635s # case G_TYPE_INT64: 635s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 635s # break; 635s # case G_TYPE_UINT64: 635s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 635s # break; 635s # case G_TYPE_DOUBLE: 635s # { 635s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 635s # gdouble da = g_value_get_double (a); 635s # gdouble db = g_value_get_double (b); 635s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 635s # } 635s # break; 635s # case G_TYPE_STRING: 635s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 635s # break; 635s # case G_TYPE_VARIANT: 635s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 635s # break; 635s # default: 635s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 635s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 635s # else 635s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 635s # break; 635s # } 635s # return ret; 635s # } 635s # 635s # static void 635s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 635s # GClosure *closure, 635s # GValue *return_value, 635s # unsigned int n_param_values, 635s # const GValue *param_values, 635s # void *invocation_hint G_GNUC_UNUSED, 635s # void *marshal_data) 635s # { 635s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 635s # (void *data1, 635s # GDBusMethodInvocation *arg_method_invocation, 635s # const gchar *arg_arg_o, 635s # void *data2); 635s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 635s # GCClosure *cc = (GCClosure*) closure; 635s # void *data1, *data2; 635s # gboolean v_return; 635s # 635s # g_return_if_fail (return_value != NULL); 635s # g_return_if_fail (n_param_values == 3); 635s # 635s # if (G_CCLOSURE_SWAP_DATA (closure)) 635s # { 635s # data1 = closure->data; 635s # data2 = g_value_peek_pointer (param_values + 0); 635s # } 635s # else 635s # { 635s # data1 = g_value_peek_pointer (param_values + 0); 635s # data2 = closure->data; 635s # } 635s # 635s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 635s # (marshal_data ? marshal_data : cc->callback); 635s # 635s # v_return = 635s # callback (data1, 635s # g_marshal_value_peek_object (param_values + 1), 635s # g_marshal_value_peek_string (param_values + 2), 635s # data2); 635s # 635s # g_value_set_boolean (return_value, v_return); 635s # } 635s # 635s # /* ------------------------------------------------------------------------ 635s # * Code for interface org.project.UsefulInterface 635s # * ------------------------------------------------------------------------ 635s # */ 635s # 635s # /** 635s # * SECTION:OrgProjectUsefulInterface 635s # * @title: OrgProjectUsefulInterface 635s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 635s # * 635s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 635s # */ 635s # 635s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 635s # 635s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 635s # { 635s # { 635s # -1, 635s # (gchar *) "arg_o", 635s # (gchar *) "o", 635s # NULL 635s # }, 635s # FALSE 635s # }; 635s # 635s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 635s # { 635s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 635s # NULL 635s # }; 635s # 635s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 635s # { 635s # { 635s # -1, 635s # (gchar *) "SingleArgMethodO", 635s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 635s # NULL, 635s # NULL 635s # }, 635s # "handle-single-arg-method-o", 635s # FALSE 635s # }; 635s # 635s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 635s # { 635s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 635s # NULL 635s # }; 635s # 635s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 635s # { 635s # { 635s # -1, 635s # (gchar *) "org.project.UsefulInterface", 635s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 635s # NULL, 635s # NULL, 635s # NULL 635s # }, 635s # "org-project-useful-interface", 635s # }; 635s # 635s # 635s # /** 635s # * org_project_useful_interface_interface_info: 635s # * 635s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 635s # * 635s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 635s # */ 635s # GDBusInterfaceInfo * 635s # org_project_useful_interface_interface_info (void) 635s # { 635s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_override_properties: 635s # * @klass: The class structure for a #GObject derived class. 635s # * @property_id_begin: The property id to assign to the first overridden property. 635s # * 635s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 635s # * The properties are overridden in the order they are defined. 635s # * 635s # * Returns: The last property id. 635s # */ 635s # guint 635s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 635s # { 635s # return property_id_begin - 1; 635s # } 635s # 635s # 635s # inline static void 635s # org_project_useful_interface_method_marshal_single_arg_method_o ( 635s # GClosure *closure, 635s # GValue *return_value, 635s # unsigned int n_param_values, 635s # const GValue *param_values, 635s # void *invocation_hint, 635s # void *marshal_data) 635s # { 635s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 635s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 635s # } 635s # 635s # 635s # /** 635s # * OrgProjectUsefulInterface: 635s # * 635s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 635s # */ 635s # 635s # /** 635s # * OrgProjectUsefulInterfaceIface: 635s # * @parent_iface: The parent interface. 635s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 635s # * 635s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 635s # */ 635s # 635s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 635s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 635s # 635s # static void 635s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 635s # { 635s # /* GObject signals for incoming D-Bus method calls: */ 635s # /** 635s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 635s # * @object: A #OrgProjectUsefulInterface. 635s # * @invocation: A #GDBusMethodInvocation. 635s # * @arg_arg_o: Argument passed by remote caller. 635s # * 635s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 635s # * 635s # * 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. 635s # * 635s # * 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. 635s # */ 635s # g_signal_new ("handle-single-arg-method-o", 635s # G_TYPE_FROM_INTERFACE (iface), 635s # G_SIGNAL_RUN_LAST, 635s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 635s # g_signal_accumulator_true_handled, 635s # NULL, 635s # org_project_useful_interface_method_marshal_single_arg_method_o, 635s # G_TYPE_BOOLEAN, 635s # 2, 635s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 635s # 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_call_single_arg_method_o: 635s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 635s # * @arg_arg_o: Argument to pass with the method invocation. 635s # * @cancellable: (nullable): A #GCancellable or %NULL. 635s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 635s # * @user_data: User data to pass to @callback. 635s # * 635s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 635s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 635s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 635s # * 635s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 635s # */ 635s # void 635s # org_project_useful_interface_call_single_arg_method_o ( 635s # OrgProjectUsefulInterface *proxy, 635s # const gchar *arg_arg_o, 635s # GCancellable *cancellable, 635s # GAsyncReadyCallback callback, 635s # gpointer user_data) 635s # { 635s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 635s # "SingleArgMethodO", 635s # g_variant_new ("(o)", 635s # arg_arg_o), 635s # G_DBUS_CALL_FLAGS_NONE, 635s # -1, 635s # cancellable, 635s # callback, 635s # user_data); 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_call_single_arg_method_o_finish: 635s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 635s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 635s # * @error: Return location for error or %NULL. 635s # * 635s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 635s # * 635s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 635s # */ 635s # gboolean 635s # org_project_useful_interface_call_single_arg_method_o_finish ( 635s # OrgProjectUsefulInterface *proxy, 635s # GAsyncResult *res, 635s # GError **error) 635s # { 635s # GVariant *_ret; 635s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 635s # if (_ret == NULL) 635s # goto _out; 635s # g_variant_get (_ret, 635s # "()"); 635s # g_variant_unref (_ret); 635s # _out: 635s # return _ret != NULL; 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_call_single_arg_method_o_sync: 635s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 635s # * @arg_arg_o: Argument to pass with the method invocation. 635s # * @cancellable: (nullable): A #GCancellable or %NULL. 635s # * @error: Return location for error or %NULL. 635s # * 635s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 635s # * 635s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 635s # * 635s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 635s # */ 635s # gboolean 635s # org_project_useful_interface_call_single_arg_method_o_sync ( 635s # OrgProjectUsefulInterface *proxy, 635s # const gchar *arg_arg_o, 635s # GCancellable *cancellable, 635s # GError **error) 635s # { 635s # GVariant *_ret; 635s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 635s # "SingleArgMethodO", 635s # g_variant_new ("(o)", 635s # arg_arg_o), 635s # G_DBUS_CALL_FLAGS_NONE, 635s # -1, 635s # cancellable, 635s # error); 635s # if (_ret == NULL) 635s # goto _out; 635s # g_variant_get (_ret, 635s # "()"); 635s # g_variant_unref (_ret); 635s # _out: 635s # return _ret != NULL; 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_complete_single_arg_method_o: 635s # * @object: A #OrgProjectUsefulInterface. 635s # * @invocation: (transfer full): A #GDBusMethodInvocation. 635s # * 635s # * 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. 635s # * 635s # * This method will free @invocation, you cannot use it afterwards. 635s # */ 635s # void 635s # org_project_useful_interface_complete_single_arg_method_o ( 635s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 635s # GDBusMethodInvocation *invocation) 635s # { 635s # g_dbus_method_invocation_return_value (invocation, 635s # g_variant_new ("()")); 635s # } 635s # 635s # /* ------------------------------------------------------------------------ */ 635s # 635s # /** 635s # * OrgProjectUsefulInterfaceProxy: 635s # * 635s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 635s # */ 635s # 635s # /** 635s # * OrgProjectUsefulInterfaceProxyClass: 635s # * @parent_class: The parent class. 635s # * 635s # * Class structure for #OrgProjectUsefulInterfaceProxy. 635s # */ 635s # 635s # struct _OrgProjectUsefulInterfaceProxyPrivate 635s # { 635s # GData *qdata; 635s # }; 635s # 635s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 635s # 635s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 635s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 635s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 635s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 635s # 635s # #else 635s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 635s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 635s # 635s # #endif 635s # static void 635s # org_project_useful_interface_proxy_finalize (GObject *object) 635s # { 635s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 635s # g_datalist_clear (&proxy->priv->qdata); 635s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 635s # } 635s # 635s # static void 635s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 635s # guint prop_id G_GNUC_UNUSED, 635s # GValue *value G_GNUC_UNUSED, 635s # GParamSpec *pspec G_GNUC_UNUSED) 635s # { 635s # } 635s # 635s # static void 635s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 635s # guint prop_id G_GNUC_UNUSED, 635s # const GValue *value G_GNUC_UNUSED, 635s # GParamSpec *pspec G_GNUC_UNUSED) 635s # { 635s # } 635s # 635s # static void 635s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 635s # const gchar *sender_name G_GNUC_UNUSED, 635s # const gchar *signal_name, 635s # GVariant *parameters) 635s # { 635s # _ExtendedGDBusSignalInfo *info; 635s # GVariantIter iter; 635s # GVariant *child; 635s # GValue *paramv; 635s # gsize num_params; 635s # gsize n; 635s # guint signal_id; 635s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 635s # if (info == NULL) 635s # return; 635s # num_params = g_variant_n_children (parameters); 635s # paramv = g_new0 (GValue, num_params + 1); 635s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 635s # g_value_set_object (¶mv[0], proxy); 635s # g_variant_iter_init (&iter, parameters); 635s # n = 1; 635s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 635s # { 635s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 635s # if (arg_info->use_gvariant) 635s # { 635s # g_value_init (¶mv[n], G_TYPE_VARIANT); 635s # g_value_set_variant (¶mv[n], child); 635s # n++; 635s # } 635s # else 635s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 635s # g_variant_unref (child); 635s # } 635s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 635s # g_signal_emitv (paramv, signal_id, 0, NULL); 635s # for (n = 0; n < num_params + 1; n++) 635s # g_value_unset (¶mv[n]); 635s # g_free (paramv); 635s # } 635s # 635s # static void 635s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 635s # GVariant *changed_properties, 635s # const gchar *const *invalidated_properties) 635s # { 635s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 635s # guint n; 635s # const gchar *key; 635s # GVariantIter *iter; 635s # _ExtendedGDBusPropertyInfo *info; 635s # g_variant_get (changed_properties, "a{sv}", &iter); 635s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 635s # { 635s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 635s # g_datalist_remove_data (&proxy->priv->qdata, key); 635s # if (info != NULL) 635s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 635s # } 635s # g_variant_iter_free (iter); 635s # for (n = 0; invalidated_properties[n] != NULL; n++) 635s # { 635s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 635s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 635s # if (info != NULL) 635s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 635s # } 635s # } 635s # 635s # static void 635s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 635s # { 635s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 635s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 635s # #else 635s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 635s # #endif 635s # 635s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 635s # } 635s # 635s # static void 635s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 635s # { 635s # GObjectClass *gobject_class; 635s # GDBusProxyClass *proxy_class; 635s # 635s # gobject_class = G_OBJECT_CLASS (klass); 635s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 635s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 635s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 635s # 635s # proxy_class = G_DBUS_PROXY_CLASS (klass); 635s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 635s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 635s # 635s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 635s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 635s # #endif 635s # } 635s # 635s # static void 635s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 635s # { 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_proxy_new: 635s # * @connection: A #GDBusConnection. 635s # * @flags: Flags from the #GDBusProxyFlags enumeration. 635s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 635s # * @object_path: An object path. 635s # * @cancellable: (nullable): A #GCancellable or %NULL. 635s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 635s # * @user_data: User data to pass to @callback. 635s # * 635s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 635s # * 635s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 635s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 635s # * 635s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 635s # */ 635s # void 635s # org_project_useful_interface_proxy_new ( 635s # GDBusConnection *connection, 635s # GDBusProxyFlags flags, 635s # const gchar *name, 635s # const gchar *object_path, 635s # GCancellable *cancellable, 635s # GAsyncReadyCallback callback, 635s # gpointer user_data) 635s # { 635s # g_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); 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_proxy_new_finish: 635s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 635s # * @error: Return location for error or %NULL 635s # * 635s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 635s # * 635s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 635s # */ 635s # OrgProjectUsefulInterface * 635s # org_project_useful_interface_proxy_new_finish ( 635s # GAsyncResult *res, 635s # GError **error) 635s # { 635s # GObject *ret; 635s # GObject *source_object; 635s # source_object = g_async_result_get_source_object (res); 635s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 635s # g_object_unref (source_object); 635s # if (ret != NULL) 635s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 635s # else 635s # return NULL; 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_proxy_new_sync: 635s # * @connection: A #GDBusConnection. 635s # * @flags: Flags from the #GDBusProxyFlags enumeration. 635s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 635s # * @object_path: An object path. 635s # * @cancellable: (nullable): A #GCancellable or %NULL. 635s # * @error: Return location for error or %NULL 635s # * 635s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 635s # * 635s # * The calling thread is blocked until a reply is received. 635s # * 635s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 635s # * 635s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 635s # */ 635s # OrgProjectUsefulInterface * 635s # org_project_useful_interface_proxy_new_sync ( 635s # GDBusConnection *connection, 635s # GDBusProxyFlags flags, 635s # const gchar *name, 635s # const gchar *object_path, 635s # GCancellable *cancellable, 635s # GError **error) 635s # { 635s # GInitable *ret; 635s # 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); 635s # if (ret != NULL) 635s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 635s # else 635s # return NULL; 635s # } 635s # 635s # 635s # /** 635s # * org_project_useful_interface_proxy_new_for_bus: 635s # * @bus_type: A #GBusType. 635s # * @flags: Flags from the #GDBusProxyFlags enumeration. 635s # * @name: A bus name (well-known or unique). 635s # * @object_path: An object path. 635s # * @cancellable: (nullable): A #GCancellable or %NULL. 635s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 635s # * @user_data: User data to pass to @callback. 635s # * 635s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 635s # * 635s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 635s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 635s # * 635s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 635s # */ 635s # void 635s # org_project_useful_interface_proxy_new_for_bus ( 635s # GBusType bus_type, 635s # GDBusProxyFlags flags, 635s # const gchar *name, 635s # const gchar *object_path, 635s # GCancellable *cancellable, 635s # GAsyncReadyCallback callback, 635s # gpointer user_data) 635s # { 635s # g_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); 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_proxy_new_for_bus_finish: 635s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 635s # * @error: Return location for error or %NULL 635s # * 635s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 635s # * 635s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 635s # */ 635s # OrgProjectUsefulInterface * 635s # org_project_useful_interface_proxy_new_for_bus_finish ( 635s # GAsyncResult *res, 635s # GError **error) 635s # { 635s # GObject *ret; 635s # GObject *source_object; 635s # source_object = g_async_result_get_source_object (res); 635s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 635s # g_object_unref (source_object); 635s # if (ret != NULL) 635s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 635s # else 635s # return NULL; 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_proxy_new_for_bus_sync: 635s # * @bus_type: A #GBusType. 635s # * @flags: Flags from the #GDBusProxyFlags enumeration. 635s # * @name: A bus name (well-known or unique). 635s # * @object_path: An object path. 635s # * @cancellable: (nullable): A #GCancellable or %NULL. 635s # * @error: Return location for error or %NULL 635s # * 635s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 635s # * 635s # * The calling thread is blocked until a reply is received. 635s # * 635s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 635s # * 635s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 635s # */ 635s # OrgProjectUsefulInterface * 635s # org_project_useful_interface_proxy_new_for_bus_sync ( 635s # GBusType bus_type, 635s # GDBusProxyFlags flags, 635s # const gchar *name, 635s # const gchar *object_path, 635s # GCancellable *cancellable, 635s # GError **error) 635s # { 635s # GInitable *ret; 635s # 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); 635s # if (ret != NULL) 635s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 635s # else 635s # return NULL; 635s # } 635s # 635s # 635s # /* ------------------------------------------------------------------------ */ 635s # 635s # /** 635s # * OrgProjectUsefulInterfaceSkeleton: 635s # * 635s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 635s # */ 635s # 635s # /** 635s # * OrgProjectUsefulInterfaceSkeletonClass: 635s # * @parent_class: The parent class. 635s # * 635s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 635s # */ 635s # 635s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 635s # { 635s # GValue *properties; 635s # GList *changed_properties; 635s # GSource *changed_properties_idle_source; 635s # GMainContext *context; 635s # GMutex lock; 635s # }; 635s # 635s # static void 635s # _org_project_useful_interface_skeleton_handle_method_call ( 635s # GDBusConnection *connection G_GNUC_UNUSED, 635s # const gchar *sender G_GNUC_UNUSED, 635s # const gchar *object_path G_GNUC_UNUSED, 635s # const gchar *interface_name, 635s # const gchar *method_name, 635s # GVariant *parameters, 635s # GDBusMethodInvocation *invocation, 635s # gpointer user_data) 635s # { 635s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 635s # _ExtendedGDBusMethodInfo *info; 635s # GVariantIter iter; 635s # GVariant *child; 635s # GValue *paramv; 635s # gsize num_params; 635s # guint num_extra; 635s # gsize n; 635s # guint signal_id; 635s # GValue return_value = G_VALUE_INIT; 635s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 635s # g_assert (info != NULL); 635s # num_params = g_variant_n_children (parameters); 635s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 635s # n = 0; 635s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 635s # g_value_set_object (¶mv[n++], skeleton); 635s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 635s # g_value_set_object (¶mv[n++], invocation); 635s # if (info->pass_fdlist) 635s # { 635s # #ifdef G_OS_UNIX 635s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 635s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 635s # #else 635s # g_assert_not_reached (); 635s # #endif 635s # } 635s # g_variant_iter_init (&iter, parameters); 635s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 635s # { 635s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 635s # if (arg_info->use_gvariant) 635s # { 635s # g_value_init (¶mv[n], G_TYPE_VARIANT); 635s # g_value_set_variant (¶mv[n], child); 635s # n++; 635s # } 635s # else 635s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 635s # g_variant_unref (child); 635s # } 635s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 635s # g_value_init (&return_value, G_TYPE_BOOLEAN); 635s # g_signal_emitv (paramv, signal_id, 0, &return_value); 635s # if (!g_value_get_boolean (&return_value)) 635s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 635s # g_value_unset (&return_value); 635s # for (n = 0; n < num_params + num_extra; n++) 635s # g_value_unset (¶mv[n]); 635s # g_free (paramv); 635s # } 635s # 635s # static GVariant * 635s # _org_project_useful_interface_skeleton_handle_get_property ( 635s # GDBusConnection *connection G_GNUC_UNUSED, 635s # const gchar *sender G_GNUC_UNUSED, 635s # const gchar *object_path G_GNUC_UNUSED, 635s # const gchar *interface_name G_GNUC_UNUSED, 635s # const gchar *property_name, 635s # GError **error, 635s # gpointer user_data) 635s # { 635s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 635s # GValue value = G_VALUE_INIT; 635s # GParamSpec *pspec; 635s # _ExtendedGDBusPropertyInfo *info; 635s # GVariant *ret; 635s # ret = NULL; 635s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 635s # g_assert (info != NULL); 635s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 635s # if (pspec == NULL) 635s # { 635s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 635s # } 635s # else 635s # { 635s # g_value_init (&value, pspec->value_type); 635s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 635s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 635s # g_value_unset (&value); 635s # } 635s # return ret; 635s # } 635s # 635s # static gboolean 635s # _org_project_useful_interface_skeleton_handle_set_property ( 635s # GDBusConnection *connection G_GNUC_UNUSED, 635s # const gchar *sender G_GNUC_UNUSED, 635s # const gchar *object_path G_GNUC_UNUSED, 635s # const gchar *interface_name G_GNUC_UNUSED, 635s # const gchar *property_name, 635s # GVariant *variant, 635s # GError **error, 635s # gpointer user_data) 635s # { 635s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 635s # GValue value = G_VALUE_INIT; 635s # GParamSpec *pspec; 635s # _ExtendedGDBusPropertyInfo *info; 635s # gboolean ret; 635s # ret = FALSE; 635s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 635s # g_assert (info != NULL); 635s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 635s # if (pspec == NULL) 635s # { 635s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 635s # } 635s # else 635s # { 635s # if (info->use_gvariant) 635s # g_value_set_variant (&value, variant); 635s # else 635s # g_dbus_gvariant_to_gvalue (variant, &value); 635s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 635s # g_value_unset (&value); 635s # ret = TRUE; 635s # } 635s # return ret; 635s # } 635s # 635s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 635s # { 635s # _org_project_useful_interface_skeleton_handle_method_call, 635s # _org_project_useful_interface_skeleton_handle_get_property, 635s # _org_project_useful_interface_skeleton_handle_set_property, 635s # {NULL} 635s # }; 635s # 635s # static GDBusInterfaceInfo * 635s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 635s # { 635s # return org_project_useful_interface_interface_info (); 635s # } 635s # 635s # static GDBusInterfaceVTable * 635s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 635s # { 635s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 635s # } 635s # 635s # static GVariant * 635s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 635s # { 635s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 635s # 635s # GVariantBuilder builder; 635s # guint n; 635s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 635s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 635s # goto out; 635s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 635s # { 635s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 635s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 635s # { 635s # GVariant *value; 635s # 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); 635s # if (value != NULL) 635s # { 635s # g_variant_take_ref (value); 635s # g_variant_builder_add (&builder, "{sv}", info->name, value); 635s # g_variant_unref (value); 635s # } 635s # } 635s # } 635s # out: 635s # return g_variant_builder_end (&builder); 635s # } 635s # 635s # static void 635s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 635s # { 635s # } 635s # 635s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 635s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 635s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 635s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 635s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 635s # 635s # #else 635s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 635s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 635s # 635s # #endif 635s # static void 635s # org_project_useful_interface_skeleton_finalize (GObject *object) 635s # { 635s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 635s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 635s # if (skeleton->priv->changed_properties_idle_source != NULL) 635s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 635s # g_main_context_unref (skeleton->priv->context); 635s # g_mutex_clear (&skeleton->priv->lock); 635s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 635s # } 635s # 635s # static void 635s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 635s # { 635s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 635s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 635s # #else 635s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 635s # #endif 635s # 635s # g_mutex_init (&skeleton->priv->lock); 635s # skeleton->priv->context = g_main_context_ref_thread_default (); 635s # } 635s # 635s # static void 635s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 635s # { 635s # GObjectClass *gobject_class; 635s # GDBusInterfaceSkeletonClass *skeleton_class; 635s # 635s # gobject_class = G_OBJECT_CLASS (klass); 635s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 635s # 635s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 635s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 635s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 635s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 635s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 635s # 635s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 635s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 635s # #endif 635s # } 635s # 635s # static void 635s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 635s # { 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_skeleton_new: 635s # * 635s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 635s # * 635s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 635s # */ 635s # OrgProjectUsefulInterface * 635s # org_project_useful_interface_skeleton_new (void) 635s # { 635s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 635s # } 635s # /tmp/tmp4un2rcj2/tmp_b1cbjbu.xml: 635s # 635s # 635s # 635s # 635s # 635s # 635s # 635s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4un2rcj2/tmp_b1cbjbu.xml', '--output', '-', '--body'] 635s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 635s # Output: /* 635s # * This file is generated by gdbus-codegen, do not modify it. 635s # * 635s # * The license of this code is the same as for the D-Bus interface description 635s # * it was derived from. Note that it links to GLib, so must comply with the 635s # * LGPL linking clauses. 635s # */ 635s # 635s # #ifdef HAVE_CONFIG_H 635s # # include "config.h" 635s # #endif 635s # 635s # #include 635s # #ifdef G_OS_UNIX 635s # # include 635s # #endif 635s # 635s # #ifdef G_ENABLE_DEBUG 635s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 635s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 635s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 635s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 635s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 635s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 635s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 635s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 635s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 635s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 635s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 635s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 635s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 635s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 635s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 635s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 635s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 635s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 635s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 635s # #else /* !G_ENABLE_DEBUG */ 635s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 635s # * Do not access GValues directly in your code. Instead, use the 635s # * g_value_get_*() functions 635s # */ 635s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 635s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 635s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 635s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 635s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 635s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 635s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 635s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 635s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 635s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 635s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 635s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 635s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 635s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 635s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 635s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 635s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 635s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 635s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 635s # #endif /* !G_ENABLE_DEBUG */ 635s # 635s # typedef struct 635s # { 635s # GDBusArgInfo parent_struct; 635s # gboolean use_gvariant; 635s # } _ExtendedGDBusArgInfo; 635s # 635s # typedef struct 635s # { 635s # GDBusMethodInfo parent_struct; 635s # const gchar *signal_name; 635s # gboolean pass_fdlist; 635s # } _ExtendedGDBusMethodInfo; 635s # 635s # typedef struct 635s # { 635s # GDBusSignalInfo parent_struct; 635s # const gchar *signal_name; 635s # } _ExtendedGDBusSignalInfo; 635s # 635s # typedef struct 635s # { 635s # GDBusPropertyInfo parent_struct; 635s # const gchar *hyphen_name; 635s # guint use_gvariant : 1; 635s # guint emits_changed_signal : 1; 635s # } _ExtendedGDBusPropertyInfo; 635s # 635s # typedef struct 635s # { 635s # GDBusInterfaceInfo parent_struct; 635s # const gchar *hyphen_name; 635s # } _ExtendedGDBusInterfaceInfo; 635s # 635s # typedef struct 635s # { 635s # const _ExtendedGDBusPropertyInfo *info; 635s # guint prop_id; 635s # GValue orig_value; /* the value before the change */ 635s # } ChangedProperty; 635s # 635s # static void 635s # _changed_property_free (ChangedProperty *data) 635s # { 635s # g_value_unset (&data->orig_value); 635s # g_free (data); 635s # } 635s # 635s # static gboolean 635s # _g_strv_equal0 (gchar **a, gchar **b) 635s # { 635s # gboolean ret = FALSE; 635s # guint n; 635s # if (a == NULL && b == NULL) 635s # { 635s # ret = TRUE; 635s # goto out; 635s # } 635s # if (a == NULL || b == NULL) 635s # goto out; 635s # if (g_strv_length (a) != g_strv_length (b)) 635s # goto out; 635s # for (n = 0; a[n] != NULL; n++) 635s # if (g_strcmp0 (a[n], b[n]) != 0) 635s # goto out; 635s # ret = TRUE; 635s # out: 635s # return ret; 635s # } 635s # 635s # static gboolean 635s # _g_variant_equal0 (GVariant *a, GVariant *b) 635s # { 635s # gboolean ret = FALSE; 635s # if (a == NULL && b == NULL) 635s # { 635s # ret = TRUE; 635s # goto out; 635s # } 635s # if (a == NULL || b == NULL) 635s # goto out; 635s # ret = g_variant_equal (a, b); 635s # out: 635s # return ret; 635s # } 635s # 635s # G_GNUC_UNUSED static gboolean 635s # _g_value_equal (const GValue *a, const GValue *b) 635s # { 635s # gboolean ret = FALSE; 635s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 635s # switch (G_VALUE_TYPE (a)) 635s # { 635s # case G_TYPE_BOOLEAN: 635s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 635s # break; 635s # case G_TYPE_UCHAR: 635s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 635s # break; 635s # case G_TYPE_INT: 635s # ret = (g_value_get_int (a) == g_value_get_int (b)); 635s # break; 635s # case G_TYPE_UINT: 635s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 635s # break; 635s # case G_TYPE_INT64: 635s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 635s # break; 635s # case G_TYPE_UINT64: 635s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 635s # break; 635s # case G_TYPE_DOUBLE: 635s # { 635s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 635s # gdouble da = g_value_get_double (a); 635s # gdouble db = g_value_get_double (b); 635s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 635s # } 635s # break; 635s # case G_TYPE_STRING: 635s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 635s # break; 635s # case G_TYPE_VARIANT: 635s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 635s # break; 635s # default: 635s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 635s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 635s # else 635s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 635s # break; 635s # } 635s # return ret; 635s # } 635s # 635s # static void 635s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 635s # GClosure *closure, 635s # GValue *return_value, 635s # unsigned int n_param_values, 635s # const GValue *param_values, 635s # void *invocation_hint G_GNUC_UNUSED, 635s # void *marshal_data) 635s # { 635s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 635s # (void *data1, 635s # GDBusMethodInvocation *arg_method_invocation, 635s # const gchar *arg_arg_g, 635s # void *data2); 635s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 635s # GCClosure *cc = (GCClosure*) closure; 635s # void *data1, *data2; 635s # gboolean v_return; 635s # 635s # g_return_if_fail (return_value != NULL); 635s # g_return_if_fail (n_param_values == 3); 635s # 635s # if (G_CCLOSURE_SWAP_DATA (closure)) 635s # { 635s # data1 = closure->data; 635s # data2 = g_value_peek_pointer (param_values + 0); 635s # } 635s # else 635s # { 635s # data1 = g_value_peek_pointer (param_values + 0); 635s # data2 = closure->data; 635s # } 635s # 635s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 635s # (marshal_data ? marshal_data : cc->callback); 635s # 635s # v_return = 635s # callback (data1, 635s # g_marshal_value_peek_object (param_values + 1), 635s # g_marshal_value_peek_string (param_values + 2), 635s # data2); 635s # 635s # g_value_set_boolean (return_value, v_return); 635s # } 635s # 635s # /* ------------------------------------------------------------------------ 635s # * Code for interface org.project.UsefulInterface 635s # * ------------------------------------------------------------------------ 635s # */ 635s # 635s # /** 635s # * SECTION:OrgProjectUsefulInterface 635s # * @title: OrgProjectUsefulInterface 635s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 635s # * 635s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 635s # */ 635s # 635s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 635s # 635s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 635s # { 635s # { 635s # -1, 635s # (gchar *) "arg_g", 635s # (gchar *) "g", 635s # NULL 635s # }, 635s # FALSE 635s # }; 635s # 635s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 635s # { 635s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 635s # NULL 635s # }; 635s # 635s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 635s # { 635s # { 635s # -1, 635s # (gchar *) "SingleArgMethodG", 635s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 635s # NULL, 635s # NULL 635s # }, 635s # "handle-single-arg-method-g", 635s # FALSE 635s # }; 635s # 635s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 635s # { 635s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 635s # NULL 635s # }; 635s # 635s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 635s # { 635s # { 635s # -1, 635s # (gchar *) "org.project.UsefulInterface", 635s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 635s # NULL, 635s # NULL, 635s # NULL 635s # }, 635s # "org-project-useful-interface", 635s # }; 635s # 635s # 635s # /** 635s # * org_project_useful_interface_interface_info: 635s # * 635s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 635s # * 635s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 635s # */ 635s # GDBusInterfaceInfo * 635s # org_project_useful_interface_interface_info (void) 635s # { 635s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_override_properties: 635s # * @klass: The class structure for a #GObject derived class. 635s # * @property_id_begin: The property id to assign to the first overridden property. 635s # * 635s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 635s # * The properties are overridden in the order they are defined. 635s # * 635s # * Returns: The last property id. 635s # */ 635s # guint 635s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 635s # { 635s # return property_id_begin - 1; 635s # } 635s # 635s # 635s # inline static void 635s # org_project_useful_interface_method_marshal_single_arg_method_g ( 635s # GClosure *closure, 635s # GValue *return_value, 635s # unsigned int n_param_values, 635s # const GValue *param_values, 635s # void *invocation_hint, 635s # void *marshal_data) 635s # { 635s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 635s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 635s # } 635s # 635s # 635s # /** 635s # * OrgProjectUsefulInterface: 635s # * 635s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 635s # */ 635s # 635s # /** 635s # * OrgProjectUsefulInterfaceIface: 635s # * @parent_iface: The parent interface. 635s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 635s # * 635s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 635s # */ 635s # 635s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 635s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 635s # 635s # static void 635s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 635s # { 635s # /* GObject signals for incoming D-Bus method calls: */ 635s # /** 635s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 635s # * @object: A #OrgProjectUsefulInterface. 635s # * @invocation: A #GDBusMethodInvocation. 635s # * @arg_arg_g: Argument passed by remote caller. 635s # * 635s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 635s # * 635s # * 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. 635s # * 635s # * 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. 635s # */ 635s # g_signal_new ("handle-single-arg-method-g", 635s # G_TYPE_FROM_INTERFACE (iface), 635s # G_SIGNAL_RUN_LAST, 635s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 635s # g_signal_accumulator_true_handled, 635s # NULL, 635s # org_project_useful_interface_method_marshal_single_arg_method_g, 635s # G_TYPE_BOOLEAN, 635s # 2, 635s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 635s # 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_call_single_arg_method_g: 635s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 635s # * @arg_arg_g: Argument to pass with the method invocation. 635s # * @cancellable: (nullable): A #GCancellable or %NULL. 635s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 635s # * @user_data: User data to pass to @callback. 635s # * 635s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 635s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 635s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 635s # * 635s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 635s # */ 635s # void 635s # org_project_useful_interface_call_single_arg_method_g ( 635s # OrgProjectUsefulInterface *proxy, 635s # const gchar *arg_arg_g, 635s # GCancellable *cancellable, 635s # GAsyncReadyCallback callback, 635s # gpointer user_data) 635s # { 635s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 635s # "SingleArgMethodG", 635s # g_variant_new ("(g)", 635s # arg_arg_g), 635s # G_DBUS_CALL_FLAGS_NONE, 635s # -1, 635s # cancellable, 635s # callback, 635s # user_data); 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_call_single_arg_method_g_finish: 635s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 635s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 635s # * @error: Return location for error or %NULL. 635s # * 635s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 635s # * 635s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 635s # */ 635s # gboolean 635s # org_project_useful_interface_call_single_arg_method_g_finish ( 635s # OrgProjectUsefulInterface *proxy, 635s # GAsyncResult *res, 635s # GError **error) 635s # { 635s # GVariant *_ret; 635s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 635s # if (_ret == NULL) 635s # goto _out; 635s # g_variant_get (_ret, 635s # "()"); 635s # g_variant_unref (_ret); 635s # _out: 635s # return _ret != NULL; 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_call_single_arg_method_g_sync: 635s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 635s # * @arg_arg_g: Argument to pass with the method invocation. 635s # * @cancellable: (nullable): A #GCancellable or %NULL. 635s # * @error: Return location for error or %NULL. 635s # * 635s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 635s # * 635s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 635s # * 635s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 635s # */ 635s # gboolean 635s # org_project_useful_interface_call_single_arg_method_g_sync ( 635s # OrgProjectUsefulInterface *proxy, 635s # const gchar *arg_arg_g, 635s # GCancellable *cancellable, 635s # GError **error) 635s # { 635s # GVariant *_ret; 635s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 635s # "SingleArgMethodG", 635s # g_variant_new ("(g)", 635s # arg_arg_g), 635s # G_DBUS_CALL_FLAGS_NONE, 635s # -1, 635s # cancellable, 635s # error); 635s # if (_ret == NULL) 635s # goto _out; 635s # g_variant_get (_ret, 635s # "()"); 635s # g_variant_unref (_ret); 635s # _out: 635s # return _ret != NULL; 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_complete_single_arg_method_g: 635s # * @object: A #OrgProjectUsefulInterface. 635s # * @invocation: (transfer full): A #GDBusMethodInvocation. 635s # * 635s # * 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. 635s # * 635s # * This method will free @invocation, you cannot use it afterwards. 635s # */ 635s # void 635s # org_project_useful_interface_complete_single_arg_method_g ( 635s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 635s # GDBusMethodInvocation *invocation) 635s # { 635s # g_dbus_method_invocation_return_value (invocation, 635s # g_variant_new ("()")); 635s # } 635s # 635s # /* ------------------------------------------------------------------------ */ 635s # 635s # /** 635s # * OrgProjectUsefulInterfaceProxy: 635s # * 635s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 635s # */ 635s # 635s # /** 635s # * OrgProjectUsefulInterfaceProxyClass: 635s # * @parent_class: The parent class. 635s # * 635s # * Class structure for #OrgProjectUsefulInterfaceProxy. 635s # */ 635s # 635s # struct _OrgProjectUsefulInterfaceProxyPrivate 635s # { 635s # GData *qdata; 635s # }; 635s # 635s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 635s # 635s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 635s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 635s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 635s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 635s # 635s # #else 635s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 635s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 635s # 635s # #endif 635s # static void 635s # org_project_useful_interface_proxy_finalize (GObject *object) 635s # { 635s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 635s # g_datalist_clear (&proxy->priv->qdata); 635s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 635s # } 635s # 635s # static void 635s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 635s # guint prop_id G_GNUC_UNUSED, 635s # GValue *value G_GNUC_UNUSED, 635s # GParamSpec *pspec G_GNUC_UNUSED) 635s # { 635s # } 635s # 635s # static void 635s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 635s # guint prop_id G_GNUC_UNUSED, 635s # const GValue *value G_GNUC_UNUSED, 635s # GParamSpec *pspec G_GNUC_UNUSED) 635s # { 635s # } 635s # 635s # static void 635s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 635s # const gchar *sender_name G_GNUC_UNUSED, 635s # const gchar *signal_name, 635s # GVariant *parameters) 635s # { 635s # _ExtendedGDBusSignalInfo *info; 635s # GVariantIter iter; 635s # GVariant *child; 635s # GValue *paramv; 635s # gsize num_params; 635s # gsize n; 635s # guint signal_id; 635s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 635s # if (info == NULL) 635s # return; 635s # num_params = g_variant_n_children (parameters); 635s # paramv = g_new0 (GValue, num_params + 1); 635s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 635s # g_value_set_object (¶mv[0], proxy); 635s # g_variant_iter_init (&iter, parameters); 635s # n = 1; 635s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 635s # { 635s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 635s # if (arg_info->use_gvariant) 635s # { 635s # g_value_init (¶mv[n], G_TYPE_VARIANT); 635s # g_value_set_variant (¶mv[n], child); 635s # n++; 635s # } 635s # else 635s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 635s # g_variant_unref (child); 635s # } 635s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 635s # g_signal_emitv (paramv, signal_id, 0, NULL); 635s # for (n = 0; n < num_params + 1; n++) 635s # g_value_unset (¶mv[n]); 635s # g_free (paramv); 635s # } 635s # 635s # static void 635s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 635s # GVariant *changed_properties, 635s # const gchar *const *invalidated_properties) 635s # { 635s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 635s # guint n; 635s # const gchar *key; 635s # GVariantIter *iter; 635s # _ExtendedGDBusPropertyInfo *info; 635s # g_variant_get (changed_properties, "a{sv}", &iter); 635s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 635s # { 635s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 635s # g_datalist_remove_data (&proxy->priv->qdata, key); 635s # if (info != NULL) 635s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 635s # } 635s # g_variant_iter_free (iter); 635s # for (n = 0; invalidated_properties[n] != NULL; n++) 635s # { 635s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 635s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 635s # if (info != NULL) 635s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 635s # } 635s # } 635s # 635s # static void 635s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 635s # { 635s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 635s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 635s # #else 635s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 635s # #endif 635s # 635s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 635s # } 635s # 635s # static void 635s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 635s # { 635s # GObjectClass *gobject_class; 635s # GDBusProxyClass *proxy_class; 635s # 635s # gobject_class = G_OBJECT_CLASS (klass); 635s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 635s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 635s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 635s # 635s # proxy_class = G_DBUS_PROXY_CLASS (klass); 635s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 635s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 635s # 635s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 635s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 635s # #endif 635s # } 635s # 635s # static void 635s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 635s # { 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_proxy_new: 635s # * @connection: A #GDBusConnection. 635s # * @flags: Flags from the #GDBusProxyFlags enumeration. 635s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 635s # * @object_path: An object path. 635s # * @cancellable: (nullable): A #GCancellable or %NULL. 635s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 635s # * @user_data: User data to pass to @callback. 635s # * 635s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 635s # * 635s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 635s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 635s # * 635s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 635s # */ 635s # void 635s # org_project_useful_interface_proxy_new ( 635s # GDBusConnection *connection, 635s # GDBusProxyFlags flags, 635s # const gchar *name, 635s # const gchar *object_path, 635s # GCancellable *cancellable, 635s # GAsyncReadyCallback callback, 635s # gpointer user_data) 635s # { 635s # g_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); 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_proxy_new_finish: 635s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 635s # * @error: Return location for error or %NULL 635s # * 635s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 635s # * 635s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 635s # */ 635s # OrgProjectUsefulInterface * 635s # org_project_useful_interface_proxy_new_finish ( 635s # GAsyncResult *res, 635s # GError **error) 635s # { 635s # GObject *ret; 635s # GObject *source_object; 635s # source_object = g_async_result_get_source_object (res); 635s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 635s # g_object_unref (source_object); 635s # if (ret != NULL) 635s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 635s # else 635s # return NULL; 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_proxy_new_sync: 635s # * @connection: A #GDBusConnection. 635s # * @flags: Flags from the #GDBusProxyFlags enumeration. 635s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 635s # * @object_path: An object path. 635s # * @cancellable: (nullable): A #GCancellable or %NULL. 635s # * @error: Return location for error or %NULL 635s # * 635s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 635s # * 635s # * The calling thread is blocked until a reply is received. 635s # * 635s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 635s # * 635s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 635s # */ 635s # OrgProjectUsefulInterface * 635s # org_project_useful_interface_proxy_new_sync ( 635s # GDBusConnection *connection, 635s # GDBusProxyFlags flags, 635s # const gchar *name, 635s # const gchar *object_path, 635s # GCancellable *cancellable, 635s # GError **error) 635s # { 635s # GInitable *ret; 635s # 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); 635s # if (ret != NULL) 635s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 635s # else 635s # return NULL; 635s # } 635s # 635s # 635s # /** 635s # * org_project_useful_interface_proxy_new_for_bus: 635s # * @bus_type: A #GBusType. 635s # * @flags: Flags from the #GDBusProxyFlags enumeration. 635s # * @name: A bus name (well-known or unique). 635s # * @object_path: An object path. 635s # * @cancellable: (nullable): A #GCancellable or %NULL. 635s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 635s # * @user_data: User data to pass to @callback. 635s # * 635s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 635s # * 635s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 635s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 635s # * 635s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 635s # */ 635s # void 635s # org_project_useful_interface_proxy_new_for_bus ( 635s # GBusType bus_type, 635s # GDBusProxyFlags flags, 635s # const gchar *name, 635s # const gchar *object_path, 635s # GCancellable *cancellable, 635s # GAsyncReadyCallback callback, 635s # gpointer user_data) 635s # { 635s # g_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); 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_proxy_new_for_bus_finish: 635s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 635s # * @error: Return location for error or %NULL 635s # * 635s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 635s # * 635s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 635s # */ 635s # OrgProjectUsefulInterface * 635s # org_project_useful_interface_proxy_new_for_bus_finish ( 635s # GAsyncResult *res, 635s # GError **error) 635s # { 635s # GObject *ret; 635s # GObject *source_object; 635s # source_object = g_async_result_get_source_object (res); 635s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 635s # g_object_unref (source_object); 635s # if (ret != NULL) 635s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 635s # else 635s # return NULL; 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_proxy_new_for_bus_sync: 635s # * @bus_type: A #GBusType. 635s # * @flags: Flags from the #GDBusProxyFlags enumeration. 635s # * @name: A bus name (well-known or unique). 635s # * @object_path: An object path. 635s # * @cancellable: (nullable): A #GCancellable or %NULL. 635s # * @error: Return location for error or %NULL 635s # * 635s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 635s # * 635s # * The calling thread is blocked until a reply is received. 635s # * 635s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 635s # * 635s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 635s # */ 635s # OrgProjectUsefulInterface * 635s # org_project_useful_interface_proxy_new_for_bus_sync ( 635s # GBusType bus_type, 635s # GDBusProxyFlags flags, 635s # const gchar *name, 635s # const gchar *object_path, 635s # GCancellable *cancellable, 635s # GError **error) 635s # { 635s # GInitable *ret; 635s # 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); 635s # if (ret != NULL) 635s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 635s # else 635s # return NULL; 635s # } 635s # 635s # 635s # /* ------------------------------------------------------------------------ */ 635s # 635s # /** 635s # * OrgProjectUsefulInterfaceSkeleton: 635s # * 635s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 635s # */ 635s # 635s # /** 635s # * OrgProjectUsefulInterfaceSkeletonClass: 635s # * @parent_class: The parent class. 635s # * 635s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 635s # */ 635s # 635s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 635s # { 635s # GValue *properties; 635s # GList *changed_properties; 635s # GSource *changed_properties_idle_source; 635s # GMainContext *context; 635s # GMutex lock; 635s # }; 635s # 635s # static void 635s # _org_project_useful_interface_skeleton_handle_method_call ( 635s # GDBusConnection *connection G_GNUC_UNUSED, 635s # const gchar *sender G_GNUC_UNUSED, 635s # const gchar *object_path G_GNUC_UNUSED, 635s # const gchar *interface_name, 635s # const gchar *method_name, 635s # GVariant *parameters, 635s # GDBusMethodInvocation *invocation, 635s # gpointer user_data) 635s # { 635s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 635s # _ExtendedGDBusMethodInfo *info; 635s # GVariantIter iter; 635s # GVariant *child; 635s # GValue *paramv; 635s # gsize num_params; 635s # guint num_extra; 635s # gsize n; 635s # guint signal_id; 635s # GValue return_value = G_VALUE_INIT; 635s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 635s # g_assert (info != NULL); 635s # num_params = g_variant_n_children (parameters); 635s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 635s # n = 0; 635s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 635s # g_value_set_object (¶mv[n++], skeleton); 635s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 635s # g_value_set_object (¶mv[n++], invocation); 635s # if (info->pass_fdlist) 635s # { 635s # #ifdef G_OS_UNIX 635s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 635s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 635s # #else 635s # g_assert_not_reached (); 635s # #endif 635s # } 635s # g_variant_iter_init (&iter, parameters); 635s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 635s # { 635s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 635s # if (arg_info->use_gvariant) 635s # { 635s # g_value_init (¶mv[n], G_TYPE_VARIANT); 635s # g_value_set_variant (¶mv[n], child); 635s # n++; 635s # } 635s # else 635s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 635s # g_variant_unref (child); 635s # } 635s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 635s # g_value_init (&return_value, G_TYPE_BOOLEAN); 635s # g_signal_emitv (paramv, signal_id, 0, &return_value); 635s # if (!g_value_get_boolean (&return_value)) 635s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 635s # g_value_unset (&return_value); 635s # for (n = 0; n < num_params + num_extra; n++) 635s # g_value_unset (¶mv[n]); 635s # g_free (paramv); 635s # } 635s # 635s # static GVariant * 635s # _org_project_useful_interface_skeleton_handle_get_property ( 635s # GDBusConnection *connection G_GNUC_UNUSED, 635s # const gchar *sender G_GNUC_UNUSED, 635s # const gchar *object_path G_GNUC_UNUSED, 635s # const gchar *interface_name G_GNUC_UNUSED, 635s # const gchar *property_name, 635s # GError **error, 635s # gpointer user_data) 635s # { 635s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 635s # GValue value = G_VALUE_INIT; 635s # GParamSpec *pspec; 635s # _ExtendedGDBusPropertyInfo *info; 635s # GVariant *ret; 635s # ret = NULL; 635s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 635s # g_assert (info != NULL); 635s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 635s # if (pspec == NULL) 635s # { 635s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 635s # } 635s # else 635s # { 635s # g_value_init (&value, pspec->value_type); 635s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 635s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 635s # g_value_unset (&value); 635s # } 635s # return ret; 635s # } 635s # 635s # static gboolean 635s # _org_project_useful_interface_skeleton_handle_set_property ( 635s # GDBusConnection *connection G_GNUC_UNUSED, 635s # const gchar *sender G_GNUC_UNUSED, 635s # const gchar *object_path G_GNUC_UNUSED, 635s # const gchar *interface_name G_GNUC_UNUSED, 635s # const gchar *property_name, 635s # GVariant *variant, 635s # GError **error, 635s # gpointer user_data) 635s # { 635s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 635s # GValue value = G_VALUE_INIT; 635s # GParamSpec *pspec; 635s # _ExtendedGDBusPropertyInfo *info; 635s # gboolean ret; 635s # ret = FALSE; 635s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 635s # g_assert (info != NULL); 635s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 635s # if (pspec == NULL) 635s # { 635s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 635s # } 635s # else 635s # { 635s # if (info->use_gvariant) 635s # g_value_set_variant (&value, variant); 635s # else 635s # g_dbus_gvariant_to_gvalue (variant, &value); 635s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 635s # g_value_unset (&value); 635s # ret = TRUE; 635s # } 635s # return ret; 635s # } 635s # 635s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 635s # { 635s # _org_project_useful_interface_skeleton_handle_method_call, 635s # _org_project_useful_interface_skeleton_handle_get_property, 635s # _org_project_useful_interface_skeleton_handle_set_property, 635s # {NULL} 635s # }; 635s # 635s # static GDBusInterfaceInfo * 635s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 635s # { 635s # return org_project_useful_interface_interface_info (); 635s # } 635s # 635s # static GDBusInterfaceVTable * 635s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 635s # { 635s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 635s # } 635s # 635s # static GVariant * 635s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 635s # { 635s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 635s # 635s # GVariantBuilder builder; 635s # guint n; 635s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 635s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 635s # goto out; 635s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 635s # { 635s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 635s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 635s # { 635s # GVariant *value; 635s # 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); 635s # if (value != NULL) 635s # { 635s # g_variant_take_ref (value); 635s # g_variant_builder_add (&builder, "{sv}", info->name, value); 635s # g_variant_unref (value); 635s # } 635s # } 635s # } 635s # out: 635s # return g_variant_builder_end (&builder); 635s # } 635s # 635s # static void 635s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 635s # { 635s # } 635s # 635s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 635s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 635s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 635s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 635s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 635s # 635s # #else 635s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 635s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 635s # 635s # #endif 635s # static void 635s # org_project_useful_interface_skeleton_finalize (GObject *object) 635s # { 635s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 635s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 635s # if (skeleton->priv->changed_properties_idle_source != NULL) 635s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 635s # g_main_context_unref (skeleton->priv->context); 635s # g_mutex_clear (&skeleton->priv->lock); 635s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 635s # } 635s # 635s # static void 635s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 635s # { 635s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 635s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 635s # #else 635s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 635s # #endif 635s # 635s # g_mutex_init (&skeleton->priv->lock); 635s # skeleton->priv->context = g_main_context_ref_thread_default (); 635s # } 635s # 635s # static void 635s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 635s # { 635s # GObjectClass *gobject_class; 635s # GDBusInterfaceSkeletonClass *skeleton_class; 635s # 635s # gobject_class = G_OBJECT_CLASS (klass); 635s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 635s # 635s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 635s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 635s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 635s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 635s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 635s # 635s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 635s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 635s # #endif 635s # } 635s # 635s # static void 635s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 635s # { 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_skeleton_new: 635s # * 635s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 635s # * 635s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 635s # */ 635s # OrgProjectUsefulInterface * 635s # org_project_useful_interface_skeleton_new (void) 635s # { 635s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 635s # } 635s # /tmp/tmp4un2rcj2/tmpcwti5jcy.xml: 635s # 635s # 635s # 635s # 635s # 635s # 635s # 635s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4un2rcj2/tmpcwti5jcy.xml', '--output', '-', '--body'] 635s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 635s # Output: /* 635s # * This file is generated by gdbus-codegen, do not modify it. 635s # * 635s # * The license of this code is the same as for the D-Bus interface description 635s # * it was derived from. Note that it links to GLib, so must comply with the 635s # * LGPL linking clauses. 635s # */ 635s # 635s # #ifdef HAVE_CONFIG_H 635s # # include "config.h" 635s # #endif 635s # 635s # #include 635s # #ifdef G_OS_UNIX 635s # # include 635s # #endif 635s # 635s # #ifdef G_ENABLE_DEBUG 635s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 635s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 635s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 635s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 635s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 635s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 635s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 635s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 635s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 635s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 635s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 635s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 635s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 635s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 635s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 635s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 635s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 635s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 635s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 635s # #else /* !G_ENABLE_DEBUG */ 635s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 635s # * Do not access GValues directly in your code. Instead, use the 635s # * g_value_get_*() functions 635s # */ 635s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 635s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 635s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 635s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 635s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 635s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 635s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 635s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 635s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 635s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 635s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 635s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 635s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 635s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 635s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 635s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 635s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 635s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 635s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 635s # #endif /* !G_ENABLE_DEBUG */ 635s # 635s # typedef struct 635s # { 635s # GDBusArgInfo parent_struct; 635s # gboolean use_gvariant; 635s # } _ExtendedGDBusArgInfo; 635s # 635s # typedef struct 635s # { 635s # GDBusMethodInfo parent_struct; 635s # const gchar *signal_name; 635s # gboolean pass_fdlist; 635s # } _ExtendedGDBusMethodInfo; 635s # 635s # typedef struct 635s # { 635s # GDBusSignalInfo parent_struct; 635s # const gchar *signal_name; 635s # } _ExtendedGDBusSignalInfo; 635s # 635s # typedef struct 635s # { 635s # GDBusPropertyInfo parent_struct; 635s # const gchar *hyphen_name; 635s # guint use_gvariant : 1; 635s # guint emits_changed_signal : 1; 635s # } _ExtendedGDBusPropertyInfo; 635s # 635s # typedef struct 635s # { 635s # GDBusInterfaceInfo parent_struct; 635s # const gchar *hyphen_name; 635s # } _ExtendedGDBusInterfaceInfo; 635s # 635s # typedef struct 635s # { 635s # const _ExtendedGDBusPropertyInfo *info; 635s # guint prop_id; 635s # GValue orig_value; /* the value before the change */ 635s # } ChangedProperty; 635s # 635s # static void 635s # _changed_property_free (ChangedProperty *data) 635s # { 635s # g_value_unset (&data->orig_value); 635s # g_free (data); 635s # } 635s # 635s # static gboolean 635s # _g_strv_equal0 (gchar **a, gchar **b) 635s # { 635s # gboolean ret = FALSE; 635s # guint n; 635s # if (a == NULL && b == NULL) 635s # { 635s # ret = TRUE; 635s # goto out; 635s # } 635s # if (a == NULL || b == NULL) 635s # goto out; 635s # if (g_strv_length (a) != g_strv_length (b)) 635s # goto out; 635s # for (n = 0; a[n] != NULL; n++) 635s # if (g_strcmp0 (a[n], b[n]) != 0) 635s # goto out; 635s # ret = TRUE; 635s # out: 635s # return ret; 635s # } 635s # 635s # static gboolean 635s # _g_variant_equal0 (GVariant *a, GVariant *b) 635s # { 635s # gboolean ret = FALSE; 635s # if (a == NULL && b == NULL) 635s # { 635s # ret = TRUE; 635s # goto out; 635s # } 635s # if (a == NULL || b == NULL) 635s # goto out; 635s # ret = g_variant_equal (a, b); 635s # out: 635s # return ret; 635s # } 635s # 635s # G_GNUC_UNUSED static gboolean 635s # _g_value_equal (const GValue *a, const GValue *b) 635s # { 635s # gboolean ret = FALSE; 635s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 635s # switch (G_VALUE_TYPE (a)) 635s # { 635s # case G_TYPE_BOOLEAN: 635s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 635s # break; 635s # case G_TYPE_UCHAR: 635s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 635s # break; 635s # case G_TYPE_INT: 635s # ret = (g_value_get_int (a) == g_value_get_int (b)); 635s # break; 635s # case G_TYPE_UINT: 635s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 635s # break; 635s # case G_TYPE_INT64: 635s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 635s # break; 635s # case G_TYPE_UINT64: 635s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 635s # break; 635s # case G_TYPE_DOUBLE: 635s # { 635s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 635s # gdouble da = g_value_get_double (a); 635s # gdouble db = g_value_get_double (b); 635s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 635s # } 635s # break; 635s # case G_TYPE_STRING: 635s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 635s # break; 635s # case G_TYPE_VARIANT: 635s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 635s # break; 635s # default: 635s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 635s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 635s # else 635s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 635s # break; 635s # } 635s # return ret; 635s # } 635s # 635s # static void 635s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 635s # GClosure *closure, 635s # GValue *return_value, 635s # unsigned int n_param_values, 635s # const GValue *param_values, 635s # void *invocation_hint G_GNUC_UNUSED, 635s # void *marshal_data) 635s # { 635s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 635s # (void *data1, 635s # GDBusMethodInvocation *arg_method_invocation, 635s # GVariant *arg_arg_h, 635s # void *data2); 635s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 635s # GCClosure *cc = (GCClosure*) closure; 635s # void *data1, *data2; 635s # gboolean v_return; 635s # 635s # g_return_if_fail (return_value != NULL); 635s # g_return_if_fail (n_param_values == 3); 635s # 635s # if (G_CCLOSURE_SWAP_DATA (closure)) 635s # { 635s # data1 = closure->data; 635s # data2 = g_value_peek_pointer (param_values + 0); 635s # } 635s # else 635s # { 635s # data1 = g_value_peek_pointer (param_values + 0); 635s # data2 = closure->data; 635s # } 635s # 635s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 635s # (marshal_data ? marshal_data : cc->callback); 635s # 635s # v_return = 635s # callback (data1, 635s # g_marshal_value_peek_object (param_values + 1), 635s # g_marshal_value_peek_variant (param_values + 2), 635s # data2); 635s # 635s # g_value_set_boolean (return_value, v_return); 635s # } 635s # 635s # /* ------------------------------------------------------------------------ 635s # * Code for interface org.project.UsefulInterface 635s # * ------------------------------------------------------------------------ 635s # */ 635s # 635s # /** 635s # * SECTION:OrgProjectUsefulInterface 635s # * @title: OrgProjectUsefulInterface 635s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 635s # * 635s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 635s # */ 635s # 635s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 635s # 635s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 635s # { 635s # { 635s # -1, 635s # (gchar *) "arg_h", 635s # (gchar *) "h", 635s # NULL 635s # }, 635s # FALSE 635s # }; 635s # 635s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 635s # { 635s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 635s # NULL 635s # }; 635s # 635s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 635s # { 635s # { 635s # -1, 635s # (gchar *) "SingleArgMethodH", 635s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 635s # NULL, 635s # NULL 635s # }, 635s # "handle-single-arg-method-h", 635s # FALSE 635s # }; 635s # 635s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 635s # { 635s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 635s # NULL 635s # }; 635s # 635s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 635s # { 635s # { 635s # -1, 635s # (gchar *) "org.project.UsefulInterface", 635s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 635s # NULL, 635s # NULL, 635s # NULL 635s # }, 635s # "org-project-useful-interface", 635s # }; 635s # 635s # 635s # /** 635s # * org_project_useful_interface_interface_info: 635s # * 635s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 635s # * 635s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 635s # */ 635s # GDBusInterfaceInfo * 635s # org_project_useful_interface_interface_info (void) 635s # { 635s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_override_properties: 635s # * @klass: The class structure for a #GObject derived class. 635s # * @property_id_begin: The property id to assign to the first overridden property. 635s # * 635s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 635s # * The properties are overridden in the order they are defined. 635s # * 635s # * Returns: The last property id. 635s # */ 635s # guint 635s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 635s # { 635s # return property_id_begin - 1; 635s # } 635s # 635s # 635s # inline static void 635s # org_project_useful_interface_method_marshal_single_arg_method_h ( 635s # GClosure *closure, 635s # GValue *return_value, 635s # unsigned int n_param_values, 635s # const GValue *param_values, 635s # void *invocation_hint, 635s # void *marshal_data) 635s # { 635s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 635s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 635s # } 635s # 635s # 635s # /** 635s # * OrgProjectUsefulInterface: 635s # * 635s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 635s # */ 635s # 635s # /** 635s # * OrgProjectUsefulInterfaceIface: 635s # * @parent_iface: The parent interface. 635s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 635s # * 635s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 635s # */ 635s # 635s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 635s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 635s # 635s # static void 635s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 635s # { 635s # /* GObject signals for incoming D-Bus method calls: */ 635s # /** 635s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 635s # * @object: A #OrgProjectUsefulInterface. 635s # * @invocation: A #GDBusMethodInvocation. 635s # * @arg_arg_h: Argument passed by remote caller. 635s # * 635s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 635s # * 635s # * 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. 635s # * 635s # * 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. 635s # */ 635s # g_signal_new ("handle-single-arg-method-h", 635s # G_TYPE_FROM_INTERFACE (iface), 635s # G_SIGNAL_RUN_LAST, 635s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 635s # g_signal_accumulator_true_handled, 635s # NULL, 635s # org_project_useful_interface_method_marshal_single_arg_method_h, 635s # G_TYPE_BOOLEAN, 635s # 2, 635s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 635s # 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_call_single_arg_method_h: 635s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 635s # * @arg_arg_h: Argument to pass with the method invocation. 635s # * @cancellable: (nullable): A #GCancellable or %NULL. 635s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 635s # * @user_data: User data to pass to @callback. 635s # * 635s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 635s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 635s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 635s # * 635s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 635s # */ 635s # void 635s # org_project_useful_interface_call_single_arg_method_h ( 635s # OrgProjectUsefulInterface *proxy, 635s # GVariant *arg_arg_h, 635s # GCancellable *cancellable, 635s # GAsyncReadyCallback callback, 635s # gpointer user_data) 635s # { 635s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 635s # "SingleArgMethodH", 635s # g_variant_new ("(@h)", 635s # arg_arg_h), 635s # G_DBUS_CALL_FLAGS_NONE, 635s # -1, 635s # cancellable, 635s # callback, 635s # user_data); 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_call_single_arg_method_h_finish: 635s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 635s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 635s # * @error: Return location for error or %NULL. 635s # * 635s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 635s # * 635s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 635s # */ 635s # gboolean 635s # org_project_useful_interface_call_single_arg_method_h_finish ( 635s # OrgProjectUsefulInterface *proxy, 635s # GAsyncResult *res, 635s # GError **error) 635s # { 635s # GVariant *_ret; 635s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 635s # if (_ret == NULL) 635s # goto _out; 635s # g_variant_get (_ret, 635s # "()"); 635s # g_variant_unref (_ret); 635s # _out: 635s # return _ret != NULL; 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_call_single_arg_method_h_sync: 635s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 635s # * @arg_arg_h: Argument to pass with the method invocation. 635s # * @cancellable: (nullable): A #GCancellable or %NULL. 635s # * @error: Return location for error or %NULL. 635s # * 635s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 635s # * 635s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 635s # * 635s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 635s # */ 635s # gboolean 635s # org_project_useful_interface_call_single_arg_method_h_sync ( 635s # OrgProjectUsefulInterface *proxy, 635s # GVariant *arg_arg_h, 635s # GCancellable *cancellable, 635s # GError **error) 635s # { 635s # GVariant *_ret; 635s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 635s # "SingleArgMethodH", 635s # g_variant_new ("(@h)", 635s # arg_arg_h), 635s # G_DBUS_CALL_FLAGS_NONE, 635s # -1, 635s # cancellable, 635s # error); 635s # if (_ret == NULL) 635s # goto _out; 635s # g_variant_get (_ret, 635s # "()"); 635s # g_variant_unref (_ret); 635s # _out: 635s # return _ret != NULL; 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_complete_single_arg_method_h: 635s # * @object: A #OrgProjectUsefulInterface. 635s # * @invocation: (transfer full): A #GDBusMethodInvocation. 635s # * 635s # * 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. 635s # * 635s # * This method will free @invocation, you cannot use it afterwards. 635s # */ 635s # void 635s # org_project_useful_interface_complete_single_arg_method_h ( 635s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 635s # GDBusMethodInvocation *invocation) 635s # { 635s # g_dbus_method_invocation_return_value (invocation, 635s # g_variant_new ("()")); 635s # } 635s # 635s # /* ------------------------------------------------------------------------ */ 635s # 635s # /** 635s # * OrgProjectUsefulInterfaceProxy: 635s # * 635s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 635s # */ 635s # 635s # /** 635s # * OrgProjectUsefulInterfaceProxyClass: 635s # * @parent_class: The parent class. 635s # * 635s # * Class structure for #OrgProjectUsefulInterfaceProxy. 635s # */ 635s # 635s # struct _OrgProjectUsefulInterfaceProxyPrivate 635s # { 635s # GData *qdata; 635s # }; 635s # 635s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 635s # 635s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 635s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 635s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 635s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 635s # 635s # #else 635s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 635s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 635s # 635s # #endif 635s # static void 635s # org_project_useful_interface_proxy_finalize (GObject *object) 635s # { 635s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 635s # g_datalist_clear (&proxy->priv->qdata); 635s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 635s # } 635s # 635s # static void 635s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 635s # guint prop_id G_GNUC_UNUSED, 635s # GValue *value G_GNUC_UNUSED, 635s # GParamSpec *pspec G_GNUC_UNUSED) 635s # { 635s # } 635s # 635s # static void 635s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 635s # guint prop_id G_GNUC_UNUSED, 635s # const GValue *value G_GNUC_UNUSED, 635s # GParamSpec *pspec G_GNUC_UNUSED) 635s # { 635s # } 635s # 635s # static void 635s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 635s # const gchar *sender_name G_GNUC_UNUSED, 635s # const gchar *signal_name, 635s # GVariant *parameters) 635s # { 635s # _ExtendedGDBusSignalInfo *info; 635s # GVariantIter iter; 635s # GVariant *child; 635s # GValue *paramv; 635s # gsize num_params; 635s # gsize n; 635s # guint signal_id; 635s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 635s # if (info == NULL) 635s # return; 635s # num_params = g_variant_n_children (parameters); 635s # paramv = g_new0 (GValue, num_params + 1); 635s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 635s # g_value_set_object (¶mv[0], proxy); 635s # g_variant_iter_init (&iter, parameters); 635s # n = 1; 635s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 635s # { 635s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 635s # if (arg_info->use_gvariant) 635s # { 635s # g_value_init (¶mv[n], G_TYPE_VARIANT); 635s # g_value_set_variant (¶mv[n], child); 635s # n++; 635s # } 635s # else 635s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 635s # g_variant_unref (child); 635s # } 635s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 635s # g_signal_emitv (paramv, signal_id, 0, NULL); 635s # for (n = 0; n < num_params + 1; n++) 635s # g_value_unset (¶mv[n]); 635s # g_free (paramv); 635s # } 635s # 635s # static void 635s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 635s # GVariant *changed_properties, 635s # const gchar *const *invalidated_properties) 635s # { 635s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 635s # guint n; 635s # const gchar *key; 635s # GVariantIter *iter; 635s # _ExtendedGDBusPropertyInfo *info; 635s # g_variant_get (changed_properties, "a{sv}", &iter); 635s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 635s # { 635s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 635s # g_datalist_remove_data (&proxy->priv->qdata, key); 635s # if (info != NULL) 635s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 635s # } 635s # g_variant_iter_free (iter); 635s # for (n = 0; invalidated_properties[n] != NULL; n++) 635s # { 635s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 635s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 635s # if (info != NULL) 635s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 635s # } 635s # } 635s # 635s # static void 635s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 635s # { 635s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 635s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 635s # #else 635s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 635s # #endif 635s # 635s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 635s # } 635s # 635s # static void 635s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 635s # { 635s # GObjectClass *gobject_class; 635s # GDBusProxyClass *proxy_class; 635s # 635s # gobject_class = G_OBJECT_CLASS (klass); 635s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 635s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 635s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 635s # 635s # proxy_class = G_DBUS_PROXY_CLASS (klass); 635s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 635s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 635s # 635s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 635s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 635s # #endif 635s # } 635s # 635s # static void 635s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 635s # { 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_proxy_new: 635s # * @connection: A #GDBusConnection. 635s # * @flags: Flags from the #GDBusProxyFlags enumeration. 635s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 635s # * @object_path: An object path. 635s # * @cancellable: (nullable): A #GCancellable or %NULL. 635s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 635s # * @user_data: User data to pass to @callback. 635s # * 635s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 635s # * 635s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 635s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 635s # * 635s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 635s # */ 635s # void 635s # org_project_useful_interface_proxy_new ( 635s # GDBusConnection *connection, 635s # GDBusProxyFlags flags, 635s # const gchar *name, 635s # const gchar *object_path, 635s # GCancellable *cancellable, 635s # GAsyncReadyCallback callback, 635s # gpointer user_data) 635s # { 635s # g_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); 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_proxy_new_finish: 635s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 635s # * @error: Return location for error or %NULL 635s # * 635s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 635s # * 635s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 635s # */ 635s # OrgProjectUsefulInterface * 635s # org_project_useful_interface_proxy_new_finish ( 635s # GAsyncResult *res, 635s # GError **error) 635s # { 635s # GObject *ret; 635s # GObject *source_object; 635s # source_object = g_async_result_get_source_object (res); 635s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 635s # g_object_unref (source_object); 635s # if (ret != NULL) 635s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 635s # else 635s # return NULL; 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_proxy_new_sync: 635s # * @connection: A #GDBusConnection. 635s # * @flags: Flags from the #GDBusProxyFlags enumeration. 635s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 635s # * @object_path: An object path. 635s # * @cancellable: (nullable): A #GCancellable or %NULL. 635s # * @error: Return location for error or %NULL 635s # * 635s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 635s # * 635s # * The calling thread is blocked until a reply is received. 635s # * 635s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 635s # * 635s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 635s # */ 635s # OrgProjectUsefulInterface * 635s # org_project_useful_interface_proxy_new_sync ( 635s # GDBusConnection *connection, 635s # GDBusProxyFlags flags, 635s # const gchar *name, 635s # const gchar *object_path, 635s # GCancellable *cancellable, 635s # GError **error) 635s # { 635s # GInitable *ret; 635s # 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); 635s # if (ret != NULL) 635s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 635s # else 635s # return NULL; 635s # } 635s # 635s # 635s # /** 635s # * org_project_useful_interface_proxy_new_for_bus: 635s # * @bus_type: A #GBusType. 635s # * @flags: Flags from the #GDBusProxyFlags enumeration. 635s # * @name: A bus name (well-known or unique). 635s # * @object_path: An object path. 635s # * @cancellable: (nullable): A #GCancellable or %NULL. 635s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 635s # * @user_data: User data to pass to @callback. 635s # * 635s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 635s # * 635s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 635s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 635s # * 635s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 635s # */ 635s # void 635s # org_project_useful_interface_proxy_new_for_bus ( 635s # GBusType bus_type, 635s # GDBusProxyFlags flags, 635s # const gchar *name, 635s # const gchar *object_path, 635s # GCancellable *cancellable, 635s # GAsyncReadyCallback callback, 635s # gpointer user_data) 635s # { 635s # g_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); 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_proxy_new_for_bus_finish: 635s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 635s # * @error: Return location for error or %NULL 635s # * 635s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 635s # * 635s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 635s # */ 635s # OrgProjectUsefulInterface * 635s # org_project_useful_interface_proxy_new_for_bus_finish ( 635s # GAsyncResult *res, 635s # GError **error) 635s # { 635s # GObject *ret; 635s # GObject *source_object; 635s # source_object = g_async_result_get_source_object (res); 635s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 635s # g_object_unref (source_object); 635s # if (ret != NULL) 635s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 635s # else 635s # return NULL; 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_proxy_new_for_bus_sync: 635s # * @bus_type: A #GBusType. 635s # * @flags: Flags from the #GDBusProxyFlags enumeration. 635s # * @name: A bus name (well-known or unique). 635s # * @object_path: An object path. 635s # * @cancellable: (nullable): A #GCancellable or %NULL. 635s # * @error: Return location for error or %NULL 635s # * 635s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 635s # * 635s # * The calling thread is blocked until a reply is received. 635s # * 635s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 635s # * 635s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 635s # */ 635s # OrgProjectUsefulInterface * 635s # org_project_useful_interface_proxy_new_for_bus_sync ( 635s # GBusType bus_type, 635s # GDBusProxyFlags flags, 635s # const gchar *name, 635s # const gchar *object_path, 635s # GCancellable *cancellable, 635s # GError **error) 635s # { 635s # GInitable *ret; 635s # 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); 635s # if (ret != NULL) 635s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 635s # else 635s # return NULL; 635s # } 635s # 635s # 635s # /* ------------------------------------------------------------------------ */ 635s # 635s # /** 635s # * OrgProjectUsefulInterfaceSkeleton: 635s # * 635s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 635s # */ 635s # 635s # /** 635s # * OrgProjectUsefulInterfaceSkeletonClass: 635s # * @parent_class: The parent class. 635s # * 635s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 635s # */ 635s # 635s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 635s # { 635s # GValue *properties; 635s # GList *changed_properties; 635s # GSource *changed_properties_idle_source; 635s # GMainContext *context; 635s # GMutex lock; 635s # }; 635s # 635s # static void 635s # _org_project_useful_interface_skeleton_handle_method_call ( 635s # GDBusConnection *connection G_GNUC_UNUSED, 635s # const gchar *sender G_GNUC_UNUSED, 635s # const gchar *object_path G_GNUC_UNUSED, 635s # const gchar *interface_name, 635s # const gchar *method_name, 635s # GVariant *parameters, 635s # GDBusMethodInvocation *invocation, 635s # gpointer user_data) 635s # { 635s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 635s # _ExtendedGDBusMethodInfo *info; 635s # GVariantIter iter; 635s # GVariant *child; 635s # GValue *paramv; 635s # gsize num_params; 635s # guint num_extra; 635s # gsize n; 635s # guint signal_id; 635s # GValue return_value = G_VALUE_INIT; 635s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 635s # g_assert (info != NULL); 635s # num_params = g_variant_n_children (parameters); 635s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 635s # n = 0; 635s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 635s # g_value_set_object (¶mv[n++], skeleton); 635s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 635s # g_value_set_object (¶mv[n++], invocation); 635s # if (info->pass_fdlist) 635s # { 635s # #ifdef G_OS_UNIX 635s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 635s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 635s # #else 635s # g_assert_not_reached (); 635s # #endif 635s # } 635s # g_variant_iter_init (&iter, parameters); 635s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 635s # { 635s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 635s # if (arg_info->use_gvariant) 635s # { 635s # g_value_init (¶mv[n], G_TYPE_VARIANT); 635s # g_value_set_variant (¶mv[n], child); 635s # n++; 635s # } 635s # else 635s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 635s # g_variant_unref (child); 635s # } 635s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 635s # g_value_init (&return_value, G_TYPE_BOOLEAN); 635s # g_signal_emitv (paramv, signal_id, 0, &return_value); 635s # if (!g_value_get_boolean (&return_value)) 635s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 635s # g_value_unset (&return_value); 635s # for (n = 0; n < num_params + num_extra; n++) 635s # g_value_unset (¶mv[n]); 635s # g_free (paramv); 635s # } 635s # 635s # static GVariant * 635s # _org_project_useful_interface_skeleton_handle_get_property ( 635s # GDBusConnection *connection G_GNUC_UNUSED, 635s # const gchar *sender G_GNUC_UNUSED, 635s # const gchar *object_path G_GNUC_UNUSED, 635s # const gchar *interface_name G_GNUC_UNUSED, 635s # const gchar *property_name, 635s # GError **error, 635s # gpointer user_data) 635s # { 635s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 635s # GValue value = G_VALUE_INIT; 635s # GParamSpec *pspec; 635s # _ExtendedGDBusPropertyInfo *info; 635s # GVariant *ret; 635s # ret = NULL; 635s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 635s # g_assert (info != NULL); 635s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 635s # if (pspec == NULL) 635s # { 635s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 635s # } 635s # else 635s # { 635s # g_value_init (&value, pspec->value_type); 635s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 635s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 635s # g_value_unset (&value); 635s # } 635s # return ret; 635s # } 635s # 635s # static gboolean 635s # _org_project_useful_interface_skeleton_handle_set_property ( 635s # GDBusConnection *connection G_GNUC_UNUSED, 635s # const gchar *sender G_GNUC_UNUSED, 635s # const gchar *object_path G_GNUC_UNUSED, 635s # const gchar *interface_name G_GNUC_UNUSED, 635s # const gchar *property_name, 635s # GVariant *variant, 635s # GError **error, 635s # gpointer user_data) 635s # { 635s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 635s # GValue value = G_VALUE_INIT; 635s # GParamSpec *pspec; 635s # _ExtendedGDBusPropertyInfo *info; 635s # gboolean ret; 635s # ret = FALSE; 635s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 635s # g_assert (info != NULL); 635s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 635s # if (pspec == NULL) 635s # { 635s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 635s # } 635s # else 635s # { 635s # if (info->use_gvariant) 635s # g_value_set_variant (&value, variant); 635s # else 635s # g_dbus_gvariant_to_gvalue (variant, &value); 635s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 635s # g_value_unset (&value); 635s # ret = TRUE; 635s # } 635s # return ret; 635s # } 635s # 635s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 635s # { 635s # _org_project_useful_interface_skeleton_handle_method_call, 635s # _org_project_useful_interface_skeleton_handle_get_property, 635s # _org_project_useful_interface_skeleton_handle_set_property, 635s # {NULL} 635s # }; 635s # 635s # static GDBusInterfaceInfo * 635s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 635s # { 635s # return org_project_useful_interface_interface_info (); 635s # } 635s # 635s # static GDBusInterfaceVTable * 635s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 635s # { 635s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 635s # } 635s # 635s # static GVariant * 635s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 635s # { 635s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 635s # 635s # GVariantBuilder builder; 635s # guint n; 635s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 635s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 635s # goto out; 635s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 635s # { 635s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 635s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 635s # { 635s # GVariant *value; 635s # 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); 635s # if (value != NULL) 635s # { 635s # g_variant_take_ref (value); 635s # g_variant_builder_add (&builder, "{sv}", info->name, value); 635s # g_variant_unref (value); 635s # } 635s # } 635s # } 635s # out: 635s # return g_variant_builder_end (&builder); 635s # } 635s # 635s # static void 635s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 635s # { 635s # } 635s # 635s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 635s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 635s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 635s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 635s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 635s # 635s # #else 635s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 635s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 635s # 635s # #endif 635s # static void 635s # org_project_useful_interface_skeleton_finalize (GObject *object) 635s # { 635s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 635s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 635s # if (skeleton->priv->changed_properties_idle_source != NULL) 635s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 635s # g_main_context_unref (skeleton->priv->context); 635s # g_mutex_clear (&skeleton->priv->lock); 635s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 635s # } 635s # 635s # static void 635s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 635s # { 635s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 635s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 635s # #else 635s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 635s # #endif 635s # 635s # g_mutex_init (&skeleton->priv->lock); 635s # skeleton->priv->context = g_main_context_ref_thread_default (); 635s # } 635s # 635s # static void 635s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 635s # { 635s # GObjectClass *gobject_class; 635s # GDBusInterfaceSkeletonClass *skeleton_class; 635s # 635s # gobject_class = G_OBJECT_CLASS (klass); 635s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 635s # 635s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 635s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 635s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 635s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 635s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 635s # 635s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 635s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 635s # #endif 635s # } 635s # 635s # static void 635s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 635s # { 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_skeleton_new: 635s # * 635s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 635s # * 635s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 635s # */ 635s # OrgProjectUsefulInterface * 635s # org_project_useful_interface_skeleton_new (void) 635s # { 635s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 635s # } 635s # /tmp/tmp4un2rcj2/tmpbohmgm0n.xml: 635s # 635s # 635s # 635s # 635s # 635s # 635s # 635s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4un2rcj2/tmpbohmgm0n.xml', '--output', '-', '--body'] 635s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 635s # Output: /* 635s # * This file is generated by gdbus-codegen, do not modify it. 635s # * 635s # * The license of this code is the same as for the D-Bus interface description 635s # * it was derived from. Note that it links to GLib, so must comply with the 635s # * LGPL linking clauses. 635s # */ 635s # 635s # #ifdef HAVE_CONFIG_H 635s # # include "config.h" 635s # #endif 635s # 635s # #include 635s # #ifdef G_OS_UNIX 635s # # include 635s # #endif 635s # 635s # #ifdef G_ENABLE_DEBUG 635s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 635s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 635s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 635s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 635s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 635s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 635s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 635s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 635s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 635s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 635s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 635s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 635s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 635s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 635s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 635s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 635s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 635s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 635s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 635s # #else /* !G_ENABLE_DEBUG */ 635s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 635s # * Do not access GValues directly in your code. Instead, use the 635s # * g_value_get_*() functions 635s # */ 635s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 635s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 635s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 635s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 635s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 635s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 635s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 635s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 635s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 635s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 635s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 635s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 635s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 635s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 635s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 635s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 635s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 635s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 635s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 635s # #endif /* !G_ENABLE_DEBUG */ 635s # 635s # typedef struct 635s # { 635s # GDBusArgInfo parent_struct; 635s # gboolean use_gvariant; 635s # } _ExtendedGDBusArgInfo; 635s # 635s # typedef struct 635s # { 635s # GDBusMethodInfo parent_struct; 635s # const gchar *signal_name; 635s # gboolean pass_fdlist; 635s # } _ExtendedGDBusMethodInfo; 635s # 635s # typedef struct 635s # { 635s # GDBusSignalInfo parent_struct; 635s # const gchar *signal_name; 635s # } _ExtendedGDBusSignalInfo; 635s # 635s # typedef struct 635s # { 635s # GDBusPropertyInfo parent_struct; 635s # const gchar *hyphen_name; 635s # guint use_gvariant : 1; 635s # guint emits_changed_signal : 1; 635s # } _ExtendedGDBusPropertyInfo; 635s # 635s # typedef struct 635s # { 635s # GDBusInterfaceInfo parent_struct; 635s # const gchar *hyphen_name; 635s # } _ExtendedGDBusInterfaceInfo; 635s # 635s # typedef struct 635s # { 635s # const _ExtendedGDBusPropertyInfo *info; 635s # guint prop_id; 635s # GValue orig_value; /* the value before the change */ 635s # } ChangedProperty; 635s # 635s # static void 635s # _changed_property_free (ChangedProperty *data) 635s # { 635s # g_value_unset (&data->orig_value); 635s # g_free (data); 635s # } 635s # 635s # static gboolean 635s # _g_strv_equal0 (gchar **a, gchar **b) 635s # { 635s # gboolean ret = FALSE; 635s # guint n; 635s # if (a == NULL && b == NULL) 635s # { 635s # ret = TRUE; 635s # goto out; 635s # } 635s # if (a == NULL || b == NULL) 635s # goto out; 635s # if (g_strv_length (a) != g_strv_length (b)) 635s # goto out; 635s # for (n = 0; a[n] != NULL; n++) 635s # if (g_strcmp0 (a[n], b[n]) != 0) 635s # goto out; 635s # ret = TRUE; 635s # out: 635s # return ret; 635s # } 635s # 635s # static gboolean 635s # _g_variant_equal0 (GVariant *a, GVariant *b) 635s # { 635s # gboolean ret = FALSE; 635s # if (a == NULL && b == NULL) 635s # { 635s # ret = TRUE; 635s # goto out; 635s # } 635s # if (a == NULL || b == NULL) 635s # goto out; 635s # ret = g_variant_equal (a, b); 635s # out: 635s # return ret; 635s # } 635s # 635s # G_GNUC_UNUSED static gboolean 635s # _g_value_equal (const GValue *a, const GValue *b) 635s # { 635s # gboolean ret = FALSE; 635s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 635s # switch (G_VALUE_TYPE (a)) 635s # { 635s # case G_TYPE_BOOLEAN: 635s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 635s # break; 635s # case G_TYPE_UCHAR: 635s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 635s # break; 635s # case G_TYPE_INT: 635s # ret = (g_value_get_int (a) == g_value_get_int (b)); 635s # break; 635s # case G_TYPE_UINT: 635s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 635s # break; 635s # case G_TYPE_INT64: 635s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 635s # break; 635s # case G_TYPE_UINT64: 635s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 635s # break; 635s # case G_TYPE_DOUBLE: 635s # { 635s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 635s # gdouble da = g_value_get_double (a); 635s # gdouble db = g_value_get_double (b); 635s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 635s # } 635s # break; 635s # case G_TYPE_STRING: 635s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 635s # break; 635s # case G_TYPE_VARIANT: 635s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 635s # break; 635s # default: 635s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 635s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 635s # else 635s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 635s # break; 635s # } 635s # return ret; 635s # } 635s # 635s # static void 635s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 635s # GClosure *closure, 635s # GValue *return_value, 635s # unsigned int n_param_values, 635s # const GValue *param_values, 635s # void *invocation_hint G_GNUC_UNUSED, 635s # void *marshal_data) 635s # { 635s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 635s # (void *data1, 635s # GDBusMethodInvocation *arg_method_invocation, 635s # const gchar *arg_arg_ay, 635s # void *data2); 635s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 635s # GCClosure *cc = (GCClosure*) closure; 635s # void *data1, *data2; 635s # gboolean v_return; 635s # 635s # g_return_if_fail (return_value != NULL); 635s # g_return_if_fail (n_param_values == 3); 635s # 635s # if (G_CCLOSURE_SWAP_DATA (closure)) 635s # { 635s # data1 = closure->data; 635s # data2 = g_value_peek_pointer (param_values + 0); 635s # } 635s # else 635s # { 635s # data1 = g_value_peek_pointer (param_values + 0); 635s # data2 = closure->data; 635s # } 635s # 635s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 635s # (marshal_data ? marshal_data : cc->callback); 635s # 635s # v_return = 635s # callback (data1, 635s # g_marshal_value_peek_object (param_values + 1), 635s # g_marshal_value_peek_string (param_values + 2), 635s # data2); 635s # 635s # g_value_set_boolean (return_value, v_return); 635s # } 635s # 635s # /* ------------------------------------------------------------------------ 635s # * Code for interface org.project.UsefulInterface 635s # * ------------------------------------------------------------------------ 635s # */ 635s # 635s # /** 635s # * SECTION:OrgProjectUsefulInterface 635s # * @title: OrgProjectUsefulInterface 635s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 635s # * 635s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 635s # */ 635s # 635s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 635s # 635s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 635s # { 635s # { 635s # -1, 635s # (gchar *) "arg_ay", 635s # (gchar *) "ay", 635s # NULL 635s # }, 635s # FALSE 635s # }; 635s # 635s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 635s # { 635s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 635s # NULL 635s # }; 635s # 635s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 635s # { 635s # { 635s # -1, 635s # (gchar *) "SingleArgMethodAy", 635s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 635s # NULL, 635s # NULL 635s # }, 635s # "handle-single-arg-method-ay", 635s # FALSE 635s # }; 635s # 635s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 635s # { 635s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 635s # NULL 635s # }; 635s # 635s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 635s # { 635s # { 635s # -1, 635s # (gchar *) "org.project.UsefulInterface", 635s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 635s # NULL, 635s # NULL, 635s # NULL 635s # }, 635s # "org-project-useful-interface", 635s # }; 635s # 635s # 635s # /** 635s # * org_project_useful_interface_interface_info: 635s # * 635s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 635s # * 635s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 635s # */ 635s # GDBusInterfaceInfo * 635s # org_project_useful_interface_interface_info (void) 635s # { 635s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_override_properties: 635s # * @klass: The class structure for a #GObject derived class. 635s # * @property_id_begin: The property id to assign to the first overridden property. 635s # * 635s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 635s # * The properties are overridden in the order they are defined. 635s # * 635s # * Returns: The last property id. 635s # */ 635s # guint 635s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 635s # { 635s # return property_id_begin - 1; 635s # } 635s # 635s # 635s # inline static void 635s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 635s # GClosure *closure, 635s # GValue *return_value, 635s # unsigned int n_param_values, 635s # const GValue *param_values, 635s # void *invocation_hint, 635s # void *marshal_data) 635s # { 635s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 635s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 635s # } 635s # 635s # 635s # /** 635s # * OrgProjectUsefulInterface: 635s # * 635s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 635s # */ 635s # 635s # /** 635s # * OrgProjectUsefulInterfaceIface: 635s # * @parent_iface: The parent interface. 635s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 635s # * 635s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 635s # */ 635s # 635s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 635s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 635s # 635s # static void 635s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 635s # { 635s # /* GObject signals for incoming D-Bus method calls: */ 635s # /** 635s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 635s # * @object: A #OrgProjectUsefulInterface. 635s # * @invocation: A #GDBusMethodInvocation. 635s # * @arg_arg_ay: Argument passed by remote caller. 635s # * 635s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 635s # * 635s # * 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. 635s # * 635s # * 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. 635s # */ 635s # g_signal_new ("handle-single-arg-method-ay", 635s # G_TYPE_FROM_INTERFACE (iface), 635s # G_SIGNAL_RUN_LAST, 635s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 635s # g_signal_accumulator_true_handled, 635s # NULL, 635s # org_project_useful_interface_method_marshal_single_arg_method_ay, 635s # G_TYPE_BOOLEAN, 635s # 2, 635s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 635s # 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_call_single_arg_method_ay: 635s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 635s # * @arg_arg_ay: Argument to pass with the method invocation. 635s # * @cancellable: (nullable): A #GCancellable or %NULL. 635s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 635s # * @user_data: User data to pass to @callback. 635s # * 635s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 635s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 635s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 635s # * 635s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 635s # */ 635s # void 635s # org_project_useful_interface_call_single_arg_method_ay ( 635s # OrgProjectUsefulInterface *proxy, 635s # const gchar *arg_arg_ay, 635s # GCancellable *cancellable, 635s # GAsyncReadyCallback callback, 635s # gpointer user_data) 635s # { 635s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 635s # "SingleArgMethodAy", 635s # g_variant_new ("(^ay)", 635s # arg_arg_ay), 635s # G_DBUS_CALL_FLAGS_NONE, 635s # -1, 635s # cancellable, 635s # callback, 635s # user_data); 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_call_single_arg_method_ay_finish: 635s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 635s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 635s # * @error: Return location for error or %NULL. 635s # * 635s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 635s # * 635s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 635s # */ 635s # gboolean 635s # org_project_useful_interface_call_single_arg_method_ay_finish ( 635s # OrgProjectUsefulInterface *proxy, 635s # GAsyncResult *res, 635s # GError **error) 635s # { 635s # GVariant *_ret; 635s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 635s # if (_ret == NULL) 635s # goto _out; 635s # g_variant_get (_ret, 635s # "()"); 635s # g_variant_unref (_ret); 635s # _out: 635s # return _ret != NULL; 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_call_single_arg_method_ay_sync: 635s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 635s # * @arg_arg_ay: Argument to pass with the method invocation. 635s # * @cancellable: (nullable): A #GCancellable or %NULL. 635s # * @error: Return location for error or %NULL. 635s # * 635s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 635s # * 635s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 635s # * 635s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 635s # */ 635s # gboolean 635s # org_project_useful_interface_call_single_arg_method_ay_sync ( 635s # OrgProjectUsefulInterface *proxy, 635s # const gchar *arg_arg_ay, 635s # GCancellable *cancellable, 635s # GError **error) 635s # { 635s # GVariant *_ret; 635s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 635s # "SingleArgMethodAy", 635s # g_variant_new ("(^ay)", 635s # arg_arg_ay), 635s # G_DBUS_CALL_FLAGS_NONE, 635s # -1, 635s # cancellable, 635s # error); 635s # if (_ret == NULL) 635s # goto _out; 635s # g_variant_get (_ret, 635s # "()"); 635s # g_variant_unref (_ret); 635s # _out: 635s # return _ret != NULL; 635s # } 635s # 635s # /** 635s # * org_project_useful_interface_complete_single_arg_method_ay: 635s # * @object: A #OrgProjectUsefulInterface. 635s # * @invocation: (transfer full): A #GDBusMethodInvocation. 635s # * 635s # * 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. 635s # * 635s # * This method will free @invocation, you cannot use it afterwards. 635s # */ 635s # void 635s # org_project_useful_interface_complete_single_arg_method_ay ( 635s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 635s # GDBusMethodInvocation *invocation) 635s # { 635s # g_dbus_method_invocation_return_value (invocation, 635s # g_variant_new ("()")); 635s # } 635s # 635s # /* ------------------------------------------------------------------------ */ 635s # 635s # /** 635s # * OrgProjectUsefulInterfaceProxy: 635s # * 635s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 635s # */ 635s # 635s # /** 635s # * OrgProjectUsefulInterfaceProxyClass: 635s # * @parent_class: The parent class. 635s # * 635s # * Class structure for #OrgProjectUsefulInterfaceProxy. 635s # */ 635s # 635s # struct _OrgProjectUsefulInterfaceProxyPrivate 635s # { 635s # GData *qdata; 635s # }; 635s # 635s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 635s # 635s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 635s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 635s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 635s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 635s # 635s # #else 635s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 635s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 635s # 635s # #endif 635s # static void 635s # org_project_useful_interface_proxy_finalize (GObject *object) 635s # { 635s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 635s # g_datalist_clear (&proxy->priv->qdata); 635s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 635s # } 635s # 635s # static void 635s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 635s # guint prop_id G_GNUC_UNUSED, 635s # GValue *value G_GNUC_UNUSED, 635s # GParamSpec *pspec G_GNUC_UNUSED) 635s # { 635s # } 635s # 635s # static void 635s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 635s # guint prop_id G_GNUC_UNUSED, 635s # const GValue *value G_GNUC_UNUSED, 635s # GParamSpec *pspec G_GNUC_UNUSED) 635s # { 635s # } 635s # 635s # static void 635s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 635s # const gchar *sender_name G_GNUC_UNUSED, 635s # const gchar *signal_name, 635s # GVariant *parameters) 635s # { 635s # _ExtendedGDBusSignalInfo *info; 635s # GVariantIter iter; 635s # GVariant *child; 635s # GValue *paramv; 635s # gsize num_params; 635s # gsize n; 635s # guint signal_id; 635s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 635s # if (info == NULL) 635s # return; 635s # num_params = g_variant_n_children (parameters); 635s # paramv = g_new0 (GValue, num_params + 1); 635s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 635s # g_value_set_object (¶mv[0], proxy); 635s # g_variant_iter_init (&iter, parameters); 635s # n = 1; 635s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 635s # { 635s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 635s # if (arg_info->use_gvariant) 635s # { 636s # g_value_init (¶mv[n], G_TYPE_VARIANT); 636s # g_value_set_variant (¶mv[n], child); 636s # n++; 636s # } 636s # else 636s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 636s # g_variant_unref (child); 636s # } 636s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 636s # g_signal_emitv (paramv, signal_id, 0, NULL); 636s # for (n = 0; n < num_params + 1; n++) 636s # g_value_unset (¶mv[n]); 636s # g_free (paramv); 636s # } 636s # 636s # static void 636s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 636s # GVariant *changed_properties, 636s # const gchar *const *invalidated_properties) 636s # { 636s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 636s # guint n; 636s # const gchar *key; 636s # GVariantIter *iter; 636s # _ExtendedGDBusPropertyInfo *info; 636s # g_variant_get (changed_properties, "a{sv}", &iter); 636s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 636s # { 636s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 636s # g_datalist_remove_data (&proxy->priv->qdata, key); 636s # if (info != NULL) 636s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 636s # } 636s # g_variant_iter_free (iter); 636s # for (n = 0; invalidated_properties[n] != NULL; n++) 636s # { 636s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 636s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 636s # if (info != NULL) 636s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 636s # } 636s # } 636s # 636s # static void 636s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 636s # { 636s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 636s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 636s # #else 636s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 636s # #endif 636s # 636s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 636s # } 636s # 636s # static void 636s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 636s # { 636s # GObjectClass *gobject_class; 636s # GDBusProxyClass *proxy_class; 636s # 636s # gobject_class = G_OBJECT_CLASS (klass); 636s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 636s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 636s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 636s # 636s # proxy_class = G_DBUS_PROXY_CLASS (klass); 636s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 636s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 636s # 636s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 636s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 636s # #endif 636s # } 636s # 636s # static void 636s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 636s # { 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_proxy_new: 636s # * @connection: A #GDBusConnection. 636s # * @flags: Flags from the #GDBusProxyFlags enumeration. 636s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 636s # * @object_path: An object path. 636s # * @cancellable: (nullable): A #GCancellable or %NULL. 636s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 636s # * @user_data: User data to pass to @callback. 636s # * 636s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 636s # * 636s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 636s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 636s # * 636s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 636s # */ 636s # void 636s # org_project_useful_interface_proxy_new ( 636s # GDBusConnection *connection, 636s # GDBusProxyFlags flags, 636s # const gchar *name, 636s # const gchar *object_path, 636s # GCancellable *cancellable, 636s # GAsyncReadyCallback callback, 636s # gpointer user_data) 636s # { 636s # g_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); 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_proxy_new_finish: 636s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 636s # * @error: Return location for error or %NULL 636s # * 636s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 636s # * 636s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 636s # */ 636s # OrgProjectUsefulInterface * 636s # org_project_useful_interface_proxy_new_finish ( 636s # GAsyncResult *res, 636s # GError **error) 636s # { 636s # GObject *ret; 636s # GObject *source_object; 636s # source_object = g_async_result_get_source_object (res); 636s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 636s # g_object_unref (source_object); 636s # if (ret != NULL) 636s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 636s # else 636s # return NULL; 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_proxy_new_sync: 636s # * @connection: A #GDBusConnection. 636s # * @flags: Flags from the #GDBusProxyFlags enumeration. 636s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 636s # * @object_path: An object path. 636s # * @cancellable: (nullable): A #GCancellable or %NULL. 636s # * @error: Return location for error or %NULL 636s # * 636s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 636s # * 636s # * The calling thread is blocked until a reply is received. 636s # * 636s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 636s # * 636s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 636s # */ 636s # OrgProjectUsefulInterface * 636s # org_project_useful_interface_proxy_new_sync ( 636s # GDBusConnection *connection, 636s # GDBusProxyFlags flags, 636s # const gchar *name, 636s # const gchar *object_path, 636s # GCancellable *cancellable, 636s # GError **error) 636s # { 636s # GInitable *ret; 636s # 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); 636s # if (ret != NULL) 636s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 636s # else 636s # return NULL; 636s # } 636s # 636s # 636s # /** 636s # * org_project_useful_interface_proxy_new_for_bus: 636s # * @bus_type: A #GBusType. 636s # * @flags: Flags from the #GDBusProxyFlags enumeration. 636s # * @name: A bus name (well-known or unique). 636s # * @object_path: An object path. 636s # * @cancellable: (nullable): A #GCancellable or %NULL. 636s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 636s # * @user_data: User data to pass to @callback. 636s # * 636s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 636s # * 636s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 636s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 636s # * 636s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 636s # */ 636s # void 636s # org_project_useful_interface_proxy_new_for_bus ( 636s # GBusType bus_type, 636s # GDBusProxyFlags flags, 636s # const gchar *name, 636s # const gchar *object_path, 636s # GCancellable *cancellable, 636s # GAsyncReadyCallback callback, 636s # gpointer user_data) 636s # { 636s # g_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); 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_proxy_new_for_bus_finish: 636s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 636s # * @error: Return location for error or %NULL 636s # * 636s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 636s # * 636s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 636s # */ 636s # OrgProjectUsefulInterface * 636s # org_project_useful_interface_proxy_new_for_bus_finish ( 636s # GAsyncResult *res, 636s # GError **error) 636s # { 636s # GObject *ret; 636s # GObject *source_object; 636s # source_object = g_async_result_get_source_object (res); 636s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 636s # g_object_unref (source_object); 636s # if (ret != NULL) 636s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 636s # else 636s # return NULL; 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_proxy_new_for_bus_sync: 636s # * @bus_type: A #GBusType. 636s # * @flags: Flags from the #GDBusProxyFlags enumeration. 636s # * @name: A bus name (well-known or unique). 636s # * @object_path: An object path. 636s # * @cancellable: (nullable): A #GCancellable or %NULL. 636s # * @error: Return location for error or %NULL 636s # * 636s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 636s # * 636s # * The calling thread is blocked until a reply is received. 636s # * 636s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 636s # * 636s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 636s # */ 636s # OrgProjectUsefulInterface * 636s # org_project_useful_interface_proxy_new_for_bus_sync ( 636s # GBusType bus_type, 636s # GDBusProxyFlags flags, 636s # const gchar *name, 636s # const gchar *object_path, 636s # GCancellable *cancellable, 636s # GError **error) 636s # { 636s # GInitable *ret; 636s # 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); 636s # if (ret != NULL) 636s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 636s # else 636s # return NULL; 636s # } 636s # 636s # 636s # /* ------------------------------------------------------------------------ */ 636s # 636s # /** 636s # * OrgProjectUsefulInterfaceSkeleton: 636s # * 636s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 636s # */ 636s # 636s # /** 636s # * OrgProjectUsefulInterfaceSkeletonClass: 636s # * @parent_class: The parent class. 636s # * 636s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 636s # */ 636s # 636s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 636s # { 636s # GValue *properties; 636s # GList *changed_properties; 636s # GSource *changed_properties_idle_source; 636s # GMainContext *context; 636s # GMutex lock; 636s # }; 636s # 636s # static void 636s # _org_project_useful_interface_skeleton_handle_method_call ( 636s # GDBusConnection *connection G_GNUC_UNUSED, 636s # const gchar *sender G_GNUC_UNUSED, 636s # const gchar *object_path G_GNUC_UNUSED, 636s # const gchar *interface_name, 636s # const gchar *method_name, 636s # GVariant *parameters, 636s # GDBusMethodInvocation *invocation, 636s # gpointer user_data) 636s # { 636s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 636s # _ExtendedGDBusMethodInfo *info; 636s # GVariantIter iter; 636s # GVariant *child; 636s # GValue *paramv; 636s # gsize num_params; 636s # guint num_extra; 636s # gsize n; 636s # guint signal_id; 636s # GValue return_value = G_VALUE_INIT; 636s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 636s # g_assert (info != NULL); 636s # num_params = g_variant_n_children (parameters); 636s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 636s # n = 0; 636s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 636s # g_value_set_object (¶mv[n++], skeleton); 636s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 636s # g_value_set_object (¶mv[n++], invocation); 636s # if (info->pass_fdlist) 636s # { 636s # #ifdef G_OS_UNIX 636s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 636s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 636s # #else 636s # g_assert_not_reached (); 636s # #endif 636s # } 636s # g_variant_iter_init (&iter, parameters); 636s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 636s # { 636s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 636s # if (arg_info->use_gvariant) 636s # { 636s # g_value_init (¶mv[n], G_TYPE_VARIANT); 636s # g_value_set_variant (¶mv[n], child); 636s # n++; 636s # } 636s # else 636s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 636s # g_variant_unref (child); 636s # } 636s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 636s # g_value_init (&return_value, G_TYPE_BOOLEAN); 636s # g_signal_emitv (paramv, signal_id, 0, &return_value); 636s # if (!g_value_get_boolean (&return_value)) 636s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 636s # g_value_unset (&return_value); 636s # for (n = 0; n < num_params + num_extra; n++) 636s # g_value_unset (¶mv[n]); 636s # g_free (paramv); 636s # } 636s # 636s # static GVariant * 636s # _org_project_useful_interface_skeleton_handle_get_property ( 636s # GDBusConnection *connection G_GNUC_UNUSED, 636s # const gchar *sender G_GNUC_UNUSED, 636s # const gchar *object_path G_GNUC_UNUSED, 636s # const gchar *interface_name G_GNUC_UNUSED, 636s # const gchar *property_name, 636s # GError **error, 636s # gpointer user_data) 636s # { 636s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 636s # GValue value = G_VALUE_INIT; 636s # GParamSpec *pspec; 636s # _ExtendedGDBusPropertyInfo *info; 636s # GVariant *ret; 636s # ret = NULL; 636s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 636s # g_assert (info != NULL); 636s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 636s # if (pspec == NULL) 636s # { 636s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 636s # } 636s # else 636s # { 636s # g_value_init (&value, pspec->value_type); 636s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 636s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 636s # g_value_unset (&value); 636s # } 636s # return ret; 636s # } 636s # 636s # static gboolean 636s # _org_project_useful_interface_skeleton_handle_set_property ( 636s # GDBusConnection *connection G_GNUC_UNUSED, 636s # const gchar *sender G_GNUC_UNUSED, 636s # const gchar *object_path G_GNUC_UNUSED, 636s # const gchar *interface_name G_GNUC_UNUSED, 636s # const gchar *property_name, 636s # GVariant *variant, 636s # GError **error, 636s # gpointer user_data) 636s # { 636s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 636s # GValue value = G_VALUE_INIT; 636s # GParamSpec *pspec; 636s # _ExtendedGDBusPropertyInfo *info; 636s # gboolean ret; 636s # ret = FALSE; 636s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 636s # g_assert (info != NULL); 636s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 636s # if (pspec == NULL) 636s # { 636s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 636s # } 636s # else 636s # { 636s # if (info->use_gvariant) 636s # g_value_set_variant (&value, variant); 636s # else 636s # g_dbus_gvariant_to_gvalue (variant, &value); 636s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 636s # g_value_unset (&value); 636s # ret = TRUE; 636s # } 636s # return ret; 636s # } 636s # 636s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 636s # { 636s # _org_project_useful_interface_skeleton_handle_method_call, 636s # _org_project_useful_interface_skeleton_handle_get_property, 636s # _org_project_useful_interface_skeleton_handle_set_property, 636s # {NULL} 636s # }; 636s # 636s # static GDBusInterfaceInfo * 636s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 636s # { 636s # return org_project_useful_interface_interface_info (); 636s # } 636s # 636s # static GDBusInterfaceVTable * 636s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 636s # { 636s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 636s # } 636s # 636s # static GVariant * 636s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 636s # { 636s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 636s # 636s # GVariantBuilder builder; 636s # guint n; 636s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 636s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 636s # goto out; 636s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 636s # { 636s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 636s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 636s # { 636s # GVariant *value; 636s # 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); 636s # if (value != NULL) 636s # { 636s # g_variant_take_ref (value); 636s # g_variant_builder_add (&builder, "{sv}", info->name, value); 636s # g_variant_unref (value); 636s # } 636s # } 636s # } 636s # out: 636s # return g_variant_builder_end (&builder); 636s # } 636s # 636s # static void 636s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 636s # { 636s # } 636s # 636s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 636s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 636s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 636s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 636s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 636s # 636s # #else 636s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 636s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 636s # 636s # #endif 636s # static void 636s # org_project_useful_interface_skeleton_finalize (GObject *object) 636s # { 636s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 636s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 636s # if (skeleton->priv->changed_properties_idle_source != NULL) 636s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 636s # g_main_context_unref (skeleton->priv->context); 636s # g_mutex_clear (&skeleton->priv->lock); 636s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 636s # } 636s # 636s # static void 636s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 636s # { 636s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 636s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 636s # #else 636s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 636s # #endif 636s # 636s # g_mutex_init (&skeleton->priv->lock); 636s # skeleton->priv->context = g_main_context_ref_thread_default (); 636s # } 636s # 636s # static void 636s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 636s # { 636s # GObjectClass *gobject_class; 636s # GDBusInterfaceSkeletonClass *skeleton_class; 636s # 636s # gobject_class = G_OBJECT_CLASS (klass); 636s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 636s # 636s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 636s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 636s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 636s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 636s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 636s # 636s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 636s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 636s # #endif 636s # } 636s # 636s # static void 636s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 636s # { 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_skeleton_new: 636s # * 636s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 636s # * 636s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 636s # */ 636s # OrgProjectUsefulInterface * 636s # org_project_useful_interface_skeleton_new (void) 636s # { 636s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 636s # } 636s # /tmp/tmp4un2rcj2/tmpt_xgsmhm.xml: 636s # 636s # 636s # 636s # 636s # 636s # 636s # 636s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4un2rcj2/tmpt_xgsmhm.xml', '--output', '-', '--body'] 636s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 636s # Output: /* 636s # * This file is generated by gdbus-codegen, do not modify it. 636s # * 636s # * The license of this code is the same as for the D-Bus interface description 636s # * it was derived from. Note that it links to GLib, so must comply with the 636s # * LGPL linking clauses. 636s # */ 636s # 636s # #ifdef HAVE_CONFIG_H 636s # # include "config.h" 636s # #endif 636s # 636s # #include 636s # #ifdef G_OS_UNIX 636s # # include 636s # #endif 636s # 636s # #ifdef G_ENABLE_DEBUG 636s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 636s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 636s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 636s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 636s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 636s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 636s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 636s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 636s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 636s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 636s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 636s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 636s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 636s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 636s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 636s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 636s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 636s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 636s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 636s # #else /* !G_ENABLE_DEBUG */ 636s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 636s # * Do not access GValues directly in your code. Instead, use the 636s # * g_value_get_*() functions 636s # */ 636s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 636s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 636s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 636s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 636s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 636s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 636s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 636s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 636s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 636s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 636s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 636s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 636s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 636s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 636s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 636s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 636s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 636s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 636s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 636s # #endif /* !G_ENABLE_DEBUG */ 636s # 636s # typedef struct 636s # { 636s # GDBusArgInfo parent_struct; 636s # gboolean use_gvariant; 636s # } _ExtendedGDBusArgInfo; 636s # 636s # typedef struct 636s # { 636s # GDBusMethodInfo parent_struct; 636s # const gchar *signal_name; 636s # gboolean pass_fdlist; 636s # } _ExtendedGDBusMethodInfo; 636s # 636s # typedef struct 636s # { 636s # GDBusSignalInfo parent_struct; 636s # const gchar *signal_name; 636s # } _ExtendedGDBusSignalInfo; 636s # 636s # typedef struct 636s # { 636s # GDBusPropertyInfo parent_struct; 636s # const gchar *hyphen_name; 636s # guint use_gvariant : 1; 636s # guint emits_changed_signal : 1; 636s # } _ExtendedGDBusPropertyInfo; 636s # 636s # typedef struct 636s # { 636s # GDBusInterfaceInfo parent_struct; 636s # const gchar *hyphen_name; 636s # } _ExtendedGDBusInterfaceInfo; 636s # 636s # typedef struct 636s # { 636s # const _ExtendedGDBusPropertyInfo *info; 636s # guint prop_id; 636s # GValue orig_value; /* the value before the change */ 636s # } ChangedProperty; 636s # 636s # static void 636s # _changed_property_free (ChangedProperty *data) 636s # { 636s # g_value_unset (&data->orig_value); 636s # g_free (data); 636s # } 636s # 636s # static gboolean 636s # _g_strv_equal0 (gchar **a, gchar **b) 636s # { 636s # gboolean ret = FALSE; 636s # guint n; 636s # if (a == NULL && b == NULL) 636s # { 636s # ret = TRUE; 636s # goto out; 636s # } 636s # if (a == NULL || b == NULL) 636s # goto out; 636s # if (g_strv_length (a) != g_strv_length (b)) 636s # goto out; 636s # for (n = 0; a[n] != NULL; n++) 636s # if (g_strcmp0 (a[n], b[n]) != 0) 636s # goto out; 636s # ret = TRUE; 636s # out: 636s # return ret; 636s # } 636s # 636s # static gboolean 636s # _g_variant_equal0 (GVariant *a, GVariant *b) 636s # { 636s # gboolean ret = FALSE; 636s # if (a == NULL && b == NULL) 636s # { 636s # ret = TRUE; 636s # goto out; 636s # } 636s # if (a == NULL || b == NULL) 636s # goto out; 636s # ret = g_variant_equal (a, b); 636s # out: 636s # return ret; 636s # } 636s # 636s # G_GNUC_UNUSED static gboolean 636s # _g_value_equal (const GValue *a, const GValue *b) 636s # { 636s # gboolean ret = FALSE; 636s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 636s # switch (G_VALUE_TYPE (a)) 636s # { 636s # case G_TYPE_BOOLEAN: 636s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 636s # break; 636s # case G_TYPE_UCHAR: 636s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 636s # break; 636s # case G_TYPE_INT: 636s # ret = (g_value_get_int (a) == g_value_get_int (b)); 636s # break; 636s # case G_TYPE_UINT: 636s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 636s # break; 636s # case G_TYPE_INT64: 636s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 636s # break; 636s # case G_TYPE_UINT64: 636s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 636s # break; 636s # case G_TYPE_DOUBLE: 636s # { 636s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 636s # gdouble da = g_value_get_double (a); 636s # gdouble db = g_value_get_double (b); 636s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 636s # } 636s # break; 636s # case G_TYPE_STRING: 636s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 636s # break; 636s # case G_TYPE_VARIANT: 636s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 636s # break; 636s # default: 636s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 636s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 636s # else 636s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 636s # break; 636s # } 636s # return ret; 636s # } 636s # 636s # static void 636s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 636s # GClosure *closure, 636s # GValue *return_value, 636s # unsigned int n_param_values, 636s # const GValue *param_values, 636s # void *invocation_hint G_GNUC_UNUSED, 636s # void *marshal_data) 636s # { 636s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 636s # (void *data1, 636s # GDBusMethodInvocation *arg_method_invocation, 636s # const gchar *const *arg_arg_as, 636s # void *data2); 636s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 636s # GCClosure *cc = (GCClosure*) closure; 636s # void *data1, *data2; 636s # gboolean v_return; 636s # 636s # g_return_if_fail (return_value != NULL); 636s # g_return_if_fail (n_param_values == 3); 636s # 636s # if (G_CCLOSURE_SWAP_DATA (closure)) 636s # { 636s # data1 = closure->data; 636s # data2 = g_value_peek_pointer (param_values + 0); 636s # } 636s # else 636s # { 636s # data1 = g_value_peek_pointer (param_values + 0); 636s # data2 = closure->data; 636s # } 636s # 636s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 636s # (marshal_data ? marshal_data : cc->callback); 636s # 636s # v_return = 636s # callback (data1, 636s # g_marshal_value_peek_object (param_values + 1), 636s # g_marshal_value_peek_boxed (param_values + 2), 636s # data2); 636s # 636s # g_value_set_boolean (return_value, v_return); 636s # } 636s # 636s # /* ------------------------------------------------------------------------ 636s # * Code for interface org.project.UsefulInterface 636s # * ------------------------------------------------------------------------ 636s # */ 636s # 636s # /** 636s # * SECTION:OrgProjectUsefulInterface 636s # * @title: OrgProjectUsefulInterface 636s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 636s # * 636s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 636s # */ 636s # 636s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 636s # 636s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 636s # { 636s # { 636s # -1, 636s # (gchar *) "arg_as", 636s # (gchar *) "as", 636s # NULL 636s # }, 636s # FALSE 636s # }; 636s # 636s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 636s # { 636s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 636s # NULL 636s # }; 636s # 636s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 636s # { 636s # { 636s # -1, 636s # (gchar *) "SingleArgMethodAs", 636s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 636s # NULL, 636s # NULL 636s # }, 636s # "handle-single-arg-method-as", 636s # FALSE 636s # }; 636s # 636s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 636s # { 636s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 636s # NULL 636s # }; 636s # 636s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 636s # { 636s # { 636s # -1, 636s # (gchar *) "org.project.UsefulInterface", 636s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 636s # NULL, 636s # NULL, 636s # NULL 636s # }, 636s # "org-project-useful-interface", 636s # }; 636s # 636s # 636s # /** 636s # * org_project_useful_interface_interface_info: 636s # * 636s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 636s # * 636s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 636s # */ 636s # GDBusInterfaceInfo * 636s # org_project_useful_interface_interface_info (void) 636s # { 636s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_override_properties: 636s # * @klass: The class structure for a #GObject derived class. 636s # * @property_id_begin: The property id to assign to the first overridden property. 636s # * 636s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 636s # * The properties are overridden in the order they are defined. 636s # * 636s # * Returns: The last property id. 636s # */ 636s # guint 636s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 636s # { 636s # return property_id_begin - 1; 636s # } 636s # 636s # 636s # inline static void 636s # org_project_useful_interface_method_marshal_single_arg_method_as ( 636s # GClosure *closure, 636s # GValue *return_value, 636s # unsigned int n_param_values, 636s # const GValue *param_values, 636s # void *invocation_hint, 636s # void *marshal_data) 636s # { 636s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 636s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 636s # } 636s # 636s # 636s # /** 636s # * OrgProjectUsefulInterface: 636s # * 636s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 636s # */ 636s # 636s # /** 636s # * OrgProjectUsefulInterfaceIface: 636s # * @parent_iface: The parent interface. 636s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 636s # * 636s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 636s # */ 636s # 636s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 636s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 636s # 636s # static void 636s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 636s # { 636s # /* GObject signals for incoming D-Bus method calls: */ 636s # /** 636s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 636s # * @object: A #OrgProjectUsefulInterface. 636s # * @invocation: A #GDBusMethodInvocation. 636s # * @arg_arg_as: Argument passed by remote caller. 636s # * 636s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 636s # * 636s # * 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. 636s # * 636s # * 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. 636s # */ 636s # g_signal_new ("handle-single-arg-method-as", 636s # G_TYPE_FROM_INTERFACE (iface), 636s # G_SIGNAL_RUN_LAST, 636s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 636s # g_signal_accumulator_true_handled, 636s # NULL, 636s # org_project_useful_interface_method_marshal_single_arg_method_as, 636s # G_TYPE_BOOLEAN, 636s # 2, 636s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 636s # 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_call_single_arg_method_as: 636s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 636s # * @arg_arg_as: Argument to pass with the method invocation. 636s # * @cancellable: (nullable): A #GCancellable or %NULL. 636s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 636s # * @user_data: User data to pass to @callback. 636s # * 636s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 636s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 636s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 636s # * 636s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 636s # */ 636s # void 636s # org_project_useful_interface_call_single_arg_method_as ( 636s # OrgProjectUsefulInterface *proxy, 636s # const gchar *const *arg_arg_as, 636s # GCancellable *cancellable, 636s # GAsyncReadyCallback callback, 636s # gpointer user_data) 636s # { 636s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 636s # "SingleArgMethodAs", 636s # g_variant_new ("(^as)", 636s # arg_arg_as), 636s # G_DBUS_CALL_FLAGS_NONE, 636s # -1, 636s # cancellable, 636s # callback, 636s # user_data); 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_call_single_arg_method_as_finish: 636s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 636s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 636s # * @error: Return location for error or %NULL. 636s # * 636s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 636s # * 636s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 636s # */ 636s # gboolean 636s # org_project_useful_interface_call_single_arg_method_as_finish ( 636s # OrgProjectUsefulInterface *proxy, 636s # GAsyncResult *res, 636s # GError **error) 636s # { 636s # GVariant *_ret; 636s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 636s # if (_ret == NULL) 636s # goto _out; 636s # g_variant_get (_ret, 636s # "()"); 636s # g_variant_unref (_ret); 636s # _out: 636s # return _ret != NULL; 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_call_single_arg_method_as_sync: 636s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 636s # * @arg_arg_as: Argument to pass with the method invocation. 636s # * @cancellable: (nullable): A #GCancellable or %NULL. 636s # * @error: Return location for error or %NULL. 636s # * 636s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 636s # * 636s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 636s # * 636s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 636s # */ 636s # gboolean 636s # org_project_useful_interface_call_single_arg_method_as_sync ( 636s # OrgProjectUsefulInterface *proxy, 636s # const gchar *const *arg_arg_as, 636s # GCancellable *cancellable, 636s # GError **error) 636s # { 636s # GVariant *_ret; 636s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 636s # "SingleArgMethodAs", 636s # g_variant_new ("(^as)", 636s # arg_arg_as), 636s # G_DBUS_CALL_FLAGS_NONE, 636s # -1, 636s # cancellable, 636s # error); 636s # if (_ret == NULL) 636s # goto _out; 636s # g_variant_get (_ret, 636s # "()"); 636s # g_variant_unref (_ret); 636s # _out: 636s # return _ret != NULL; 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_complete_single_arg_method_as: 636s # * @object: A #OrgProjectUsefulInterface. 636s # * @invocation: (transfer full): A #GDBusMethodInvocation. 636s # * 636s # * 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. 636s # * 636s # * This method will free @invocation, you cannot use it afterwards. 636s # */ 636s # void 636s # org_project_useful_interface_complete_single_arg_method_as ( 636s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 636s # GDBusMethodInvocation *invocation) 636s # { 636s # g_dbus_method_invocation_return_value (invocation, 636s # g_variant_new ("()")); 636s # } 636s # 636s # /* ------------------------------------------------------------------------ */ 636s # 636s # /** 636s # * OrgProjectUsefulInterfaceProxy: 636s # * 636s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 636s # */ 636s # 636s # /** 636s # * OrgProjectUsefulInterfaceProxyClass: 636s # * @parent_class: The parent class. 636s # * 636s # * Class structure for #OrgProjectUsefulInterfaceProxy. 636s # */ 636s # 636s # struct _OrgProjectUsefulInterfaceProxyPrivate 636s # { 636s # GData *qdata; 636s # }; 636s # 636s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 636s # 636s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 636s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 636s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 636s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 636s # 636s # #else 636s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 636s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 636s # 636s # #endif 636s # static void 636s # org_project_useful_interface_proxy_finalize (GObject *object) 636s # { 636s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 636s # g_datalist_clear (&proxy->priv->qdata); 636s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 636s # } 636s # 636s # static void 636s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 636s # guint prop_id G_GNUC_UNUSED, 636s # GValue *value G_GNUC_UNUSED, 636s # GParamSpec *pspec G_GNUC_UNUSED) 636s # { 636s # } 636s # 636s # static void 636s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 636s # guint prop_id G_GNUC_UNUSED, 636s # const GValue *value G_GNUC_UNUSED, 636s # GParamSpec *pspec G_GNUC_UNUSED) 636s # { 636s # } 636s # 636s # static void 636s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 636s # const gchar *sender_name G_GNUC_UNUSED, 636s # const gchar *signal_name, 636s # GVariant *parameters) 636s # { 636s # _ExtendedGDBusSignalInfo *info; 636s # GVariantIter iter; 636s # GVariant *child; 636s # GValue *paramv; 636s # gsize num_params; 636s # gsize n; 636s # guint signal_id; 636s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 636s # if (info == NULL) 636s # return; 636s # num_params = g_variant_n_children (parameters); 636s # paramv = g_new0 (GValue, num_params + 1); 636s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 636s # g_value_set_object (¶mv[0], proxy); 636s # g_variant_iter_init (&iter, parameters); 636s # n = 1; 636s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 636s # { 636s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 636s # if (arg_info->use_gvariant) 636s # { 636s # g_value_init (¶mv[n], G_TYPE_VARIANT); 636s # g_value_set_variant (¶mv[n], child); 636s # n++; 636s # } 636s # else 636s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 636s # g_variant_unref (child); 636s # } 636s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 636s # g_signal_emitv (paramv, signal_id, 0, NULL); 636s # for (n = 0; n < num_params + 1; n++) 636s # g_value_unset (¶mv[n]); 636s # g_free (paramv); 636s # } 636s # 636s # static void 636s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 636s # GVariant *changed_properties, 636s # const gchar *const *invalidated_properties) 636s # { 636s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 636s # guint n; 636s # const gchar *key; 636s # GVariantIter *iter; 636s # _ExtendedGDBusPropertyInfo *info; 636s # g_variant_get (changed_properties, "a{sv}", &iter); 636s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 636s # { 636s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 636s # g_datalist_remove_data (&proxy->priv->qdata, key); 636s # if (info != NULL) 636s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 636s # } 636s # g_variant_iter_free (iter); 636s # for (n = 0; invalidated_properties[n] != NULL; n++) 636s # { 636s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 636s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 636s # if (info != NULL) 636s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 636s # } 636s # } 636s # 636s # static void 636s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 636s # { 636s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 636s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 636s # #else 636s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 636s # #endif 636s # 636s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 636s # } 636s # 636s # static void 636s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 636s # { 636s # GObjectClass *gobject_class; 636s # GDBusProxyClass *proxy_class; 636s # 636s # gobject_class = G_OBJECT_CLASS (klass); 636s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 636s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 636s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 636s # 636s # proxy_class = G_DBUS_PROXY_CLASS (klass); 636s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 636s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 636s # 636s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 636s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 636s # #endif 636s # } 636s # 636s # static void 636s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 636s # { 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_proxy_new: 636s # * @connection: A #GDBusConnection. 636s # * @flags: Flags from the #GDBusProxyFlags enumeration. 636s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 636s # * @object_path: An object path. 636s # * @cancellable: (nullable): A #GCancellable or %NULL. 636s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 636s # * @user_data: User data to pass to @callback. 636s # * 636s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 636s # * 636s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 636s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 636s # * 636s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 636s # */ 636s # void 636s # org_project_useful_interface_proxy_new ( 636s # GDBusConnection *connection, 636s # GDBusProxyFlags flags, 636s # const gchar *name, 636s # const gchar *object_path, 636s # GCancellable *cancellable, 636s # GAsyncReadyCallback callback, 636s # gpointer user_data) 636s # { 636s # g_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); 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_proxy_new_finish: 636s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 636s # * @error: Return location for error or %NULL 636s # * 636s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 636s # * 636s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 636s # */ 636s # OrgProjectUsefulInterface * 636s # org_project_useful_interface_proxy_new_finish ( 636s # GAsyncResult *res, 636s # GError **error) 636s # { 636s # GObject *ret; 636s # GObject *source_object; 636s # source_object = g_async_result_get_source_object (res); 636s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 636s # g_object_unref (source_object); 636s # if (ret != NULL) 636s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 636s # else 636s # return NULL; 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_proxy_new_sync: 636s # * @connection: A #GDBusConnection. 636s # * @flags: Flags from the #GDBusProxyFlags enumeration. 636s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 636s # * @object_path: An object path. 636s # * @cancellable: (nullable): A #GCancellable or %NULL. 636s # * @error: Return location for error or %NULL 636s # * 636s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 636s # * 636s # * The calling thread is blocked until a reply is received. 636s # * 636s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 636s # * 636s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 636s # */ 636s # OrgProjectUsefulInterface * 636s # org_project_useful_interface_proxy_new_sync ( 636s # GDBusConnection *connection, 636s # GDBusProxyFlags flags, 636s # const gchar *name, 636s # const gchar *object_path, 636s # GCancellable *cancellable, 636s # GError **error) 636s # { 636s # GInitable *ret; 636s # 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); 636s # if (ret != NULL) 636s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 636s # else 636s # return NULL; 636s # } 636s # 636s # 636s # /** 636s # * org_project_useful_interface_proxy_new_for_bus: 636s # * @bus_type: A #GBusType. 636s # * @flags: Flags from the #GDBusProxyFlags enumeration. 636s # * @name: A bus name (well-known or unique). 636s # * @object_path: An object path. 636s # * @cancellable: (nullable): A #GCancellable or %NULL. 636s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 636s # * @user_data: User data to pass to @callback. 636s # * 636s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 636s # * 636s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 636s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 636s # * 636s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 636s # */ 636s # void 636s # org_project_useful_interface_proxy_new_for_bus ( 636s # GBusType bus_type, 636s # GDBusProxyFlags flags, 636s # const gchar *name, 636s # const gchar *object_path, 636s # GCancellable *cancellable, 636s # GAsyncReadyCallback callback, 636s # gpointer user_data) 636s # { 636s # g_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); 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_proxy_new_for_bus_finish: 636s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 636s # * @error: Return location for error or %NULL 636s # * 636s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 636s # * 636s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 636s # */ 636s # OrgProjectUsefulInterface * 636s # org_project_useful_interface_proxy_new_for_bus_finish ( 636s # GAsyncResult *res, 636s # GError **error) 636s # { 636s # GObject *ret; 636s # GObject *source_object; 636s # source_object = g_async_result_get_source_object (res); 636s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 636s # g_object_unref (source_object); 636s # if (ret != NULL) 636s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 636s # else 636s # return NULL; 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_proxy_new_for_bus_sync: 636s # * @bus_type: A #GBusType. 636s # * @flags: Flags from the #GDBusProxyFlags enumeration. 636s # * @name: A bus name (well-known or unique). 636s # * @object_path: An object path. 636s # * @cancellable: (nullable): A #GCancellable or %NULL. 636s # * @error: Return location for error or %NULL 636s # * 636s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 636s # * 636s # * The calling thread is blocked until a reply is received. 636s # * 636s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 636s # * 636s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 636s # */ 636s # OrgProjectUsefulInterface * 636s # org_project_useful_interface_proxy_new_for_bus_sync ( 636s # GBusType bus_type, 636s # GDBusProxyFlags flags, 636s # const gchar *name, 636s # const gchar *object_path, 636s # GCancellable *cancellable, 636s # GError **error) 636s # { 636s # GInitable *ret; 636s # 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); 636s # if (ret != NULL) 636s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 636s # else 636s # return NULL; 636s # } 636s # 636s # 636s # /* ------------------------------------------------------------------------ */ 636s # 636s # /** 636s # * OrgProjectUsefulInterfaceSkeleton: 636s # * 636s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 636s # */ 636s # 636s # /** 636s # * OrgProjectUsefulInterfaceSkeletonClass: 636s # * @parent_class: The parent class. 636s # * 636s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 636s # */ 636s # 636s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 636s # { 636s # GValue *properties; 636s # GList *changed_properties; 636s # GSource *changed_properties_idle_source; 636s # GMainContext *context; 636s # GMutex lock; 636s # }; 636s # 636s # static void 636s # _org_project_useful_interface_skeleton_handle_method_call ( 636s # GDBusConnection *connection G_GNUC_UNUSED, 636s # const gchar *sender G_GNUC_UNUSED, 636s # const gchar *object_path G_GNUC_UNUSED, 636s # const gchar *interface_name, 636s # const gchar *method_name, 636s # GVariant *parameters, 636s # GDBusMethodInvocation *invocation, 636s # gpointer user_data) 636s # { 636s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 636s # _ExtendedGDBusMethodInfo *info; 636s # GVariantIter iter; 636s # GVariant *child; 636s # GValue *paramv; 636s # gsize num_params; 636s # guint num_extra; 636s # gsize n; 636s # guint signal_id; 636s # GValue return_value = G_VALUE_INIT; 636s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 636s # g_assert (info != NULL); 636s # num_params = g_variant_n_children (parameters); 636s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 636s # n = 0; 636s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 636s # g_value_set_object (¶mv[n++], skeleton); 636s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 636s # g_value_set_object (¶mv[n++], invocation); 636s # if (info->pass_fdlist) 636s # { 636s # #ifdef G_OS_UNIX 636s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 636s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 636s # #else 636s # g_assert_not_reached (); 636s # #endif 636s # } 636s # g_variant_iter_init (&iter, parameters); 636s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 636s # { 636s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 636s # if (arg_info->use_gvariant) 636s # { 636s # g_value_init (¶mv[n], G_TYPE_VARIANT); 636s # g_value_set_variant (¶mv[n], child); 636s # n++; 636s # } 636s # else 636s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 636s # g_variant_unref (child); 636s # } 636s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 636s # g_value_init (&return_value, G_TYPE_BOOLEAN); 636s # g_signal_emitv (paramv, signal_id, 0, &return_value); 636s # if (!g_value_get_boolean (&return_value)) 636s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 636s # g_value_unset (&return_value); 636s # for (n = 0; n < num_params + num_extra; n++) 636s # g_value_unset (¶mv[n]); 636s # g_free (paramv); 636s # } 636s # 636s # static GVariant * 636s # _org_project_useful_interface_skeleton_handle_get_property ( 636s # GDBusConnection *connection G_GNUC_UNUSED, 636s # const gchar *sender G_GNUC_UNUSED, 636s # const gchar *object_path G_GNUC_UNUSED, 636s # const gchar *interface_name G_GNUC_UNUSED, 636s # const gchar *property_name, 636s # GError **error, 636s # gpointer user_data) 636s # { 636s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 636s # GValue value = G_VALUE_INIT; 636s # GParamSpec *pspec; 636s # _ExtendedGDBusPropertyInfo *info; 636s # GVariant *ret; 636s # ret = NULL; 636s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 636s # g_assert (info != NULL); 636s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 636s # if (pspec == NULL) 636s # { 636s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 636s # } 636s # else 636s # { 636s # g_value_init (&value, pspec->value_type); 636s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 636s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 636s # g_value_unset (&value); 636s # } 636s # return ret; 636s # } 636s # 636s # static gboolean 636s # _org_project_useful_interface_skeleton_handle_set_property ( 636s # GDBusConnection *connection G_GNUC_UNUSED, 636s # const gchar *sender G_GNUC_UNUSED, 636s # const gchar *object_path G_GNUC_UNUSED, 636s # const gchar *interface_name G_GNUC_UNUSED, 636s # const gchar *property_name, 636s # GVariant *variant, 636s # GError **error, 636s # gpointer user_data) 636s # { 636s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 636s # GValue value = G_VALUE_INIT; 636s # GParamSpec *pspec; 636s # _ExtendedGDBusPropertyInfo *info; 636s # gboolean ret; 636s # ret = FALSE; 636s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 636s # g_assert (info != NULL); 636s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 636s # if (pspec == NULL) 636s # { 636s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 636s # } 636s # else 636s # { 636s # if (info->use_gvariant) 636s # g_value_set_variant (&value, variant); 636s # else 636s # g_dbus_gvariant_to_gvalue (variant, &value); 636s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 636s # g_value_unset (&value); 636s # ret = TRUE; 636s # } 636s # return ret; 636s # } 636s # 636s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 636s # { 636s # _org_project_useful_interface_skeleton_handle_method_call, 636s # _org_project_useful_interface_skeleton_handle_get_property, 636s # _org_project_useful_interface_skeleton_handle_set_property, 636s # {NULL} 636s # }; 636s # 636s # static GDBusInterfaceInfo * 636s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 636s # { 636s # return org_project_useful_interface_interface_info (); 636s # } 636s # 636s # static GDBusInterfaceVTable * 636s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 636s # { 636s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 636s # } 636s # 636s # static GVariant * 636s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 636s # { 636s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 636s # 636s # GVariantBuilder builder; 636s # guint n; 636s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 636s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 636s # goto out; 636s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 636s # { 636s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 636s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 636s # { 636s # GVariant *value; 636s # 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); 636s # if (value != NULL) 636s # { 636s # g_variant_take_ref (value); 636s # g_variant_builder_add (&builder, "{sv}", info->name, value); 636s # g_variant_unref (value); 636s # } 636s # } 636s # } 636s # out: 636s # return g_variant_builder_end (&builder); 636s # } 636s # 636s # static void 636s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 636s # { 636s # } 636s # 636s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 636s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 636s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 636s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 636s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 636s # 636s # #else 636s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 636s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 636s # 636s # #endif 636s # static void 636s # org_project_useful_interface_skeleton_finalize (GObject *object) 636s # { 636s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 636s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 636s # if (skeleton->priv->changed_properties_idle_source != NULL) 636s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 636s # g_main_context_unref (skeleton->priv->context); 636s # g_mutex_clear (&skeleton->priv->lock); 636s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 636s # } 636s # 636s # static void 636s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 636s # { 636s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 636s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 636s # #else 636s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 636s # #endif 636s # 636s # g_mutex_init (&skeleton->priv->lock); 636s # skeleton->priv->context = g_main_context_ref_thread_default (); 636s # } 636s # 636s # static void 636s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 636s # { 636s # GObjectClass *gobject_class; 636s # GDBusInterfaceSkeletonClass *skeleton_class; 636s # 636s # gobject_class = G_OBJECT_CLASS (klass); 636s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 636s # 636s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 636s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 636s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 636s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 636s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 636s # 636s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 636s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 636s # #endif 636s # } 636s # 636s # static void 636s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 636s # { 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_skeleton_new: 636s # * 636s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 636s # * 636s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 636s # */ 636s # OrgProjectUsefulInterface * 636s # org_project_useful_interface_skeleton_new (void) 636s # { 636s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 636s # } 636s # /tmp/tmp4un2rcj2/tmp2bqe6eg4.xml: 636s # 636s # 636s # 636s # 636s # 636s # 636s # 636s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4un2rcj2/tmp2bqe6eg4.xml', '--output', '-', '--body'] 636s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 636s # Output: /* 636s # * This file is generated by gdbus-codegen, do not modify it. 636s # * 636s # * The license of this code is the same as for the D-Bus interface description 636s # * it was derived from. Note that it links to GLib, so must comply with the 636s # * LGPL linking clauses. 636s # */ 636s # 636s # #ifdef HAVE_CONFIG_H 636s # # include "config.h" 636s # #endif 636s # 636s # #include 636s # #ifdef G_OS_UNIX 636s # # include 636s # #endif 636s # 636s # #ifdef G_ENABLE_DEBUG 636s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 636s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 636s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 636s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 636s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 636s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 636s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 636s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 636s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 636s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 636s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 636s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 636s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 636s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 636s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 636s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 636s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 636s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 636s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 636s # #else /* !G_ENABLE_DEBUG */ 636s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 636s # * Do not access GValues directly in your code. Instead, use the 636s # * g_value_get_*() functions 636s # */ 636s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 636s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 636s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 636s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 636s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 636s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 636s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 636s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 636s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 636s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 636s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 636s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 636s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 636s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 636s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 636s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 636s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 636s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 636s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 636s # #endif /* !G_ENABLE_DEBUG */ 636s # 636s # typedef struct 636s # { 636s # GDBusArgInfo parent_struct; 636s # gboolean use_gvariant; 636s # } _ExtendedGDBusArgInfo; 636s # 636s # typedef struct 636s # { 636s # GDBusMethodInfo parent_struct; 636s # const gchar *signal_name; 636s # gboolean pass_fdlist; 636s # } _ExtendedGDBusMethodInfo; 636s # 636s # typedef struct 636s # { 636s # GDBusSignalInfo parent_struct; 636s # const gchar *signal_name; 636s # } _ExtendedGDBusSignalInfo; 636s # 636s # typedef struct 636s # { 636s # GDBusPropertyInfo parent_struct; 636s # const gchar *hyphen_name; 636s # guint use_gvariant : 1; 636s # guint emits_changed_signal : 1; 636s # } _ExtendedGDBusPropertyInfo; 636s # 636s # typedef struct 636s # { 636s # GDBusInterfaceInfo parent_struct; 636s # const gchar *hyphen_name; 636s # } _ExtendedGDBusInterfaceInfo; 636s # 636s # typedef struct 636s # { 636s # const _ExtendedGDBusPropertyInfo *info; 636s # guint prop_id; 636s # GValue orig_value; /* the value before the change */ 636s # } ChangedProperty; 636s # 636s # static void 636s # _changed_property_free (ChangedProperty *data) 636s # { 636s # g_value_unset (&data->orig_value); 636s # g_free (data); 636s # } 636s # 636s # static gboolean 636s # _g_strv_equal0 (gchar **a, gchar **b) 636s # { 636s # gboolean ret = FALSE; 636s # guint n; 636s # if (a == NULL && b == NULL) 636s # { 636s # ret = TRUE; 636s # goto out; 636s # } 636s # if (a == NULL || b == NULL) 636s # goto out; 636s # if (g_strv_length (a) != g_strv_length (b)) 636s # goto out; 636s # for (n = 0; a[n] != NULL; n++) 636s # if (g_strcmp0 (a[n], b[n]) != 0) 636s # goto out; 636s # ret = TRUE; 636s # out: 636s # return ret; 636s # } 636s # 636s # static gboolean 636s # _g_variant_equal0 (GVariant *a, GVariant *b) 636s # { 636s # gboolean ret = FALSE; 636s # if (a == NULL && b == NULL) 636s # { 636s # ret = TRUE; 636s # goto out; 636s # } 636s # if (a == NULL || b == NULL) 636s # goto out; 636s # ret = g_variant_equal (a, b); 636s # out: 636s # return ret; 636s # } 636s # 636s # G_GNUC_UNUSED static gboolean 636s # _g_value_equal (const GValue *a, const GValue *b) 636s # { 636s # gboolean ret = FALSE; 636s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 636s # switch (G_VALUE_TYPE (a)) 636s # { 636s # case G_TYPE_BOOLEAN: 636s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 636s # break; 636s # case G_TYPE_UCHAR: 636s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 636s # break; 636s # case G_TYPE_INT: 636s # ret = (g_value_get_int (a) == g_value_get_int (b)); 636s # break; 636s # case G_TYPE_UINT: 636s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 636s # break; 636s # case G_TYPE_INT64: 636s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 636s # break; 636s # case G_TYPE_UINT64: 636s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 636s # break; 636s # case G_TYPE_DOUBLE: 636s # { 636s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 636s # gdouble da = g_value_get_double (a); 636s # gdouble db = g_value_get_double (b); 636s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 636s # } 636s # break; 636s # case G_TYPE_STRING: 636s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 636s # break; 636s # case G_TYPE_VARIANT: 636s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 636s # break; 636s # default: 636s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 636s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 636s # else 636s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 636s # break; 636s # } 636s # return ret; 636s # } 636s # 636s # static void 636s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 636s # GClosure *closure, 636s # GValue *return_value, 636s # unsigned int n_param_values, 636s # const GValue *param_values, 636s # void *invocation_hint G_GNUC_UNUSED, 636s # void *marshal_data) 636s # { 636s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 636s # (void *data1, 636s # GDBusMethodInvocation *arg_method_invocation, 636s # const gchar *const *arg_arg_ao, 636s # void *data2); 636s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 636s # GCClosure *cc = (GCClosure*) closure; 636s # void *data1, *data2; 636s # gboolean v_return; 636s # 636s # g_return_if_fail (return_value != NULL); 636s # g_return_if_fail (n_param_values == 3); 636s # 636s # if (G_CCLOSURE_SWAP_DATA (closure)) 636s # { 636s # data1 = closure->data; 636s # data2 = g_value_peek_pointer (param_values + 0); 636s # } 636s # else 636s # { 636s # data1 = g_value_peek_pointer (param_values + 0); 636s # data2 = closure->data; 636s # } 636s # 636s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 636s # (marshal_data ? marshal_data : cc->callback); 636s # 636s # v_return = 636s # callback (data1, 636s # g_marshal_value_peek_object (param_values + 1), 636s # g_marshal_value_peek_boxed (param_values + 2), 636s # data2); 636s # 636s # g_value_set_boolean (return_value, v_return); 636s # } 636s # 636s # /* ------------------------------------------------------------------------ 636s # * Code for interface org.project.UsefulInterface 636s # * ------------------------------------------------------------------------ 636s # */ 636s # 636s # /** 636s # * SECTION:OrgProjectUsefulInterface 636s # * @title: OrgProjectUsefulInterface 636s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 636s # * 636s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 636s # */ 636s # 636s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 636s # 636s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 636s # { 636s # { 636s # -1, 636s # (gchar *) "arg_ao", 636s # (gchar *) "ao", 636s # NULL 636s # }, 636s # FALSE 636s # }; 636s # 636s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 636s # { 636s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 636s # NULL 636s # }; 636s # 636s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 636s # { 636s # { 636s # -1, 636s # (gchar *) "SingleArgMethodAo", 636s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 636s # NULL, 636s # NULL 636s # }, 636s # "handle-single-arg-method-ao", 636s # FALSE 636s # }; 636s # 636s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 636s # { 636s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 636s # NULL 636s # }; 636s # 636s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 636s # { 636s # { 636s # -1, 636s # (gchar *) "org.project.UsefulInterface", 636s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 636s # NULL, 636s # NULL, 636s # NULL 636s # }, 636s # "org-project-useful-interface", 636s # }; 636s # 636s # 636s # /** 636s # * org_project_useful_interface_interface_info: 636s # * 636s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 636s # * 636s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 636s # */ 636s # GDBusInterfaceInfo * 636s # org_project_useful_interface_interface_info (void) 636s # { 636s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_override_properties: 636s # * @klass: The class structure for a #GObject derived class. 636s # * @property_id_begin: The property id to assign to the first overridden property. 636s # * 636s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 636s # * The properties are overridden in the order they are defined. 636s # * 636s # * Returns: The last property id. 636s # */ 636s # guint 636s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 636s # { 636s # return property_id_begin - 1; 636s # } 636s # 636s # 636s # inline static void 636s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 636s # GClosure *closure, 636s # GValue *return_value, 636s # unsigned int n_param_values, 636s # const GValue *param_values, 636s # void *invocation_hint, 636s # void *marshal_data) 636s # { 636s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 636s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 636s # } 636s # 636s # 636s # /** 636s # * OrgProjectUsefulInterface: 636s # * 636s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 636s # */ 636s # 636s # /** 636s # * OrgProjectUsefulInterfaceIface: 636s # * @parent_iface: The parent interface. 636s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 636s # * 636s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 636s # */ 636s # 636s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 636s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 636s # 636s # static void 636s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 636s # { 636s # /* GObject signals for incoming D-Bus method calls: */ 636s # /** 636s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 636s # * @object: A #OrgProjectUsefulInterface. 636s # * @invocation: A #GDBusMethodInvocation. 636s # * @arg_arg_ao: Argument passed by remote caller. 636s # * 636s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 636s # * 636s # * 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. 636s # * 636s # * 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. 636s # */ 636s # g_signal_new ("handle-single-arg-method-ao", 636s # G_TYPE_FROM_INTERFACE (iface), 636s # G_SIGNAL_RUN_LAST, 636s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 636s # g_signal_accumulator_true_handled, 636s # NULL, 636s # org_project_useful_interface_method_marshal_single_arg_method_ao, 636s # G_TYPE_BOOLEAN, 636s # 2, 636s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 636s # 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_call_single_arg_method_ao: 636s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 636s # * @arg_arg_ao: Argument to pass with the method invocation. 636s # * @cancellable: (nullable): A #GCancellable or %NULL. 636s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 636s # * @user_data: User data to pass to @callback. 636s # * 636s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 636s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 636s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 636s # * 636s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 636s # */ 636s # void 636s # org_project_useful_interface_call_single_arg_method_ao ( 636s # OrgProjectUsefulInterface *proxy, 636s # const gchar *const *arg_arg_ao, 636s # GCancellable *cancellable, 636s # GAsyncReadyCallback callback, 636s # gpointer user_data) 636s # { 636s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 636s # "SingleArgMethodAo", 636s # g_variant_new ("(^ao)", 636s # arg_arg_ao), 636s # G_DBUS_CALL_FLAGS_NONE, 636s # -1, 636s # cancellable, 636s # callback, 636s # user_data); 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_call_single_arg_method_ao_finish: 636s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 636s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 636s # * @error: Return location for error or %NULL. 636s # * 636s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 636s # * 636s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 636s # */ 636s # gboolean 636s # org_project_useful_interface_call_single_arg_method_ao_finish ( 636s # OrgProjectUsefulInterface *proxy, 636s # GAsyncResult *res, 636s # GError **error) 636s # { 636s # GVariant *_ret; 636s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 636s # if (_ret == NULL) 636s # goto _out; 636s # g_variant_get (_ret, 636s # "()"); 636s # g_variant_unref (_ret); 636s # _out: 636s # return _ret != NULL; 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_call_single_arg_method_ao_sync: 636s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 636s # * @arg_arg_ao: Argument to pass with the method invocation. 636s # * @cancellable: (nullable): A #GCancellable or %NULL. 636s # * @error: Return location for error or %NULL. 636s # * 636s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 636s # * 636s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 636s # * 636s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 636s # */ 636s # gboolean 636s # org_project_useful_interface_call_single_arg_method_ao_sync ( 636s # OrgProjectUsefulInterface *proxy, 636s # const gchar *const *arg_arg_ao, 636s # GCancellable *cancellable, 636s # GError **error) 636s # { 636s # GVariant *_ret; 636s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 636s # "SingleArgMethodAo", 636s # g_variant_new ("(^ao)", 636s # arg_arg_ao), 636s # G_DBUS_CALL_FLAGS_NONE, 636s # -1, 636s # cancellable, 636s # error); 636s # if (_ret == NULL) 636s # goto _out; 636s # g_variant_get (_ret, 636s # "()"); 636s # g_variant_unref (_ret); 636s # _out: 636s # return _ret != NULL; 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_complete_single_arg_method_ao: 636s # * @object: A #OrgProjectUsefulInterface. 636s # * @invocation: (transfer full): A #GDBusMethodInvocation. 636s # * 636s # * 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. 636s # * 636s # * This method will free @invocation, you cannot use it afterwards. 636s # */ 636s # void 636s # org_project_useful_interface_complete_single_arg_method_ao ( 636s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 636s # GDBusMethodInvocation *invocation) 636s # { 636s # g_dbus_method_invocation_return_value (invocation, 636s # g_variant_new ("()")); 636s # } 636s # 636s # /* ------------------------------------------------------------------------ */ 636s # 636s # /** 636s # * OrgProjectUsefulInterfaceProxy: 636s # * 636s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 636s # */ 636s # 636s # /** 636s # * OrgProjectUsefulInterfaceProxyClass: 636s # * @parent_class: The parent class. 636s # * 636s # * Class structure for #OrgProjectUsefulInterfaceProxy. 636s # */ 636s # 636s # struct _OrgProjectUsefulInterfaceProxyPrivate 636s # { 636s # GData *qdata; 636s # }; 636s # 636s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 636s # 636s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 636s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 636s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 636s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 636s # 636s # #else 636s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 636s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 636s # 636s # #endif 636s # static void 636s # org_project_useful_interface_proxy_finalize (GObject *object) 636s # { 636s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 636s # g_datalist_clear (&proxy->priv->qdata); 636s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 636s # } 636s # 636s # static void 636s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 636s # guint prop_id G_GNUC_UNUSED, 636s # GValue *value G_GNUC_UNUSED, 636s # GParamSpec *pspec G_GNUC_UNUSED) 636s # { 636s # } 636s # 636s # static void 636s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 636s # guint prop_id G_GNUC_UNUSED, 636s # const GValue *value G_GNUC_UNUSED, 636s # GParamSpec *pspec G_GNUC_UNUSED) 636s # { 636s # } 636s # 636s # static void 636s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 636s # const gchar *sender_name G_GNUC_UNUSED, 636s # const gchar *signal_name, 636s # GVariant *parameters) 636s # { 636s # _ExtendedGDBusSignalInfo *info; 636s # GVariantIter iter; 636s # GVariant *child; 636s # GValue *paramv; 636s # gsize num_params; 636s # gsize n; 636s # guint signal_id; 636s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 636s # if (info == NULL) 636s # return; 636s # num_params = g_variant_n_children (parameters); 636s # paramv = g_new0 (GValue, num_params + 1); 636s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 636s # g_value_set_object (¶mv[0], proxy); 636s # g_variant_iter_init (&iter, parameters); 636s # n = 1; 636s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 636s # { 636s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 636s # if (arg_info->use_gvariant) 636s # { 636s # g_value_init (¶mv[n], G_TYPE_VARIANT); 636s # g_value_set_variant (¶mv[n], child); 636s # n++; 636s # } 636s # else 636s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 636s # g_variant_unref (child); 636s # } 636s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 636s # g_signal_emitv (paramv, signal_id, 0, NULL); 636s # for (n = 0; n < num_params + 1; n++) 636s # g_value_unset (¶mv[n]); 636s # g_free (paramv); 636s # } 636s # 636s # static void 636s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 636s # GVariant *changed_properties, 636s # const gchar *const *invalidated_properties) 636s # { 636s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 636s # guint n; 636s # const gchar *key; 636s # GVariantIter *iter; 636s # _ExtendedGDBusPropertyInfo *info; 636s # g_variant_get (changed_properties, "a{sv}", &iter); 636s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 636s # { 636s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 636s # g_datalist_remove_data (&proxy->priv->qdata, key); 636s # if (info != NULL) 636s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 636s # } 636s # g_variant_iter_free (iter); 636s # for (n = 0; invalidated_properties[n] != NULL; n++) 636s # { 636s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 636s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 636s # if (info != NULL) 636s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 636s # } 636s # } 636s # 636s # static void 636s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 636s # { 636s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 636s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 636s # #else 636s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 636s # #endif 636s # 636s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 636s # } 636s # 636s # static void 636s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 636s # { 636s # GObjectClass *gobject_class; 636s # GDBusProxyClass *proxy_class; 636s # 636s # gobject_class = G_OBJECT_CLASS (klass); 636s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 636s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 636s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 636s # 636s # proxy_class = G_DBUS_PROXY_CLASS (klass); 636s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 636s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 636s # 636s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 636s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 636s # #endif 636s # } 636s # 636s # static void 636s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 636s # { 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_proxy_new: 636s # * @connection: A #GDBusConnection. 636s # * @flags: Flags from the #GDBusProxyFlags enumeration. 636s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 636s # * @object_path: An object path. 636s # * @cancellable: (nullable): A #GCancellable or %NULL. 636s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 636s # * @user_data: User data to pass to @callback. 636s # * 636s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 636s # * 636s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 636s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 636s # * 636s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 636s # */ 636s # void 636s # org_project_useful_interface_proxy_new ( 636s # GDBusConnection *connection, 636s # GDBusProxyFlags flags, 636s # const gchar *name, 636s # const gchar *object_path, 636s # GCancellable *cancellable, 636s # GAsyncReadyCallback callback, 636s # gpointer user_data) 636s # { 636s # g_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); 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_proxy_new_finish: 636s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 636s # * @error: Return location for error or %NULL 636s # * 636s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 636s # * 636s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 636s # */ 636s # OrgProjectUsefulInterface * 636s # org_project_useful_interface_proxy_new_finish ( 636s # GAsyncResult *res, 636s # GError **error) 636s # { 636s # GObject *ret; 636s # GObject *source_object; 636s # source_object = g_async_result_get_source_object (res); 636s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 636s # g_object_unref (source_object); 636s # if (ret != NULL) 636s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 636s # else 636s # return NULL; 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_proxy_new_sync: 636s # * @connection: A #GDBusConnection. 636s # * @flags: Flags from the #GDBusProxyFlags enumeration. 636s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 636s # * @object_path: An object path. 636s # * @cancellable: (nullable): A #GCancellable or %NULL. 636s # * @error: Return location for error or %NULL 636s # * 636s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 636s # * 636s # * The calling thread is blocked until a reply is received. 636s # * 636s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 636s # * 636s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 636s # */ 636s # OrgProjectUsefulInterface * 636s # org_project_useful_interface_proxy_new_sync ( 636s # GDBusConnection *connection, 636s # GDBusProxyFlags flags, 636s # const gchar *name, 636s # const gchar *object_path, 636s # GCancellable *cancellable, 636s # GError **error) 636s # { 636s # GInitable *ret; 636s # 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); 636s # if (ret != NULL) 636s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 636s # else 636s # return NULL; 636s # } 636s # 636s # 636s # /** 636s # * org_project_useful_interface_proxy_new_for_bus: 636s # * @bus_type: A #GBusType. 636s # * @flags: Flags from the #GDBusProxyFlags enumeration. 636s # * @name: A bus name (well-known or unique). 636s # * @object_path: An object path. 636s # * @cancellable: (nullable): A #GCancellable or %NULL. 636s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 636s # * @user_data: User data to pass to @callback. 636s # * 636s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 636s # * 636s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 636s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 636s # * 636s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 636s # */ 636s # void 636s # org_project_useful_interface_proxy_new_for_bus ( 636s # GBusType bus_type, 636s # GDBusProxyFlags flags, 636s # const gchar *name, 636s # const gchar *object_path, 636s # GCancellable *cancellable, 636s # GAsyncReadyCallback callback, 636s # gpointer user_data) 636s # { 636s # g_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); 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_proxy_new_for_bus_finish: 636s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 636s # * @error: Return location for error or %NULL 636s # * 636s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 636s # * 636s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 636s # */ 636s # OrgProjectUsefulInterface * 636s # org_project_useful_interface_proxy_new_for_bus_finish ( 636s # GAsyncResult *res, 636s # GError **error) 636s # { 636s # GObject *ret; 636s # GObject *source_object; 636s # source_object = g_async_result_get_source_object (res); 636s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 636s # g_object_unref (source_object); 636s # if (ret != NULL) 636s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 636s # else 636s # return NULL; 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_proxy_new_for_bus_sync: 636s # * @bus_type: A #GBusType. 636s # * @flags: Flags from the #GDBusProxyFlags enumeration. 636s # * @name: A bus name (well-known or unique). 636s # * @object_path: An object path. 636s # * @cancellable: (nullable): A #GCancellable or %NULL. 636s # * @error: Return location for error or %NULL 636s # * 636s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 636s # * 636s # * The calling thread is blocked until a reply is received. 636s # * 636s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 636s # * 636s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 636s # */ 636s # OrgProjectUsefulInterface * 636s # org_project_useful_interface_proxy_new_for_bus_sync ( 636s # GBusType bus_type, 636s # GDBusProxyFlags flags, 636s # const gchar *name, 636s # const gchar *object_path, 636s # GCancellable *cancellable, 636s # GError **error) 636s # { 636s # GInitable *ret; 636s # 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); 636s # if (ret != NULL) 636s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 636s # else 636s # return NULL; 636s # } 636s # 636s # 636s # /* ------------------------------------------------------------------------ */ 636s # 636s # /** 636s # * OrgProjectUsefulInterfaceSkeleton: 636s # * 636s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 636s # */ 636s # 636s # /** 636s # * OrgProjectUsefulInterfaceSkeletonClass: 636s # * @parent_class: The parent class. 636s # * 636s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 636s # */ 636s # 636s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 636s # { 636s # GValue *properties; 636s # GList *changed_properties; 636s # GSource *changed_properties_idle_source; 636s # GMainContext *context; 636s # GMutex lock; 636s # }; 636s # 636s # static void 636s # _org_project_useful_interface_skeleton_handle_method_call ( 636s # GDBusConnection *connection G_GNUC_UNUSED, 636s # const gchar *sender G_GNUC_UNUSED, 636s # const gchar *object_path G_GNUC_UNUSED, 636s # const gchar *interface_name, 636s # const gchar *method_name, 636s # GVariant *parameters, 636s # GDBusMethodInvocation *invocation, 636s # gpointer user_data) 636s # { 636s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 636s # _ExtendedGDBusMethodInfo *info; 636s # GVariantIter iter; 636s # GVariant *child; 636s # GValue *paramv; 636s # gsize num_params; 636s # guint num_extra; 636s # gsize n; 636s # guint signal_id; 636s # GValue return_value = G_VALUE_INIT; 636s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 636s # g_assert (info != NULL); 636s # num_params = g_variant_n_children (parameters); 636s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 636s # n = 0; 636s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 636s # g_value_set_object (¶mv[n++], skeleton); 636s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 636s # g_value_set_object (¶mv[n++], invocation); 636s # if (info->pass_fdlist) 636s # { 636s # #ifdef G_OS_UNIX 636s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 636s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 636s # #else 636s # g_assert_not_reached (); 636s # #endif 636s # } 636s # g_variant_iter_init (&iter, parameters); 636s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 636s # { 636s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 636s # if (arg_info->use_gvariant) 636s # { 636s # g_value_init (¶mv[n], G_TYPE_VARIANT); 636s # g_value_set_variant (¶mv[n], child); 636s # n++; 636s # } 636s # else 636s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 636s # g_variant_unref (child); 636s # } 636s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 636s # g_value_init (&return_value, G_TYPE_BOOLEAN); 636s # g_signal_emitv (paramv, signal_id, 0, &return_value); 636s # if (!g_value_get_boolean (&return_value)) 636s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 636s # g_value_unset (&return_value); 636s # for (n = 0; n < num_params + num_extra; n++) 636s # g_value_unset (¶mv[n]); 636s # g_free (paramv); 636s # } 636s # 636s # static GVariant * 636s # _org_project_useful_interface_skeleton_handle_get_property ( 636s # GDBusConnection *connection G_GNUC_UNUSED, 636s # const gchar *sender G_GNUC_UNUSED, 636s # const gchar *object_path G_GNUC_UNUSED, 636s # const gchar *interface_name G_GNUC_UNUSED, 636s # const gchar *property_name, 636s # GError **error, 636s # gpointer user_data) 636s # { 636s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 636s # GValue value = G_VALUE_INIT; 636s # GParamSpec *pspec; 636s # _ExtendedGDBusPropertyInfo *info; 636s # GVariant *ret; 636s # ret = NULL; 636s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 636s # g_assert (info != NULL); 636s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 636s # if (pspec == NULL) 636s # { 636s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 636s # } 636s # else 636s # { 636s # g_value_init (&value, pspec->value_type); 636s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 636s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 636s # g_value_unset (&value); 636s # } 636s # return ret; 636s # } 636s # 636s # static gboolean 636s # _org_project_useful_interface_skeleton_handle_set_property ( 636s # GDBusConnection *connection G_GNUC_UNUSED, 636s # const gchar *sender G_GNUC_UNUSED, 636s # const gchar *object_path G_GNUC_UNUSED, 636s # const gchar *interface_name G_GNUC_UNUSED, 636s # const gchar *property_name, 636s # GVariant *variant, 636s # GError **error, 636s # gpointer user_data) 636s # { 636s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 636s # GValue value = G_VALUE_INIT; 636s # GParamSpec *pspec; 636s # _ExtendedGDBusPropertyInfo *info; 636s # gboolean ret; 636s # ret = FALSE; 636s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 636s # g_assert (info != NULL); 636s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 636s # if (pspec == NULL) 636s # { 636s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 636s # } 636s # else 636s # { 636s # if (info->use_gvariant) 636s # g_value_set_variant (&value, variant); 636s # else 636s # g_dbus_gvariant_to_gvalue (variant, &value); 636s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 636s # g_value_unset (&value); 636s # ret = TRUE; 636s # } 636s # return ret; 636s # } 636s # 636s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 636s # { 636s # _org_project_useful_interface_skeleton_handle_method_call, 636s # _org_project_useful_interface_skeleton_handle_get_property, 636s # _org_project_useful_interface_skeleton_handle_set_property, 636s # {NULL} 636s # }; 636s # 636s # static GDBusInterfaceInfo * 636s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 636s # { 636s # return org_project_useful_interface_interface_info (); 636s # } 636s # 636s # static GDBusInterfaceVTable * 636s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 636s # { 636s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 636s # } 636s # 636s # static GVariant * 636s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 636s # { 636s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 636s # 636s # GVariantBuilder builder; 636s # guint n; 636s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 636s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 636s # goto out; 636s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 636s # { 636s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 636s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 636s # { 636s # GVariant *value; 636s # 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); 636s # if (value != NULL) 636s # { 636s # g_variant_take_ref (value); 636s # g_variant_builder_add (&builder, "{sv}", info->name, value); 636s # g_variant_unref (value); 636s # } 636s # } 636s # } 636s # out: 636s # return g_variant_builder_end (&builder); 636s # } 636s # 636s # static void 636s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 636s # { 636s # } 636s # 636s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 636s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 636s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 636s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 636s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 636s # 636s # #else 636s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 636s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 636s # 636s # #endif 636s # static void 636s # org_project_useful_interface_skeleton_finalize (GObject *object) 636s # { 636s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 636s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 636s # if (skeleton->priv->changed_properties_idle_source != NULL) 636s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 636s # g_main_context_unref (skeleton->priv->context); 636s # g_mutex_clear (&skeleton->priv->lock); 636s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 636s # } 636s # 636s # static void 636s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 636s # { 636s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 636s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 636s # #else 636s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 636s # #endif 636s # 636s # g_mutex_init (&skeleton->priv->lock); 636s # skeleton->priv->context = g_main_context_ref_thread_default (); 636s # } 636s # 636s # static void 636s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 636s # { 636s # GObjectClass *gobject_class; 636s # GDBusInterfaceSkeletonClass *skeleton_class; 636s # 636s # gobject_class = G_OBJECT_CLASS (klass); 636s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 636s # 636s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 636s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 636s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 636s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 636s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 636s # 636s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 636s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 636s # #endif 636s # } 636s # 636s # static void 636s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 636s # { 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_skeleton_new: 636s # * 636s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 636s # * 636s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 636s # */ 636s # OrgProjectUsefulInterface * 636s # org_project_useful_interface_skeleton_new (void) 636s # { 636s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 636s # } 636s # /tmp/tmp4un2rcj2/tmpopuv8smk.xml: 636s # 636s # 636s # 636s # 636s # 636s # 636s # 636s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4un2rcj2/tmpopuv8smk.xml', '--output', '-', '--body'] 636s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 636s # Output: /* 636s # * This file is generated by gdbus-codegen, do not modify it. 636s # * 636s # * The license of this code is the same as for the D-Bus interface description 636s # * it was derived from. Note that it links to GLib, so must comply with the 636s # * LGPL linking clauses. 636s # */ 636s # 636s # #ifdef HAVE_CONFIG_H 636s # # include "config.h" 636s # #endif 636s # 636s # #include 636s # #ifdef G_OS_UNIX 636s # # include 636s # #endif 636s # 636s # #ifdef G_ENABLE_DEBUG 636s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 636s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 636s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 636s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 636s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 636s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 636s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 636s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 636s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 636s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 636s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 636s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 636s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 636s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 636s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 636s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 636s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 636s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 636s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 636s # #else /* !G_ENABLE_DEBUG */ 636s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 636s # * Do not access GValues directly in your code. Instead, use the 636s # * g_value_get_*() functions 636s # */ 636s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 636s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 636s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 636s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 636s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 636s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 636s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 636s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 636s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 636s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 636s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 636s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 636s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 636s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 636s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 636s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 636s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 636s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 636s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 636s # #endif /* !G_ENABLE_DEBUG */ 636s # 636s # typedef struct 636s # { 636s # GDBusArgInfo parent_struct; 636s # gboolean use_gvariant; 636s # } _ExtendedGDBusArgInfo; 636s # 636s # typedef struct 636s # { 636s # GDBusMethodInfo parent_struct; 636s # const gchar *signal_name; 636s # gboolean pass_fdlist; 636s # } _ExtendedGDBusMethodInfo; 636s # 636s # typedef struct 636s # { 636s # GDBusSignalInfo parent_struct; 636s # const gchar *signal_name; 636s # } _ExtendedGDBusSignalInfo; 636s # 636s # typedef struct 636s # { 636s # GDBusPropertyInfo parent_struct; 636s # const gchar *hyphen_name; 636s # guint use_gvariant : 1; 636s # guint emits_changed_signal : 1; 636s # } _ExtendedGDBusPropertyInfo; 636s # 636s # typedef struct 636s # { 636s # GDBusInterfaceInfo parent_struct; 636s # const gchar *hyphen_name; 636s # } _ExtendedGDBusInterfaceInfo; 636s # 636s # typedef struct 636s # { 636s # const _ExtendedGDBusPropertyInfo *info; 636s # guint prop_id; 636s # GValue orig_value; /* the value before the change */ 636s # } ChangedProperty; 636s # 636s # static void 636s # _changed_property_free (ChangedProperty *data) 636s # { 636s # g_value_unset (&data->orig_value); 636s # g_free (data); 636s # } 636s # 636s # static gboolean 636s # _g_strv_equal0 (gchar **a, gchar **b) 636s # { 636s # gboolean ret = FALSE; 636s # guint n; 636s # if (a == NULL && b == NULL) 636s # { 636s # ret = TRUE; 636s # goto out; 636s # } 636s # if (a == NULL || b == NULL) 636s # goto out; 636s # if (g_strv_length (a) != g_strv_length (b)) 636s # goto out; 636s # for (n = 0; a[n] != NULL; n++) 636s # if (g_strcmp0 (a[n], b[n]) != 0) 636s # goto out; 636s # ret = TRUE; 636s # out: 636s # return ret; 636s # } 636s # 636s # static gboolean 636s # _g_variant_equal0 (GVariant *a, GVariant *b) 636s # { 636s # gboolean ret = FALSE; 636s # if (a == NULL && b == NULL) 636s # { 636s # ret = TRUE; 636s # goto out; 636s # } 636s # if (a == NULL || b == NULL) 636s # goto out; 636s # ret = g_variant_equal (a, b); 636s # out: 636s # return ret; 636s # } 636s # 636s # G_GNUC_UNUSED static gboolean 636s # _g_value_equal (const GValue *a, const GValue *b) 636s # { 636s # gboolean ret = FALSE; 636s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 636s # switch (G_VALUE_TYPE (a)) 636s # { 636s # case G_TYPE_BOOLEAN: 636s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 636s # break; 636s # case G_TYPE_UCHAR: 636s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 636s # break; 636s # case G_TYPE_INT: 636s # ret = (g_value_get_int (a) == g_value_get_int (b)); 636s # break; 636s # case G_TYPE_UINT: 636s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 636s # break; 636s # case G_TYPE_INT64: 636s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 636s # break; 636s # case G_TYPE_UINT64: 636s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 636s # break; 636s # case G_TYPE_DOUBLE: 636s # { 636s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 636s # gdouble da = g_value_get_double (a); 636s # gdouble db = g_value_get_double (b); 636s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 636s # } 636s # break; 636s # case G_TYPE_STRING: 636s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 636s # break; 636s # case G_TYPE_VARIANT: 636s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 636s # break; 636s # default: 636s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 636s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 636s # else 636s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 636s # break; 636s # } 636s # return ret; 636s # } 636s # 636s # static void 636s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 636s # GClosure *closure, 636s # GValue *return_value, 636s # unsigned int n_param_values, 636s # const GValue *param_values, 636s # void *invocation_hint G_GNUC_UNUSED, 636s # void *marshal_data) 636s # { 636s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 636s # (void *data1, 636s # GDBusMethodInvocation *arg_method_invocation, 636s # const gchar *const *arg_arg_aay, 636s # void *data2); 636s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 636s # GCClosure *cc = (GCClosure*) closure; 636s # void *data1, *data2; 636s # gboolean v_return; 636s # 636s # g_return_if_fail (return_value != NULL); 636s # g_return_if_fail (n_param_values == 3); 636s # 636s # if (G_CCLOSURE_SWAP_DATA (closure)) 636s # { 636s # data1 = closure->data; 636s # data2 = g_value_peek_pointer (param_values + 0); 636s # } 636s # else 636s # { 636s # data1 = g_value_peek_pointer (param_values + 0); 636s # data2 = closure->data; 636s # } 636s # 636s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 636s # (marshal_data ? marshal_data : cc->callback); 636s # 636s # v_return = 636s # callback (data1, 636s # g_marshal_value_peek_object (param_values + 1), 636s # g_marshal_value_peek_boxed (param_values + 2), 636s # data2); 636s # 636s # g_value_set_boolean (return_value, v_return); 636s # } 636s # 636s # /* ------------------------------------------------------------------------ 636s # * Code for interface org.project.UsefulInterface 636s # * ------------------------------------------------------------------------ 636s # */ 636s # 636s # /** 636s # * SECTION:OrgProjectUsefulInterface 636s # * @title: OrgProjectUsefulInterface 636s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 636s # * 636s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 636s # */ 636s # 636s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 636s # 636s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 636s # { 636s # { 636s # -1, 636s # (gchar *) "arg_aay", 636s # (gchar *) "aay", 636s # NULL 636s # }, 636s # FALSE 636s # }; 636s # 636s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 636s # { 636s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 636s # NULL 636s # }; 636s # 636s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 636s # { 636s # { 636s # -1, 636s # (gchar *) "SingleArgMethodAay", 636s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 636s # NULL, 636s # NULL 636s # }, 636s # "handle-single-arg-method-aay", 636s # FALSE 636s # }; 636s # 636s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 636s # { 636s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 636s # NULL 636s # }; 636s # 636s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 636s # { 636s # { 636s # -1, 636s # (gchar *) "org.project.UsefulInterface", 636s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 636s # NULL, 636s # NULL, 636s # NULL 636s # }, 636s # "org-project-useful-interface", 636s # }; 636s # 636s # 636s # /** 636s # * org_project_useful_interface_interface_info: 636s # * 636s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 636s # * 636s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 636s # */ 636s # GDBusInterfaceInfo * 636s # org_project_useful_interface_interface_info (void) 636s # { 636s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_override_properties: 636s # * @klass: The class structure for a #GObject derived class. 636s # * @property_id_begin: The property id to assign to the first overridden property. 636s # * 636s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 636s # * The properties are overridden in the order they are defined. 636s # * 636s # * Returns: The last property id. 636s # */ 636s # guint 636s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 636s # { 636s # return property_id_begin - 1; 636s # } 636s # 636s # 636s # inline static void 636s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 636s # GClosure *closure, 636s # GValue *return_value, 636s # unsigned int n_param_values, 636s # const GValue *param_values, 636s # void *invocation_hint, 636s # void *marshal_data) 636s # { 636s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 636s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 636s # } 636s # 636s # 636s # /** 636s # * OrgProjectUsefulInterface: 636s # * 636s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 636s # */ 636s # 636s # /** 636s # * OrgProjectUsefulInterfaceIface: 636s # * @parent_iface: The parent interface. 636s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 636s # * 636s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 636s # */ 636s # 636s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 636s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 636s # 636s # static void 636s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 636s # { 636s # /* GObject signals for incoming D-Bus method calls: */ 636s # /** 636s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 636s # * @object: A #OrgProjectUsefulInterface. 636s # * @invocation: A #GDBusMethodInvocation. 636s # * @arg_arg_aay: Argument passed by remote caller. 636s # * 636s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 636s # * 636s # * 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. 636s # * 636s # * 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. 636s # */ 636s # g_signal_new ("handle-single-arg-method-aay", 636s # G_TYPE_FROM_INTERFACE (iface), 636s # G_SIGNAL_RUN_LAST, 636s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 636s # g_signal_accumulator_true_handled, 636s # NULL, 636s # org_project_useful_interface_method_marshal_single_arg_method_aay, 636s # G_TYPE_BOOLEAN, 636s # 2, 636s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 636s # 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_call_single_arg_method_aay: 636s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 636s # * @arg_arg_aay: Argument to pass with the method invocation. 636s # * @cancellable: (nullable): A #GCancellable or %NULL. 636s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 636s # * @user_data: User data to pass to @callback. 636s # * 636s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 636s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 636s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 636s # * 636s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 636s # */ 636s # void 636s # org_project_useful_interface_call_single_arg_method_aay ( 636s # OrgProjectUsefulInterface *proxy, 636s # const gchar *const *arg_arg_aay, 636s # GCancellable *cancellable, 636s # GAsyncReadyCallback callback, 636s # gpointer user_data) 636s # { 636s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 636s # "SingleArgMethodAay", 636s # g_variant_new ("(^aay)", 636s # arg_arg_aay), 636s # G_DBUS_CALL_FLAGS_NONE, 636s # -1, 636s # cancellable, 636s # callback, 636s # user_data); 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_call_single_arg_method_aay_finish: 636s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 636s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 636s # * @error: Return location for error or %NULL. 636s # * 636s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 636s # * 636s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 636s # */ 636s # gboolean 636s # org_project_useful_interface_call_single_arg_method_aay_finish ( 636s # OrgProjectUsefulInterface *proxy, 636s # GAsyncResult *res, 636s # GError **error) 636s # { 636s # GVariant *_ret; 636s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 636s # if (_ret == NULL) 636s # goto _out; 636s # g_variant_get (_ret, 636s # "()"); 636s # g_variant_unref (_ret); 636s # _out: 636s # return _ret != NULL; 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_call_single_arg_method_aay_sync: 636s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 636s # * @arg_arg_aay: Argument to pass with the method invocation. 636s # * @cancellable: (nullable): A #GCancellable or %NULL. 636s # * @error: Return location for error or %NULL. 636s # * 636s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 636s # * 636s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 636s # * 636s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 636s # */ 636s # gboolean 636s # org_project_useful_interface_call_single_arg_method_aay_sync ( 636s # OrgProjectUsefulInterface *proxy, 636s # const gchar *const *arg_arg_aay, 636s # GCancellable *cancellable, 636s # GError **error) 636s # { 636s # GVariant *_ret; 636s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 636s # "SingleArgMethodAay", 636s # g_variant_new ("(^aay)", 636s # arg_arg_aay), 636s # G_DBUS_CALL_FLAGS_NONE, 636s # -1, 636s # cancellable, 636s # error); 636s # if (_ret == NULL) 636s # goto _out; 636s # g_variant_get (_ret, 636s # "()"); 636s # g_variant_unref (_ret); 636s # _out: 636s # return _ret != NULL; 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_complete_single_arg_method_aay: 636s # * @object: A #OrgProjectUsefulInterface. 636s # * @invocation: (transfer full): A #GDBusMethodInvocation. 636s # * 636s # * 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. 636s # * 636s # * This method will free @invocation, you cannot use it afterwards. 636s # */ 636s # void 636s # org_project_useful_interface_complete_single_arg_method_aay ( 636s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 636s # GDBusMethodInvocation *invocation) 636s # { 636s # g_dbus_method_invocation_return_value (invocation, 636s # g_variant_new ("()")); 636s # } 636s # 636s # /* ------------------------------------------------------------------------ */ 636s # 636s # /** 636s # * OrgProjectUsefulInterfaceProxy: 636s # * 636s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 636s # */ 636s # 636s # /** 636s # * OrgProjectUsefulInterfaceProxyClass: 636s # * @parent_class: The parent class. 636s # * 636s # * Class structure for #OrgProjectUsefulInterfaceProxy. 636s # */ 636s # 636s # struct _OrgProjectUsefulInterfaceProxyPrivate 636s # { 636s # GData *qdata; 636s # }; 636s # 636s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 636s # 636s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 636s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 636s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 636s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 636s # 636s # #else 636s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 636s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 636s # 636s # #endif 636s # static void 636s # org_project_useful_interface_proxy_finalize (GObject *object) 636s # { 636s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 636s # g_datalist_clear (&proxy->priv->qdata); 636s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 636s # } 636s # 636s # static void 636s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 636s # guint prop_id G_GNUC_UNUSED, 636s # GValue *value G_GNUC_UNUSED, 636s # GParamSpec *pspec G_GNUC_UNUSED) 636s # { 636s # } 636s # 636s # static void 636s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 636s # guint prop_id G_GNUC_UNUSED, 636s # const GValue *value G_GNUC_UNUSED, 636s # GParamSpec *pspec G_GNUC_UNUSED) 636s # { 636s # } 636s # 636s # static void 636s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 636s # const gchar *sender_name G_GNUC_UNUSED, 636s # const gchar *signal_name, 636s # GVariant *parameters) 636s # { 636s # _ExtendedGDBusSignalInfo *info; 636s # GVariantIter iter; 636s # GVariant *child; 636s # GValue *paramv; 636s # gsize num_params; 636s # gsize n; 636s # guint signal_id; 636s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 636s # if (info == NULL) 636s # return; 636s # num_params = g_variant_n_children (parameters); 636s # paramv = g_new0 (GValue, num_params + 1); 636s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 636s # g_value_set_object (¶mv[0], proxy); 636s # g_variant_iter_init (&iter, parameters); 636s # n = 1; 636s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 636s # { 636s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 636s # if (arg_info->use_gvariant) 636s # { 636s # g_value_init (¶mv[n], G_TYPE_VARIANT); 636s # g_value_set_variant (¶mv[n], child); 636s # n++; 636s # } 636s # else 636s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 636s # g_variant_unref (child); 636s # } 636s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 636s # g_signal_emitv (paramv, signal_id, 0, NULL); 636s # for (n = 0; n < num_params + 1; n++) 636s # g_value_unset (¶mv[n]); 636s # g_free (paramv); 636s # } 636s # 636s # static void 636s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 636s # GVariant *changed_properties, 636s # const gchar *const *invalidated_properties) 636s # { 636s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 636s # guint n; 636s # const gchar *key; 636s # GVariantIter *iter; 636s # _ExtendedGDBusPropertyInfo *info; 636s # g_variant_get (changed_properties, "a{sv}", &iter); 636s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 636s # { 636s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 636s # g_datalist_remove_data (&proxy->priv->qdata, key); 636s # if (info != NULL) 636s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 636s # } 636s # g_variant_iter_free (iter); 636s # for (n = 0; invalidated_properties[n] != NULL; n++) 636s # { 636s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 636s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 636s # if (info != NULL) 636s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 636s # } 636s # } 636s # 636s # static void 636s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 636s # { 636s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 636s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 636s # #else 636s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 636s # #endif 636s # 636s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 636s # } 636s # 636s # static void 636s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 636s # { 636s # GObjectClass *gobject_class; 636s # GDBusProxyClass *proxy_class; 636s # 636s # gobject_class = G_OBJECT_CLASS (klass); 636s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 636s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 636s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 636s # 636s # proxy_class = G_DBUS_PROXY_CLASS (klass); 636s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 636s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 636s # 636s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 636s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 636s # #endif 636s # } 636s # 636s # static void 636s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 636s # { 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_proxy_new: 636s # * @connection: A #GDBusConnection. 636s # * @flags: Flags from the #GDBusProxyFlags enumeration. 636s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 636s # * @object_path: An object path. 636s # * @cancellable: (nullable): A #GCancellable or %NULL. 636s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 636s # * @user_data: User data to pass to @callback. 636s # * 636s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 636s # * 636s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 636s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 636s # * 636s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 636s # */ 636s # void 636s # org_project_useful_interface_proxy_new ( 636s # GDBusConnection *connection, 636s # GDBusProxyFlags flags, 636s # const gchar *name, 636s # const gchar *object_path, 636s # GCancellable *cancellable, 636s # GAsyncReadyCallback callback, 636s # gpointer user_data) 636s # { 636s # g_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); 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_proxy_new_finish: 636s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 636s # * @error: Return location for error or %NULL 636s # * 636s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 636s # * 636s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 636s # */ 636s # OrgProjectUsefulInterface * 636s # org_project_useful_interface_proxy_new_finish ( 636s # GAsyncResult *res, 636s # GError **error) 636s # { 636s # GObject *ret; 636s # GObject *source_object; 636s # source_object = g_async_result_get_source_object (res); 636s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 636s # g_object_unref (source_object); 636s # if (ret != NULL) 636s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 636s # else 636s # return NULL; 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_proxy_new_sync: 636s # * @connection: A #GDBusConnection. 636s # * @flags: Flags from the #GDBusProxyFlags enumeration. 636s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 636s # * @object_path: An object path. 636s # * @cancellable: (nullable): A #GCancellable or %NULL. 636s # * @error: Return location for error or %NULL 636s # * 636s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 636s # * 636s # * The calling thread is blocked until a reply is received. 636s # * 636s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 636s # * 636s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 636s # */ 636s # OrgProjectUsefulInterface * 636s # org_project_useful_interface_proxy_new_sync ( 636s # GDBusConnection *connection, 636s # GDBusProxyFlags flags, 636s # const gchar *name, 636s # const gchar *object_path, 636s # GCancellable *cancellable, 636s # GError **error) 636s # { 636s # GInitable *ret; 636s # 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); 636s # if (ret != NULL) 636s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 636s # else 636s # return NULL; 636s # } 636s # 636s # 636s # /** 636s # * org_project_useful_interface_proxy_new_for_bus: 636s # * @bus_type: A #GBusType. 636s # * @flags: Flags from the #GDBusProxyFlags enumeration. 636s # * @name: A bus name (well-known or unique). 636s # * @object_path: An object path. 636s # * @cancellable: (nullable): A #GCancellable or %NULL. 636s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 636s # * @user_data: User data to pass to @callback. 636s # * 636s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 636s # * 636s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 636s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 636s # * 636s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 636s # */ 636s # void 636s # org_project_useful_interface_proxy_new_for_bus ( 636s # GBusType bus_type, 636s # GDBusProxyFlags flags, 636s # const gchar *name, 636s # const gchar *object_path, 636s # GCancellable *cancellable, 636s # GAsyncReadyCallback callback, 636s # gpointer user_data) 636s # { 636s # g_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); 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_proxy_new_for_bus_finish: 636s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 636s # * @error: Return location for error or %NULL 636s # * 636s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 636s # * 636s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 636s # */ 636s # OrgProjectUsefulInterface * 636s # org_project_useful_interface_proxy_new_for_bus_finish ( 636s # GAsyncResult *res, 636s # GError **error) 636s # { 636s # GObject *ret; 636s # GObject *source_object; 636s # source_object = g_async_result_get_source_object (res); 636s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 636s # g_object_unref (source_object); 636s # if (ret != NULL) 636s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 636s # else 636s # return NULL; 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_proxy_new_for_bus_sync: 636s # * @bus_type: A #GBusType. 636s # * @flags: Flags from the #GDBusProxyFlags enumeration. 636s # * @name: A bus name (well-known or unique). 636s # * @object_path: An object path. 636s # * @cancellable: (nullable): A #GCancellable or %NULL. 636s # * @error: Return location for error or %NULL 636s # * 636s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 636s # * 636s # * The calling thread is blocked until a reply is received. 636s # * 636s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 636s # * 636s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 636s # */ 636s # OrgProjectUsefulInterface * 636s # org_project_useful_interface_proxy_new_for_bus_sync ( 636s # GBusType bus_type, 636s # GDBusProxyFlags flags, 636s # const gchar *name, 636s # const gchar *object_path, 636s # GCancellable *cancellable, 636s # GError **error) 636s # { 636s # GInitable *ret; 636s # 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); 636s # if (ret != NULL) 636s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 636s # else 636s # return NULL; 636s # } 636s # 636s # 636s # /* ------------------------------------------------------------------------ */ 636s # 636s # /** 636s # * OrgProjectUsefulInterfaceSkeleton: 636s # * 636s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 636s # */ 636s # 636s # /** 636s # * OrgProjectUsefulInterfaceSkeletonClass: 636s # * @parent_class: The parent class. 636s # * 636s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 636s # */ 636s # 636s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 636s # { 636s # GValue *properties; 636s # GList *changed_properties; 636s # GSource *changed_properties_idle_source; 636s # GMainContext *context; 636s # GMutex lock; 636s # }; 636s # 636s # static void 636s # _org_project_useful_interface_skeleton_handle_method_call ( 636s # GDBusConnection *connection G_GNUC_UNUSED, 636s # const gchar *sender G_GNUC_UNUSED, 636s # const gchar *object_path G_GNUC_UNUSED, 636s # const gchar *interface_name, 636s # const gchar *method_name, 636s # GVariant *parameters, 636s # GDBusMethodInvocation *invocation, 636s # gpointer user_data) 636s # { 636s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 636s # _ExtendedGDBusMethodInfo *info; 636s # GVariantIter iter; 636s # GVariant *child; 636s # GValue *paramv; 636s # gsize num_params; 636s # guint num_extra; 636s # gsize n; 636s # guint signal_id; 636s # GValue return_value = G_VALUE_INIT; 636s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 636s # g_assert (info != NULL); 636s # num_params = g_variant_n_children (parameters); 636s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 636s # n = 0; 636s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 636s # g_value_set_object (¶mv[n++], skeleton); 636s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 636s # g_value_set_object (¶mv[n++], invocation); 636s # if (info->pass_fdlist) 636s # { 636s # #ifdef G_OS_UNIX 636s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 636s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 636s # #else 636s # g_assert_not_reached (); 636s # #endif 636s # } 636s # g_variant_iter_init (&iter, parameters); 636s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 636s # { 636s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 636s # if (arg_info->use_gvariant) 636s # { 636s # g_value_init (¶mv[n], G_TYPE_VARIANT); 636s # g_value_set_variant (¶mv[n], child); 636s # n++; 636s # } 636s # else 636s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 636s # g_variant_unref (child); 636s # } 636s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 636s # g_value_init (&return_value, G_TYPE_BOOLEAN); 636s # g_signal_emitv (paramv, signal_id, 0, &return_value); 636s # if (!g_value_get_boolean (&return_value)) 636s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 636s # g_value_unset (&return_value); 636s # for (n = 0; n < num_params + num_extra; n++) 636s # g_value_unset (¶mv[n]); 636s # g_free (paramv); 636s # } 636s # 636s # static GVariant * 636s # _org_project_useful_interface_skeleton_handle_get_property ( 636s # GDBusConnection *connection G_GNUC_UNUSED, 636s # const gchar *sender G_GNUC_UNUSED, 636s # const gchar *object_path G_GNUC_UNUSED, 636s # const gchar *interface_name G_GNUC_UNUSED, 636s # const gchar *property_name, 636s # GError **error, 636s # gpointer user_data) 636s # { 636s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 636s # GValue value = G_VALUE_INIT; 636s # GParamSpec *pspec; 636s # _ExtendedGDBusPropertyInfo *info; 636s # GVariant *ret; 636s # ret = NULL; 636s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 636s # g_assert (info != NULL); 636s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 636s # if (pspec == NULL) 636s # { 636s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 636s # } 636s # else 636s # { 636s # g_value_init (&value, pspec->value_type); 636s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 636s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 636s # g_value_unset (&value); 636s # } 636s # return ret; 636s # } 636s # 636s # static gboolean 636s # _org_project_useful_interface_skeleton_handle_set_property ( 636s # GDBusConnection *connection G_GNUC_UNUSED, 636s # const gchar *sender G_GNUC_UNUSED, 636s # const gchar *object_path G_GNUC_UNUSED, 636s # const gchar *interface_name G_GNUC_UNUSED, 636s # const gchar *property_name, 636s # GVariant *variant, 636s # GError **error, 636s # gpointer user_data) 636s # { 636s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 636s # GValue value = G_VALUE_INIT; 636s # GParamSpec *pspec; 636s # _ExtendedGDBusPropertyInfo *info; 636s # gboolean ret; 636s # ret = FALSE; 636s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 636s # g_assert (info != NULL); 636s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 636s # if (pspec == NULL) 636s # { 636s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 636s # } 636s # else 636s # { 636s # if (info->use_gvariant) 636s # g_value_set_variant (&value, variant); 636s # else 636s # g_dbus_gvariant_to_gvalue (variant, &value); 636s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 636s # g_value_unset (&value); 636s # ret = TRUE; 636s # } 636s # return ret; 636s # } 636s # 636s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 636s # { 636s # _org_project_useful_interface_skeleton_handle_method_call, 636s # _org_project_useful_interface_skeleton_handle_get_property, 636s # _org_project_useful_interface_skeleton_handle_set_property, 636s # {NULL} 636s # }; 636s # 636s # static GDBusInterfaceInfo * 636s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 636s # { 636s # return org_project_useful_interface_interface_info (); 636s # } 636s # 636s # static GDBusInterfaceVTable * 636s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 636s # { 636s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 636s # } 636s # 636s # static GVariant * 636s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 636s # { 636s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 636s # 636s # GVariantBuilder builder; 636s # guint n; 636s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 636s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 636s # goto out; 636s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 636s # { 636s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 636s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 636s # { 636s # GVariant *value; 636s # 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); 636s # if (value != NULL) 636s # { 636s # g_variant_take_ref (value); 636s # g_variant_builder_add (&builder, "{sv}", info->name, value); 636s # g_variant_unref (value); 636s # } 636s # } 636s # } 636s # out: 636s # return g_variant_builder_end (&builder); 636s # } 636s # 636s # static void 636s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 636s # { 636s # } 636s # 636s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 636s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 636s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 636s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 636s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 636s # 636s # #else 636s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 636s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 636s # 636s # #endif 636s # static void 636s # org_project_useful_interface_skeleton_finalize (GObject *object) 636s # { 636s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 636s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 636s # if (skeleton->priv->changed_properties_idle_source != NULL) 636s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 636s # g_main_context_unref (skeleton->priv->context); 636s # g_mutex_clear (&skeleton->priv->lock); 636s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 636s # } 636s # 636s # static void 636s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 636s # { 636s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 636s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 636s # #else 636s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 636s # #endif 636s # 636s # g_mutex_init (&skeleton->priv->lock); 636s # skeleton->priv->context = g_main_context_ref_thread_default (); 636s # } 636s # 636s # static void 636s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 636s # { 636s # GObjectClass *gobject_class; 636s # GDBusInterfaceSkeletonClass *skeleton_class; 636s # 636s # gobject_class = G_OBJECT_CLASS (klass); 636s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 636s # 636s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 636s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 636s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 636s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 636s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 636s # 636s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 636s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 636s # #endif 636s # } 636s # 636s # static void 636s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 636s # { 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_skeleton_new: 636s # * 636s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 636s # * 636s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 636s # */ 636s # OrgProjectUsefulInterface * 636s # org_project_useful_interface_skeleton_new (void) 636s # { 636s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 636s # } 636s # /tmp/tmp4un2rcj2/tmpa06ps1ct.xml: 636s # 636s # 636s # 636s # 636s # 636s # 636s # 636s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4un2rcj2/tmpa06ps1ct.xml', '--output', '-', '--body'] 636s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 636s # Output: /* 636s # * This file is generated by gdbus-codegen, do not modify it. 636s # * 636s # * The license of this code is the same as for the D-Bus interface description 636s # * it was derived from. Note that it links to GLib, so must comply with the 636s # * LGPL linking clauses. 636s # */ 636s # 636s # #ifdef HAVE_CONFIG_H 636s # # include "config.h" 636s # #endif 636s # 636s # #include 636s # #ifdef G_OS_UNIX 636s # # include 636s # #endif 636s # 636s # #ifdef G_ENABLE_DEBUG 636s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 636s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 636s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 636s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 636s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 636s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 636s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 636s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 636s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 636s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 636s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 636s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 636s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 636s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 636s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 636s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 636s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 636s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 636s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 636s # #else /* !G_ENABLE_DEBUG */ 636s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 636s # * Do not access GValues directly in your code. Instead, use the 636s # * g_value_get_*() functions 636s # */ 636s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 636s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 636s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 636s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 636s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 636s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 636s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 636s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 636s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 636s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 636s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 636s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 636s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 636s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 636s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 636s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 636s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 636s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 636s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 636s # #endif /* !G_ENABLE_DEBUG */ 636s # 636s # typedef struct 636s # { 636s # GDBusArgInfo parent_struct; 636s # gboolean use_gvariant; 636s # } _ExtendedGDBusArgInfo; 636s # 636s # typedef struct 636s # { 636s # GDBusMethodInfo parent_struct; 636s # const gchar *signal_name; 636s # gboolean pass_fdlist; 636s # } _ExtendedGDBusMethodInfo; 636s # 636s # typedef struct 636s # { 636s # GDBusSignalInfo parent_struct; 636s # const gchar *signal_name; 636s # } _ExtendedGDBusSignalInfo; 636s # 636s # typedef struct 636s # { 636s # GDBusPropertyInfo parent_struct; 636s # const gchar *hyphen_name; 636s # guint use_gvariant : 1; 636s # guint emits_changed_signal : 1; 636s # } _ExtendedGDBusPropertyInfo; 636s # 636s # typedef struct 636s # { 636s # GDBusInterfaceInfo parent_struct; 636s # const gchar *hyphen_name; 636s # } _ExtendedGDBusInterfaceInfo; 636s # 636s # typedef struct 636s # { 636s # const _ExtendedGDBusPropertyInfo *info; 636s # guint prop_id; 636s # GValue orig_value; /* the value before the change */ 636s # } ChangedProperty; 636s # 636s # static void 636s # _changed_property_free (ChangedProperty *data) 636s # { 636s # g_value_unset (&data->orig_value); 636s # g_free (data); 636s # } 636s # 636s # static gboolean 636s # _g_strv_equal0 (gchar **a, gchar **b) 636s # { 636s # gboolean ret = FALSE; 636s # guint n; 636s # if (a == NULL && b == NULL) 636s # { 636s # ret = TRUE; 636s # goto out; 636s # } 636s # if (a == NULL || b == NULL) 636s # goto out; 636s # if (g_strv_length (a) != g_strv_length (b)) 636s # goto out; 636s # for (n = 0; a[n] != NULL; n++) 636s # if (g_strcmp0 (a[n], b[n]) != 0) 636s # goto out; 636s # ret = TRUE; 636s # out: 636s # return ret; 636s # } 636s # 636s # static gboolean 636s # _g_variant_equal0 (GVariant *a, GVariant *b) 636s # { 636s # gboolean ret = FALSE; 636s # if (a == NULL && b == NULL) 636s # { 636s # ret = TRUE; 636s # goto out; 636s # } 636s # if (a == NULL || b == NULL) 636s # goto out; 636s # ret = g_variant_equal (a, b); 636s # out: 636s # return ret; 636s # } 636s # 636s # G_GNUC_UNUSED static gboolean 636s # _g_value_equal (const GValue *a, const GValue *b) 636s # { 636s # gboolean ret = FALSE; 636s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 636s # switch (G_VALUE_TYPE (a)) 636s # { 636s # case G_TYPE_BOOLEAN: 636s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 636s # break; 636s # case G_TYPE_UCHAR: 636s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 636s # break; 636s # case G_TYPE_INT: 636s # ret = (g_value_get_int (a) == g_value_get_int (b)); 636s # break; 636s # case G_TYPE_UINT: 636s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 636s # break; 636s # case G_TYPE_INT64: 636s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 636s # break; 636s # case G_TYPE_UINT64: 636s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 636s # break; 636s # case G_TYPE_DOUBLE: 636s # { 636s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 636s # gdouble da = g_value_get_double (a); 636s # gdouble db = g_value_get_double (b); 636s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 636s # } 636s # break; 636s # case G_TYPE_STRING: 636s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 636s # break; 636s # case G_TYPE_VARIANT: 636s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 636s # break; 636s # default: 636s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 636s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 636s # else 636s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 636s # break; 636s # } 636s # return ret; 636s # } 636s # 636s # static void 636s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 636s # GClosure *closure, 636s # GValue *return_value, 636s # unsigned int n_param_values, 636s # const GValue *param_values, 636s # void *invocation_hint G_GNUC_UNUSED, 636s # void *marshal_data) 636s # { 636s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 636s # (void *data1, 636s # GDBusMethodInvocation *arg_method_invocation, 636s # GVariant *arg_arg_asv, 636s # void *data2); 636s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 636s # GCClosure *cc = (GCClosure*) closure; 636s # void *data1, *data2; 636s # gboolean v_return; 636s # 636s # g_return_if_fail (return_value != NULL); 636s # g_return_if_fail (n_param_values == 3); 636s # 636s # if (G_CCLOSURE_SWAP_DATA (closure)) 636s # { 636s # data1 = closure->data; 636s # data2 = g_value_peek_pointer (param_values + 0); 636s # } 636s # else 636s # { 636s # data1 = g_value_peek_pointer (param_values + 0); 636s # data2 = closure->data; 636s # } 636s # 636s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 636s # (marshal_data ? marshal_data : cc->callback); 636s # 636s # v_return = 636s # callback (data1, 636s # g_marshal_value_peek_object (param_values + 1), 636s # g_marshal_value_peek_variant (param_values + 2), 636s # data2); 636s # 636s # g_value_set_boolean (return_value, v_return); 636s # } 636s # 636s # /* ------------------------------------------------------------------------ 636s # * Code for interface org.project.UsefulInterface 636s # * ------------------------------------------------------------------------ 636s # */ 636s # 636s # /** 636s # * SECTION:OrgProjectUsefulInterface 636s # * @title: OrgProjectUsefulInterface 636s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 636s # * 636s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 636s # */ 636s # 636s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 636s # 636s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 636s # { 636s # { 636s # -1, 636s # (gchar *) "arg_asv", 636s # (gchar *) "a{sv}", 636s # NULL 636s # }, 636s # FALSE 636s # }; 636s # 636s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 636s # { 636s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 636s # NULL 636s # }; 636s # 636s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 636s # { 636s # { 636s # -1, 636s # (gchar *) "SingleArgMethodAsv", 636s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 636s # NULL, 636s # NULL 636s # }, 636s # "handle-single-arg-method-asv", 636s # FALSE 636s # }; 636s # 636s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 636s # { 636s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 636s # NULL 636s # }; 636s # 636s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 636s # { 636s # { 636s # -1, 636s # (gchar *) "org.project.UsefulInterface", 636s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 636s # NULL, 636s # NULL, 636s # NULL 636s # }, 636s # "org-project-useful-interface", 636s # }; 636s # 636s # 636s # /** 636s # * org_project_useful_interface_interface_info: 636s # * 636s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 636s # * 636s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 636s # */ 636s # GDBusInterfaceInfo * 636s # org_project_useful_interface_interface_info (void) 636s # { 636s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_override_properties: 636s # * @klass: The class structure for a #GObject derived class. 636s # * @property_id_begin: The property id to assign to the first overridden property. 636s # * 636s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 636s # * The properties are overridden in the order they are defined. 636s # * 636s # * Returns: The last property id. 636s # */ 636s # guint 636s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 636s # { 636s # return property_id_begin - 1; 636s # } 636s # 636s # 636s # inline static void 636s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 636s # GClosure *closure, 636s # GValue *return_value, 636s # unsigned int n_param_values, 636s # const GValue *param_values, 636s # void *invocation_hint, 636s # void *marshal_data) 636s # { 636s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 636s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 636s # } 636s # 636s # 636s # /** 636s # * OrgProjectUsefulInterface: 636s # * 636s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 636s # */ 636s # 636s # /** 636s # * OrgProjectUsefulInterfaceIface: 636s # * @parent_iface: The parent interface. 636s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 636s # * 636s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 636s # */ 636s # 636s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 636s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 636s # 636s # static void 636s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 636s # { 636s # /* GObject signals for incoming D-Bus method calls: */ 636s # /** 636s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 636s # * @object: A #OrgProjectUsefulInterface. 636s # * @invocation: A #GDBusMethodInvocation. 636s # * @arg_arg_asv: Argument passed by remote caller. 636s # * 636s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 636s # * 636s # * 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. 636s # * 636s # * 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. 636s # */ 636s # g_signal_new ("handle-single-arg-method-asv", 636s # G_TYPE_FROM_INTERFACE (iface), 636s # G_SIGNAL_RUN_LAST, 636s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 636s # g_signal_accumulator_true_handled, 636s # NULL, 636s # org_project_useful_interface_method_marshal_single_arg_method_asv, 636s # G_TYPE_BOOLEAN, 636s # 2, 636s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 636s # 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_call_single_arg_method_asv: 636s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 636s # * @arg_arg_asv: Argument to pass with the method invocation. 636s # * @cancellable: (nullable): A #GCancellable or %NULL. 636s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 636s # * @user_data: User data to pass to @callback. 636s # * 636s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 636s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 636s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 636s # * 636s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 636s # */ 636s # void 636s # org_project_useful_interface_call_single_arg_method_asv ( 636s # OrgProjectUsefulInterface *proxy, 636s # GVariant *arg_arg_asv, 636s # GCancellable *cancellable, 636s # GAsyncReadyCallback callback, 636s # gpointer user_data) 636s # { 636s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 636s # "SingleArgMethodAsv", 636s # g_variant_new ("(@a{sv})", 636s # arg_arg_asv), 636s # G_DBUS_CALL_FLAGS_NONE, 636s # -1, 636s # cancellable, 636s # callback, 636s # user_data); 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_call_single_arg_method_asv_finish: 636s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 636s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 636s # * @error: Return location for error or %NULL. 636s # * 636s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 636s # * 636s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 636s # */ 636s # gboolean 636s # org_project_useful_interface_call_single_arg_method_asv_finish ( 636s # OrgProjectUsefulInterface *proxy, 636s # GAsyncResult *res, 636s # GError **error) 636s # { 636s # GVariant *_ret; 636s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 636s # if (_ret == NULL) 636s # goto _out; 636s # g_variant_get (_ret, 636s # "()"); 636s # g_variant_unref (_ret); 636s # _out: 636s # return _ret != NULL; 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_call_single_arg_method_asv_sync: 636s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 636s # * @arg_arg_asv: Argument to pass with the method invocation. 636s # * @cancellable: (nullable): A #GCancellable or %NULL. 636s # * @error: Return location for error or %NULL. 636s # * 636s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 636s # * 636s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 636s # * 636s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 636s # */ 636s # gboolean 636s # org_project_useful_interface_call_single_arg_method_asv_sync ( 636s # OrgProjectUsefulInterface *proxy, 636s # GVariant *arg_arg_asv, 636s # GCancellable *cancellable, 636s # GError **error) 636s # { 636s # GVariant *_ret; 636s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 636s # "SingleArgMethodAsv", 636s # g_variant_new ("(@a{sv})", 636s # arg_arg_asv), 636s # G_DBUS_CALL_FLAGS_NONE, 636s # -1, 636s # cancellable, 636s # error); 636s # if (_ret == NULL) 636s # goto _out; 636s # g_variant_get (_ret, 636s # "()"); 636s # g_variant_unref (_ret); 636s # _out: 636s # return _ret != NULL; 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_complete_single_arg_method_asv: 636s # * @object: A #OrgProjectUsefulInterface. 636s # * @invocation: (transfer full): A #GDBusMethodInvocation. 636s # * 636s # * 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. 636s # * 636s # * This method will free @invocation, you cannot use it afterwards. 636s # */ 636s # void 636s # org_project_useful_interface_complete_single_arg_method_asv ( 636s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 636s # GDBusMethodInvocation *invocation) 636s # { 636s # g_dbus_method_invocation_return_value (invocation, 636s # g_variant_new ("()")); 636s # } 636s # 636s # /* ------------------------------------------------------------------------ */ 636s # 636s # /** 636s # * OrgProjectUsefulInterfaceProxy: 636s # * 636s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 636s # */ 636s # 636s # /** 636s # * OrgProjectUsefulInterfaceProxyClass: 636s # * @parent_class: The parent class. 636s # * 636s # * Class structure for #OrgProjectUsefulInterfaceProxy. 636s # */ 636s # 636s # struct _OrgProjectUsefulInterfaceProxyPrivate 636s # { 636s # GData *qdata; 636s # }; 636s # 636s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 636s # 636s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 636s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 636s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 636s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 636s # 636s # #else 636s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 636s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 636s # 636s # #endif 636s # static void 636s # org_project_useful_interface_proxy_finalize (GObject *object) 636s # { 636s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 636s # g_datalist_clear (&proxy->priv->qdata); 636s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 636s # } 636s # 636s # static void 636s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 636s # guint prop_id G_GNUC_UNUSED, 636s # GValue *value G_GNUC_UNUSED, 636s # GParamSpec *pspec G_GNUC_UNUSED) 636s # { 636s # } 636s # 636s # static void 636s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 636s # guint prop_id G_GNUC_UNUSED, 636s # const GValue *value G_GNUC_UNUSED, 636s # GParamSpec *pspec G_GNUC_UNUSED) 636s # { 636s # } 636s # 636s # static void 636s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 636s # const gchar *sender_name G_GNUC_UNUSED, 636s # const gchar *signal_name, 636s # GVariant *parameters) 636s # { 636s # _ExtendedGDBusSignalInfo *info; 636s # GVariantIter iter; 636s # GVariant *child; 636s # GValue *paramv; 636s # gsize num_params; 636s # gsize n; 636s # guint signal_id; 636s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 636s # if (info == NULL) 636s # return; 636s # num_params = g_variant_n_children (parameters); 636s # paramv = g_new0 (GValue, num_params + 1); 636s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 636s # g_value_set_object (¶mv[0], proxy); 636s # g_variant_iter_init (&iter, parameters); 636s # n = 1; 636s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 636s # { 636s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 636s # if (arg_info->use_gvariant) 636s # { 636s # g_value_init (¶mv[n], G_TYPE_VARIANT); 636s # g_value_set_variant (¶mv[n], child); 636s # n++; 636s # } 636s # else 636s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 636s # g_variant_unref (child); 636s # } 636s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 636s # g_signal_emitv (paramv, signal_id, 0, NULL); 636s # for (n = 0; n < num_params + 1; n++) 636s # g_value_unset (¶mv[n]); 636s # g_free (paramv); 636s # } 636s # 636s # static void 636s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 636s # GVariant *changed_properties, 636s # const gchar *const *invalidated_properties) 636s # { 636s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 636s # guint n; 636s # const gchar *key; 636s # GVariantIter *iter; 636s # _ExtendedGDBusPropertyInfo *info; 636s # g_variant_get (changed_properties, "a{sv}", &iter); 636s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 636s # { 636s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 636s # g_datalist_remove_data (&proxy->priv->qdata, key); 636s # if (info != NULL) 636s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 636s # } 636s # g_variant_iter_free (iter); 636s # for (n = 0; invalidated_properties[n] != NULL; n++) 636s # { 636s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 636s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 636s # if (info != NULL) 636s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 636s # } 636s # } 636s # 636s # static void 636s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 636s # { 636s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 636s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 636s # #else 636s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 636s # #endif 636s # 636s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 636s # } 636s # 636s # static void 636s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 636s # { 636s # GObjectClass *gobject_class; 636s # GDBusProxyClass *proxy_class; 636s # 636s # gobject_class = G_OBJECT_CLASS (klass); 636s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 636s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 636s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 636s # 636s # proxy_class = G_DBUS_PROXY_CLASS (klass); 636s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 636s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 636s # 636s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 636s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 636s # #endif 636s # } 636s # 636s # static void 636s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 636s # { 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_proxy_new: 636s # * @connection: A #GDBusConnection. 636s # * @flags: Flags from the #GDBusProxyFlags enumeration. 636s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 636s # * @object_path: An object path. 636s # * @cancellable: (nullable): A #GCancellable or %NULL. 636s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 636s # * @user_data: User data to pass to @callback. 636s # * 636s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 636s # * 636s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 636s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 636s # * 636s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 636s # */ 636s # void 636s # org_project_useful_interface_proxy_new ( 636s # GDBusConnection *connection, 636s # GDBusProxyFlags flags, 636s # const gchar *name, 636s # const gchar *object_path, 636s # GCancellable *cancellable, 636s # GAsyncReadyCallback callback, 636s # gpointer user_data) 636s # { 636s # g_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); 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_proxy_new_finish: 636s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 636s # * @error: Return location for error or %NULL 636s # * 636s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 636s # * 636s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 636s # */ 636s # OrgProjectUsefulInterface * 636s # org_project_useful_interface_proxy_new_finish ( 636s # GAsyncResult *res, 636s # GError **error) 636s # { 636s # GObject *ret; 636s # GObject *source_object; 636s # source_object = g_async_result_get_source_object (res); 636s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 636s # g_object_unref (source_object); 636s # if (ret != NULL) 636s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 636s # else 636s # return NULL; 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_proxy_new_sync: 636s # * @connection: A #GDBusConnection. 636s # * @flags: Flags from the #GDBusProxyFlags enumeration. 636s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 636s # * @object_path: An object path. 636s # * @cancellable: (nullable): A #GCancellable or %NULL. 636s # * @error: Return location for error or %NULL 636s # * 636s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 636s # * 636s # * The calling thread is blocked until a reply is received. 636s # * 636s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 636s # * 636s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 636s # */ 636s # OrgProjectUsefulInterface * 636s # org_project_useful_interface_proxy_new_sync ( 636s # GDBusConnection *connection, 636s # GDBusProxyFlags flags, 636s # const gchar *name, 636s # const gchar *object_path, 636s # GCancellable *cancellable, 636s # GError **error) 636s # { 636s # GInitable *ret; 636s # 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); 636s # if (ret != NULL) 636s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 636s # else 636s # return NULL; 636s # } 636s # 636s # 636s # /** 636s # * org_project_useful_interface_proxy_new_for_bus: 636s # * @bus_type: A #GBusType. 636s # * @flags: Flags from the #GDBusProxyFlags enumeration. 636s # * @name: A bus name (well-known or unique). 636s # * @object_path: An object path. 636s # * @cancellable: (nullable): A #GCancellable or %NULL. 636s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 636s # * @user_data: User data to pass to @callback. 636s # * 636s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 636s # * 636s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 636s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 636s # * 636s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 636s # */ 636s # void 636s # org_project_useful_interface_proxy_new_for_bus ( 636s # GBusType bus_type, 636s # GDBusProxyFlags flags, 636s # const gchar *name, 636s # const gchar *object_path, 636s # GCancellable *cancellable, 636s # GAsyncReadyCallback callback, 636s # gpointer user_data) 636s # { 636s # g_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); 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_proxy_new_for_bus_finish: 636s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 636s # * @error: Return location for error or %NULL 636s # * 636s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 636s # * 636s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 636s # */ 636s # OrgProjectUsefulInterface * 636s # org_project_useful_interface_proxy_new_for_bus_finish ( 636s # GAsyncResult *res, 636s # GError **error) 636s # { 636s # GObject *ret; 636s # GObject *source_object; 636s # source_object = g_async_result_get_source_object (res); 636s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 636s # g_object_unref (source_object); 636s # if (ret != NULL) 636s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 636s # else 636s # return NULL; 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_proxy_new_for_bus_sync: 636s # * @bus_type: A #GBusType. 636s # * @flags: Flags from the #GDBusProxyFlags enumeration. 636s # * @name: A bus name (well-known or unique). 636s # * @object_path: An object path. 636s # * @cancellable: (nullable): A #GCancellable or %NULL. 636s # * @error: Return location for error or %NULL 636s # * 636s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 636s # * 636s # * The calling thread is blocked until a reply is received. 636s # * 636s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 636s # * 636s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 636s # */ 636s # OrgProjectUsefulInterface * 636s # org_project_useful_interface_proxy_new_for_bus_sync ( 636s # GBusType bus_type, 636s # GDBusProxyFlags flags, 636s # const gchar *name, 636s # const gchar *object_path, 636s # GCancellable *cancellable, 636s # GError **error) 636s # { 636s # GInitable *ret; 636s # 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); 636s # if (ret != NULL) 636s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 636s # else 636s # return NULL; 636s # } 636s # 636s # 636s # /* ------------------------------------------------------------------------ */ 636s # 636s # /** 636s # * OrgProjectUsefulInterfaceSkeleton: 636s # * 636s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 636s # */ 636s # 636s # /** 636s # * OrgProjectUsefulInterfaceSkeletonClass: 636s # * @parent_class: The parent class. 636s # * 636s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 636s # */ 636s # 636s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 636s # { 636s # GValue *properties; 636s # GList *changed_properties; 636s # GSource *changed_properties_idle_source; 636s # GMainContext *context; 636s # GMutex lock; 636s # }; 636s # 636s # static void 636s # _org_project_useful_interface_skeleton_handle_method_call ( 636s # GDBusConnection *connection G_GNUC_UNUSED, 636s # const gchar *sender G_GNUC_UNUSED, 636s # const gchar *object_path G_GNUC_UNUSED, 636s # const gchar *interface_name, 636s # const gchar *method_name, 636s # GVariant *parameters, 636s # GDBusMethodInvocation *invocation, 636s # gpointer user_data) 636s # { 636s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 636s # _ExtendedGDBusMethodInfo *info; 636s # GVariantIter iter; 636s # GVariant *child; 636s # GValue *paramv; 636s # gsize num_params; 636s # guint num_extra; 636s # gsize n; 636s # guint signal_id; 636s # GValue return_value = G_VALUE_INIT; 636s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 636s # g_assert (info != NULL); 636s # num_params = g_variant_n_children (parameters); 636s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 636s # n = 0; 636s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 636s # g_value_set_object (¶mv[n++], skeleton); 636s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 636s # g_value_set_object (¶mv[n++], invocation); 636s # if (info->pass_fdlist) 636s # { 636s # #ifdef G_OS_UNIX 636s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 636s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 636s # #else 636s # g_assert_not_reached (); 636s # #endif 636s # } 636s # g_variant_iter_init (&iter, parameters); 636s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 636s # { 636s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 636s # if (arg_info->use_gvariant) 636s # { 636s # g_value_init (¶mv[n], G_TYPE_VARIANT); 636s # g_value_set_variant (¶mv[n], child); 636s # n++; 636s # } 636s # else 636s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 636s # g_variant_unref (child); 636s # } 636s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 636s # g_value_init (&return_value, G_TYPE_BOOLEAN); 636s # g_signal_emitv (paramv, signal_id, 0, &return_value); 636s # if (!g_value_get_boolean (&return_value)) 636s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 636s # g_value_unset (&return_value); 636s # for (n = 0; n < num_params + num_extra; n++) 636s # g_value_unset (¶mv[n]); 636s # g_free (paramv); 636s # } 636s # 636s # static GVariant * 636s # _org_project_useful_interface_skeleton_handle_get_property ( 636s # GDBusConnection *connection G_GNUC_UNUSED, 636s # const gchar *sender G_GNUC_UNUSED, 636s # const gchar *object_path G_GNUC_UNUSED, 636s # const gchar *interface_name G_GNUC_UNUSED, 636s # const gchar *property_name, 636s # GError **error, 636s # gpointer user_data) 636s # { 636s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 636s # GValue value = G_VALUE_INIT; 636s # GParamSpec *pspec; 636s # _ExtendedGDBusPropertyInfo *info; 636s # GVariant *ret; 636s # ret = NULL; 636s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 636s # g_assert (info != NULL); 636s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 636s # if (pspec == NULL) 636s # { 636s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 636s # } 636s # else 636s # { 636s # g_value_init (&value, pspec->value_type); 636s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 636s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 636s # g_value_unset (&value); 636s # } 636s # return ret; 636s # } 636s # 636s # static gboolean 636s # _org_project_useful_interface_skeleton_handle_set_property ( 636s # GDBusConnection *connection G_GNUC_UNUSED, 636s # const gchar *sender G_GNUC_UNUSED, 636s # const gchar *object_path G_GNUC_UNUSED, 636s # const gchar *interface_name G_GNUC_UNUSED, 636s # const gchar *property_name, 636s # GVariant *variant, 636s # GError **error, 636s # gpointer user_data) 636s # { 636s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 636s # GValue value = G_VALUE_INIT; 636s # GParamSpec *pspec; 636s # _ExtendedGDBusPropertyInfo *info; 636s # gboolean ret; 636s # ret = FALSE; 636s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 636s # g_assert (info != NULL); 636s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 636s # if (pspec == NULL) 636s # { 636s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 636s # } 636s # else 636s # { 636s # if (info->use_gvariant) 636s # g_value_set_variant (&value, variant); 636s # else 636s # g_dbus_gvariant_to_gvalue (variant, &value); 636s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 636s # g_value_unset (&value); 636s # ret = TRUE; 636s # } 636s # return ret; 636s # } 636s # 636s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 636s # { 636s # _org_project_useful_interface_skeleton_handle_method_call, 636s # _org_project_useful_interface_skeleton_handle_get_property, 636s # _org_project_useful_interface_skeleton_handle_set_property, 636s # {NULL} 636s # }; 636s # 636s # static GDBusInterfaceInfo * 636s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 636s # { 636s # return org_project_useful_interface_interface_info (); 636s # } 636s # 636s # static GDBusInterfaceVTable * 636s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 636s # { 636s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 636s # } 636s # 636s # static GVariant * 636s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 636s # { 636s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 636s # 636s # GVariantBuilder builder; 636s # guint n; 636s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 636s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 636s # goto out; 636s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 636s # { 636s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 636s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 636s # { 636s # GVariant *value; 636s # 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); 636s # if (value != NULL) 636s # { 636s # g_variant_take_ref (value); 636s # g_variant_builder_add (&builder, "{sv}", info->name, value); 636s # g_variant_unref (value); 636s # } 636s # } 636s # } 636s # out: 636s # return g_variant_builder_end (&builder); 636s # } 636s # 636s # static void 636s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 636s # { 636s # } 636s # 636s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 636s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 636s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 636s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 636s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 636s # 636s # #else 636s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 636s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 636s # 636s # #endif 636s # static void 636s # org_project_useful_interface_skeleton_finalize (GObject *object) 636s # { 636s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 636s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 636s # if (skeleton->priv->changed_properties_idle_source != NULL) 636s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 636s # g_main_context_unref (skeleton->priv->context); 636s # g_mutex_clear (&skeleton->priv->lock); 636s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 636s # } 636s # 636s # static void 636s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 636s # { 636s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 636s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 636s # #else 636s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 636s # #endif 636s # 636s # g_mutex_init (&skeleton->priv->lock); 636s # skeleton->priv->context = g_main_context_ref_thread_default (); 636s # } 636s # 636s # static void 636s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 636s # { 636s # GObjectClass *gobject_class; 636s # GDBusInterfaceSkeletonClass *skeleton_class; 636s # 636s # gobject_class = G_OBJECT_CLASS (klass); 636s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 636s # 636s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 636s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 636s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 636s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 636s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 636s # 636s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 636s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 636s # #endif 636s # } 636s # 636s # static void 636s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 636s # { 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_skeleton_new: 636s # * 636s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 636s # * 636s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 636s # */ 636s # OrgProjectUsefulInterface * 636s # org_project_useful_interface_skeleton_new (void) 636s # { 636s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 636s # } 636s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 636s # tmpdir: /tmp/tmpp9t62ouk 636s # codegen: /usr/bin/gdbus-codegen 636s # /tmp/tmpp9t62ouk/tmp7dmlgfk7.xml: 636s # 636s # 636s # 636s # 636s # 636s # 636s # 636s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp9t62ouk/tmp7dmlgfk7.xml', '--output', '-', '--body'] 636s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 636s # Output: /* 636s # * This file is generated by gdbus-codegen, do not modify it. 636s # * 636s # * The license of this code is the same as for the D-Bus interface description 636s # * it was derived from. Note that it links to GLib, so must comply with the 636s # * LGPL linking clauses. 636s # */ 636s # 636s # #ifdef HAVE_CONFIG_H 636s # # include "config.h" 636s # #endif 636s # 636s # #include 636s # #ifdef G_OS_UNIX 636s # # include 636s # #endif 636s # 636s # #ifdef G_ENABLE_DEBUG 636s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 636s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 636s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 636s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 636s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 636s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 636s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 636s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 636s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 636s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 636s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 636s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 636s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 636s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 636s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 636s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 636s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 636s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 636s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 636s # #else /* !G_ENABLE_DEBUG */ 636s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 636s # * Do not access GValues directly in your code. Instead, use the 636s # * g_value_get_*() functions 636s # */ 636s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 636s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 636s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 636s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 636s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 636s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 636s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 636s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 636s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 636s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 636s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 636s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 636s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 636s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 636s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 636s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 636s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 636s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 636s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 636s # #endif /* !G_ENABLE_DEBUG */ 636s # 636s # typedef struct 636s # { 636s # GDBusArgInfo parent_struct; 636s # gboolean use_gvariant; 636s # } _ExtendedGDBusArgInfo; 636s # 636s # typedef struct 636s # { 636s # GDBusMethodInfo parent_struct; 636s # const gchar *signal_name; 636s # gboolean pass_fdlist; 636s # } _ExtendedGDBusMethodInfo; 636s # 636s # typedef struct 636s # { 636s # GDBusSignalInfo parent_struct; 636s # const gchar *signal_name; 636s # } _ExtendedGDBusSignalInfo; 636s # 636s # typedef struct 636s # { 636s # GDBusPropertyInfo parent_struct; 636s # const gchar *hyphen_name; 636s # guint use_gvariant : 1; 636s # guint emits_changed_signal : 1; 636s # } _ExtendedGDBusPropertyInfo; 636s # 636s # typedef struct 636s # { 636s # GDBusInterfaceInfo parent_struct; 636s # const gchar *hyphen_name; 636s # } _ExtendedGDBusInterfaceInfo; 636s # 636s # typedef struct 636s # { 636s # const _ExtendedGDBusPropertyInfo *info; 636s # guint prop_id; 636s # GValue orig_value; /* the value before the change */ 636s # } ChangedProperty; 636s # 636s # static void 636s # _changed_property_free (ChangedProperty *data) 636s # { 636s # g_value_unset (&data->orig_value); 636s # g_free (data); 636s # } 636s # 636s # static gboolean 636s # _g_strv_equal0 (gchar **a, gchar **b) 636s # { 636s # gboolean ret = FALSE; 636s # guint n; 636s # if (a == NULL && b == NULL) 636s # { 636s # ret = TRUE; 636s # goto out; 636s # } 636s # if (a == NULL || b == NULL) 636s # goto out; 636s # if (g_strv_length (a) != g_strv_length (b)) 636s # goto out; 636s # for (n = 0; a[n] != NULL; n++) 636s # if (g_strcmp0 (a[n], b[n]) != 0) 636s # goto out; 636s # ret = TRUE; 636s # out: 636s # return ret; 636s # } 636s # 636s # static gboolean 636s # _g_variant_equal0 (GVariant *a, GVariant *b) 636s # { 636s # gboolean ret = FALSE; 636s # if (a == NULL && b == NULL) 636s # { 636s # ret = TRUE; 636s # goto out; 636s # } 636s # if (a == NULL || b == NULL) 636s # goto out; 636s # ret = g_variant_equal (a, b); 636s # out: 636s # return ret; 636s # } 636s # 636s # G_GNUC_UNUSED static gboolean 636s # _g_value_equal (const GValue *a, const GValue *b) 636s # { 636s # gboolean ret = FALSE; 636s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 636s # switch (G_VALUE_TYPE (a)) 636s # { 636s # case G_TYPE_BOOLEAN: 636s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 636s # break; 636s # case G_TYPE_UCHAR: 636s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 636s # break; 636s # case G_TYPE_INT: 636s # ret = (g_value_get_int (a) == g_value_get_int (b)); 636s # break; 636s # case G_TYPE_UINT: 636s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 636s # break; 636s # case G_TYPE_INT64: 636s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 636s # break; 636s # case G_TYPE_UINT64: 636s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 636s # break; 636s # case G_TYPE_DOUBLE: 636s # { 636s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 636s # gdouble da = g_value_get_double (a); 636s # gdouble db = g_value_get_double (b); 636s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 636s # } 636s # break; 636s # case G_TYPE_STRING: 636s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 636s # break; 636s # case G_TYPE_VARIANT: 636s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 636s # break; 636s # default: 636s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 636s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 636s # else 636s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 636s # break; 636s # } 636s # return ret; 636s # } 636s # 636s # static void 636s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 636s # GClosure *closure, 636s # GValue *return_value, 636s # unsigned int n_param_values, 636s # const GValue *param_values, 636s # void *invocation_hint G_GNUC_UNUSED, 636s # void *marshal_data) 636s # { 636s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 636s # (void *data1, 636s # GDBusMethodInvocation *arg_method_invocation, 636s # void *data2); 636s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 636s # GCClosure *cc = (GCClosure*) closure; 636s # void *data1, *data2; 636s # gboolean v_return; 636s # 636s # g_return_if_fail (return_value != NULL); 636s # g_return_if_fail (n_param_values == 2); 636s # 636s # if (G_CCLOSURE_SWAP_DATA (closure)) 636s # { 636s # data1 = closure->data; 636s # data2 = g_value_peek_pointer (param_values + 0); 636s # } 636s # else 636s # { 636s # data1 = g_value_peek_pointer (param_values + 0); 636s # data2 = closure->data; 636s # } 636s # 636s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 636s # (marshal_data ? marshal_data : cc->callback); 636s # 636s # v_return = 636s # callback (data1, 636s # g_marshal_value_peek_object (param_values + 1), 636s # data2); 636s # 636s # g_value_set_boolean (return_value, v_return); 636s # } 636s # 636s # /* ------------------------------------------------------------------------ 636s # * Code for interface org.project.UsefulInterface 636s # * ------------------------------------------------------------------------ 636s # */ 636s # 636s # /** 636s # * SECTION:OrgProjectUsefulInterface 636s # * @title: OrgProjectUsefulInterface 636s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 636s # * 636s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 636s # */ 636s # 636s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 636s # 636s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 636s # { 636s # { 636s # -1, 636s # (gchar *) "arg_b", 636s # (gchar *) "b", 636s # NULL 636s # }, 636s # FALSE 636s # }; 636s # 636s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 636s # { 636s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 636s # NULL 636s # }; 636s # 636s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 636s # { 636s # { 636s # -1, 636s # (gchar *) "SingleArgMethodB", 636s # NULL, 636s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 636s # NULL 636s # }, 636s # "handle-single-arg-method-b", 636s # FALSE 636s # }; 636s # 636s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 636s # { 636s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 636s # NULL 636s # }; 636s # 636s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 636s # { 636s # { 636s # -1, 636s # (gchar *) "org.project.UsefulInterface", 636s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 636s # NULL, 636s # NULL, 636s # NULL 636s # }, 636s # "org-project-useful-interface", 636s # }; 636s # 636s # 636s # /** 636s # * org_project_useful_interface_interface_info: 636s # * 636s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 636s # * 636s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 636s # */ 636s # GDBusInterfaceInfo * 636s # org_project_useful_interface_interface_info (void) 636s # { 636s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_override_properties: 636s # * @klass: The class structure for a #GObject derived class. 636s # * @property_id_begin: The property id to assign to the first overridden property. 636s # * 636s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 636s # * The properties are overridden in the order they are defined. 636s # * 636s # * Returns: The last property id. 636s # */ 636s # guint 636s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 636s # { 636s # return property_id_begin - 1; 636s # } 636s # 636s # 636s # inline static void 636s # org_project_useful_interface_method_marshal_single_arg_method_b ( 636s # GClosure *closure, 636s # GValue *return_value, 636s # unsigned int n_param_values, 636s # const GValue *param_values, 636s # void *invocation_hint, 636s # void *marshal_data) 636s # { 636s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 636s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 636s # } 636s # 636s # 636s # /** 636s # * OrgProjectUsefulInterface: 636s # * 636s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 636s # */ 636s # 636s # /** 636s # * OrgProjectUsefulInterfaceIface: 636s # * @parent_iface: The parent interface. 636s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 636s # * 636s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 636s # */ 636s # 636s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 636s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 636s # 636s # static void 636s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 636s # { 636s # /* GObject signals for incoming D-Bus method calls: */ 636s # /** 636s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 636s # * @object: A #OrgProjectUsefulInterface. 636s # * @invocation: A #GDBusMethodInvocation. 636s # * 636s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 636s # * 636s # * 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. 636s # * 636s # * 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. 636s # */ 636s # g_signal_new ("handle-single-arg-method-b", 636s # G_TYPE_FROM_INTERFACE (iface), 636s # G_SIGNAL_RUN_LAST, 636s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 636s # g_signal_accumulator_true_handled, 636s # NULL, 636s # org_project_useful_interface_method_marshal_single_arg_method_b, 636s # G_TYPE_BOOLEAN, 636s # 1, 636s # G_TYPE_DBUS_METHOD_INVOCATION); 636s # 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_call_single_arg_method_b: 636s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 636s # * @cancellable: (nullable): A #GCancellable or %NULL. 636s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 636s # * @user_data: User data to pass to @callback. 636s # * 636s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 636s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 636s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 636s # * 636s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 636s # */ 636s # void 636s # org_project_useful_interface_call_single_arg_method_b ( 636s # OrgProjectUsefulInterface *proxy, 636s # GCancellable *cancellable, 636s # GAsyncReadyCallback callback, 636s # gpointer user_data) 636s # { 636s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 636s # "SingleArgMethodB", 636s # g_variant_new ("()"), 636s # G_DBUS_CALL_FLAGS_NONE, 636s # -1, 636s # cancellable, 636s # callback, 636s # user_data); 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_call_single_arg_method_b_finish: 636s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 636s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 636s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 636s # * @error: Return location for error or %NULL. 636s # * 636s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 636s # * 636s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 636s # */ 636s # gboolean 636s # org_project_useful_interface_call_single_arg_method_b_finish ( 636s # OrgProjectUsefulInterface *proxy, 636s # gboolean *out_arg_b, 636s # GAsyncResult *res, 636s # GError **error) 636s # { 636s # GVariant *_ret; 636s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 636s # if (_ret == NULL) 636s # goto _out; 636s # g_variant_get (_ret, 636s # "(b)", 636s # out_arg_b); 636s # g_variant_unref (_ret); 636s # _out: 636s # return _ret != NULL; 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_call_single_arg_method_b_sync: 636s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 636s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 636s # * @cancellable: (nullable): A #GCancellable or %NULL. 636s # * @error: Return location for error or %NULL. 636s # * 636s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 636s # * 636s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 636s # * 636s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 636s # */ 636s # gboolean 636s # org_project_useful_interface_call_single_arg_method_b_sync ( 636s # OrgProjectUsefulInterface *proxy, 636s # gboolean *out_arg_b, 636s # GCancellable *cancellable, 636s # GError **error) 636s # { 636s # GVariant *_ret; 636s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 636s # "SingleArgMethodB", 636s # g_variant_new ("()"), 636s # G_DBUS_CALL_FLAGS_NONE, 636s # -1, 636s # cancellable, 636s # error); 636s # if (_ret == NULL) 636s # goto _out; 636s # g_variant_get (_ret, 636s # "(b)", 636s # out_arg_b); 636s # g_variant_unref (_ret); 636s # _out: 636s # return _ret != NULL; 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_complete_single_arg_method_b: 636s # * @object: A #OrgProjectUsefulInterface. 636s # * @invocation: (transfer full): A #GDBusMethodInvocation. 636s # * @arg_b: Parameter to return. 636s # * 636s # * 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. 636s # * 636s # * This method will free @invocation, you cannot use it afterwards. 636s # */ 636s # void 636s # org_project_useful_interface_complete_single_arg_method_b ( 636s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 636s # GDBusMethodInvocation *invocation, 636s # gboolean arg_b) 636s # { 636s # g_dbus_method_invocation_return_value (invocation, 636s # g_variant_new ("(b)", 636s # arg_b)); 636s # } 636s # 636s # /* ------------------------------------------------------------------------ */ 636s # 636s # /** 636s # * OrgProjectUsefulInterfaceProxy: 636s # * 636s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 636s # */ 636s # 636s # /** 636s # * OrgProjectUsefulInterfaceProxyClass: 636s # * @parent_class: The parent class. 636s # * 636s # * Class structure for #OrgProjectUsefulInterfaceProxy. 636s # */ 636s # 636s # struct _OrgProjectUsefulInterfaceProxyPrivate 636s # { 636s # GData *qdata; 636s # }; 636s # 636s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 636s # 636s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 636s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 636s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 636s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 636s # 636s # #else 636s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 636s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 636s # 636s # #endif 636s # static void 636s # org_project_useful_interface_proxy_finalize (GObject *object) 636s # { 636s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 636s # g_datalist_clear (&proxy->priv->qdata); 636s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 636s # } 636s # 636s # static void 636s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 636s # guint prop_id G_GNUC_UNUSED, 636s # GValue *value G_GNUC_UNUSED, 636s # GParamSpec *pspec G_GNUC_UNUSED) 636s # { 636s # } 636s # 636s # static void 636s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 636s # guint prop_id G_GNUC_UNUSED, 636s # const GValue *value G_GNUC_UNUSED, 636s # GParamSpec *pspec G_GNUC_UNUSED) 636s # { 636s # } 636s # 636s # static void 636s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 636s # const gchar *sender_name G_GNUC_UNUSED, 636s # const gchar *signal_name, 636s # GVariant *parameters) 636s # { 636s # _ExtendedGDBusSignalInfo *info; 636s # GVariantIter iter; 636s # GVariant *child; 636s # GValue *paramv; 636s # gsize num_params; 636s # gsize n; 636s # guint signal_id; 636s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 636s # if (info == NULL) 636s # return; 636s # num_params = g_variant_n_children (parameters); 636s # paramv = g_new0 (GValue, num_params + 1); 636s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 636s # g_value_set_object (¶mv[0], proxy); 636s # g_variant_iter_init (&iter, parameters); 636s # n = 1; 636s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 636s # { 636s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 636s # if (arg_info->use_gvariant) 636s # { 636s # g_value_init (¶mv[n], G_TYPE_VARIANT); 636s # g_value_set_variant (¶mv[n], child); 636s # n++; 636s # } 636s # else 636s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 636s # g_variant_unref (child); 636s # } 636s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 636s # g_signal_emitv (paramv, signal_id, 0, NULL); 636s # for (n = 0; n < num_params + 1; n++) 636s # g_value_unset (¶mv[n]); 636s # g_free (paramv); 636s # } 636s # 636s # static void 636s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 636s # GVariant *changed_properties, 636s # const gchar *const *invalidated_properties) 636s # { 636s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 636s # guint n; 636s # const gchar *key; 636s # GVariantIter *iter; 636s # _ExtendedGDBusPropertyInfo *info; 636s # g_variant_get (changed_properties, "a{sv}", &iter); 636s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 636s # { 636s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 636s # g_datalist_remove_data (&proxy->priv->qdata, key); 636s # if (info != NULL) 636s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 636s # } 636s # g_variant_iter_free (iter); 636s # for (n = 0; invalidated_properties[n] != NULL; n++) 636s # { 636s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 636s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 636s # if (info != NULL) 636s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 636s # } 636s # } 636s # 636s # static void 636s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 636s # { 636s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 636s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 636s # #else 636s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 636s # #endif 636s # 636s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 636s # } 636s # 636s # static void 636s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 636s # { 636s # GObjectClass *gobject_class; 636s # GDBusProxyClass *proxy_class; 636s # 636s # gobject_class = G_OBJECT_CLASS (klass); 636s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 636s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 636s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 636s # 636s # proxy_class = G_DBUS_PROXY_CLASS (klass); 636s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 636s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 636s # 636s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 636s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 636s # #endif 636s # } 636s # 636s # static void 636s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 636s # { 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_proxy_new: 636s # * @connection: A #GDBusConnection. 636s # * @flags: Flags from the #GDBusProxyFlags enumeration. 636s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 636s # * @object_path: An object path. 636s # * @cancellable: (nullable): A #GCancellable or %NULL. 636s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 636s # * @user_data: User data to pass to @callback. 636s # * 636s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 636s # * 636s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 636s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 636s # * 636s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 636s # */ 636s # void 636s # org_project_useful_interface_proxy_new ( 636s # GDBusConnection *connection, 636s # GDBusProxyFlags flags, 636s # const gchar *name, 636s # const gchar *object_path, 636s # GCancellable *cancellable, 636s # GAsyncReadyCallback callback, 636s # gpointer user_data) 636s # { 636s # g_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); 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_proxy_new_finish: 636s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 636s # * @error: Return location for error or %NULL 636s # * 636s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 636s # * 636s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 636s # */ 636s # OrgProjectUsefulInterface * 636s # org_project_useful_interface_proxy_new_finish ( 636s # GAsyncResult *res, 636s # GError **error) 636s # { 636s # GObject *ret; 636s # GObject *source_object; 636s # source_object = g_async_result_get_source_object (res); 636s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 636s # g_object_unref (source_object); 636s # if (ret != NULL) 636s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 636s # else 636s # return NULL; 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_proxy_new_sync: 636s # * @connection: A #GDBusConnection. 636s # * @flags: Flags from the #GDBusProxyFlags enumeration. 636s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 636s # * @object_path: An object path. 636s # * @cancellable: (nullable): A #GCancellable or %NULL. 636s # * @error: Return location for error or %NULL 636s # * 636s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 636s # * 636s # * The calling thread is blocked until a reply is received. 636s # * 636s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 636s # * 636s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 636s # */ 636s # OrgProjectUsefulInterface * 636s # org_project_useful_interface_proxy_new_sync ( 636s # GDBusConnection *connection, 636s # GDBusProxyFlags flags, 636s # const gchar *name, 636s # const gchar *object_path, 636s # GCancellable *cancellable, 636s # GError **error) 636s # { 636s # GInitable *ret; 636s # 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); 636s # if (ret != NULL) 636s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 636s # else 636s # return NULL; 636s # } 636s # 636s # 636s # /** 636s # * org_project_useful_interface_proxy_new_for_bus: 636s # * @bus_type: A #GBusType. 636s # * @flags: Flags from the #GDBusProxyFlags enumeration. 636s # * @name: A bus name (well-known or unique). 636s # * @object_path: An object path. 636s # * @cancellable: (nullable): A #GCancellable or %NULL. 636s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 636s # * @user_data: User data to pass to @callback. 636s # * 636s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 636s # * 636s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 636s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 636s # * 636s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 636s # */ 636s # void 636s # org_project_useful_interface_proxy_new_for_bus ( 636s # GBusType bus_type, 636s # GDBusProxyFlags flags, 636s # const gchar *name, 636s # const gchar *object_path, 636s # GCancellable *cancellable, 636s # GAsyncReadyCallback callback, 636s # gpointer user_data) 636s # { 636s # g_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); 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_proxy_new_for_bus_finish: 636s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 636s # * @error: Return location for error or %NULL 636s # * 636s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 636s # * 636s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 636s # */ 636s # OrgProjectUsefulInterface * 636s # org_project_useful_interface_proxy_new_for_bus_finish ( 636s # GAsyncResult *res, 636s # GError **error) 636s # { 636s # GObject *ret; 636s # GObject *source_object; 636s # source_object = g_async_result_get_source_object (res); 636s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 636s # g_object_unref (source_object); 636s # if (ret != NULL) 636s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 636s # else 636s # return NULL; 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_proxy_new_for_bus_sync: 636s # * @bus_type: A #GBusType. 636s # * @flags: Flags from the #GDBusProxyFlags enumeration. 636s # * @name: A bus name (well-known or unique). 636s # * @object_path: An object path. 636s # * @cancellable: (nullable): A #GCancellable or %NULL. 636s # * @error: Return location for error or %NULL 636s # * 636s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 636s # * 636s # * The calling thread is blocked until a reply is received. 636s # * 636s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 636s # * 636s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 636s # */ 636s # OrgProjectUsefulInterface * 636s # org_project_useful_interface_proxy_new_for_bus_sync ( 636s # GBusType bus_type, 636s # GDBusProxyFlags flags, 636s # const gchar *name, 636s # const gchar *object_path, 636s # GCancellable *cancellable, 636s # GError **error) 636s # { 636s # GInitable *ret; 636s # 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); 636s # if (ret != NULL) 636s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 636s # else 636s # return NULL; 636s # } 636s # 636s # 636s # /* ------------------------------------------------------------------------ */ 636s # 636s # /** 636s # * OrgProjectUsefulInterfaceSkeleton: 636s # * 636s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 636s # */ 636s # 636s # /** 636s # * OrgProjectUsefulInterfaceSkeletonClass: 636s # * @parent_class: The parent class. 636s # * 636s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 636s # */ 636s # 636s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 636s # { 636s # GValue *properties; 636s # GList *changed_properties; 636s # GSource *changed_properties_idle_source; 636s # GMainContext *context; 636s # GMutex lock; 636s # }; 636s # 636s # static void 636s # _org_project_useful_interface_skeleton_handle_method_call ( 636s # GDBusConnection *connection G_GNUC_UNUSED, 636s # const gchar *sender G_GNUC_UNUSED, 636s # const gchar *object_path G_GNUC_UNUSED, 636s # const gchar *interface_name, 636s # const gchar *method_name, 636s # GVariant *parameters, 636s # GDBusMethodInvocation *invocation, 636s # gpointer user_data) 636s # { 636s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 636s # _ExtendedGDBusMethodInfo *info; 636s # GVariantIter iter; 636s # GVariant *child; 636s # GValue *paramv; 636s # gsize num_params; 636s # guint num_extra; 636s # gsize n; 636s # guint signal_id; 636s # GValue return_value = G_VALUE_INIT; 636s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 636s # g_assert (info != NULL); 636s # num_params = g_variant_n_children (parameters); 636s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 636s # n = 0; 636s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 636s # g_value_set_object (¶mv[n++], skeleton); 636s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 636s # g_value_set_object (¶mv[n++], invocation); 636s # if (info->pass_fdlist) 636s # { 636s # #ifdef G_OS_UNIX 636s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 636s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 636s # #else 636s # g_assert_not_reached (); 636s # #endif 636s # } 636s # g_variant_iter_init (&iter, parameters); 636s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 636s # { 636s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 636s # if (arg_info->use_gvariant) 636s # { 636s # g_value_init (¶mv[n], G_TYPE_VARIANT); 636s # g_value_set_variant (¶mv[n], child); 636s # n++; 636s # } 636s # else 636s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 636s # g_variant_unref (child); 636s # } 636s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 636s # g_value_init (&return_value, G_TYPE_BOOLEAN); 636s # g_signal_emitv (paramv, signal_id, 0, &return_value); 636s # if (!g_value_get_boolean (&return_value)) 636s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 636s # g_value_unset (&return_value); 636s # for (n = 0; n < num_params + num_extra; n++) 636s # g_value_unset (¶mv[n]); 636s # g_free (paramv); 636s # } 636s # 636s # static GVariant * 636s # _org_project_useful_interface_skeleton_handle_get_property ( 636s # GDBusConnection *connection G_GNUC_UNUSED, 636s # const gchar *sender G_GNUC_UNUSED, 636s # const gchar *object_path G_GNUC_UNUSED, 636s # const gchar *interface_name G_GNUC_UNUSED, 636s # const gchar *property_name, 636s # GError **error, 636s # gpointer user_data) 636s # { 636s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 636s # GValue value = G_VALUE_INIT; 636s # GParamSpec *pspec; 636s # _ExtendedGDBusPropertyInfo *info; 636s # GVariant *ret; 636s # ret = NULL; 636s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 636s # g_assert (info != NULL); 636s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 636s # if (pspec == NULL) 636s # { 636s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 636s # } 636s # else 636s # { 636s # g_value_init (&value, pspec->value_type); 636s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 636s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 636s # g_value_unset (&value); 636s # } 636s # return ret; 636s # } 636s # 636s # static gboolean 636s # _org_project_useful_interface_skeleton_handle_set_property ( 636s # GDBusConnection *connection G_GNUC_UNUSED, 636s # const gchar *sender G_GNUC_UNUSED, 636s # const gchar *object_path G_GNUC_UNUSED, 636s # const gchar *interface_name G_GNUC_UNUSED, 636s # const gchar *property_name, 636s # GVariant *variant, 636s # GError **error, 636s # gpointer user_data) 636s # { 636s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 636s # GValue value = G_VALUE_INIT; 636s # GParamSpec *pspec; 636s # _ExtendedGDBusPropertyInfo *info; 636s # gboolean ret; 636s # ret = FALSE; 636s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 636s # g_assert (info != NULL); 636s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 636s # if (pspec == NULL) 636s # { 636s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 636s # } 636s # else 636s # { 636s # if (info->use_gvariant) 636s # g_value_set_variant (&value, variant); 636s # else 636s # g_dbus_gvariant_to_gvalue (variant, &value); 636s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 636s # g_value_unset (&value); 636s # ret = TRUE; 636s # } 636s # return ret; 636s # } 636s # 636s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 636s # { 636s # _org_project_useful_interface_skeleton_handle_method_call, 636s # _org_project_useful_interface_skeleton_handle_get_property, 636s # _org_project_useful_interface_skeleton_handle_set_property, 636s # {NULL} 636s # }; 636s # 636s # static GDBusInterfaceInfo * 636s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 636s # { 636s # return org_project_useful_interface_interface_info (); 636s # } 636s # 636s # static GDBusInterfaceVTable * 636s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 636s # { 636s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 636s # } 636s # 636s # static GVariant * 636s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 636s # { 636s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 636s # 636s # GVariantBuilder builder; 636s # guint n; 636s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 636s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 636s # goto out; 636s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 636s # { 636s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 636s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 636s # { 636s # GVariant *value; 636s # 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); 636s # if (value != NULL) 636s # { 636s # g_variant_take_ref (value); 636s # g_variant_builder_add (&builder, "{sv}", info->name, value); 636s # g_variant_unref (value); 636s # } 636s # } 636s # } 636s # out: 636s # return g_variant_builder_end (&builder); 636s # } 636s # 636s # static void 636s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 636s # { 636s # } 636s # 636s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 636s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 636s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 636s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 636s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 636s # 636s # #else 636s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 636s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 636s # 636s # #endif 636s # static void 636s # org_project_useful_interface_skeleton_finalize (GObject *object) 636s # { 636s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 636s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 636s # if (skeleton->priv->changed_properties_idle_source != NULL) 636s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 636s # g_main_context_unref (skeleton->priv->context); 636s # g_mutex_clear (&skeleton->priv->lock); 636s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 636s # } 636s # 636s # static void 636s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 636s # { 636s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 636s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 636s # #else 636s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 636s # #endif 636s # 636s # g_mutex_init (&skeleton->priv->lock); 636s # skeleton->priv->context = g_main_context_ref_thread_default (); 636s # } 636s # 636s # static void 636s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 636s # { 636s # GObjectClass *gobject_class; 636s # GDBusInterfaceSkeletonClass *skeleton_class; 636s # 636s # gobject_class = G_OBJECT_CLASS (klass); 636s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 636s # 636s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 636s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 636s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 636s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 636s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 636s # 636s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 636s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 636s # #endif 636s # } 636s # 636s # static void 636s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 636s # { 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_skeleton_new: 636s # * 636s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 636s # * 636s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 636s # */ 636s # OrgProjectUsefulInterface * 636s # org_project_useful_interface_skeleton_new (void) 636s # { 636s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 636s # } 636s # /tmp/tmpp9t62ouk/tmp86kn1e0d.xml: 636s # 636s # 636s # 636s # 636s # 636s # 636s # 636s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp9t62ouk/tmp86kn1e0d.xml', '--output', '-', '--body'] 636s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 636s # Output: /* 636s # * This file is generated by gdbus-codegen, do not modify it. 636s # * 636s # * The license of this code is the same as for the D-Bus interface description 636s # * it was derived from. Note that it links to GLib, so must comply with the 636s # * LGPL linking clauses. 636s # */ 636s # 636s # #ifdef HAVE_CONFIG_H 636s # # include "config.h" 636s # #endif 636s # 636s # #include 636s # #ifdef G_OS_UNIX 636s # # include 636s # #endif 636s # 636s # #ifdef G_ENABLE_DEBUG 636s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 636s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 636s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 636s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 636s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 636s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 636s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 636s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 636s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 636s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 636s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 636s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 636s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 636s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 636s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 636s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 636s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 636s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 636s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 636s # #else /* !G_ENABLE_DEBUG */ 636s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 636s # * Do not access GValues directly in your code. Instead, use the 636s # * g_value_get_*() functions 636s # */ 636s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 636s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 636s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 636s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 636s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 636s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 636s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 636s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 636s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 636s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 636s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 636s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 636s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 636s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 636s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 636s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 636s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 636s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 636s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 636s # #endif /* !G_ENABLE_DEBUG */ 636s # 636s # typedef struct 636s # { 636s # GDBusArgInfo parent_struct; 636s # gboolean use_gvariant; 636s # } _ExtendedGDBusArgInfo; 636s # 636s # typedef struct 636s # { 636s # GDBusMethodInfo parent_struct; 636s # const gchar *signal_name; 636s # gboolean pass_fdlist; 636s # } _ExtendedGDBusMethodInfo; 636s # 636s # typedef struct 636s # { 636s # GDBusSignalInfo parent_struct; 636s # const gchar *signal_name; 636s # } _ExtendedGDBusSignalInfo; 636s # 636s # typedef struct 636s # { 636s # GDBusPropertyInfo parent_struct; 636s # const gchar *hyphen_name; 636s # guint use_gvariant : 1; 636s # guint emits_changed_signal : 1; 636s # } _ExtendedGDBusPropertyInfo; 636s # 636s # typedef struct 636s # { 636s # GDBusInterfaceInfo parent_struct; 636s # const gchar *hyphen_name; 636s # } _ExtendedGDBusInterfaceInfo; 636s # 636s # typedef struct 636s # { 636s # const _ExtendedGDBusPropertyInfo *info; 636s # guint prop_id; 636s # GValue orig_value; /* the value before the change */ 636s # } ChangedProperty; 636s # 636s # static void 636s # _changed_property_free (ChangedProperty *data) 636s # { 636s # g_value_unset (&data->orig_value); 636s # g_free (data); 636s # } 636s # 636s # static gboolean 636s # _g_strv_equal0 (gchar **a, gchar **b) 636s # { 636s # gboolean ret = FALSE; 636s # guint n; 636s # if (a == NULL && b == NULL) 636s # { 636s # ret = TRUE; 636s # goto out; 636s # } 636s # if (a == NULL || b == NULL) 636s # goto out; 636s # if (g_strv_length (a) != g_strv_length (b)) 636s # goto out; 636s # for (n = 0; a[n] != NULL; n++) 636s # if (g_strcmp0 (a[n], b[n]) != 0) 636s # goto out; 636s # ret = TRUE; 636s # out: 636s # return ret; 636s # } 636s # 636s # static gboolean 636s # _g_variant_equal0 (GVariant *a, GVariant *b) 636s # { 636s # gboolean ret = FALSE; 636s # if (a == NULL && b == NULL) 636s # { 636s # ret = TRUE; 636s # goto out; 636s # } 636s # if (a == NULL || b == NULL) 636s # goto out; 636s # ret = g_variant_equal (a, b); 636s # out: 636s # return ret; 636s # } 636s # 636s # G_GNUC_UNUSED static gboolean 636s # _g_value_equal (const GValue *a, const GValue *b) 636s # { 636s # gboolean ret = FALSE; 636s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 636s # switch (G_VALUE_TYPE (a)) 636s # { 636s # case G_TYPE_BOOLEAN: 636s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 636s # break; 636s # case G_TYPE_UCHAR: 636s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 636s # break; 636s # case G_TYPE_INT: 636s # ret = (g_value_get_int (a) == g_value_get_int (b)); 636s # break; 636s # case G_TYPE_UINT: 636s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 636s # break; 636s # case G_TYPE_INT64: 636s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 636s # break; 636s # case G_TYPE_UINT64: 636s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 636s # break; 636s # case G_TYPE_DOUBLE: 636s # { 636s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 636s # gdouble da = g_value_get_double (a); 636s # gdouble db = g_value_get_double (b); 636s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 636s # } 636s # break; 636s # case G_TYPE_STRING: 636s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 636s # break; 636s # case G_TYPE_VARIANT: 636s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 636s # break; 636s # default: 636s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 636s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 636s # else 636s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 636s # break; 636s # } 636s # return ret; 636s # } 636s # 636s # static void 636s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 636s # GClosure *closure, 636s # GValue *return_value, 636s # unsigned int n_param_values, 636s # const GValue *param_values, 636s # void *invocation_hint G_GNUC_UNUSED, 636s # void *marshal_data) 636s # { 636s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 636s # (void *data1, 636s # GDBusMethodInvocation *arg_method_invocation, 636s # void *data2); 636s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 636s # GCClosure *cc = (GCClosure*) closure; 636s # void *data1, *data2; 636s # gboolean v_return; 636s # 636s # g_return_if_fail (return_value != NULL); 636s # g_return_if_fail (n_param_values == 2); 636s # 636s # if (G_CCLOSURE_SWAP_DATA (closure)) 636s # { 636s # data1 = closure->data; 636s # data2 = g_value_peek_pointer (param_values + 0); 636s # } 636s # else 636s # { 636s # data1 = g_value_peek_pointer (param_values + 0); 636s # data2 = closure->data; 636s # } 636s # 636s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 636s # (marshal_data ? marshal_data : cc->callback); 636s # 636s # v_return = 636s # callback (data1, 636s # g_marshal_value_peek_object (param_values + 1), 636s # data2); 636s # 636s # g_value_set_boolean (return_value, v_return); 636s # } 636s # 636s # /* ------------------------------------------------------------------------ 636s # * Code for interface org.project.UsefulInterface 636s # * ------------------------------------------------------------------------ 636s # */ 636s # 636s # /** 636s # * SECTION:OrgProjectUsefulInterface 636s # * @title: OrgProjectUsefulInterface 636s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 636s # * 636s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 636s # */ 636s # 636s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 636s # 636s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 636s # { 636s # { 636s # -1, 636s # (gchar *) "arg_y", 636s # (gchar *) "y", 636s # NULL 636s # }, 636s # FALSE 636s # }; 636s # 636s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 636s # { 636s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 636s # NULL 636s # }; 636s # 636s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 636s # { 636s # { 636s # -1, 636s # (gchar *) "SingleArgMethodY", 636s # NULL, 636s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 636s # NULL 636s # }, 636s # "handle-single-arg-method-y", 636s # FALSE 636s # }; 636s # 636s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 636s # { 636s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 636s # NULL 636s # }; 636s # 636s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 636s # { 636s # { 636s # -1, 636s # (gchar *) "org.project.UsefulInterface", 636s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 636s # NULL, 636s # NULL, 636s # NULL 636s # }, 636s # "org-project-useful-interface", 636s # }; 636s # 636s # 636s # /** 636s # * org_project_useful_interface_interface_info: 636s # * 636s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 636s # * 636s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 636s # */ 636s # GDBusInterfaceInfo * 636s # org_project_useful_interface_interface_info (void) 636s # { 636s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_override_properties: 636s # * @klass: The class structure for a #GObject derived class. 636s # * @property_id_begin: The property id to assign to the first overridden property. 636s # * 636s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 636s # * The properties are overridden in the order they are defined. 636s # * 636s # * Returns: The last property id. 636s # */ 636s # guint 636s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 636s # { 636s # return property_id_begin - 1; 636s # } 636s # 636s # 636s # inline static void 636s # org_project_useful_interface_method_marshal_single_arg_method_y ( 636s # GClosure *closure, 636s # GValue *return_value, 636s # unsigned int n_param_values, 636s # const GValue *param_values, 636s # void *invocation_hint, 636s # void *marshal_data) 636s # { 636s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 636s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 636s # } 636s # 636s # 636s # /** 636s # * OrgProjectUsefulInterface: 636s # * 636s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 636s # */ 636s # 636s # /** 636s # * OrgProjectUsefulInterfaceIface: 636s # * @parent_iface: The parent interface. 636s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 636s # * 636s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 636s # */ 636s # 636s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 636s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 636s # 636s # static void 636s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 636s # { 636s # /* GObject signals for incoming D-Bus method calls: */ 636s # /** 636s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 636s # * @object: A #OrgProjectUsefulInterface. 636s # * @invocation: A #GDBusMethodInvocation. 636s # * 636s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 636s # * 636s # * 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. 636s # * 636s # * 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. 636s # */ 636s # g_signal_new ("handle-single-arg-method-y", 636s # G_TYPE_FROM_INTERFACE (iface), 636s # G_SIGNAL_RUN_LAST, 636s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 636s # g_signal_accumulator_true_handled, 636s # NULL, 636s # org_project_useful_interface_method_marshal_single_arg_method_y, 636s # G_TYPE_BOOLEAN, 636s # 1, 636s # G_TYPE_DBUS_METHOD_INVOCATION); 636s # 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_call_single_arg_method_y: 636s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 636s # * @cancellable: (nullable): A #GCancellable or %NULL. 636s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 636s # * @user_data: User data to pass to @callback. 636s # * 636s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 636s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 636s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 636s # * 636s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 636s # */ 636s # void 636s # org_project_useful_interface_call_single_arg_method_y ( 636s # OrgProjectUsefulInterface *proxy, 636s # GCancellable *cancellable, 636s # GAsyncReadyCallback callback, 636s # gpointer user_data) 636s # { 636s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 636s # "SingleArgMethodY", 636s # g_variant_new ("()"), 636s # G_DBUS_CALL_FLAGS_NONE, 636s # -1, 636s # cancellable, 636s # callback, 636s # user_data); 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_call_single_arg_method_y_finish: 636s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 636s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 636s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 636s # * @error: Return location for error or %NULL. 636s # * 636s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 636s # * 636s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 636s # */ 636s # gboolean 636s # org_project_useful_interface_call_single_arg_method_y_finish ( 636s # OrgProjectUsefulInterface *proxy, 636s # guchar *out_arg_y, 636s # GAsyncResult *res, 636s # GError **error) 636s # { 636s # GVariant *_ret; 636s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 636s # if (_ret == NULL) 636s # goto _out; 636s # g_variant_get (_ret, 636s # "(y)", 636s # out_arg_y); 636s # g_variant_unref (_ret); 636s # _out: 636s # return _ret != NULL; 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_call_single_arg_method_y_sync: 636s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 636s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 636s # * @cancellable: (nullable): A #GCancellable or %NULL. 636s # * @error: Return location for error or %NULL. 636s # * 636s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 636s # * 636s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 636s # * 636s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 636s # */ 636s # gboolean 636s # org_project_useful_interface_call_single_arg_method_y_sync ( 636s # OrgProjectUsefulInterface *proxy, 636s # guchar *out_arg_y, 636s # GCancellable *cancellable, 636s # GError **error) 636s # { 636s # GVariant *_ret; 636s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 636s # "SingleArgMethodY", 636s # g_variant_new ("()"), 636s # G_DBUS_CALL_FLAGS_NONE, 636s # -1, 636s # cancellable, 636s # error); 636s # if (_ret == NULL) 636s # goto _out; 636s # g_variant_get (_ret, 636s # "(y)", 636s # out_arg_y); 636s # g_variant_unref (_ret); 636s # _out: 636s # return _ret != NULL; 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_complete_single_arg_method_y: 636s # * @object: A #OrgProjectUsefulInterface. 636s # * @invocation: (transfer full): A #GDBusMethodInvocation. 636s # * @arg_y: Parameter to return. 636s # * 636s # * 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. 636s # * 636s # * This method will free @invocation, you cannot use it afterwards. 636s # */ 636s # void 636s # org_project_useful_interface_complete_single_arg_method_y ( 636s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 636s # GDBusMethodInvocation *invocation, 636s # guchar arg_y) 636s # { 636s # g_dbus_method_invocation_return_value (invocation, 636s # g_variant_new ("(y)", 636s # arg_y)); 636s # } 636s # 636s # /* ------------------------------------------------------------------------ */ 636s # 636s # /** 636s # * OrgProjectUsefulInterfaceProxy: 636s # * 636s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 636s # */ 636s # 636s # /** 636s # * OrgProjectUsefulInterfaceProxyClass: 636s # * @parent_class: The parent class. 636s # * 636s # * Class structure for #OrgProjectUsefulInterfaceProxy. 636s # */ 636s # 636s # struct _OrgProjectUsefulInterfaceProxyPrivate 636s # { 636s # GData *qdata; 636s # }; 636s # 636s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 636s # 636s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 636s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 636s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 636s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 636s # 636s # #else 636s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 636s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 636s # 636s # #endif 636s # static void 636s # org_project_useful_interface_proxy_finalize (GObject *object) 636s # { 636s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 636s # g_datalist_clear (&proxy->priv->qdata); 636s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 636s # } 636s # 636s # static void 636s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 636s # guint prop_id G_GNUC_UNUSED, 636s # GValue *value G_GNUC_UNUSED, 636s # GParamSpec *pspec G_GNUC_UNUSED) 636s # { 636s # } 636s # 636s # static void 636s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 636s # guint prop_id G_GNUC_UNUSED, 636s # const GValue *value G_GNUC_UNUSED, 636s # GParamSpec *pspec G_GNUC_UNUSED) 636s # { 636s # } 636s # 636s # static void 636s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 636s # const gchar *sender_name G_GNUC_UNUSED, 636s # const gchar *signal_name, 636s # GVariant *parameters) 636s # { 636s # _ExtendedGDBusSignalInfo *info; 636s # GVariantIter iter; 636s # GVariant *child; 636s # GValue *paramv; 636s # gsize num_params; 636s # gsize n; 636s # guint signal_id; 636s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 636s # if (info == NULL) 636s # return; 636s # num_params = g_variant_n_children (parameters); 636s # paramv = g_new0 (GValue, num_params + 1); 636s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 636s # g_value_set_object (¶mv[0], proxy); 636s # g_variant_iter_init (&iter, parameters); 636s # n = 1; 636s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 636s # { 636s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 636s # if (arg_info->use_gvariant) 636s # { 636s # g_value_init (¶mv[n], G_TYPE_VARIANT); 636s # g_value_set_variant (¶mv[n], child); 636s # n++; 636s # } 636s # else 636s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 636s # g_variant_unref (child); 636s # } 636s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 636s # g_signal_emitv (paramv, signal_id, 0, NULL); 636s # for (n = 0; n < num_params + 1; n++) 636s # g_value_unset (¶mv[n]); 636s # g_free (paramv); 636s # } 636s # 636s # static void 636s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 636s # GVariant *changed_properties, 636s # const gchar *const *invalidated_properties) 636s # { 636s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 636s # guint n; 636s # const gchar *key; 636s # GVariantIter *iter; 636s # _ExtendedGDBusPropertyInfo *info; 636s # g_variant_get (changed_properties, "a{sv}", &iter); 636s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 636s # { 636s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 636s # g_datalist_remove_data (&proxy->priv->qdata, key); 636s # if (info != NULL) 636s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 636s # } 636s # g_variant_iter_free (iter); 636s # for (n = 0; invalidated_properties[n] != NULL; n++) 636s # { 636s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 636s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 636s # if (info != NULL) 636s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 636s # } 636s # } 636s # 636s # static void 636s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 636s # { 636s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 636s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 636s # #else 636s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 636s # #endif 636s # 636s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 636s # } 636s # 636s # static void 636s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 636s # { 636s # GObjectClass *gobject_class; 636s # GDBusProxyClass *proxy_class; 636s # 636s # gobject_class = G_OBJECT_CLASS (klass); 636s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 636s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 636s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 636s # 636s # proxy_class = G_DBUS_PROXY_CLASS (klass); 636s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 636s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 636s # 636s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 636s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 636s # #endif 636s # } 636s # 636s # static void 636s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 636s # { 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_proxy_new: 636s # * @connection: A #GDBusConnection. 636s # * @flags: Flags from the #GDBusProxyFlags enumeration. 636s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 636s # * @object_path: An object path. 636s # * @cancellable: (nullable): A #GCancellable or %NULL. 636s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 636s # * @user_data: User data to pass to @callback. 636s # * 636s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 636s # * 636s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 636s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 636s # * 636s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 636s # */ 636s # void 636s # org_project_useful_interface_proxy_new ( 636s # GDBusConnection *connection, 636s # GDBusProxyFlags flags, 636s # const gchar *name, 636s # const gchar *object_path, 636s # GCancellable *cancellable, 636s # GAsyncReadyCallback callback, 636s # gpointer user_data) 636s # { 636s # g_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); 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_proxy_new_finish: 636s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 636s # * @error: Return location for error or %NULL 636s # * 636s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 636s # * 636s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 636s # */ 636s # OrgProjectUsefulInterface * 636s # org_project_useful_interface_proxy_new_finish ( 636s # GAsyncResult *res, 636s # GError **error) 636s # { 636s # GObject *ret; 636s # GObject *source_object; 636s # source_object = g_async_result_get_source_object (res); 636s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 636s # g_object_unref (source_object); 636s # if (ret != NULL) 636s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 636s # else 636s # return NULL; 636s # } 636s # 636s # /** 636s # * org_project_useful_interface_proxy_new_sync: 636s # * @connection: A #GDBusConnection. 636s # * @flags: Flags from the #GDBusProxyFlags enumeration. 636s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 636s # * @object_path: An object path. 636s # * @cancellable: (nullable): A #GCancellable or %NULL. 636s # * @error: Return location for error or %NULL 636s # * 636s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 636s # * 636s # * The calling thread is blocked until a reply is received. 636s # * 636s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 636s # * 636s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 636s # */ 636s # OrgProjectUsefulInterface * 636s # org_project_useful_interface_proxy_new_sync ( 636s # GDBusConnection *connection, 636s # GDBusProxyFlags flags, 636s # const gchar *name, 636s # const gchar *object_path, 636s # GCancellable *cancellable, 636s # GError **error) 636s # { 636s # GInitable *ret; 637s # 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); 637s # if (ret != NULL) 637s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 637s # else 637s # return NULL; 637s # } 637s # 637s # 637s # /** 637s # * org_project_useful_interface_proxy_new_for_bus: 637s # * @bus_type: A #GBusType. 637s # * @flags: Flags from the #GDBusProxyFlags enumeration. 637s # * @name: A bus name (well-known or unique). 637s # * @object_path: An object path. 637s # * @cancellable: (nullable): A #GCancellable or %NULL. 637s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 637s # * @user_data: User data to pass to @callback. 637s # * 637s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 637s # * 637s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 637s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 637s # * 637s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 637s # */ 637s # void 637s # org_project_useful_interface_proxy_new_for_bus ( 637s # GBusType bus_type, 637s # GDBusProxyFlags flags, 637s # const gchar *name, 637s # const gchar *object_path, 637s # GCancellable *cancellable, 637s # GAsyncReadyCallback callback, 637s # gpointer user_data) 637s # { 637s # g_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); 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_proxy_new_for_bus_finish: 637s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 637s # * @error: Return location for error or %NULL 637s # * 637s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 637s # * 637s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 637s # */ 637s # OrgProjectUsefulInterface * 637s # org_project_useful_interface_proxy_new_for_bus_finish ( 637s # GAsyncResult *res, 637s # GError **error) 637s # { 637s # GObject *ret; 637s # GObject *source_object; 637s # source_object = g_async_result_get_source_object (res); 637s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 637s # g_object_unref (source_object); 637s # if (ret != NULL) 637s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 637s # else 637s # return NULL; 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_proxy_new_for_bus_sync: 637s # * @bus_type: A #GBusType. 637s # * @flags: Flags from the #GDBusProxyFlags enumeration. 637s # * @name: A bus name (well-known or unique). 637s # * @object_path: An object path. 637s # * @cancellable: (nullable): A #GCancellable or %NULL. 637s # * @error: Return location for error or %NULL 637s # * 637s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 637s # * 637s # * The calling thread is blocked until a reply is received. 637s # * 637s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 637s # * 637s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 637s # */ 637s # OrgProjectUsefulInterface * 637s # org_project_useful_interface_proxy_new_for_bus_sync ( 637s # GBusType bus_type, 637s # GDBusProxyFlags flags, 637s # const gchar *name, 637s # const gchar *object_path, 637s # GCancellable *cancellable, 637s # GError **error) 637s # { 637s # GInitable *ret; 637s # 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); 637s # if (ret != NULL) 637s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 637s # else 637s # return NULL; 637s # } 637s # 637s # 637s # /* ------------------------------------------------------------------------ */ 637s # 637s # /** 637s # * OrgProjectUsefulInterfaceSkeleton: 637s # * 637s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 637s # */ 637s # 637s # /** 637s # * OrgProjectUsefulInterfaceSkeletonClass: 637s # * @parent_class: The parent class. 637s # * 637s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 637s # */ 637s # 637s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 637s # { 637s # GValue *properties; 637s # GList *changed_properties; 637s # GSource *changed_properties_idle_source; 637s # GMainContext *context; 637s # GMutex lock; 637s # }; 637s # 637s # static void 637s # _org_project_useful_interface_skeleton_handle_method_call ( 637s # GDBusConnection *connection G_GNUC_UNUSED, 637s # const gchar *sender G_GNUC_UNUSED, 637s # const gchar *object_path G_GNUC_UNUSED, 637s # const gchar *interface_name, 637s # const gchar *method_name, 637s # GVariant *parameters, 637s # GDBusMethodInvocation *invocation, 637s # gpointer user_data) 637s # { 637s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 637s # _ExtendedGDBusMethodInfo *info; 637s # GVariantIter iter; 637s # GVariant *child; 637s # GValue *paramv; 637s # gsize num_params; 637s # guint num_extra; 637s # gsize n; 637s # guint signal_id; 637s # GValue return_value = G_VALUE_INIT; 637s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 637s # g_assert (info != NULL); 637s # num_params = g_variant_n_children (parameters); 637s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 637s # n = 0; 637s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 637s # g_value_set_object (¶mv[n++], skeleton); 637s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 637s # g_value_set_object (¶mv[n++], invocation); 637s # if (info->pass_fdlist) 637s # { 637s # #ifdef G_OS_UNIX 637s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 637s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 637s # #else 637s # g_assert_not_reached (); 637s # #endif 637s # } 637s # g_variant_iter_init (&iter, parameters); 637s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 637s # { 637s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 637s # if (arg_info->use_gvariant) 637s # { 637s # g_value_init (¶mv[n], G_TYPE_VARIANT); 637s # g_value_set_variant (¶mv[n], child); 637s # n++; 637s # } 637s # else 637s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 637s # g_variant_unref (child); 637s # } 637s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 637s # g_value_init (&return_value, G_TYPE_BOOLEAN); 637s # g_signal_emitv (paramv, signal_id, 0, &return_value); 637s # if (!g_value_get_boolean (&return_value)) 637s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 637s # g_value_unset (&return_value); 637s # for (n = 0; n < num_params + num_extra; n++) 637s # g_value_unset (¶mv[n]); 637s # g_free (paramv); 637s # } 637s # 637s # static GVariant * 637s # _org_project_useful_interface_skeleton_handle_get_property ( 637s # GDBusConnection *connection G_GNUC_UNUSED, 637s # const gchar *sender G_GNUC_UNUSED, 637s # const gchar *object_path G_GNUC_UNUSED, 637s # const gchar *interface_name G_GNUC_UNUSED, 637s # const gchar *property_name, 637s # GError **error, 637s # gpointer user_data) 637s # { 637s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 637s # GValue value = G_VALUE_INIT; 637s # GParamSpec *pspec; 637s # _ExtendedGDBusPropertyInfo *info; 637s # GVariant *ret; 637s # ret = NULL; 637s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 637s # g_assert (info != NULL); 637s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 637s # if (pspec == NULL) 637s # { 637s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 637s # } 637s # else 637s # { 637s # g_value_init (&value, pspec->value_type); 637s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 637s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 637s # g_value_unset (&value); 637s # } 637s # return ret; 637s # } 637s # 637s # static gboolean 637s # _org_project_useful_interface_skeleton_handle_set_property ( 637s # GDBusConnection *connection G_GNUC_UNUSED, 637s # const gchar *sender G_GNUC_UNUSED, 637s # const gchar *object_path G_GNUC_UNUSED, 637s # const gchar *interface_name G_GNUC_UNUSED, 637s # const gchar *property_name, 637s # GVariant *variant, 637s # GError **error, 637s # gpointer user_data) 637s # { 637s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 637s # GValue value = G_VALUE_INIT; 637s # GParamSpec *pspec; 637s # _ExtendedGDBusPropertyInfo *info; 637s # gboolean ret; 637s # ret = FALSE; 637s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 637s # g_assert (info != NULL); 637s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 637s # if (pspec == NULL) 637s # { 637s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 637s # } 637s # else 637s # { 637s # if (info->use_gvariant) 637s # g_value_set_variant (&value, variant); 637s # else 637s # g_dbus_gvariant_to_gvalue (variant, &value); 637s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 637s # g_value_unset (&value); 637s # ret = TRUE; 637s # } 637s # return ret; 637s # } 637s # 637s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 637s # { 637s # _org_project_useful_interface_skeleton_handle_method_call, 637s # _org_project_useful_interface_skeleton_handle_get_property, 637s # _org_project_useful_interface_skeleton_handle_set_property, 637s # {NULL} 637s # }; 637s # 637s # static GDBusInterfaceInfo * 637s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 637s # { 637s # return org_project_useful_interface_interface_info (); 637s # } 637s # 637s # static GDBusInterfaceVTable * 637s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 637s # { 637s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 637s # } 637s # 637s # static GVariant * 637s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 637s # { 637s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 637s # 637s # GVariantBuilder builder; 637s # guint n; 637s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 637s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 637s # goto out; 637s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 637s # { 637s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 637s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 637s # { 637s # GVariant *value; 637s # 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); 637s # if (value != NULL) 637s # { 637s # g_variant_take_ref (value); 637s # g_variant_builder_add (&builder, "{sv}", info->name, value); 637s # g_variant_unref (value); 637s # } 637s # } 637s # } 637s # out: 637s # return g_variant_builder_end (&builder); 637s # } 637s # 637s # static void 637s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 637s # { 637s # } 637s # 637s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 637s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 637s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 637s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 637s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 637s # 637s # #else 637s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 637s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 637s # 637s # #endif 637s # static void 637s # org_project_useful_interface_skeleton_finalize (GObject *object) 637s # { 637s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 637s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 637s # if (skeleton->priv->changed_properties_idle_source != NULL) 637s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 637s # g_main_context_unref (skeleton->priv->context); 637s # g_mutex_clear (&skeleton->priv->lock); 637s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 637s # } 637s # 637s # static void 637s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 637s # { 637s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 637s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 637s # #else 637s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 637s # #endif 637s # 637s # g_mutex_init (&skeleton->priv->lock); 637s # skeleton->priv->context = g_main_context_ref_thread_default (); 637s # } 637s # 637s # static void 637s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 637s # { 637s # GObjectClass *gobject_class; 637s # GDBusInterfaceSkeletonClass *skeleton_class; 637s # 637s # gobject_class = G_OBJECT_CLASS (klass); 637s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 637s # 637s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 637s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 637s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 637s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 637s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 637s # 637s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 637s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 637s # #endif 637s # } 637s # 637s # static void 637s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 637s # { 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_skeleton_new: 637s # * 637s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 637s # * 637s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 637s # */ 637s # OrgProjectUsefulInterface * 637s # org_project_useful_interface_skeleton_new (void) 637s # { 637s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 637s # } 637s # /tmp/tmpp9t62ouk/tmpn7xw__3r.xml: 637s # 637s # 637s # 637s # 637s # 637s # 637s # 637s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp9t62ouk/tmpn7xw__3r.xml', '--output', '-', '--body'] 637s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 637s # Output: /* 637s # * This file is generated by gdbus-codegen, do not modify it. 637s # * 637s # * The license of this code is the same as for the D-Bus interface description 637s # * it was derived from. Note that it links to GLib, so must comply with the 637s # * LGPL linking clauses. 637s # */ 637s # 637s # #ifdef HAVE_CONFIG_H 637s # # include "config.h" 637s # #endif 637s # 637s # #include 637s # #ifdef G_OS_UNIX 637s # # include 637s # #endif 637s # 637s # #ifdef G_ENABLE_DEBUG 637s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 637s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 637s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 637s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 637s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 637s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 637s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 637s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 637s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 637s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 637s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 637s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 637s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 637s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 637s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 637s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 637s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 637s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 637s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 637s # #else /* !G_ENABLE_DEBUG */ 637s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 637s # * Do not access GValues directly in your code. Instead, use the 637s # * g_value_get_*() functions 637s # */ 637s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 637s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 637s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 637s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 637s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 637s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 637s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 637s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 637s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 637s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 637s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 637s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 637s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 637s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 637s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 637s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 637s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 637s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 637s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 637s # #endif /* !G_ENABLE_DEBUG */ 637s # 637s # typedef struct 637s # { 637s # GDBusArgInfo parent_struct; 637s # gboolean use_gvariant; 637s # } _ExtendedGDBusArgInfo; 637s # 637s # typedef struct 637s # { 637s # GDBusMethodInfo parent_struct; 637s # const gchar *signal_name; 637s # gboolean pass_fdlist; 637s # } _ExtendedGDBusMethodInfo; 637s # 637s # typedef struct 637s # { 637s # GDBusSignalInfo parent_struct; 637s # const gchar *signal_name; 637s # } _ExtendedGDBusSignalInfo; 637s # 637s # typedef struct 637s # { 637s # GDBusPropertyInfo parent_struct; 637s # const gchar *hyphen_name; 637s # guint use_gvariant : 1; 637s # guint emits_changed_signal : 1; 637s # } _ExtendedGDBusPropertyInfo; 637s # 637s # typedef struct 637s # { 637s # GDBusInterfaceInfo parent_struct; 637s # const gchar *hyphen_name; 637s # } _ExtendedGDBusInterfaceInfo; 637s # 637s # typedef struct 637s # { 637s # const _ExtendedGDBusPropertyInfo *info; 637s # guint prop_id; 637s # GValue orig_value; /* the value before the change */ 637s # } ChangedProperty; 637s # 637s # static void 637s # _changed_property_free (ChangedProperty *data) 637s # { 637s # g_value_unset (&data->orig_value); 637s # g_free (data); 637s # } 637s # 637s # static gboolean 637s # _g_strv_equal0 (gchar **a, gchar **b) 637s # { 637s # gboolean ret = FALSE; 637s # guint n; 637s # if (a == NULL && b == NULL) 637s # { 637s # ret = TRUE; 637s # goto out; 637s # } 637s # if (a == NULL || b == NULL) 637s # goto out; 637s # if (g_strv_length (a) != g_strv_length (b)) 637s # goto out; 637s # for (n = 0; a[n] != NULL; n++) 637s # if (g_strcmp0 (a[n], b[n]) != 0) 637s # goto out; 637s # ret = TRUE; 637s # out: 637s # return ret; 637s # } 637s # 637s # static gboolean 637s # _g_variant_equal0 (GVariant *a, GVariant *b) 637s # { 637s # gboolean ret = FALSE; 637s # if (a == NULL && b == NULL) 637s # { 637s # ret = TRUE; 637s # goto out; 637s # } 637s # if (a == NULL || b == NULL) 637s # goto out; 637s # ret = g_variant_equal (a, b); 637s # out: 637s # return ret; 637s # } 637s # 637s # G_GNUC_UNUSED static gboolean 637s # _g_value_equal (const GValue *a, const GValue *b) 637s # { 637s # gboolean ret = FALSE; 637s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 637s # switch (G_VALUE_TYPE (a)) 637s # { 637s # case G_TYPE_BOOLEAN: 637s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 637s # break; 637s # case G_TYPE_UCHAR: 637s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 637s # break; 637s # case G_TYPE_INT: 637s # ret = (g_value_get_int (a) == g_value_get_int (b)); 637s # break; 637s # case G_TYPE_UINT: 637s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 637s # break; 637s # case G_TYPE_INT64: 637s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 637s # break; 637s # case G_TYPE_UINT64: 637s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 637s # break; 637s # case G_TYPE_DOUBLE: 637s # { 637s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 637s # gdouble da = g_value_get_double (a); 637s # gdouble db = g_value_get_double (b); 637s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 637s # } 637s # break; 637s # case G_TYPE_STRING: 637s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 637s # break; 637s # case G_TYPE_VARIANT: 637s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 637s # break; 637s # default: 637s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 637s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 637s # else 637s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 637s # break; 637s # } 637s # return ret; 637s # } 637s # 637s # static void 637s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 637s # GClosure *closure, 637s # GValue *return_value, 637s # unsigned int n_param_values, 637s # const GValue *param_values, 637s # void *invocation_hint G_GNUC_UNUSED, 637s # void *marshal_data) 637s # { 637s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 637s # (void *data1, 637s # GDBusMethodInvocation *arg_method_invocation, 637s # void *data2); 637s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 637s # GCClosure *cc = (GCClosure*) closure; 637s # void *data1, *data2; 637s # gboolean v_return; 637s # 637s # g_return_if_fail (return_value != NULL); 637s # g_return_if_fail (n_param_values == 2); 637s # 637s # if (G_CCLOSURE_SWAP_DATA (closure)) 637s # { 637s # data1 = closure->data; 637s # data2 = g_value_peek_pointer (param_values + 0); 637s # } 637s # else 637s # { 637s # data1 = g_value_peek_pointer (param_values + 0); 637s # data2 = closure->data; 637s # } 637s # 637s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 637s # (marshal_data ? marshal_data : cc->callback); 637s # 637s # v_return = 637s # callback (data1, 637s # g_marshal_value_peek_object (param_values + 1), 637s # data2); 637s # 637s # g_value_set_boolean (return_value, v_return); 637s # } 637s # 637s # /* ------------------------------------------------------------------------ 637s # * Code for interface org.project.UsefulInterface 637s # * ------------------------------------------------------------------------ 637s # */ 637s # 637s # /** 637s # * SECTION:OrgProjectUsefulInterface 637s # * @title: OrgProjectUsefulInterface 637s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 637s # * 637s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 637s # */ 637s # 637s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 637s # 637s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 637s # { 637s # { 637s # -1, 637s # (gchar *) "arg_n", 637s # (gchar *) "n", 637s # NULL 637s # }, 637s # FALSE 637s # }; 637s # 637s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 637s # { 637s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 637s # NULL 637s # }; 637s # 637s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 637s # { 637s # { 637s # -1, 637s # (gchar *) "SingleArgMethodN", 637s # NULL, 637s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 637s # NULL 637s # }, 637s # "handle-single-arg-method-n", 637s # FALSE 637s # }; 637s # 637s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 637s # { 637s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 637s # NULL 637s # }; 637s # 637s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 637s # { 637s # { 637s # -1, 637s # (gchar *) "org.project.UsefulInterface", 637s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 637s # NULL, 637s # NULL, 637s # NULL 637s # }, 637s # "org-project-useful-interface", 637s # }; 637s # 637s # 637s # /** 637s # * org_project_useful_interface_interface_info: 637s # * 637s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 637s # * 637s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 637s # */ 637s # GDBusInterfaceInfo * 637s # org_project_useful_interface_interface_info (void) 637s # { 637s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_override_properties: 637s # * @klass: The class structure for a #GObject derived class. 637s # * @property_id_begin: The property id to assign to the first overridden property. 637s # * 637s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 637s # * The properties are overridden in the order they are defined. 637s # * 637s # * Returns: The last property id. 637s # */ 637s # guint 637s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 637s # { 637s # return property_id_begin - 1; 637s # } 637s # 637s # 637s # inline static void 637s # org_project_useful_interface_method_marshal_single_arg_method_n ( 637s # GClosure *closure, 637s # GValue *return_value, 637s # unsigned int n_param_values, 637s # const GValue *param_values, 637s # void *invocation_hint, 637s # void *marshal_data) 637s # { 637s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 637s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 637s # } 637s # 637s # 637s # /** 637s # * OrgProjectUsefulInterface: 637s # * 637s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 637s # */ 637s # 637s # /** 637s # * OrgProjectUsefulInterfaceIface: 637s # * @parent_iface: The parent interface. 637s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 637s # * 637s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 637s # */ 637s # 637s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 637s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 637s # 637s # static void 637s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 637s # { 637s # /* GObject signals for incoming D-Bus method calls: */ 637s # /** 637s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 637s # * @object: A #OrgProjectUsefulInterface. 637s # * @invocation: A #GDBusMethodInvocation. 637s # * 637s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 637s # * 637s # * 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. 637s # * 637s # * 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. 637s # */ 637s # g_signal_new ("handle-single-arg-method-n", 637s # G_TYPE_FROM_INTERFACE (iface), 637s # G_SIGNAL_RUN_LAST, 637s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 637s # g_signal_accumulator_true_handled, 637s # NULL, 637s # org_project_useful_interface_method_marshal_single_arg_method_n, 637s # G_TYPE_BOOLEAN, 637s # 1, 637s # G_TYPE_DBUS_METHOD_INVOCATION); 637s # 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_call_single_arg_method_n: 637s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 637s # * @cancellable: (nullable): A #GCancellable or %NULL. 637s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 637s # * @user_data: User data to pass to @callback. 637s # * 637s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 637s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 637s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 637s # * 637s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 637s # */ 637s # void 637s # org_project_useful_interface_call_single_arg_method_n ( 637s # OrgProjectUsefulInterface *proxy, 637s # GCancellable *cancellable, 637s # GAsyncReadyCallback callback, 637s # gpointer user_data) 637s # { 637s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 637s # "SingleArgMethodN", 637s # g_variant_new ("()"), 637s # G_DBUS_CALL_FLAGS_NONE, 637s # -1, 637s # cancellable, 637s # callback, 637s # user_data); 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_call_single_arg_method_n_finish: 637s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 637s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 637s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 637s # * @error: Return location for error or %NULL. 637s # * 637s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 637s # * 637s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 637s # */ 637s # gboolean 637s # org_project_useful_interface_call_single_arg_method_n_finish ( 637s # OrgProjectUsefulInterface *proxy, 637s # gint16 *out_arg_n, 637s # GAsyncResult *res, 637s # GError **error) 637s # { 637s # GVariant *_ret; 637s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 637s # if (_ret == NULL) 637s # goto _out; 637s # g_variant_get (_ret, 637s # "(n)", 637s # out_arg_n); 637s # g_variant_unref (_ret); 637s # _out: 637s # return _ret != NULL; 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_call_single_arg_method_n_sync: 637s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 637s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 637s # * @cancellable: (nullable): A #GCancellable or %NULL. 637s # * @error: Return location for error or %NULL. 637s # * 637s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 637s # * 637s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 637s # * 637s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 637s # */ 637s # gboolean 637s # org_project_useful_interface_call_single_arg_method_n_sync ( 637s # OrgProjectUsefulInterface *proxy, 637s # gint16 *out_arg_n, 637s # GCancellable *cancellable, 637s # GError **error) 637s # { 637s # GVariant *_ret; 637s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 637s # "SingleArgMethodN", 637s # g_variant_new ("()"), 637s # G_DBUS_CALL_FLAGS_NONE, 637s # -1, 637s # cancellable, 637s # error); 637s # if (_ret == NULL) 637s # goto _out; 637s # g_variant_get (_ret, 637s # "(n)", 637s # out_arg_n); 637s # g_variant_unref (_ret); 637s # _out: 637s # return _ret != NULL; 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_complete_single_arg_method_n: 637s # * @object: A #OrgProjectUsefulInterface. 637s # * @invocation: (transfer full): A #GDBusMethodInvocation. 637s # * @arg_n: Parameter to return. 637s # * 637s # * 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. 637s # * 637s # * This method will free @invocation, you cannot use it afterwards. 637s # */ 637s # void 637s # org_project_useful_interface_complete_single_arg_method_n ( 637s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 637s # GDBusMethodInvocation *invocation, 637s # gint16 arg_n) 637s # { 637s # g_dbus_method_invocation_return_value (invocation, 637s # g_variant_new ("(n)", 637s # arg_n)); 637s # } 637s # 637s # /* ------------------------------------------------------------------------ */ 637s # 637s # /** 637s # * OrgProjectUsefulInterfaceProxy: 637s # * 637s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 637s # */ 637s # 637s # /** 637s # * OrgProjectUsefulInterfaceProxyClass: 637s # * @parent_class: The parent class. 637s # * 637s # * Class structure for #OrgProjectUsefulInterfaceProxy. 637s # */ 637s # 637s # struct _OrgProjectUsefulInterfaceProxyPrivate 637s # { 637s # GData *qdata; 637s # }; 637s # 637s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 637s # 637s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 637s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 637s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 637s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 637s # 637s # #else 637s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 637s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 637s # 637s # #endif 637s # static void 637s # org_project_useful_interface_proxy_finalize (GObject *object) 637s # { 637s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 637s # g_datalist_clear (&proxy->priv->qdata); 637s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 637s # } 637s # 637s # static void 637s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 637s # guint prop_id G_GNUC_UNUSED, 637s # GValue *value G_GNUC_UNUSED, 637s # GParamSpec *pspec G_GNUC_UNUSED) 637s # { 637s # } 637s # 637s # static void 637s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 637s # guint prop_id G_GNUC_UNUSED, 637s # const GValue *value G_GNUC_UNUSED, 637s # GParamSpec *pspec G_GNUC_UNUSED) 637s # { 637s # } 637s # 637s # static void 637s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 637s # const gchar *sender_name G_GNUC_UNUSED, 637s # const gchar *signal_name, 637s # GVariant *parameters) 637s # { 637s # _ExtendedGDBusSignalInfo *info; 637s # GVariantIter iter; 637s # GVariant *child; 637s # GValue *paramv; 637s # gsize num_params; 637s # gsize n; 637s # guint signal_id; 637s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 637s # if (info == NULL) 637s # return; 637s # num_params = g_variant_n_children (parameters); 637s # paramv = g_new0 (GValue, num_params + 1); 637s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 637s # g_value_set_object (¶mv[0], proxy); 637s # g_variant_iter_init (&iter, parameters); 637s # n = 1; 637s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 637s # { 637s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 637s # if (arg_info->use_gvariant) 637s # { 637s # g_value_init (¶mv[n], G_TYPE_VARIANT); 637s # g_value_set_variant (¶mv[n], child); 637s # n++; 637s # } 637s # else 637s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 637s # g_variant_unref (child); 637s # } 637s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 637s # g_signal_emitv (paramv, signal_id, 0, NULL); 637s # for (n = 0; n < num_params + 1; n++) 637s # g_value_unset (¶mv[n]); 637s # g_free (paramv); 637s # } 637s # 637s # static void 637s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 637s # GVariant *changed_properties, 637s # const gchar *const *invalidated_properties) 637s # { 637s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 637s # guint n; 637s # const gchar *key; 637s # GVariantIter *iter; 637s # _ExtendedGDBusPropertyInfo *info; 637s # g_variant_get (changed_properties, "a{sv}", &iter); 637s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 637s # { 637s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 637s # g_datalist_remove_data (&proxy->priv->qdata, key); 637s # if (info != NULL) 637s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 637s # } 637s # g_variant_iter_free (iter); 637s # for (n = 0; invalidated_properties[n] != NULL; n++) 637s # { 637s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 637s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 637s # if (info != NULL) 637s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 637s # } 637s # } 637s # 637s # static void 637s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 637s # { 637s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 637s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 637s # #else 637s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 637s # #endif 637s # 637s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 637s # } 637s # 637s # static void 637s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 637s # { 637s # GObjectClass *gobject_class; 637s # GDBusProxyClass *proxy_class; 637s # 637s # gobject_class = G_OBJECT_CLASS (klass); 637s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 637s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 637s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 637s # 637s # proxy_class = G_DBUS_PROXY_CLASS (klass); 637s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 637s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 637s # 637s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 637s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 637s # #endif 637s # } 637s # 637s # static void 637s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 637s # { 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_proxy_new: 637s # * @connection: A #GDBusConnection. 637s # * @flags: Flags from the #GDBusProxyFlags enumeration. 637s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 637s # * @object_path: An object path. 637s # * @cancellable: (nullable): A #GCancellable or %NULL. 637s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 637s # * @user_data: User data to pass to @callback. 637s # * 637s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 637s # * 637s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 637s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 637s # * 637s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 637s # */ 637s # void 637s # org_project_useful_interface_proxy_new ( 637s # GDBusConnection *connection, 637s # GDBusProxyFlags flags, 637s # const gchar *name, 637s # const gchar *object_path, 637s # GCancellable *cancellable, 637s # GAsyncReadyCallback callback, 637s # gpointer user_data) 637s # { 637s # g_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); 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_proxy_new_finish: 637s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 637s # * @error: Return location for error or %NULL 637s # * 637s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 637s # * 637s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 637s # */ 637s # OrgProjectUsefulInterface * 637s # org_project_useful_interface_proxy_new_finish ( 637s # GAsyncResult *res, 637s # GError **error) 637s # { 637s # GObject *ret; 637s # GObject *source_object; 637s # source_object = g_async_result_get_source_object (res); 637s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 637s # g_object_unref (source_object); 637s # if (ret != NULL) 637s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 637s # else 637s # return NULL; 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_proxy_new_sync: 637s # * @connection: A #GDBusConnection. 637s # * @flags: Flags from the #GDBusProxyFlags enumeration. 637s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 637s # * @object_path: An object path. 637s # * @cancellable: (nullable): A #GCancellable or %NULL. 637s # * @error: Return location for error or %NULL 637s # * 637s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 637s # * 637s # * The calling thread is blocked until a reply is received. 637s # * 637s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 637s # * 637s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 637s # */ 637s # OrgProjectUsefulInterface * 637s # org_project_useful_interface_proxy_new_sync ( 637s # GDBusConnection *connection, 637s # GDBusProxyFlags flags, 637s # const gchar *name, 637s # const gchar *object_path, 637s # GCancellable *cancellable, 637s # GError **error) 637s # { 637s # GInitable *ret; 637s # 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); 637s # if (ret != NULL) 637s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 637s # else 637s # return NULL; 637s # } 637s # 637s # 637s # /** 637s # * org_project_useful_interface_proxy_new_for_bus: 637s # * @bus_type: A #GBusType. 637s # * @flags: Flags from the #GDBusProxyFlags enumeration. 637s # * @name: A bus name (well-known or unique). 637s # * @object_path: An object path. 637s # * @cancellable: (nullable): A #GCancellable or %NULL. 637s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 637s # * @user_data: User data to pass to @callback. 637s # * 637s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 637s # * 637s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 637s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 637s # * 637s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 637s # */ 637s # void 637s # org_project_useful_interface_proxy_new_for_bus ( 637s # GBusType bus_type, 637s # GDBusProxyFlags flags, 637s # const gchar *name, 637s # const gchar *object_path, 637s # GCancellable *cancellable, 637s # GAsyncReadyCallback callback, 637s # gpointer user_data) 637s # { 637s # g_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); 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_proxy_new_for_bus_finish: 637s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 637s # * @error: Return location for error or %NULL 637s # * 637s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 637s # * 637s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 637s # */ 637s # OrgProjectUsefulInterface * 637s # org_project_useful_interface_proxy_new_for_bus_finish ( 637s # GAsyncResult *res, 637s # GError **error) 637s # { 637s # GObject *ret; 637s # GObject *source_object; 637s # source_object = g_async_result_get_source_object (res); 637s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 637s # g_object_unref (source_object); 637s # if (ret != NULL) 637s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 637s # else 637s # return NULL; 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_proxy_new_for_bus_sync: 637s # * @bus_type: A #GBusType. 637s # * @flags: Flags from the #GDBusProxyFlags enumeration. 637s # * @name: A bus name (well-known or unique). 637s # * @object_path: An object path. 637s # * @cancellable: (nullable): A #GCancellable or %NULL. 637s # * @error: Return location for error or %NULL 637s # * 637s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 637s # * 637s # * The calling thread is blocked until a reply is received. 637s # * 637s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 637s # * 637s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 637s # */ 637s # OrgProjectUsefulInterface * 637s # org_project_useful_interface_proxy_new_for_bus_sync ( 637s # GBusType bus_type, 637s # GDBusProxyFlags flags, 637s # const gchar *name, 637s # const gchar *object_path, 637s # GCancellable *cancellable, 637s # GError **error) 637s # { 637s # GInitable *ret; 637s # 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); 637s # if (ret != NULL) 637s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 637s # else 637s # return NULL; 637s # } 637s # 637s # 637s # /* ------------------------------------------------------------------------ */ 637s # 637s # /** 637s # * OrgProjectUsefulInterfaceSkeleton: 637s # * 637s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 637s # */ 637s # 637s # /** 637s # * OrgProjectUsefulInterfaceSkeletonClass: 637s # * @parent_class: The parent class. 637s # * 637s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 637s # */ 637s # 637s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 637s # { 637s # GValue *properties; 637s # GList *changed_properties; 637s # GSource *changed_properties_idle_source; 637s # GMainContext *context; 637s # GMutex lock; 637s # }; 637s # 637s # static void 637s # _org_project_useful_interface_skeleton_handle_method_call ( 637s # GDBusConnection *connection G_GNUC_UNUSED, 637s # const gchar *sender G_GNUC_UNUSED, 637s # const gchar *object_path G_GNUC_UNUSED, 637s # const gchar *interface_name, 637s # const gchar *method_name, 637s # GVariant *parameters, 637s # GDBusMethodInvocation *invocation, 637s # gpointer user_data) 637s # { 637s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 637s # _ExtendedGDBusMethodInfo *info; 637s # GVariantIter iter; 637s # GVariant *child; 637s # GValue *paramv; 637s # gsize num_params; 637s # guint num_extra; 637s # gsize n; 637s # guint signal_id; 637s # GValue return_value = G_VALUE_INIT; 637s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 637s # g_assert (info != NULL); 637s # num_params = g_variant_n_children (parameters); 637s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 637s # n = 0; 637s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 637s # g_value_set_object (¶mv[n++], skeleton); 637s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 637s # g_value_set_object (¶mv[n++], invocation); 637s # if (info->pass_fdlist) 637s # { 637s # #ifdef G_OS_UNIX 637s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 637s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 637s # #else 637s # g_assert_not_reached (); 637s # #endif 637s # } 637s # g_variant_iter_init (&iter, parameters); 637s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 637s # { 637s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 637s # if (arg_info->use_gvariant) 637s # { 637s # g_value_init (¶mv[n], G_TYPE_VARIANT); 637s # g_value_set_variant (¶mv[n], child); 637s # n++; 637s # } 637s # else 637s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 637s # g_variant_unref (child); 637s # } 637s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 637s # g_value_init (&return_value, G_TYPE_BOOLEAN); 637s # g_signal_emitv (paramv, signal_id, 0, &return_value); 637s # if (!g_value_get_boolean (&return_value)) 637s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 637s # g_value_unset (&return_value); 637s # for (n = 0; n < num_params + num_extra; n++) 637s # g_value_unset (¶mv[n]); 637s # g_free (paramv); 637s # } 637s # 637s # static GVariant * 637s # _org_project_useful_interface_skeleton_handle_get_property ( 637s # GDBusConnection *connection G_GNUC_UNUSED, 637s # const gchar *sender G_GNUC_UNUSED, 637s # const gchar *object_path G_GNUC_UNUSED, 637s # const gchar *interface_name G_GNUC_UNUSED, 637s # const gchar *property_name, 637s # GError **error, 637s # gpointer user_data) 637s # { 637s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 637s # GValue value = G_VALUE_INIT; 637s # GParamSpec *pspec; 637s # _ExtendedGDBusPropertyInfo *info; 637s # GVariant *ret; 637s # ret = NULL; 637s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 637s # g_assert (info != NULL); 637s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 637s # if (pspec == NULL) 637s # { 637s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 637s # } 637s # else 637s # { 637s # g_value_init (&value, pspec->value_type); 637s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 637s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 637s # g_value_unset (&value); 637s # } 637s # return ret; 637s # } 637s # 637s # static gboolean 637s # _org_project_useful_interface_skeleton_handle_set_property ( 637s # GDBusConnection *connection G_GNUC_UNUSED, 637s # const gchar *sender G_GNUC_UNUSED, 637s # const gchar *object_path G_GNUC_UNUSED, 637s # const gchar *interface_name G_GNUC_UNUSED, 637s # const gchar *property_name, 637s # GVariant *variant, 637s # GError **error, 637s # gpointer user_data) 637s # { 637s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 637s # GValue value = G_VALUE_INIT; 637s # GParamSpec *pspec; 637s # _ExtendedGDBusPropertyInfo *info; 637s # gboolean ret; 637s # ret = FALSE; 637s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 637s # g_assert (info != NULL); 637s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 637s # if (pspec == NULL) 637s # { 637s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 637s # } 637s # else 637s # { 637s # if (info->use_gvariant) 637s # g_value_set_variant (&value, variant); 637s # else 637s # g_dbus_gvariant_to_gvalue (variant, &value); 637s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 637s # g_value_unset (&value); 637s # ret = TRUE; 637s # } 637s # return ret; 637s # } 637s # 637s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 637s # { 637s # _org_project_useful_interface_skeleton_handle_method_call, 637s # _org_project_useful_interface_skeleton_handle_get_property, 637s # _org_project_useful_interface_skeleton_handle_set_property, 637s # {NULL} 637s # }; 637s # 637s # static GDBusInterfaceInfo * 637s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 637s # { 637s # return org_project_useful_interface_interface_info (); 637s # } 637s # 637s # static GDBusInterfaceVTable * 637s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 637s # { 637s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 637s # } 637s # 637s # static GVariant * 637s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 637s # { 637s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 637s # 637s # GVariantBuilder builder; 637s # guint n; 637s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 637s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 637s # goto out; 637s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 637s # { 637s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 637s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 637s # { 637s # GVariant *value; 637s # 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); 637s # if (value != NULL) 637s # { 637s # g_variant_take_ref (value); 637s # g_variant_builder_add (&builder, "{sv}", info->name, value); 637s # g_variant_unref (value); 637s # } 637s # } 637s # } 637s # out: 637s # return g_variant_builder_end (&builder); 637s # } 637s # 637s # static void 637s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 637s # { 637s # } 637s # 637s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 637s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 637s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 637s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 637s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 637s # 637s # #else 637s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 637s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 637s # 637s # #endif 637s # static void 637s # org_project_useful_interface_skeleton_finalize (GObject *object) 637s # { 637s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 637s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 637s # if (skeleton->priv->changed_properties_idle_source != NULL) 637s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 637s # g_main_context_unref (skeleton->priv->context); 637s # g_mutex_clear (&skeleton->priv->lock); 637s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 637s # } 637s # 637s # static void 637s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 637s # { 637s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 637s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 637s # #else 637s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 637s # #endif 637s # 637s # g_mutex_init (&skeleton->priv->lock); 637s # skeleton->priv->context = g_main_context_ref_thread_default (); 637s # } 637s # 637s # static void 637s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 637s # { 637s # GObjectClass *gobject_class; 637s # GDBusInterfaceSkeletonClass *skeleton_class; 637s # 637s # gobject_class = G_OBJECT_CLASS (klass); 637s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 637s # 637s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 637s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 637s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 637s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 637s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 637s # 637s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 637s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 637s # #endif 637s # } 637s # 637s # static void 637s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 637s # { 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_skeleton_new: 637s # * 637s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 637s # * 637s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 637s # */ 637s # OrgProjectUsefulInterface * 637s # org_project_useful_interface_skeleton_new (void) 637s # { 637s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 637s # } 637s # /tmp/tmpp9t62ouk/tmpgcivbqou.xml: 637s # 637s # 637s # 637s # 637s # 637s # 637s # 637s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp9t62ouk/tmpgcivbqou.xml', '--output', '-', '--body'] 637s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 637s # Output: /* 637s # * This file is generated by gdbus-codegen, do not modify it. 637s # * 637s # * The license of this code is the same as for the D-Bus interface description 637s # * it was derived from. Note that it links to GLib, so must comply with the 637s # * LGPL linking clauses. 637s # */ 637s # 637s # #ifdef HAVE_CONFIG_H 637s # # include "config.h" 637s # #endif 637s # 637s # #include 637s # #ifdef G_OS_UNIX 637s # # include 637s # #endif 637s # 637s # #ifdef G_ENABLE_DEBUG 637s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 637s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 637s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 637s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 637s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 637s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 637s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 637s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 637s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 637s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 637s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 637s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 637s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 637s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 637s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 637s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 637s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 637s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 637s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 637s # #else /* !G_ENABLE_DEBUG */ 637s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 637s # * Do not access GValues directly in your code. Instead, use the 637s # * g_value_get_*() functions 637s # */ 637s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 637s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 637s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 637s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 637s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 637s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 637s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 637s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 637s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 637s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 637s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 637s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 637s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 637s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 637s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 637s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 637s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 637s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 637s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 637s # #endif /* !G_ENABLE_DEBUG */ 637s # 637s # typedef struct 637s # { 637s # GDBusArgInfo parent_struct; 637s # gboolean use_gvariant; 637s # } _ExtendedGDBusArgInfo; 637s # 637s # typedef struct 637s # { 637s # GDBusMethodInfo parent_struct; 637s # const gchar *signal_name; 637s # gboolean pass_fdlist; 637s # } _ExtendedGDBusMethodInfo; 637s # 637s # typedef struct 637s # { 637s # GDBusSignalInfo parent_struct; 637s # const gchar *signal_name; 637s # } _ExtendedGDBusSignalInfo; 637s # 637s # typedef struct 637s # { 637s # GDBusPropertyInfo parent_struct; 637s # const gchar *hyphen_name; 637s # guint use_gvariant : 1; 637s # guint emits_changed_signal : 1; 637s # } _ExtendedGDBusPropertyInfo; 637s # 637s # typedef struct 637s # { 637s # GDBusInterfaceInfo parent_struct; 637s # const gchar *hyphen_name; 637s # } _ExtendedGDBusInterfaceInfo; 637s # 637s # typedef struct 637s # { 637s # const _ExtendedGDBusPropertyInfo *info; 637s # guint prop_id; 637s # GValue orig_value; /* the value before the change */ 637s # } ChangedProperty; 637s # 637s # static void 637s # _changed_property_free (ChangedProperty *data) 637s # { 637s # g_value_unset (&data->orig_value); 637s # g_free (data); 637s # } 637s # 637s # static gboolean 637s # _g_strv_equal0 (gchar **a, gchar **b) 637s # { 637s # gboolean ret = FALSE; 637s # guint n; 637s # if (a == NULL && b == NULL) 637s # { 637s # ret = TRUE; 637s # goto out; 637s # } 637s # if (a == NULL || b == NULL) 637s # goto out; 637s # if (g_strv_length (a) != g_strv_length (b)) 637s # goto out; 637s # for (n = 0; a[n] != NULL; n++) 637s # if (g_strcmp0 (a[n], b[n]) != 0) 637s # goto out; 637s # ret = TRUE; 637s # out: 637s # return ret; 637s # } 637s # 637s # static gboolean 637s # _g_variant_equal0 (GVariant *a, GVariant *b) 637s # { 637s # gboolean ret = FALSE; 637s # if (a == NULL && b == NULL) 637s # { 637s # ret = TRUE; 637s # goto out; 637s # } 637s # if (a == NULL || b == NULL) 637s # goto out; 637s # ret = g_variant_equal (a, b); 637s # out: 637s # return ret; 637s # } 637s # 637s # G_GNUC_UNUSED static gboolean 637s # _g_value_equal (const GValue *a, const GValue *b) 637s # { 637s # gboolean ret = FALSE; 637s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 637s # switch (G_VALUE_TYPE (a)) 637s # { 637s # case G_TYPE_BOOLEAN: 637s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 637s # break; 637s # case G_TYPE_UCHAR: 637s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 637s # break; 637s # case G_TYPE_INT: 637s # ret = (g_value_get_int (a) == g_value_get_int (b)); 637s # break; 637s # case G_TYPE_UINT: 637s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 637s # break; 637s # case G_TYPE_INT64: 637s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 637s # break; 637s # case G_TYPE_UINT64: 637s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 637s # break; 637s # case G_TYPE_DOUBLE: 637s # { 637s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 637s # gdouble da = g_value_get_double (a); 637s # gdouble db = g_value_get_double (b); 637s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 637s # } 637s # break; 637s # case G_TYPE_STRING: 637s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 637s # break; 637s # case G_TYPE_VARIANT: 637s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 637s # break; 637s # default: 637s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 637s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 637s # else 637s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 637s # break; 637s # } 637s # return ret; 637s # } 637s # 637s # static void 637s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 637s # GClosure *closure, 637s # GValue *return_value, 637s # unsigned int n_param_values, 637s # const GValue *param_values, 637s # void *invocation_hint G_GNUC_UNUSED, 637s # void *marshal_data) 637s # { 637s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 637s # (void *data1, 637s # GDBusMethodInvocation *arg_method_invocation, 637s # void *data2); 637s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 637s # GCClosure *cc = (GCClosure*) closure; 637s # void *data1, *data2; 637s # gboolean v_return; 637s # 637s # g_return_if_fail (return_value != NULL); 637s # g_return_if_fail (n_param_values == 2); 637s # 637s # if (G_CCLOSURE_SWAP_DATA (closure)) 637s # { 637s # data1 = closure->data; 637s # data2 = g_value_peek_pointer (param_values + 0); 637s # } 637s # else 637s # { 637s # data1 = g_value_peek_pointer (param_values + 0); 637s # data2 = closure->data; 637s # } 637s # 637s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 637s # (marshal_data ? marshal_data : cc->callback); 637s # 637s # v_return = 637s # callback (data1, 637s # g_marshal_value_peek_object (param_values + 1), 637s # data2); 637s # 637s # g_value_set_boolean (return_value, v_return); 637s # } 637s # 637s # /* ------------------------------------------------------------------------ 637s # * Code for interface org.project.UsefulInterface 637s # * ------------------------------------------------------------------------ 637s # */ 637s # 637s # /** 637s # * SECTION:OrgProjectUsefulInterface 637s # * @title: OrgProjectUsefulInterface 637s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 637s # * 637s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 637s # */ 637s # 637s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 637s # 637s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 637s # { 637s # { 637s # -1, 637s # (gchar *) "arg_q", 637s # (gchar *) "q", 637s # NULL 637s # }, 637s # FALSE 637s # }; 637s # 637s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 637s # { 637s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 637s # NULL 637s # }; 637s # 637s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 637s # { 637s # { 637s # -1, 637s # (gchar *) "SingleArgMethodQ", 637s # NULL, 637s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 637s # NULL 637s # }, 637s # "handle-single-arg-method-q", 637s # FALSE 637s # }; 637s # 637s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 637s # { 637s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 637s # NULL 637s # }; 637s # 637s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 637s # { 637s # { 637s # -1, 637s # (gchar *) "org.project.UsefulInterface", 637s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 637s # NULL, 637s # NULL, 637s # NULL 637s # }, 637s # "org-project-useful-interface", 637s # }; 637s # 637s # 637s # /** 637s # * org_project_useful_interface_interface_info: 637s # * 637s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 637s # * 637s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 637s # */ 637s # GDBusInterfaceInfo * 637s # org_project_useful_interface_interface_info (void) 637s # { 637s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_override_properties: 637s # * @klass: The class structure for a #GObject derived class. 637s # * @property_id_begin: The property id to assign to the first overridden property. 637s # * 637s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 637s # * The properties are overridden in the order they are defined. 637s # * 637s # * Returns: The last property id. 637s # */ 637s # guint 637s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 637s # { 637s # return property_id_begin - 1; 637s # } 637s # 637s # 637s # inline static void 637s # org_project_useful_interface_method_marshal_single_arg_method_q ( 637s # GClosure *closure, 637s # GValue *return_value, 637s # unsigned int n_param_values, 637s # const GValue *param_values, 637s # void *invocation_hint, 637s # void *marshal_data) 637s # { 637s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 637s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 637s # } 637s # 637s # 637s # /** 637s # * OrgProjectUsefulInterface: 637s # * 637s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 637s # */ 637s # 637s # /** 637s # * OrgProjectUsefulInterfaceIface: 637s # * @parent_iface: The parent interface. 637s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 637s # * 637s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 637s # */ 637s # 637s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 637s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 637s # 637s # static void 637s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 637s # { 637s # /* GObject signals for incoming D-Bus method calls: */ 637s # /** 637s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 637s # * @object: A #OrgProjectUsefulInterface. 637s # * @invocation: A #GDBusMethodInvocation. 637s # * 637s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 637s # * 637s # * 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. 637s # * 637s # * 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. 637s # */ 637s # g_signal_new ("handle-single-arg-method-q", 637s # G_TYPE_FROM_INTERFACE (iface), 637s # G_SIGNAL_RUN_LAST, 637s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 637s # g_signal_accumulator_true_handled, 637s # NULL, 637s # org_project_useful_interface_method_marshal_single_arg_method_q, 637s # G_TYPE_BOOLEAN, 637s # 1, 637s # G_TYPE_DBUS_METHOD_INVOCATION); 637s # 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_call_single_arg_method_q: 637s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 637s # * @cancellable: (nullable): A #GCancellable or %NULL. 637s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 637s # * @user_data: User data to pass to @callback. 637s # * 637s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 637s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 637s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 637s # * 637s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 637s # */ 637s # void 637s # org_project_useful_interface_call_single_arg_method_q ( 637s # OrgProjectUsefulInterface *proxy, 637s # GCancellable *cancellable, 637s # GAsyncReadyCallback callback, 637s # gpointer user_data) 637s # { 637s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 637s # "SingleArgMethodQ", 637s # g_variant_new ("()"), 637s # G_DBUS_CALL_FLAGS_NONE, 637s # -1, 637s # cancellable, 637s # callback, 637s # user_data); 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_call_single_arg_method_q_finish: 637s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 637s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 637s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 637s # * @error: Return location for error or %NULL. 637s # * 637s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 637s # * 637s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 637s # */ 637s # gboolean 637s # org_project_useful_interface_call_single_arg_method_q_finish ( 637s # OrgProjectUsefulInterface *proxy, 637s # guint16 *out_arg_q, 637s # GAsyncResult *res, 637s # GError **error) 637s # { 637s # GVariant *_ret; 637s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 637s # if (_ret == NULL) 637s # goto _out; 637s # g_variant_get (_ret, 637s # "(q)", 637s # out_arg_q); 637s # g_variant_unref (_ret); 637s # _out: 637s # return _ret != NULL; 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_call_single_arg_method_q_sync: 637s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 637s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 637s # * @cancellable: (nullable): A #GCancellable or %NULL. 637s # * @error: Return location for error or %NULL. 637s # * 637s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 637s # * 637s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 637s # * 637s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 637s # */ 637s # gboolean 637s # org_project_useful_interface_call_single_arg_method_q_sync ( 637s # OrgProjectUsefulInterface *proxy, 637s # guint16 *out_arg_q, 637s # GCancellable *cancellable, 637s # GError **error) 637s # { 637s # GVariant *_ret; 637s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 637s # "SingleArgMethodQ", 637s # g_variant_new ("()"), 637s # G_DBUS_CALL_FLAGS_NONE, 637s # -1, 637s # cancellable, 637s # error); 637s # if (_ret == NULL) 637s # goto _out; 637s # g_variant_get (_ret, 637s # "(q)", 637s # out_arg_q); 637s # g_variant_unref (_ret); 637s # _out: 637s # return _ret != NULL; 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_complete_single_arg_method_q: 637s # * @object: A #OrgProjectUsefulInterface. 637s # * @invocation: (transfer full): A #GDBusMethodInvocation. 637s # * @arg_q: Parameter to return. 637s # * 637s # * 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. 637s # * 637s # * This method will free @invocation, you cannot use it afterwards. 637s # */ 637s # void 637s # org_project_useful_interface_complete_single_arg_method_q ( 637s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 637s # GDBusMethodInvocation *invocation, 637s # guint16 arg_q) 637s # { 637s # g_dbus_method_invocation_return_value (invocation, 637s # g_variant_new ("(q)", 637s # arg_q)); 637s # } 637s # 637s # /* ------------------------------------------------------------------------ */ 637s # 637s # /** 637s # * OrgProjectUsefulInterfaceProxy: 637s # * 637s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 637s # */ 637s # 637s # /** 637s # * OrgProjectUsefulInterfaceProxyClass: 637s # * @parent_class: The parent class. 637s # * 637s # * Class structure for #OrgProjectUsefulInterfaceProxy. 637s # */ 637s # 637s # struct _OrgProjectUsefulInterfaceProxyPrivate 637s # { 637s # GData *qdata; 637s # }; 637s # 637s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 637s # 637s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 637s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 637s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 637s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 637s # 637s # #else 637s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 637s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 637s # 637s # #endif 637s # static void 637s # org_project_useful_interface_proxy_finalize (GObject *object) 637s # { 637s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 637s # g_datalist_clear (&proxy->priv->qdata); 637s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 637s # } 637s # 637s # static void 637s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 637s # guint prop_id G_GNUC_UNUSED, 637s # GValue *value G_GNUC_UNUSED, 637s # GParamSpec *pspec G_GNUC_UNUSED) 637s # { 637s # } 637s # 637s # static void 637s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 637s # guint prop_id G_GNUC_UNUSED, 637s # const GValue *value G_GNUC_UNUSED, 637s # GParamSpec *pspec G_GNUC_UNUSED) 637s # { 637s # } 637s # 637s # static void 637s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 637s # const gchar *sender_name G_GNUC_UNUSED, 637s # const gchar *signal_name, 637s # GVariant *parameters) 637s # { 637s # _ExtendedGDBusSignalInfo *info; 637s # GVariantIter iter; 637s # GVariant *child; 637s # GValue *paramv; 637s # gsize num_params; 637s # gsize n; 637s # guint signal_id; 637s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 637s # if (info == NULL) 637s # return; 637s # num_params = g_variant_n_children (parameters); 637s # paramv = g_new0 (GValue, num_params + 1); 637s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 637s # g_value_set_object (¶mv[0], proxy); 637s # g_variant_iter_init (&iter, parameters); 637s # n = 1; 637s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 637s # { 637s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 637s # if (arg_info->use_gvariant) 637s # { 637s # g_value_init (¶mv[n], G_TYPE_VARIANT); 637s # g_value_set_variant (¶mv[n], child); 637s # n++; 637s # } 637s # else 637s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 637s # g_variant_unref (child); 637s # } 637s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 637s # g_signal_emitv (paramv, signal_id, 0, NULL); 637s # for (n = 0; n < num_params + 1; n++) 637s # g_value_unset (¶mv[n]); 637s # g_free (paramv); 637s # } 637s # 637s # static void 637s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 637s # GVariant *changed_properties, 637s # const gchar *const *invalidated_properties) 637s # { 637s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 637s # guint n; 637s # const gchar *key; 637s # GVariantIter *iter; 637s # _ExtendedGDBusPropertyInfo *info; 637s # g_variant_get (changed_properties, "a{sv}", &iter); 637s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 637s # { 637s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 637s # g_datalist_remove_data (&proxy->priv->qdata, key); 637s # if (info != NULL) 637s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 637s # } 637s # g_variant_iter_free (iter); 637s # for (n = 0; invalidated_properties[n] != NULL; n++) 637s # { 637s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 637s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 637s # if (info != NULL) 637s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 637s # } 637s # } 637s # 637s # static void 637s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 637s # { 637s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 637s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 637s # #else 637s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 637s # #endif 637s # 637s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 637s # } 637s # 637s # static void 637s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 637s # { 637s # GObjectClass *gobject_class; 637s # GDBusProxyClass *proxy_class; 637s # 637s # gobject_class = G_OBJECT_CLASS (klass); 637s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 637s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 637s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 637s # 637s # proxy_class = G_DBUS_PROXY_CLASS (klass); 637s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 637s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 637s # 637s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 637s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 637s # #endif 637s # } 637s # 637s # static void 637s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 637s # { 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_proxy_new: 637s # * @connection: A #GDBusConnection. 637s # * @flags: Flags from the #GDBusProxyFlags enumeration. 637s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 637s # * @object_path: An object path. 637s # * @cancellable: (nullable): A #GCancellable or %NULL. 637s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 637s # * @user_data: User data to pass to @callback. 637s # * 637s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 637s # * 637s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 637s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 637s # * 637s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 637s # */ 637s # void 637s # org_project_useful_interface_proxy_new ( 637s # GDBusConnection *connection, 637s # GDBusProxyFlags flags, 637s # const gchar *name, 637s # const gchar *object_path, 637s # GCancellable *cancellable, 637s # GAsyncReadyCallback callback, 637s # gpointer user_data) 637s # { 637s # g_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); 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_proxy_new_finish: 637s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 637s # * @error: Return location for error or %NULL 637s # * 637s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 637s # * 637s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 637s # */ 637s # OrgProjectUsefulInterface * 637s # org_project_useful_interface_proxy_new_finish ( 637s # GAsyncResult *res, 637s # GError **error) 637s # { 637s # GObject *ret; 637s # GObject *source_object; 637s # source_object = g_async_result_get_source_object (res); 637s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 637s # g_object_unref (source_object); 637s # if (ret != NULL) 637s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 637s # else 637s # return NULL; 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_proxy_new_sync: 637s # * @connection: A #GDBusConnection. 637s # * @flags: Flags from the #GDBusProxyFlags enumeration. 637s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 637s # * @object_path: An object path. 637s # * @cancellable: (nullable): A #GCancellable or %NULL. 637s # * @error: Return location for error or %NULL 637s # * 637s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 637s # * 637s # * The calling thread is blocked until a reply is received. 637s # * 637s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 637s # * 637s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 637s # */ 637s # OrgProjectUsefulInterface * 637s # org_project_useful_interface_proxy_new_sync ( 637s # GDBusConnection *connection, 637s # GDBusProxyFlags flags, 637s # const gchar *name, 637s # const gchar *object_path, 637s # GCancellable *cancellable, 637s # GError **error) 637s # { 637s # GInitable *ret; 637s # 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); 637s # if (ret != NULL) 637s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 637s # else 637s # return NULL; 637s # } 637s # 637s # 637s # /** 637s # * org_project_useful_interface_proxy_new_for_bus: 637s # * @bus_type: A #GBusType. 637s # * @flags: Flags from the #GDBusProxyFlags enumeration. 637s # * @name: A bus name (well-known or unique). 637s # * @object_path: An object path. 637s # * @cancellable: (nullable): A #GCancellable or %NULL. 637s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 637s # * @user_data: User data to pass to @callback. 637s # * 637s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 637s # * 637s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 637s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 637s # * 637s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 637s # */ 637s # void 637s # org_project_useful_interface_proxy_new_for_bus ( 637s # GBusType bus_type, 637s # GDBusProxyFlags flags, 637s # const gchar *name, 637s # const gchar *object_path, 637s # GCancellable *cancellable, 637s # GAsyncReadyCallback callback, 637s # gpointer user_data) 637s # { 637s # g_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); 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_proxy_new_for_bus_finish: 637s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 637s # * @error: Return location for error or %NULL 637s # * 637s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 637s # * 637s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 637s # */ 637s # OrgProjectUsefulInterface * 637s # org_project_useful_interface_proxy_new_for_bus_finish ( 637s # GAsyncResult *res, 637s # GError **error) 637s # { 637s # GObject *ret; 637s # GObject *source_object; 637s # source_object = g_async_result_get_source_object (res); 637s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 637s # g_object_unref (source_object); 637s # if (ret != NULL) 637s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 637s # else 637s # return NULL; 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_proxy_new_for_bus_sync: 637s # * @bus_type: A #GBusType. 637s # * @flags: Flags from the #GDBusProxyFlags enumeration. 637s # * @name: A bus name (well-known or unique). 637s # * @object_path: An object path. 637s # * @cancellable: (nullable): A #GCancellable or %NULL. 637s # * @error: Return location for error or %NULL 637s # * 637s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 637s # * 637s # * The calling thread is blocked until a reply is received. 637s # * 637s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 637s # * 637s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 637s # */ 637s # OrgProjectUsefulInterface * 637s # org_project_useful_interface_proxy_new_for_bus_sync ( 637s # GBusType bus_type, 637s # GDBusProxyFlags flags, 637s # const gchar *name, 637s # const gchar *object_path, 637s # GCancellable *cancellable, 637s # GError **error) 637s # { 637s # GInitable *ret; 637s # 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); 637s # if (ret != NULL) 637s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 637s # else 637s # return NULL; 637s # } 637s # 637s # 637s # /* ------------------------------------------------------------------------ */ 637s # 637s # /** 637s # * OrgProjectUsefulInterfaceSkeleton: 637s # * 637s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 637s # */ 637s # 637s # /** 637s # * OrgProjectUsefulInterfaceSkeletonClass: 637s # * @parent_class: The parent class. 637s # * 637s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 637s # */ 637s # 637s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 637s # { 637s # GValue *properties; 637s # GList *changed_properties; 637s # GSource *changed_properties_idle_source; 637s # GMainContext *context; 637s # GMutex lock; 637s # }; 637s # 637s # static void 637s # _org_project_useful_interface_skeleton_handle_method_call ( 637s # GDBusConnection *connection G_GNUC_UNUSED, 637s # const gchar *sender G_GNUC_UNUSED, 637s # const gchar *object_path G_GNUC_UNUSED, 637s # const gchar *interface_name, 637s # const gchar *method_name, 637s # GVariant *parameters, 637s # GDBusMethodInvocation *invocation, 637s # gpointer user_data) 637s # { 637s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 637s # _ExtendedGDBusMethodInfo *info; 637s # GVariantIter iter; 637s # GVariant *child; 637s # GValue *paramv; 637s # gsize num_params; 637s # guint num_extra; 637s # gsize n; 637s # guint signal_id; 637s # GValue return_value = G_VALUE_INIT; 637s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 637s # g_assert (info != NULL); 637s # num_params = g_variant_n_children (parameters); 637s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 637s # n = 0; 637s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 637s # g_value_set_object (¶mv[n++], skeleton); 637s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 637s # g_value_set_object (¶mv[n++], invocation); 637s # if (info->pass_fdlist) 637s # { 637s # #ifdef G_OS_UNIX 637s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 637s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 637s # #else 637s # g_assert_not_reached (); 637s # #endif 637s # } 637s # g_variant_iter_init (&iter, parameters); 637s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 637s # { 637s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 637s # if (arg_info->use_gvariant) 637s # { 637s # g_value_init (¶mv[n], G_TYPE_VARIANT); 637s # g_value_set_variant (¶mv[n], child); 637s # n++; 637s # } 637s # else 637s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 637s # g_variant_unref (child); 637s # } 637s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 637s # g_value_init (&return_value, G_TYPE_BOOLEAN); 637s # g_signal_emitv (paramv, signal_id, 0, &return_value); 637s # if (!g_value_get_boolean (&return_value)) 637s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 637s # g_value_unset (&return_value); 637s # for (n = 0; n < num_params + num_extra; n++) 637s # g_value_unset (¶mv[n]); 637s # g_free (paramv); 637s # } 637s # 637s # static GVariant * 637s # _org_project_useful_interface_skeleton_handle_get_property ( 637s # GDBusConnection *connection G_GNUC_UNUSED, 637s # const gchar *sender G_GNUC_UNUSED, 637s # const gchar *object_path G_GNUC_UNUSED, 637s # const gchar *interface_name G_GNUC_UNUSED, 637s # const gchar *property_name, 637s # GError **error, 637s # gpointer user_data) 637s # { 637s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 637s # GValue value = G_VALUE_INIT; 637s # GParamSpec *pspec; 637s # _ExtendedGDBusPropertyInfo *info; 637s # GVariant *ret; 637s # ret = NULL; 637s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 637s # g_assert (info != NULL); 637s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 637s # if (pspec == NULL) 637s # { 637s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 637s # } 637s # else 637s # { 637s # g_value_init (&value, pspec->value_type); 637s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 637s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 637s # g_value_unset (&value); 637s # } 637s # return ret; 637s # } 637s # 637s # static gboolean 637s # _org_project_useful_interface_skeleton_handle_set_property ( 637s # GDBusConnection *connection G_GNUC_UNUSED, 637s # const gchar *sender G_GNUC_UNUSED, 637s # const gchar *object_path G_GNUC_UNUSED, 637s # const gchar *interface_name G_GNUC_UNUSED, 637s # const gchar *property_name, 637s # GVariant *variant, 637s # GError **error, 637s # gpointer user_data) 637s # { 637s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 637s # GValue value = G_VALUE_INIT; 637s # GParamSpec *pspec; 637s # _ExtendedGDBusPropertyInfo *info; 637s # gboolean ret; 637s # ret = FALSE; 637s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 637s # g_assert (info != NULL); 637s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 637s # if (pspec == NULL) 637s # { 637s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 637s # } 637s # else 637s # { 637s # if (info->use_gvariant) 637s # g_value_set_variant (&value, variant); 637s # else 637s # g_dbus_gvariant_to_gvalue (variant, &value); 637s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 637s # g_value_unset (&value); 637s # ret = TRUE; 637s # } 637s # return ret; 637s # } 637s # 637s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 637s # { 637s # _org_project_useful_interface_skeleton_handle_method_call, 637s # _org_project_useful_interface_skeleton_handle_get_property, 637s # _org_project_useful_interface_skeleton_handle_set_property, 637s # {NULL} 637s # }; 637s # 637s # static GDBusInterfaceInfo * 637s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 637s # { 637s # return org_project_useful_interface_interface_info (); 637s # } 637s # 637s # static GDBusInterfaceVTable * 637s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 637s # { 637s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 637s # } 637s # 637s # static GVariant * 637s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 637s # { 637s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 637s # 637s # GVariantBuilder builder; 637s # guint n; 637s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 637s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 637s # goto out; 637s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 637s # { 637s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 637s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 637s # { 637s # GVariant *value; 637s # 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); 637s # if (value != NULL) 637s # { 637s # g_variant_take_ref (value); 637s # g_variant_builder_add (&builder, "{sv}", info->name, value); 637s # g_variant_unref (value); 637s # } 637s # } 637s # } 637s # out: 637s # return g_variant_builder_end (&builder); 637s # } 637s # 637s # static void 637s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 637s # { 637s # } 637s # 637s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 637s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 637s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 637s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 637s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 637s # 637s # #else 637s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 637s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 637s # 637s # #endif 637s # static void 637s # org_project_useful_interface_skeleton_finalize (GObject *object) 637s # { 637s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 637s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 637s # if (skeleton->priv->changed_properties_idle_source != NULL) 637s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 637s # g_main_context_unref (skeleton->priv->context); 637s # g_mutex_clear (&skeleton->priv->lock); 637s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 637s # } 637s # 637s # static void 637s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 637s # { 637s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 637s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 637s # #else 637s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 637s # #endif 637s # 637s # g_mutex_init (&skeleton->priv->lock); 637s # skeleton->priv->context = g_main_context_ref_thread_default (); 637s # } 637s # 637s # static void 637s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 637s # { 637s # GObjectClass *gobject_class; 637s # GDBusInterfaceSkeletonClass *skeleton_class; 637s # 637s # gobject_class = G_OBJECT_CLASS (klass); 637s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 637s # 637s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 637s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 637s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 637s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 637s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 637s # 637s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 637s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 637s # #endif 637s # } 637s # 637s # static void 637s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 637s # { 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_skeleton_new: 637s # * 637s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 637s # * 637s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 637s # */ 637s # OrgProjectUsefulInterface * 637s # org_project_useful_interface_skeleton_new (void) 637s # { 637s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 637s # } 637s # /tmp/tmpp9t62ouk/tmp9h3rr4r2.xml: 637s # 637s # 637s # 637s # 637s # 637s # 637s # 637s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp9t62ouk/tmp9h3rr4r2.xml', '--output', '-', '--body'] 637s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 637s # Output: /* 637s # * This file is generated by gdbus-codegen, do not modify it. 637s # * 637s # * The license of this code is the same as for the D-Bus interface description 637s # * it was derived from. Note that it links to GLib, so must comply with the 637s # * LGPL linking clauses. 637s # */ 637s # 637s # #ifdef HAVE_CONFIG_H 637s # # include "config.h" 637s # #endif 637s # 637s # #include 637s # #ifdef G_OS_UNIX 637s # # include 637s # #endif 637s # 637s # #ifdef G_ENABLE_DEBUG 637s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 637s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 637s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 637s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 637s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 637s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 637s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 637s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 637s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 637s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 637s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 637s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 637s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 637s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 637s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 637s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 637s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 637s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 637s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 637s # #else /* !G_ENABLE_DEBUG */ 637s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 637s # * Do not access GValues directly in your code. Instead, use the 637s # * g_value_get_*() functions 637s # */ 637s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 637s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 637s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 637s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 637s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 637s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 637s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 637s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 637s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 637s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 637s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 637s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 637s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 637s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 637s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 637s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 637s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 637s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 637s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 637s # #endif /* !G_ENABLE_DEBUG */ 637s # 637s # typedef struct 637s # { 637s # GDBusArgInfo parent_struct; 637s # gboolean use_gvariant; 637s # } _ExtendedGDBusArgInfo; 637s # 637s # typedef struct 637s # { 637s # GDBusMethodInfo parent_struct; 637s # const gchar *signal_name; 637s # gboolean pass_fdlist; 637s # } _ExtendedGDBusMethodInfo; 637s # 637s # typedef struct 637s # { 637s # GDBusSignalInfo parent_struct; 637s # const gchar *signal_name; 637s # } _ExtendedGDBusSignalInfo; 637s # 637s # typedef struct 637s # { 637s # GDBusPropertyInfo parent_struct; 637s # const gchar *hyphen_name; 637s # guint use_gvariant : 1; 637s # guint emits_changed_signal : 1; 637s # } _ExtendedGDBusPropertyInfo; 637s # 637s # typedef struct 637s # { 637s # GDBusInterfaceInfo parent_struct; 637s # const gchar *hyphen_name; 637s # } _ExtendedGDBusInterfaceInfo; 637s # 637s # typedef struct 637s # { 637s # const _ExtendedGDBusPropertyInfo *info; 637s # guint prop_id; 637s # GValue orig_value; /* the value before the change */ 637s # } ChangedProperty; 637s # 637s # static void 637s # _changed_property_free (ChangedProperty *data) 637s # { 637s # g_value_unset (&data->orig_value); 637s # g_free (data); 637s # } 637s # 637s # static gboolean 637s # _g_strv_equal0 (gchar **a, gchar **b) 637s # { 637s # gboolean ret = FALSE; 637s # guint n; 637s # if (a == NULL && b == NULL) 637s # { 637s # ret = TRUE; 637s # goto out; 637s # } 637s # if (a == NULL || b == NULL) 637s # goto out; 637s # if (g_strv_length (a) != g_strv_length (b)) 637s # goto out; 637s # for (n = 0; a[n] != NULL; n++) 637s # if (g_strcmp0 (a[n], b[n]) != 0) 637s # goto out; 637s # ret = TRUE; 637s # out: 637s # return ret; 637s # } 637s # 637s # static gboolean 637s # _g_variant_equal0 (GVariant *a, GVariant *b) 637s # { 637s # gboolean ret = FALSE; 637s # if (a == NULL && b == NULL) 637s # { 637s # ret = TRUE; 637s # goto out; 637s # } 637s # if (a == NULL || b == NULL) 637s # goto out; 637s # ret = g_variant_equal (a, b); 637s # out: 637s # return ret; 637s # } 637s # 637s # G_GNUC_UNUSED static gboolean 637s # _g_value_equal (const GValue *a, const GValue *b) 637s # { 637s # gboolean ret = FALSE; 637s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 637s # switch (G_VALUE_TYPE (a)) 637s # { 637s # case G_TYPE_BOOLEAN: 637s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 637s # break; 637s # case G_TYPE_UCHAR: 637s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 637s # break; 637s # case G_TYPE_INT: 637s # ret = (g_value_get_int (a) == g_value_get_int (b)); 637s # break; 637s # case G_TYPE_UINT: 637s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 637s # break; 637s # case G_TYPE_INT64: 637s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 637s # break; 637s # case G_TYPE_UINT64: 637s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 637s # break; 637s # case G_TYPE_DOUBLE: 637s # { 637s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 637s # gdouble da = g_value_get_double (a); 637s # gdouble db = g_value_get_double (b); 637s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 637s # } 637s # break; 637s # case G_TYPE_STRING: 637s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 637s # break; 637s # case G_TYPE_VARIANT: 637s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 637s # break; 637s # default: 637s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 637s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 637s # else 637s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 637s # break; 637s # } 637s # return ret; 637s # } 637s # 637s # static void 637s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 637s # GClosure *closure, 637s # GValue *return_value, 637s # unsigned int n_param_values, 637s # const GValue *param_values, 637s # void *invocation_hint G_GNUC_UNUSED, 637s # void *marshal_data) 637s # { 637s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 637s # (void *data1, 637s # GDBusMethodInvocation *arg_method_invocation, 637s # void *data2); 637s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 637s # GCClosure *cc = (GCClosure*) closure; 637s # void *data1, *data2; 637s # gboolean v_return; 637s # 637s # g_return_if_fail (return_value != NULL); 637s # g_return_if_fail (n_param_values == 2); 637s # 637s # if (G_CCLOSURE_SWAP_DATA (closure)) 637s # { 637s # data1 = closure->data; 637s # data2 = g_value_peek_pointer (param_values + 0); 637s # } 637s # else 637s # { 637s # data1 = g_value_peek_pointer (param_values + 0); 637s # data2 = closure->data; 637s # } 637s # 637s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 637s # (marshal_data ? marshal_data : cc->callback); 637s # 637s # v_return = 637s # callback (data1, 637s # g_marshal_value_peek_object (param_values + 1), 637s # data2); 637s # 637s # g_value_set_boolean (return_value, v_return); 637s # } 637s # 637s # /* ------------------------------------------------------------------------ 637s # * Code for interface org.project.UsefulInterface 637s # * ------------------------------------------------------------------------ 637s # */ 637s # 637s # /** 637s # * SECTION:OrgProjectUsefulInterface 637s # * @title: OrgProjectUsefulInterface 637s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 637s # * 637s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 637s # */ 637s # 637s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 637s # 637s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 637s # { 637s # { 637s # -1, 637s # (gchar *) "arg_i", 637s # (gchar *) "i", 637s # NULL 637s # }, 637s # FALSE 637s # }; 637s # 637s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 637s # { 637s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 637s # NULL 637s # }; 637s # 637s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 637s # { 637s # { 637s # -1, 637s # (gchar *) "SingleArgMethodI", 637s # NULL, 637s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 637s # NULL 637s # }, 637s # "handle-single-arg-method-i", 637s # FALSE 637s # }; 637s # 637s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 637s # { 637s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 637s # NULL 637s # }; 637s # 637s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 637s # { 637s # { 637s # -1, 637s # (gchar *) "org.project.UsefulInterface", 637s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 637s # NULL, 637s # NULL, 637s # NULL 637s # }, 637s # "org-project-useful-interface", 637s # }; 637s # 637s # 637s # /** 637s # * org_project_useful_interface_interface_info: 637s # * 637s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 637s # * 637s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 637s # */ 637s # GDBusInterfaceInfo * 637s # org_project_useful_interface_interface_info (void) 637s # { 637s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_override_properties: 637s # * @klass: The class structure for a #GObject derived class. 637s # * @property_id_begin: The property id to assign to the first overridden property. 637s # * 637s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 637s # * The properties are overridden in the order they are defined. 637s # * 637s # * Returns: The last property id. 637s # */ 637s # guint 637s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 637s # { 637s # return property_id_begin - 1; 637s # } 637s # 637s # 637s # inline static void 637s # org_project_useful_interface_method_marshal_single_arg_method_i ( 637s # GClosure *closure, 637s # GValue *return_value, 637s # unsigned int n_param_values, 637s # const GValue *param_values, 637s # void *invocation_hint, 637s # void *marshal_data) 637s # { 637s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 637s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 637s # } 637s # 637s # 637s # /** 637s # * OrgProjectUsefulInterface: 637s # * 637s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 637s # */ 637s # 637s # /** 637s # * OrgProjectUsefulInterfaceIface: 637s # * @parent_iface: The parent interface. 637s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 637s # * 637s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 637s # */ 637s # 637s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 637s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 637s # 637s # static void 637s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 637s # { 637s # /* GObject signals for incoming D-Bus method calls: */ 637s # /** 637s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 637s # * @object: A #OrgProjectUsefulInterface. 637s # * @invocation: A #GDBusMethodInvocation. 637s # * 637s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 637s # * 637s # * 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. 637s # * 637s # * 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. 637s # */ 637s # g_signal_new ("handle-single-arg-method-i", 637s # G_TYPE_FROM_INTERFACE (iface), 637s # G_SIGNAL_RUN_LAST, 637s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 637s # g_signal_accumulator_true_handled, 637s # NULL, 637s # org_project_useful_interface_method_marshal_single_arg_method_i, 637s # G_TYPE_BOOLEAN, 637s # 1, 637s # G_TYPE_DBUS_METHOD_INVOCATION); 637s # 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_call_single_arg_method_i: 637s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 637s # * @cancellable: (nullable): A #GCancellable or %NULL. 637s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 637s # * @user_data: User data to pass to @callback. 637s # * 637s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 637s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 637s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 637s # * 637s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 637s # */ 637s # void 637s # org_project_useful_interface_call_single_arg_method_i ( 637s # OrgProjectUsefulInterface *proxy, 637s # GCancellable *cancellable, 637s # GAsyncReadyCallback callback, 637s # gpointer user_data) 637s # { 637s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 637s # "SingleArgMethodI", 637s # g_variant_new ("()"), 637s # G_DBUS_CALL_FLAGS_NONE, 637s # -1, 637s # cancellable, 637s # callback, 637s # user_data); 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_call_single_arg_method_i_finish: 637s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 637s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 637s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 637s # * @error: Return location for error or %NULL. 637s # * 637s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 637s # * 637s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 637s # */ 637s # gboolean 637s # org_project_useful_interface_call_single_arg_method_i_finish ( 637s # OrgProjectUsefulInterface *proxy, 637s # gint *out_arg_i, 637s # GAsyncResult *res, 637s # GError **error) 637s # { 637s # GVariant *_ret; 637s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 637s # if (_ret == NULL) 637s # goto _out; 637s # g_variant_get (_ret, 637s # "(i)", 637s # out_arg_i); 637s # g_variant_unref (_ret); 637s # _out: 637s # return _ret != NULL; 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_call_single_arg_method_i_sync: 637s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 637s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 637s # * @cancellable: (nullable): A #GCancellable or %NULL. 637s # * @error: Return location for error or %NULL. 637s # * 637s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 637s # * 637s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 637s # * 637s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 637s # */ 637s # gboolean 637s # org_project_useful_interface_call_single_arg_method_i_sync ( 637s # OrgProjectUsefulInterface *proxy, 637s # gint *out_arg_i, 637s # GCancellable *cancellable, 637s # GError **error) 637s # { 637s # GVariant *_ret; 637s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 637s # "SingleArgMethodI", 637s # g_variant_new ("()"), 637s # G_DBUS_CALL_FLAGS_NONE, 637s # -1, 637s # cancellable, 637s # error); 637s # if (_ret == NULL) 637s # goto _out; 637s # g_variant_get (_ret, 637s # "(i)", 637s # out_arg_i); 637s # g_variant_unref (_ret); 637s # _out: 637s # return _ret != NULL; 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_complete_single_arg_method_i: 637s # * @object: A #OrgProjectUsefulInterface. 637s # * @invocation: (transfer full): A #GDBusMethodInvocation. 637s # * @arg_i: Parameter to return. 637s # * 637s # * 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. 637s # * 637s # * This method will free @invocation, you cannot use it afterwards. 637s # */ 637s # void 637s # org_project_useful_interface_complete_single_arg_method_i ( 637s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 637s # GDBusMethodInvocation *invocation, 637s # gint arg_i) 637s # { 637s # g_dbus_method_invocation_return_value (invocation, 637s # g_variant_new ("(i)", 637s # arg_i)); 637s # } 637s # 637s # /* ------------------------------------------------------------------------ */ 637s # 637s # /** 637s # * OrgProjectUsefulInterfaceProxy: 637s # * 637s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 637s # */ 637s # 637s # /** 637s # * OrgProjectUsefulInterfaceProxyClass: 637s # * @parent_class: The parent class. 637s # * 637s # * Class structure for #OrgProjectUsefulInterfaceProxy. 637s # */ 637s # 637s # struct _OrgProjectUsefulInterfaceProxyPrivate 637s # { 637s # GData *qdata; 637s # }; 637s # 637s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 637s # 637s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 637s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 637s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 637s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 637s # 637s # #else 637s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 637s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 637s # 637s # #endif 637s # static void 637s # org_project_useful_interface_proxy_finalize (GObject *object) 637s # { 637s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 637s # g_datalist_clear (&proxy->priv->qdata); 637s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 637s # } 637s # 637s # static void 637s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 637s # guint prop_id G_GNUC_UNUSED, 637s # GValue *value G_GNUC_UNUSED, 637s # GParamSpec *pspec G_GNUC_UNUSED) 637s # { 637s # } 637s # 637s # static void 637s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 637s # guint prop_id G_GNUC_UNUSED, 637s # const GValue *value G_GNUC_UNUSED, 637s # GParamSpec *pspec G_GNUC_UNUSED) 637s # { 637s # } 637s # 637s # static void 637s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 637s # const gchar *sender_name G_GNUC_UNUSED, 637s # const gchar *signal_name, 637s # GVariant *parameters) 637s # { 637s # _ExtendedGDBusSignalInfo *info; 637s # GVariantIter iter; 637s # GVariant *child; 637s # GValue *paramv; 637s # gsize num_params; 637s # gsize n; 637s # guint signal_id; 637s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 637s # if (info == NULL) 637s # return; 637s # num_params = g_variant_n_children (parameters); 637s # paramv = g_new0 (GValue, num_params + 1); 637s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 637s # g_value_set_object (¶mv[0], proxy); 637s # g_variant_iter_init (&iter, parameters); 637s # n = 1; 637s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 637s # { 637s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 637s # if (arg_info->use_gvariant) 637s # { 637s # g_value_init (¶mv[n], G_TYPE_VARIANT); 637s # g_value_set_variant (¶mv[n], child); 637s # n++; 637s # } 637s # else 637s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 637s # g_variant_unref (child); 637s # } 637s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 637s # g_signal_emitv (paramv, signal_id, 0, NULL); 637s # for (n = 0; n < num_params + 1; n++) 637s # g_value_unset (¶mv[n]); 637s # g_free (paramv); 637s # } 637s # 637s # static void 637s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 637s # GVariant *changed_properties, 637s # const gchar *const *invalidated_properties) 637s # { 637s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 637s # guint n; 637s # const gchar *key; 637s # GVariantIter *iter; 637s # _ExtendedGDBusPropertyInfo *info; 637s # g_variant_get (changed_properties, "a{sv}", &iter); 637s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 637s # { 637s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 637s # g_datalist_remove_data (&proxy->priv->qdata, key); 637s # if (info != NULL) 637s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 637s # } 637s # g_variant_iter_free (iter); 637s # for (n = 0; invalidated_properties[n] != NULL; n++) 637s # { 637s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 637s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 637s # if (info != NULL) 637s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 637s # } 637s # } 637s # 637s # static void 637s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 637s # { 637s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 637s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 637s # #else 637s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 637s # #endif 637s # 637s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 637s # } 637s # 637s # static void 637s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 637s # { 637s # GObjectClass *gobject_class; 637s # GDBusProxyClass *proxy_class; 637s # 637s # gobject_class = G_OBJECT_CLASS (klass); 637s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 637s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 637s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 637s # 637s # proxy_class = G_DBUS_PROXY_CLASS (klass); 637s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 637s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 637s # 637s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 637s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 637s # #endif 637s # } 637s # 637s # static void 637s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 637s # { 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_proxy_new: 637s # * @connection: A #GDBusConnection. 637s # * @flags: Flags from the #GDBusProxyFlags enumeration. 637s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 637s # * @object_path: An object path. 637s # * @cancellable: (nullable): A #GCancellable or %NULL. 637s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 637s # * @user_data: User data to pass to @callback. 637s # * 637s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 637s # * 637s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 637s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 637s # * 637s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 637s # */ 637s # void 637s # org_project_useful_interface_proxy_new ( 637s # GDBusConnection *connection, 637s # GDBusProxyFlags flags, 637s # const gchar *name, 637s # const gchar *object_path, 637s # GCancellable *cancellable, 637s # GAsyncReadyCallback callback, 637s # gpointer user_data) 637s # { 637s # g_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); 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_proxy_new_finish: 637s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 637s # * @error: Return location for error or %NULL 637s # * 637s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 637s # * 637s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 637s # */ 637s # OrgProjectUsefulInterface * 637s # org_project_useful_interface_proxy_new_finish ( 637s # GAsyncResult *res, 637s # GError **error) 637s # { 637s # GObject *ret; 637s # GObject *source_object; 637s # source_object = g_async_result_get_source_object (res); 637s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 637s # g_object_unref (source_object); 637s # if (ret != NULL) 637s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 637s # else 637s # return NULL; 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_proxy_new_sync: 637s # * @connection: A #GDBusConnection. 637s # * @flags: Flags from the #GDBusProxyFlags enumeration. 637s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 637s # * @object_path: An object path. 637s # * @cancellable: (nullable): A #GCancellable or %NULL. 637s # * @error: Return location for error or %NULL 637s # * 637s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 637s # * 637s # * The calling thread is blocked until a reply is received. 637s # * 637s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 637s # * 637s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 637s # */ 637s # OrgProjectUsefulInterface * 637s # org_project_useful_interface_proxy_new_sync ( 637s # GDBusConnection *connection, 637s # GDBusProxyFlags flags, 637s # const gchar *name, 637s # const gchar *object_path, 637s # GCancellable *cancellable, 637s # GError **error) 637s # { 637s # GInitable *ret; 637s # 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); 637s # if (ret != NULL) 637s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 637s # else 637s # return NULL; 637s # } 637s # 637s # 637s # /** 637s # * org_project_useful_interface_proxy_new_for_bus: 637s # * @bus_type: A #GBusType. 637s # * @flags: Flags from the #GDBusProxyFlags enumeration. 637s # * @name: A bus name (well-known or unique). 637s # * @object_path: An object path. 637s # * @cancellable: (nullable): A #GCancellable or %NULL. 637s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 637s # * @user_data: User data to pass to @callback. 637s # * 637s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 637s # * 637s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 637s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 637s # * 637s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 637s # */ 637s # void 637s # org_project_useful_interface_proxy_new_for_bus ( 637s # GBusType bus_type, 637s # GDBusProxyFlags flags, 637s # const gchar *name, 637s # const gchar *object_path, 637s # GCancellable *cancellable, 637s # GAsyncReadyCallback callback, 637s # gpointer user_data) 637s # { 637s # g_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); 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_proxy_new_for_bus_finish: 637s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 637s # * @error: Return location for error or %NULL 637s # * 637s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 637s # * 637s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 637s # */ 637s # OrgProjectUsefulInterface * 637s # org_project_useful_interface_proxy_new_for_bus_finish ( 637s # GAsyncResult *res, 637s # GError **error) 637s # { 637s # GObject *ret; 637s # GObject *source_object; 637s # source_object = g_async_result_get_source_object (res); 637s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 637s # g_object_unref (source_object); 637s # if (ret != NULL) 637s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 637s # else 637s # return NULL; 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_proxy_new_for_bus_sync: 637s # * @bus_type: A #GBusType. 637s # * @flags: Flags from the #GDBusProxyFlags enumeration. 637s # * @name: A bus name (well-known or unique). 637s # * @object_path: An object path. 637s # * @cancellable: (nullable): A #GCancellable or %NULL. 637s # * @error: Return location for error or %NULL 637s # * 637s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 637s # * 637s # * The calling thread is blocked until a reply is received. 637s # * 637s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 637s # * 637s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 637s # */ 637s # OrgProjectUsefulInterface * 637s # org_project_useful_interface_proxy_new_for_bus_sync ( 637s # GBusType bus_type, 637s # GDBusProxyFlags flags, 637s # const gchar *name, 637s # const gchar *object_path, 637s # GCancellable *cancellable, 637s # GError **error) 637s # { 637s # GInitable *ret; 637s # 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); 637s # if (ret != NULL) 637s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 637s # else 637s # return NULL; 637s # } 637s # 637s # 637s # /* ------------------------------------------------------------------------ */ 637s # 637s # /** 637s # * OrgProjectUsefulInterfaceSkeleton: 637s # * 637s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 637s # */ 637s # 637s # /** 637s # * OrgProjectUsefulInterfaceSkeletonClass: 637s # * @parent_class: The parent class. 637s # * 637s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 637s # */ 637s # 637s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 637s # { 637s # GValue *properties; 637s # GList *changed_properties; 637s # GSource *changed_properties_idle_source; 637s # GMainContext *context; 637s # GMutex lock; 637s # }; 637s # 637s # static void 637s # _org_project_useful_interface_skeleton_handle_method_call ( 637s # GDBusConnection *connection G_GNUC_UNUSED, 637s # const gchar *sender G_GNUC_UNUSED, 637s # const gchar *object_path G_GNUC_UNUSED, 637s # const gchar *interface_name, 637s # const gchar *method_name, 637s # GVariant *parameters, 637s # GDBusMethodInvocation *invocation, 637s # gpointer user_data) 637s # { 637s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 637s # _ExtendedGDBusMethodInfo *info; 637s # GVariantIter iter; 637s # GVariant *child; 637s # GValue *paramv; 637s # gsize num_params; 637s # guint num_extra; 637s # gsize n; 637s # guint signal_id; 637s # GValue return_value = G_VALUE_INIT; 637s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 637s # g_assert (info != NULL); 637s # num_params = g_variant_n_children (parameters); 637s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 637s # n = 0; 637s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 637s # g_value_set_object (¶mv[n++], skeleton); 637s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 637s # g_value_set_object (¶mv[n++], invocation); 637s # if (info->pass_fdlist) 637s # { 637s # #ifdef G_OS_UNIX 637s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 637s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 637s # #else 637s # g_assert_not_reached (); 637s # #endif 637s # } 637s # g_variant_iter_init (&iter, parameters); 637s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 637s # { 637s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 637s # if (arg_info->use_gvariant) 637s # { 637s # g_value_init (¶mv[n], G_TYPE_VARIANT); 637s # g_value_set_variant (¶mv[n], child); 637s # n++; 637s # } 637s # else 637s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 637s # g_variant_unref (child); 637s # } 637s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 637s # g_value_init (&return_value, G_TYPE_BOOLEAN); 637s # g_signal_emitv (paramv, signal_id, 0, &return_value); 637s # if (!g_value_get_boolean (&return_value)) 637s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 637s # g_value_unset (&return_value); 637s # for (n = 0; n < num_params + num_extra; n++) 637s # g_value_unset (¶mv[n]); 637s # g_free (paramv); 637s # } 637s # 637s # static GVariant * 637s # _org_project_useful_interface_skeleton_handle_get_property ( 637s # GDBusConnection *connection G_GNUC_UNUSED, 637s # const gchar *sender G_GNUC_UNUSED, 637s # const gchar *object_path G_GNUC_UNUSED, 637s # const gchar *interface_name G_GNUC_UNUSED, 637s # const gchar *property_name, 637s # GError **error, 637s # gpointer user_data) 637s # { 637s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 637s # GValue value = G_VALUE_INIT; 637s # GParamSpec *pspec; 637s # _ExtendedGDBusPropertyInfo *info; 637s # GVariant *ret; 637s # ret = NULL; 637s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 637s # g_assert (info != NULL); 637s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 637s # if (pspec == NULL) 637s # { 637s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 637s # } 637s # else 637s # { 637s # g_value_init (&value, pspec->value_type); 637s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 637s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 637s # g_value_unset (&value); 637s # } 637s # return ret; 637s # } 637s # 637s # static gboolean 637s # _org_project_useful_interface_skeleton_handle_set_property ( 637s # GDBusConnection *connection G_GNUC_UNUSED, 637s # const gchar *sender G_GNUC_UNUSED, 637s # const gchar *object_path G_GNUC_UNUSED, 637s # const gchar *interface_name G_GNUC_UNUSED, 637s # const gchar *property_name, 637s # GVariant *variant, 637s # GError **error, 637s # gpointer user_data) 637s # { 637s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 637s # GValue value = G_VALUE_INIT; 637s # GParamSpec *pspec; 637s # _ExtendedGDBusPropertyInfo *info; 637s # gboolean ret; 637s # ret = FALSE; 637s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 637s # g_assert (info != NULL); 637s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 637s # if (pspec == NULL) 637s # { 637s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 637s # } 637s # else 637s # { 637s # if (info->use_gvariant) 637s # g_value_set_variant (&value, variant); 637s # else 637s # g_dbus_gvariant_to_gvalue (variant, &value); 637s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 637s # g_value_unset (&value); 637s # ret = TRUE; 637s # } 637s # return ret; 637s # } 637s # 637s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 637s # { 637s # _org_project_useful_interface_skeleton_handle_method_call, 637s # _org_project_useful_interface_skeleton_handle_get_property, 637s # _org_project_useful_interface_skeleton_handle_set_property, 637s # {NULL} 637s # }; 637s # 637s # static GDBusInterfaceInfo * 637s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 637s # { 637s # return org_project_useful_interface_interface_info (); 637s # } 637s # 637s # static GDBusInterfaceVTable * 637s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 637s # { 637s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 637s # } 637s # 637s # static GVariant * 637s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 637s # { 637s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 637s # 637s # GVariantBuilder builder; 637s # guint n; 637s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 637s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 637s # goto out; 637s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 637s # { 637s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 637s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 637s # { 637s # GVariant *value; 637s # 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); 637s # if (value != NULL) 637s # { 637s # g_variant_take_ref (value); 637s # g_variant_builder_add (&builder, "{sv}", info->name, value); 637s # g_variant_unref (value); 637s # } 637s # } 637s # } 637s # out: 637s # return g_variant_builder_end (&builder); 637s # } 637s # 637s # static void 637s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 637s # { 637s # } 637s # 637s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 637s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 637s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 637s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 637s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 637s # 637s # #else 637s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 637s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 637s # 637s # #endif 637s # static void 637s # org_project_useful_interface_skeleton_finalize (GObject *object) 637s # { 637s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 637s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 637s # if (skeleton->priv->changed_properties_idle_source != NULL) 637s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 637s # g_main_context_unref (skeleton->priv->context); 637s # g_mutex_clear (&skeleton->priv->lock); 637s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 637s # } 637s # 637s # static void 637s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 637s # { 637s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 637s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 637s # #else 637s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 637s # #endif 637s # 637s # g_mutex_init (&skeleton->priv->lock); 637s # skeleton->priv->context = g_main_context_ref_thread_default (); 637s # } 637s # 637s # static void 637s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 637s # { 637s # GObjectClass *gobject_class; 637s # GDBusInterfaceSkeletonClass *skeleton_class; 637s # 637s # gobject_class = G_OBJECT_CLASS (klass); 637s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 637s # 637s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 637s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 637s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 637s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 637s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 637s # 637s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 637s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 637s # #endif 637s # } 637s # 637s # static void 637s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 637s # { 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_skeleton_new: 637s # * 637s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 637s # * 637s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 637s # */ 637s # OrgProjectUsefulInterface * 637s # org_project_useful_interface_skeleton_new (void) 637s # { 637s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 637s # } 637s # /tmp/tmpp9t62ouk/tmpzcrgig56.xml: 637s # 637s # 637s # 637s # 637s # 637s # 637s # 637s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp9t62ouk/tmpzcrgig56.xml', '--output', '-', '--body'] 637s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 637s # Output: /* 637s # * This file is generated by gdbus-codegen, do not modify it. 637s # * 637s # * The license of this code is the same as for the D-Bus interface description 637s # * it was derived from. Note that it links to GLib, so must comply with the 637s # * LGPL linking clauses. 637s # */ 637s # 637s # #ifdef HAVE_CONFIG_H 637s # # include "config.h" 637s # #endif 637s # 637s # #include 637s # #ifdef G_OS_UNIX 637s # # include 637s # #endif 637s # 637s # #ifdef G_ENABLE_DEBUG 637s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 637s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 637s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 637s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 637s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 637s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 637s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 637s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 637s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 637s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 637s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 637s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 637s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 637s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 637s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 637s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 637s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 637s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 637s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 637s # #else /* !G_ENABLE_DEBUG */ 637s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 637s # * Do not access GValues directly in your code. Instead, use the 637s # * g_value_get_*() functions 637s # */ 637s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 637s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 637s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 637s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 637s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 637s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 637s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 637s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 637s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 637s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 637s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 637s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 637s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 637s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 637s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 637s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 637s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 637s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 637s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 637s # #endif /* !G_ENABLE_DEBUG */ 637s # 637s # typedef struct 637s # { 637s # GDBusArgInfo parent_struct; 637s # gboolean use_gvariant; 637s # } _ExtendedGDBusArgInfo; 637s # 637s # typedef struct 637s # { 637s # GDBusMethodInfo parent_struct; 637s # const gchar *signal_name; 637s # gboolean pass_fdlist; 637s # } _ExtendedGDBusMethodInfo; 637s # 637s # typedef struct 637s # { 637s # GDBusSignalInfo parent_struct; 637s # const gchar *signal_name; 637s # } _ExtendedGDBusSignalInfo; 637s # 637s # typedef struct 637s # { 637s # GDBusPropertyInfo parent_struct; 637s # const gchar *hyphen_name; 637s # guint use_gvariant : 1; 637s # guint emits_changed_signal : 1; 637s # } _ExtendedGDBusPropertyInfo; 637s # 637s # typedef struct 637s # { 637s # GDBusInterfaceInfo parent_struct; 637s # const gchar *hyphen_name; 637s # } _ExtendedGDBusInterfaceInfo; 637s # 637s # typedef struct 637s # { 637s # const _ExtendedGDBusPropertyInfo *info; 637s # guint prop_id; 637s # GValue orig_value; /* the value before the change */ 637s # } ChangedProperty; 637s # 637s # static void 637s # _changed_property_free (ChangedProperty *data) 637s # { 637s # g_value_unset (&data->orig_value); 637s # g_free (data); 637s # } 637s # 637s # static gboolean 637s # _g_strv_equal0 (gchar **a, gchar **b) 637s # { 637s # gboolean ret = FALSE; 637s # guint n; 637s # if (a == NULL && b == NULL) 637s # { 637s # ret = TRUE; 637s # goto out; 637s # } 637s # if (a == NULL || b == NULL) 637s # goto out; 637s # if (g_strv_length (a) != g_strv_length (b)) 637s # goto out; 637s # for (n = 0; a[n] != NULL; n++) 637s # if (g_strcmp0 (a[n], b[n]) != 0) 637s # goto out; 637s # ret = TRUE; 637s # out: 637s # return ret; 637s # } 637s # 637s # static gboolean 637s # _g_variant_equal0 (GVariant *a, GVariant *b) 637s # { 637s # gboolean ret = FALSE; 637s # if (a == NULL && b == NULL) 637s # { 637s # ret = TRUE; 637s # goto out; 637s # } 637s # if (a == NULL || b == NULL) 637s # goto out; 637s # ret = g_variant_equal (a, b); 637s # out: 637s # return ret; 637s # } 637s # 637s # G_GNUC_UNUSED static gboolean 637s # _g_value_equal (const GValue *a, const GValue *b) 637s # { 637s # gboolean ret = FALSE; 637s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 637s # switch (G_VALUE_TYPE (a)) 637s # { 637s # case G_TYPE_BOOLEAN: 637s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 637s # break; 637s # case G_TYPE_UCHAR: 637s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 637s # break; 637s # case G_TYPE_INT: 637s # ret = (g_value_get_int (a) == g_value_get_int (b)); 637s # break; 637s # case G_TYPE_UINT: 637s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 637s # break; 637s # case G_TYPE_INT64: 637s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 637s # break; 637s # case G_TYPE_UINT64: 637s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 637s # break; 637s # case G_TYPE_DOUBLE: 637s # { 637s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 637s # gdouble da = g_value_get_double (a); 637s # gdouble db = g_value_get_double (b); 637s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 637s # } 637s # break; 637s # case G_TYPE_STRING: 637s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 637s # break; 637s # case G_TYPE_VARIANT: 637s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 637s # break; 637s # default: 637s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 637s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 637s # else 637s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 637s # break; 637s # } 637s # return ret; 637s # } 637s # 637s # static void 637s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 637s # GClosure *closure, 637s # GValue *return_value, 637s # unsigned int n_param_values, 637s # const GValue *param_values, 637s # void *invocation_hint G_GNUC_UNUSED, 637s # void *marshal_data) 637s # { 637s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 637s # (void *data1, 637s # GDBusMethodInvocation *arg_method_invocation, 637s # void *data2); 637s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 637s # GCClosure *cc = (GCClosure*) closure; 637s # void *data1, *data2; 637s # gboolean v_return; 637s # 637s # g_return_if_fail (return_value != NULL); 637s # g_return_if_fail (n_param_values == 2); 637s # 637s # if (G_CCLOSURE_SWAP_DATA (closure)) 637s # { 637s # data1 = closure->data; 637s # data2 = g_value_peek_pointer (param_values + 0); 637s # } 637s # else 637s # { 637s # data1 = g_value_peek_pointer (param_values + 0); 637s # data2 = closure->data; 637s # } 637s # 637s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 637s # (marshal_data ? marshal_data : cc->callback); 637s # 637s # v_return = 637s # callback (data1, 637s # g_marshal_value_peek_object (param_values + 1), 637s # data2); 637s # 637s # g_value_set_boolean (return_value, v_return); 637s # } 637s # 637s # /* ------------------------------------------------------------------------ 637s # * Code for interface org.project.UsefulInterface 637s # * ------------------------------------------------------------------------ 637s # */ 637s # 637s # /** 637s # * SECTION:OrgProjectUsefulInterface 637s # * @title: OrgProjectUsefulInterface 637s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 637s # * 637s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 637s # */ 637s # 637s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 637s # 637s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 637s # { 637s # { 637s # -1, 637s # (gchar *) "arg_u", 637s # (gchar *) "u", 637s # NULL 637s # }, 637s # FALSE 637s # }; 637s # 637s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 637s # { 637s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 637s # NULL 637s # }; 637s # 637s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 637s # { 637s # { 637s # -1, 637s # (gchar *) "SingleArgMethodU", 637s # NULL, 637s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 637s # NULL 637s # }, 637s # "handle-single-arg-method-u", 637s # FALSE 637s # }; 637s # 637s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 637s # { 637s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 637s # NULL 637s # }; 637s # 637s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 637s # { 637s # { 637s # -1, 637s # (gchar *) "org.project.UsefulInterface", 637s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 637s # NULL, 637s # NULL, 637s # NULL 637s # }, 637s # "org-project-useful-interface", 637s # }; 637s # 637s # 637s # /** 637s # * org_project_useful_interface_interface_info: 637s # * 637s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 637s # * 637s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 637s # */ 637s # GDBusInterfaceInfo * 637s # org_project_useful_interface_interface_info (void) 637s # { 637s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_override_properties: 637s # * @klass: The class structure for a #GObject derived class. 637s # * @property_id_begin: The property id to assign to the first overridden property. 637s # * 637s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 637s # * The properties are overridden in the order they are defined. 637s # * 637s # * Returns: The last property id. 637s # */ 637s # guint 637s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 637s # { 637s # return property_id_begin - 1; 637s # } 637s # 637s # 637s # inline static void 637s # org_project_useful_interface_method_marshal_single_arg_method_u ( 637s # GClosure *closure, 637s # GValue *return_value, 637s # unsigned int n_param_values, 637s # const GValue *param_values, 637s # void *invocation_hint, 637s # void *marshal_data) 637s # { 637s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 637s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 637s # } 637s # 637s # 637s # /** 637s # * OrgProjectUsefulInterface: 637s # * 637s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 637s # */ 637s # 637s # /** 637s # * OrgProjectUsefulInterfaceIface: 637s # * @parent_iface: The parent interface. 637s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 637s # * 637s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 637s # */ 637s # 637s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 637s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 637s # 637s # static void 637s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 637s # { 637s # /* GObject signals for incoming D-Bus method calls: */ 637s # /** 637s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 637s # * @object: A #OrgProjectUsefulInterface. 637s # * @invocation: A #GDBusMethodInvocation. 637s # * 637s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 637s # * 637s # * 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. 637s # * 637s # * 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. 637s # */ 637s # g_signal_new ("handle-single-arg-method-u", 637s # G_TYPE_FROM_INTERFACE (iface), 637s # G_SIGNAL_RUN_LAST, 637s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 637s # g_signal_accumulator_true_handled, 637s # NULL, 637s # org_project_useful_interface_method_marshal_single_arg_method_u, 637s # G_TYPE_BOOLEAN, 637s # 1, 637s # G_TYPE_DBUS_METHOD_INVOCATION); 637s # 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_call_single_arg_method_u: 637s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 637s # * @cancellable: (nullable): A #GCancellable or %NULL. 637s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 637s # * @user_data: User data to pass to @callback. 637s # * 637s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 637s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 637s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 637s # * 637s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 637s # */ 637s # void 637s # org_project_useful_interface_call_single_arg_method_u ( 637s # OrgProjectUsefulInterface *proxy, 637s # GCancellable *cancellable, 637s # GAsyncReadyCallback callback, 637s # gpointer user_data) 637s # { 637s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 637s # "SingleArgMethodU", 637s # g_variant_new ("()"), 637s # G_DBUS_CALL_FLAGS_NONE, 637s # -1, 637s # cancellable, 637s # callback, 637s # user_data); 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_call_single_arg_method_u_finish: 637s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 637s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 637s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 637s # * @error: Return location for error or %NULL. 637s # * 637s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 637s # * 637s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 637s # */ 637s # gboolean 637s # org_project_useful_interface_call_single_arg_method_u_finish ( 637s # OrgProjectUsefulInterface *proxy, 637s # guint *out_arg_u, 637s # GAsyncResult *res, 637s # GError **error) 637s # { 637s # GVariant *_ret; 637s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 637s # if (_ret == NULL) 637s # goto _out; 637s # g_variant_get (_ret, 637s # "(u)", 637s # out_arg_u); 637s # g_variant_unref (_ret); 637s # _out: 637s # return _ret != NULL; 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_call_single_arg_method_u_sync: 637s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 637s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 637s # * @cancellable: (nullable): A #GCancellable or %NULL. 637s # * @error: Return location for error or %NULL. 637s # * 637s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 637s # * 637s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 637s # * 637s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 637s # */ 637s # gboolean 637s # org_project_useful_interface_call_single_arg_method_u_sync ( 637s # OrgProjectUsefulInterface *proxy, 637s # guint *out_arg_u, 637s # GCancellable *cancellable, 637s # GError **error) 637s # { 637s # GVariant *_ret; 637s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 637s # "SingleArgMethodU", 637s # g_variant_new ("()"), 637s # G_DBUS_CALL_FLAGS_NONE, 637s # -1, 637s # cancellable, 637s # error); 637s # if (_ret == NULL) 637s # goto _out; 637s # g_variant_get (_ret, 637s # "(u)", 637s # out_arg_u); 637s # g_variant_unref (_ret); 637s # _out: 637s # return _ret != NULL; 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_complete_single_arg_method_u: 637s # * @object: A #OrgProjectUsefulInterface. 637s # * @invocation: (transfer full): A #GDBusMethodInvocation. 637s # * @arg_u: Parameter to return. 637s # * 637s # * 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. 637s # * 637s # * This method will free @invocation, you cannot use it afterwards. 637s # */ 637s # void 637s # org_project_useful_interface_complete_single_arg_method_u ( 637s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 637s # GDBusMethodInvocation *invocation, 637s # guint arg_u) 637s # { 637s # g_dbus_method_invocation_return_value (invocation, 637s # g_variant_new ("(u)", 637s # arg_u)); 637s # } 637s # 637s # /* ------------------------------------------------------------------------ */ 637s # 637s # /** 637s # * OrgProjectUsefulInterfaceProxy: 637s # * 637s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 637s # */ 637s # 637s # /** 637s # * OrgProjectUsefulInterfaceProxyClass: 637s # * @parent_class: The parent class. 637s # * 637s # * Class structure for #OrgProjectUsefulInterfaceProxy. 637s # */ 637s # 637s # struct _OrgProjectUsefulInterfaceProxyPrivate 637s # { 637s # GData *qdata; 637s # }; 637s # 637s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 637s # 637s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 637s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 637s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 637s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 637s # 637s # #else 637s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 637s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 637s # 637s # #endif 637s # static void 637s # org_project_useful_interface_proxy_finalize (GObject *object) 637s # { 637s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 637s # g_datalist_clear (&proxy->priv->qdata); 637s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 637s # } 637s # 637s # static void 637s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 637s # guint prop_id G_GNUC_UNUSED, 637s # GValue *value G_GNUC_UNUSED, 637s # GParamSpec *pspec G_GNUC_UNUSED) 637s # { 637s # } 637s # 637s # static void 637s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 637s # guint prop_id G_GNUC_UNUSED, 637s # const GValue *value G_GNUC_UNUSED, 637s # GParamSpec *pspec G_GNUC_UNUSED) 637s # { 637s # } 637s # 637s # static void 637s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 637s # const gchar *sender_name G_GNUC_UNUSED, 637s # const gchar *signal_name, 637s # GVariant *parameters) 637s # { 637s # _ExtendedGDBusSignalInfo *info; 637s # GVariantIter iter; 637s # GVariant *child; 637s # GValue *paramv; 637s # gsize num_params; 637s # gsize n; 637s # guint signal_id; 637s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 637s # if (info == NULL) 637s # return; 637s # num_params = g_variant_n_children (parameters); 637s # paramv = g_new0 (GValue, num_params + 1); 637s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 637s # g_value_set_object (¶mv[0], proxy); 637s # g_variant_iter_init (&iter, parameters); 637s # n = 1; 637s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 637s # { 637s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 637s # if (arg_info->use_gvariant) 637s # { 637s # g_value_init (¶mv[n], G_TYPE_VARIANT); 637s # g_value_set_variant (¶mv[n], child); 637s # n++; 637s # } 637s # else 637s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 637s # g_variant_unref (child); 637s # } 637s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 637s # g_signal_emitv (paramv, signal_id, 0, NULL); 637s # for (n = 0; n < num_params + 1; n++) 637s # g_value_unset (¶mv[n]); 637s # g_free (paramv); 637s # } 637s # 637s # static void 637s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 637s # GVariant *changed_properties, 637s # const gchar *const *invalidated_properties) 637s # { 637s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 637s # guint n; 637s # const gchar *key; 637s # GVariantIter *iter; 637s # _ExtendedGDBusPropertyInfo *info; 637s # g_variant_get (changed_properties, "a{sv}", &iter); 637s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 637s # { 637s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 637s # g_datalist_remove_data (&proxy->priv->qdata, key); 637s # if (info != NULL) 637s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 637s # } 637s # g_variant_iter_free (iter); 637s # for (n = 0; invalidated_properties[n] != NULL; n++) 637s # { 637s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 637s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 637s # if (info != NULL) 637s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 637s # } 637s # } 637s # 637s # static void 637s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 637s # { 637s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 637s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 637s # #else 637s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 637s # #endif 637s # 637s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 637s # } 637s # 637s # static void 637s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 637s # { 637s # GObjectClass *gobject_class; 637s # GDBusProxyClass *proxy_class; 637s # 637s # gobject_class = G_OBJECT_CLASS (klass); 637s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 637s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 637s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 637s # 637s # proxy_class = G_DBUS_PROXY_CLASS (klass); 637s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 637s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 637s # 637s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 637s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 637s # #endif 637s # } 637s # 637s # static void 637s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 637s # { 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_proxy_new: 637s # * @connection: A #GDBusConnection. 637s # * @flags: Flags from the #GDBusProxyFlags enumeration. 637s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 637s # * @object_path: An object path. 637s # * @cancellable: (nullable): A #GCancellable or %NULL. 637s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 637s # * @user_data: User data to pass to @callback. 637s # * 637s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 637s # * 637s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 637s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 637s # * 637s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 637s # */ 637s # void 637s # org_project_useful_interface_proxy_new ( 637s # GDBusConnection *connection, 637s # GDBusProxyFlags flags, 637s # const gchar *name, 637s # const gchar *object_path, 637s # GCancellable *cancellable, 637s # GAsyncReadyCallback callback, 637s # gpointer user_data) 637s # { 637s # g_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); 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_proxy_new_finish: 637s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 637s # * @error: Return location for error or %NULL 637s # * 637s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 637s # * 637s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 637s # */ 637s # OrgProjectUsefulInterface * 637s # org_project_useful_interface_proxy_new_finish ( 637s # GAsyncResult *res, 637s # GError **error) 637s # { 637s # GObject *ret; 637s # GObject *source_object; 637s # source_object = g_async_result_get_source_object (res); 637s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 637s # g_object_unref (source_object); 637s # if (ret != NULL) 637s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 637s # else 637s # return NULL; 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_proxy_new_sync: 637s # * @connection: A #GDBusConnection. 637s # * @flags: Flags from the #GDBusProxyFlags enumeration. 637s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 637s # * @object_path: An object path. 637s # * @cancellable: (nullable): A #GCancellable or %NULL. 637s # * @error: Return location for error or %NULL 637s # * 637s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 637s # * 637s # * The calling thread is blocked until a reply is received. 637s # * 637s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 637s # * 637s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 637s # */ 637s # OrgProjectUsefulInterface * 637s # org_project_useful_interface_proxy_new_sync ( 637s # GDBusConnection *connection, 637s # GDBusProxyFlags flags, 637s # const gchar *name, 637s # const gchar *object_path, 637s # GCancellable *cancellable, 637s # GError **error) 637s # { 637s # GInitable *ret; 637s # 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); 637s # if (ret != NULL) 637s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 637s # else 637s # return NULL; 637s # } 637s # 637s # 637s # /** 637s # * org_project_useful_interface_proxy_new_for_bus: 637s # * @bus_type: A #GBusType. 637s # * @flags: Flags from the #GDBusProxyFlags enumeration. 637s # * @name: A bus name (well-known or unique). 637s # * @object_path: An object path. 637s # * @cancellable: (nullable): A #GCancellable or %NULL. 637s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 637s # * @user_data: User data to pass to @callback. 637s # * 637s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 637s # * 637s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 637s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 637s # * 637s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 637s # */ 637s # void 637s # org_project_useful_interface_proxy_new_for_bus ( 637s # GBusType bus_type, 637s # GDBusProxyFlags flags, 637s # const gchar *name, 637s # const gchar *object_path, 637s # GCancellable *cancellable, 637s # GAsyncReadyCallback callback, 637s # gpointer user_data) 637s # { 637s # g_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); 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_proxy_new_for_bus_finish: 637s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 637s # * @error: Return location for error or %NULL 637s # * 637s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 637s # * 637s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 637s # */ 637s # OrgProjectUsefulInterface * 637s # org_project_useful_interface_proxy_new_for_bus_finish ( 637s # GAsyncResult *res, 637s # GError **error) 637s # { 637s # GObject *ret; 637s # GObject *source_object; 637s # source_object = g_async_result_get_source_object (res); 637s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 637s # g_object_unref (source_object); 637s # if (ret != NULL) 637s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 637s # else 637s # return NULL; 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_proxy_new_for_bus_sync: 637s # * @bus_type: A #GBusType. 637s # * @flags: Flags from the #GDBusProxyFlags enumeration. 637s # * @name: A bus name (well-known or unique). 637s # * @object_path: An object path. 637s # * @cancellable: (nullable): A #GCancellable or %NULL. 637s # * @error: Return location for error or %NULL 637s # * 637s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 637s # * 637s # * The calling thread is blocked until a reply is received. 637s # * 637s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 637s # * 637s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 637s # */ 637s # OrgProjectUsefulInterface * 637s # org_project_useful_interface_proxy_new_for_bus_sync ( 637s # GBusType bus_type, 637s # GDBusProxyFlags flags, 637s # const gchar *name, 637s # const gchar *object_path, 637s # GCancellable *cancellable, 637s # GError **error) 637s # { 637s # GInitable *ret; 637s # 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); 637s # if (ret != NULL) 637s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 637s # else 637s # return NULL; 637s # } 637s # 637s # 637s # /* ------------------------------------------------------------------------ */ 637s # 637s # /** 637s # * OrgProjectUsefulInterfaceSkeleton: 637s # * 637s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 637s # */ 637s # 637s # /** 637s # * OrgProjectUsefulInterfaceSkeletonClass: 637s # * @parent_class: The parent class. 637s # * 637s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 637s # */ 637s # 637s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 637s # { 637s # GValue *properties; 637s # GList *changed_properties; 637s # GSource *changed_properties_idle_source; 637s # GMainContext *context; 637s # GMutex lock; 637s # }; 637s # 637s # static void 637s # _org_project_useful_interface_skeleton_handle_method_call ( 637s # GDBusConnection *connection G_GNUC_UNUSED, 637s # const gchar *sender G_GNUC_UNUSED, 637s # const gchar *object_path G_GNUC_UNUSED, 637s # const gchar *interface_name, 637s # const gchar *method_name, 637s # GVariant *parameters, 637s # GDBusMethodInvocation *invocation, 637s # gpointer user_data) 637s # { 637s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 637s # _ExtendedGDBusMethodInfo *info; 637s # GVariantIter iter; 637s # GVariant *child; 637s # GValue *paramv; 637s # gsize num_params; 637s # guint num_extra; 637s # gsize n; 637s # guint signal_id; 637s # GValue return_value = G_VALUE_INIT; 637s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 637s # g_assert (info != NULL); 637s # num_params = g_variant_n_children (parameters); 637s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 637s # n = 0; 637s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 637s # g_value_set_object (¶mv[n++], skeleton); 637s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 637s # g_value_set_object (¶mv[n++], invocation); 637s # if (info->pass_fdlist) 637s # { 637s # #ifdef G_OS_UNIX 637s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 637s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 637s # #else 637s # g_assert_not_reached (); 637s # #endif 637s # } 637s # g_variant_iter_init (&iter, parameters); 637s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 637s # { 637s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 637s # if (arg_info->use_gvariant) 637s # { 637s # g_value_init (¶mv[n], G_TYPE_VARIANT); 637s # g_value_set_variant (¶mv[n], child); 637s # n++; 637s # } 637s # else 637s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 637s # g_variant_unref (child); 637s # } 637s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 637s # g_value_init (&return_value, G_TYPE_BOOLEAN); 637s # g_signal_emitv (paramv, signal_id, 0, &return_value); 637s # if (!g_value_get_boolean (&return_value)) 637s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 637s # g_value_unset (&return_value); 637s # for (n = 0; n < num_params + num_extra; n++) 637s # g_value_unset (¶mv[n]); 637s # g_free (paramv); 637s # } 637s # 637s # static GVariant * 637s # _org_project_useful_interface_skeleton_handle_get_property ( 637s # GDBusConnection *connection G_GNUC_UNUSED, 637s # const gchar *sender G_GNUC_UNUSED, 637s # const gchar *object_path G_GNUC_UNUSED, 637s # const gchar *interface_name G_GNUC_UNUSED, 637s # const gchar *property_name, 637s # GError **error, 637s # gpointer user_data) 637s # { 637s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 637s # GValue value = G_VALUE_INIT; 637s # GParamSpec *pspec; 637s # _ExtendedGDBusPropertyInfo *info; 637s # GVariant *ret; 637s # ret = NULL; 637s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 637s # g_assert (info != NULL); 637s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 637s # if (pspec == NULL) 637s # { 637s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 637s # } 637s # else 637s # { 637s # g_value_init (&value, pspec->value_type); 637s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 637s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 637s # g_value_unset (&value); 637s # } 637s # return ret; 637s # } 637s # 637s # static gboolean 637s # _org_project_useful_interface_skeleton_handle_set_property ( 637s # GDBusConnection *connection G_GNUC_UNUSED, 637s # const gchar *sender G_GNUC_UNUSED, 637s # const gchar *object_path G_GNUC_UNUSED, 637s # const gchar *interface_name G_GNUC_UNUSED, 637s # const gchar *property_name, 637s # GVariant *variant, 637s # GError **error, 637s # gpointer user_data) 637s # { 637s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 637s # GValue value = G_VALUE_INIT; 637s # GParamSpec *pspec; 637s # _ExtendedGDBusPropertyInfo *info; 637s # gboolean ret; 637s # ret = FALSE; 637s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 637s # g_assert (info != NULL); 637s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 637s # if (pspec == NULL) 637s # { 637s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 637s # } 637s # else 637s # { 637s # if (info->use_gvariant) 637s # g_value_set_variant (&value, variant); 637s # else 637s # g_dbus_gvariant_to_gvalue (variant, &value); 637s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 637s # g_value_unset (&value); 637s # ret = TRUE; 637s # } 637s # return ret; 637s # } 637s # 637s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 637s # { 637s # _org_project_useful_interface_skeleton_handle_method_call, 637s # _org_project_useful_interface_skeleton_handle_get_property, 637s # _org_project_useful_interface_skeleton_handle_set_property, 637s # {NULL} 637s # }; 637s # 637s # static GDBusInterfaceInfo * 637s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 637s # { 637s # return org_project_useful_interface_interface_info (); 637s # } 637s # 637s # static GDBusInterfaceVTable * 637s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 637s # { 637s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 637s # } 637s # 637s # static GVariant * 637s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 637s # { 637s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 637s # 637s # GVariantBuilder builder; 637s # guint n; 637s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 637s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 637s # goto out; 637s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 637s # { 637s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 637s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 637s # { 637s # GVariant *value; 637s # 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); 637s # if (value != NULL) 637s # { 637s # g_variant_take_ref (value); 637s # g_variant_builder_add (&builder, "{sv}", info->name, value); 637s # g_variant_unref (value); 637s # } 637s # } 637s # } 637s # out: 637s # return g_variant_builder_end (&builder); 637s # } 637s # 637s # static void 637s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 637s # { 637s # } 637s # 637s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 637s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 637s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 637s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 637s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 637s # 637s # #else 637s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 637s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 637s # 637s # #endif 637s # static void 637s # org_project_useful_interface_skeleton_finalize (GObject *object) 637s # { 637s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 637s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 637s # if (skeleton->priv->changed_properties_idle_source != NULL) 637s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 637s # g_main_context_unref (skeleton->priv->context); 637s # g_mutex_clear (&skeleton->priv->lock); 637s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 637s # } 637s # 637s # static void 637s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 637s # { 637s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 637s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 637s # #else 637s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 637s # #endif 637s # 637s # g_mutex_init (&skeleton->priv->lock); 637s # skeleton->priv->context = g_main_context_ref_thread_default (); 637s # } 637s # 637s # static void 637s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 637s # { 637s # GObjectClass *gobject_class; 637s # GDBusInterfaceSkeletonClass *skeleton_class; 637s # 637s # gobject_class = G_OBJECT_CLASS (klass); 637s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 637s # 637s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 637s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 637s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 637s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 637s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 637s # 637s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 637s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 637s # #endif 637s # } 637s # 637s # static void 637s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 637s # { 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_skeleton_new: 637s # * 637s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 637s # * 637s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 637s # */ 637s # OrgProjectUsefulInterface * 637s # org_project_useful_interface_skeleton_new (void) 637s # { 637s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 637s # } 637s # /tmp/tmpp9t62ouk/tmpz14rr1_g.xml: 637s # 637s # 637s # 637s # 637s # 637s # 637s # 637s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp9t62ouk/tmpz14rr1_g.xml', '--output', '-', '--body'] 637s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 637s # Output: /* 637s # * This file is generated by gdbus-codegen, do not modify it. 637s # * 637s # * The license of this code is the same as for the D-Bus interface description 637s # * it was derived from. Note that it links to GLib, so must comply with the 637s # * LGPL linking clauses. 637s # */ 637s # 637s # #ifdef HAVE_CONFIG_H 637s # # include "config.h" 637s # #endif 637s # 637s # #include 637s # #ifdef G_OS_UNIX 637s # # include 637s # #endif 637s # 637s # #ifdef G_ENABLE_DEBUG 637s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 637s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 637s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 637s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 637s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 637s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 637s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 637s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 637s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 637s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 637s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 637s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 637s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 637s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 637s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 637s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 637s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 637s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 637s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 637s # #else /* !G_ENABLE_DEBUG */ 637s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 637s # * Do not access GValues directly in your code. Instead, use the 637s # * g_value_get_*() functions 637s # */ 637s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 637s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 637s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 637s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 637s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 637s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 637s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 637s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 637s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 637s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 637s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 637s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 637s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 637s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 637s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 637s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 637s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 637s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 637s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 637s # #endif /* !G_ENABLE_DEBUG */ 637s # 637s # typedef struct 637s # { 637s # GDBusArgInfo parent_struct; 637s # gboolean use_gvariant; 637s # } _ExtendedGDBusArgInfo; 637s # 637s # typedef struct 637s # { 637s # GDBusMethodInfo parent_struct; 637s # const gchar *signal_name; 637s # gboolean pass_fdlist; 637s # } _ExtendedGDBusMethodInfo; 637s # 637s # typedef struct 637s # { 637s # GDBusSignalInfo parent_struct; 637s # const gchar *signal_name; 637s # } _ExtendedGDBusSignalInfo; 637s # 637s # typedef struct 637s # { 637s # GDBusPropertyInfo parent_struct; 637s # const gchar *hyphen_name; 637s # guint use_gvariant : 1; 637s # guint emits_changed_signal : 1; 637s # } _ExtendedGDBusPropertyInfo; 637s # 637s # typedef struct 637s # { 637s # GDBusInterfaceInfo parent_struct; 637s # const gchar *hyphen_name; 637s # } _ExtendedGDBusInterfaceInfo; 637s # 637s # typedef struct 637s # { 637s # const _ExtendedGDBusPropertyInfo *info; 637s # guint prop_id; 637s # GValue orig_value; /* the value before the change */ 637s # } ChangedProperty; 637s # 637s # static void 637s # _changed_property_free (ChangedProperty *data) 637s # { 637s # g_value_unset (&data->orig_value); 637s # g_free (data); 637s # } 637s # 637s # static gboolean 637s # _g_strv_equal0 (gchar **a, gchar **b) 637s # { 637s # gboolean ret = FALSE; 637s # guint n; 637s # if (a == NULL && b == NULL) 637s # { 637s # ret = TRUE; 637s # goto out; 637s # } 637s # if (a == NULL || b == NULL) 637s # goto out; 637s # if (g_strv_length (a) != g_strv_length (b)) 637s # goto out; 637s # for (n = 0; a[n] != NULL; n++) 637s # if (g_strcmp0 (a[n], b[n]) != 0) 637s # goto out; 637s # ret = TRUE; 637s # out: 637s # return ret; 637s # } 637s # 637s # static gboolean 637s # _g_variant_equal0 (GVariant *a, GVariant *b) 637s # { 637s # gboolean ret = FALSE; 637s # if (a == NULL && b == NULL) 637s # { 637s # ret = TRUE; 637s # goto out; 637s # } 637s # if (a == NULL || b == NULL) 637s # goto out; 637s # ret = g_variant_equal (a, b); 637s # out: 637s # return ret; 637s # } 637s # 637s # G_GNUC_UNUSED static gboolean 637s # _g_value_equal (const GValue *a, const GValue *b) 637s # { 637s # gboolean ret = FALSE; 637s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 637s # switch (G_VALUE_TYPE (a)) 637s # { 637s # case G_TYPE_BOOLEAN: 637s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 637s # break; 637s # case G_TYPE_UCHAR: 637s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 637s # break; 637s # case G_TYPE_INT: 637s # ret = (g_value_get_int (a) == g_value_get_int (b)); 637s # break; 637s # case G_TYPE_UINT: 637s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 637s # break; 637s # case G_TYPE_INT64: 637s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 637s # break; 637s # case G_TYPE_UINT64: 637s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 637s # break; 637s # case G_TYPE_DOUBLE: 637s # { 637s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 637s # gdouble da = g_value_get_double (a); 637s # gdouble db = g_value_get_double (b); 637s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 637s # } 637s # break; 637s # case G_TYPE_STRING: 637s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 637s # break; 637s # case G_TYPE_VARIANT: 637s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 637s # break; 637s # default: 637s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 637s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 637s # else 637s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 637s # break; 637s # } 637s # return ret; 637s # } 637s # 637s # static void 637s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 637s # GClosure *closure, 637s # GValue *return_value, 637s # unsigned int n_param_values, 637s # const GValue *param_values, 637s # void *invocation_hint G_GNUC_UNUSED, 637s # void *marshal_data) 637s # { 637s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 637s # (void *data1, 637s # GDBusMethodInvocation *arg_method_invocation, 637s # void *data2); 637s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 637s # GCClosure *cc = (GCClosure*) closure; 637s # void *data1, *data2; 637s # gboolean v_return; 637s # 637s # g_return_if_fail (return_value != NULL); 637s # g_return_if_fail (n_param_values == 2); 637s # 637s # if (G_CCLOSURE_SWAP_DATA (closure)) 637s # { 637s # data1 = closure->data; 637s # data2 = g_value_peek_pointer (param_values + 0); 637s # } 637s # else 637s # { 637s # data1 = g_value_peek_pointer (param_values + 0); 637s # data2 = closure->data; 637s # } 637s # 637s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 637s # (marshal_data ? marshal_data : cc->callback); 637s # 637s # v_return = 637s # callback (data1, 637s # g_marshal_value_peek_object (param_values + 1), 637s # data2); 637s # 637s # g_value_set_boolean (return_value, v_return); 637s # } 637s # 637s # /* ------------------------------------------------------------------------ 637s # * Code for interface org.project.UsefulInterface 637s # * ------------------------------------------------------------------------ 637s # */ 637s # 637s # /** 637s # * SECTION:OrgProjectUsefulInterface 637s # * @title: OrgProjectUsefulInterface 637s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 637s # * 637s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 637s # */ 637s # 637s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 637s # 637s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 637s # { 637s # { 637s # -1, 637s # (gchar *) "arg_x", 637s # (gchar *) "x", 637s # NULL 637s # }, 637s # FALSE 637s # }; 637s # 637s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 637s # { 637s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 637s # NULL 637s # }; 637s # 637s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 637s # { 637s # { 637s # -1, 637s # (gchar *) "SingleArgMethodX", 637s # NULL, 637s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 637s # NULL 637s # }, 637s # "handle-single-arg-method-x", 637s # FALSE 637s # }; 637s # 637s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 637s # { 637s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 637s # NULL 637s # }; 637s # 637s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 637s # { 637s # { 637s # -1, 637s # (gchar *) "org.project.UsefulInterface", 637s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 637s # NULL, 637s # NULL, 637s # NULL 637s # }, 637s # "org-project-useful-interface", 637s # }; 637s # 637s # 637s # /** 637s # * org_project_useful_interface_interface_info: 637s # * 637s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 637s # * 637s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 637s # */ 637s # GDBusInterfaceInfo * 637s # org_project_useful_interface_interface_info (void) 637s # { 637s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_override_properties: 637s # * @klass: The class structure for a #GObject derived class. 637s # * @property_id_begin: The property id to assign to the first overridden property. 637s # * 637s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 637s # * The properties are overridden in the order they are defined. 637s # * 637s # * Returns: The last property id. 637s # */ 637s # guint 637s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 637s # { 637s # return property_id_begin - 1; 637s # } 637s # 637s # 637s # inline static void 637s # org_project_useful_interface_method_marshal_single_arg_method_x ( 637s # GClosure *closure, 637s # GValue *return_value, 637s # unsigned int n_param_values, 637s # const GValue *param_values, 637s # void *invocation_hint, 637s # void *marshal_data) 637s # { 637s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 637s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 637s # } 637s # 637s # 637s # /** 637s # * OrgProjectUsefulInterface: 637s # * 637s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 637s # */ 637s # 637s # /** 637s # * OrgProjectUsefulInterfaceIface: 637s # * @parent_iface: The parent interface. 637s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 637s # * 637s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 637s # */ 637s # 637s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 637s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 637s # 637s # static void 637s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 637s # { 637s # /* GObject signals for incoming D-Bus method calls: */ 637s # /** 637s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 637s # * @object: A #OrgProjectUsefulInterface. 637s # * @invocation: A #GDBusMethodInvocation. 637s # * 637s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 637s # * 637s # * 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. 637s # * 637s # * 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. 637s # */ 637s # g_signal_new ("handle-single-arg-method-x", 637s # G_TYPE_FROM_INTERFACE (iface), 637s # G_SIGNAL_RUN_LAST, 637s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 637s # g_signal_accumulator_true_handled, 637s # NULL, 637s # org_project_useful_interface_method_marshal_single_arg_method_x, 637s # G_TYPE_BOOLEAN, 637s # 1, 637s # G_TYPE_DBUS_METHOD_INVOCATION); 637s # 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_call_single_arg_method_x: 637s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 637s # * @cancellable: (nullable): A #GCancellable or %NULL. 637s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 637s # * @user_data: User data to pass to @callback. 637s # * 637s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 637s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 637s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 637s # * 637s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 637s # */ 637s # void 637s # org_project_useful_interface_call_single_arg_method_x ( 637s # OrgProjectUsefulInterface *proxy, 637s # GCancellable *cancellable, 637s # GAsyncReadyCallback callback, 637s # gpointer user_data) 637s # { 637s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 637s # "SingleArgMethodX", 637s # g_variant_new ("()"), 637s # G_DBUS_CALL_FLAGS_NONE, 637s # -1, 637s # cancellable, 637s # callback, 637s # user_data); 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_call_single_arg_method_x_finish: 637s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 637s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 637s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 637s # * @error: Return location for error or %NULL. 637s # * 637s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 637s # * 637s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 637s # */ 637s # gboolean 637s # org_project_useful_interface_call_single_arg_method_x_finish ( 637s # OrgProjectUsefulInterface *proxy, 637s # gint64 *out_arg_x, 637s # GAsyncResult *res, 637s # GError **error) 637s # { 637s # GVariant *_ret; 637s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 637s # if (_ret == NULL) 637s # goto _out; 637s # g_variant_get (_ret, 637s # "(x)", 637s # out_arg_x); 637s # g_variant_unref (_ret); 637s # _out: 637s # return _ret != NULL; 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_call_single_arg_method_x_sync: 637s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 637s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 637s # * @cancellable: (nullable): A #GCancellable or %NULL. 637s # * @error: Return location for error or %NULL. 637s # * 637s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 637s # * 637s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 637s # * 637s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 637s # */ 637s # gboolean 637s # org_project_useful_interface_call_single_arg_method_x_sync ( 637s # OrgProjectUsefulInterface *proxy, 637s # gint64 *out_arg_x, 637s # GCancellable *cancellable, 637s # GError **error) 637s # { 637s # GVariant *_ret; 637s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 637s # "SingleArgMethodX", 637s # g_variant_new ("()"), 637s # G_DBUS_CALL_FLAGS_NONE, 637s # -1, 637s # cancellable, 637s # error); 637s # if (_ret == NULL) 637s # goto _out; 637s # g_variant_get (_ret, 637s # "(x)", 637s # out_arg_x); 637s # g_variant_unref (_ret); 637s # _out: 637s # return _ret != NULL; 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_complete_single_arg_method_x: 637s # * @object: A #OrgProjectUsefulInterface. 637s # * @invocation: (transfer full): A #GDBusMethodInvocation. 637s # * @arg_x: Parameter to return. 637s # * 637s # * 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. 637s # * 637s # * This method will free @invocation, you cannot use it afterwards. 637s # */ 637s # void 637s # org_project_useful_interface_complete_single_arg_method_x ( 637s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 637s # GDBusMethodInvocation *invocation, 637s # gint64 arg_x) 637s # { 637s # g_dbus_method_invocation_return_value (invocation, 637s # g_variant_new ("(x)", 637s # arg_x)); 637s # } 637s # 637s # /* ------------------------------------------------------------------------ */ 637s # 637s # /** 637s # * OrgProjectUsefulInterfaceProxy: 637s # * 637s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 637s # */ 637s # 637s # /** 637s # * OrgProjectUsefulInterfaceProxyClass: 637s # * @parent_class: The parent class. 637s # * 637s # * Class structure for #OrgProjectUsefulInterfaceProxy. 637s # */ 637s # 637s # struct _OrgProjectUsefulInterfaceProxyPrivate 637s # { 637s # GData *qdata; 637s # }; 637s # 637s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 637s # 637s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 637s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 637s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 637s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 637s # 637s # #else 637s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 637s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 637s # 637s # #endif 637s # static void 637s # org_project_useful_interface_proxy_finalize (GObject *object) 637s # { 637s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 637s # g_datalist_clear (&proxy->priv->qdata); 637s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 637s # } 637s # 637s # static void 637s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 637s # guint prop_id G_GNUC_UNUSED, 637s # GValue *value G_GNUC_UNUSED, 637s # GParamSpec *pspec G_GNUC_UNUSED) 637s # { 637s # } 637s # 637s # static void 637s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 637s # guint prop_id G_GNUC_UNUSED, 637s # const GValue *value G_GNUC_UNUSED, 637s # GParamSpec *pspec G_GNUC_UNUSED) 637s # { 637s # } 637s # 637s # static void 637s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 637s # const gchar *sender_name G_GNUC_UNUSED, 637s # const gchar *signal_name, 637s # GVariant *parameters) 637s # { 637s # _ExtendedGDBusSignalInfo *info; 637s # GVariantIter iter; 637s # GVariant *child; 637s # GValue *paramv; 637s # gsize num_params; 637s # gsize n; 637s # guint signal_id; 637s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 637s # if (info == NULL) 637s # return; 637s # num_params = g_variant_n_children (parameters); 637s # paramv = g_new0 (GValue, num_params + 1); 637s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 637s # g_value_set_object (¶mv[0], proxy); 637s # g_variant_iter_init (&iter, parameters); 637s # n = 1; 637s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 637s # { 637s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 637s # if (arg_info->use_gvariant) 637s # { 637s # g_value_init (¶mv[n], G_TYPE_VARIANT); 637s # g_value_set_variant (¶mv[n], child); 637s # n++; 637s # } 637s # else 637s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 637s # g_variant_unref (child); 637s # } 637s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 637s # g_signal_emitv (paramv, signal_id, 0, NULL); 637s # for (n = 0; n < num_params + 1; n++) 637s # g_value_unset (¶mv[n]); 637s # g_free (paramv); 637s # } 637s # 637s # static void 637s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 637s # GVariant *changed_properties, 637s # const gchar *const *invalidated_properties) 637s # { 637s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 637s # guint n; 637s # const gchar *key; 637s # GVariantIter *iter; 637s # _ExtendedGDBusPropertyInfo *info; 637s # g_variant_get (changed_properties, "a{sv}", &iter); 637s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 637s # { 637s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 637s # g_datalist_remove_data (&proxy->priv->qdata, key); 637s # if (info != NULL) 637s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 637s # } 637s # g_variant_iter_free (iter); 637s # for (n = 0; invalidated_properties[n] != NULL; n++) 637s # { 637s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 637s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 637s # if (info != NULL) 637s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 637s # } 637s # } 637s # 637s # static void 637s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 637s # { 637s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 637s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 637s # #else 637s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 637s # #endif 637s # 637s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 637s # } 637s # 637s # static void 637s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 637s # { 637s # GObjectClass *gobject_class; 637s # GDBusProxyClass *proxy_class; 637s # 637s # gobject_class = G_OBJECT_CLASS (klass); 637s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 637s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 637s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 637s # 637s # proxy_class = G_DBUS_PROXY_CLASS (klass); 637s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 637s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 637s # 637s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 637s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 637s # #endif 637s # } 637s # 637s # static void 637s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 637s # { 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_proxy_new: 637s # * @connection: A #GDBusConnection. 637s # * @flags: Flags from the #GDBusProxyFlags enumeration. 637s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 637s # * @object_path: An object path. 637s # * @cancellable: (nullable): A #GCancellable or %NULL. 637s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 637s # * @user_data: User data to pass to @callback. 637s # * 637s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 637s # * 637s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 637s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 637s # * 637s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 637s # */ 637s # void 637s # org_project_useful_interface_proxy_new ( 637s # GDBusConnection *connection, 637s # GDBusProxyFlags flags, 637s # const gchar *name, 637s # const gchar *object_path, 637s # GCancellable *cancellable, 637s # GAsyncReadyCallback callback, 637s # gpointer user_data) 637s # { 637s # g_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); 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_proxy_new_finish: 637s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 637s # * @error: Return location for error or %NULL 637s # * 637s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 637s # * 637s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 637s # */ 637s # OrgProjectUsefulInterface * 637s # org_project_useful_interface_proxy_new_finish ( 637s # GAsyncResult *res, 637s # GError **error) 637s # { 637s # GObject *ret; 637s # GObject *source_object; 637s # source_object = g_async_result_get_source_object (res); 637s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 637s # g_object_unref (source_object); 637s # if (ret != NULL) 637s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 637s # else 637s # return NULL; 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_proxy_new_sync: 637s # * @connection: A #GDBusConnection. 637s # * @flags: Flags from the #GDBusProxyFlags enumeration. 637s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 637s # * @object_path: An object path. 637s # * @cancellable: (nullable): A #GCancellable or %NULL. 637s # * @error: Return location for error or %NULL 637s # * 637s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 637s # * 637s # * The calling thread is blocked until a reply is received. 637s # * 637s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 637s # * 637s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 637s # */ 637s # OrgProjectUsefulInterface * 637s # org_project_useful_interface_proxy_new_sync ( 637s # GDBusConnection *connection, 637s # GDBusProxyFlags flags, 637s # const gchar *name, 637s # const gchar *object_path, 637s # GCancellable *cancellable, 637s # GError **error) 637s # { 637s # GInitable *ret; 637s # 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); 637s # if (ret != NULL) 637s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 637s # else 637s # return NULL; 637s # } 637s # 637s # 637s # /** 637s # * org_project_useful_interface_proxy_new_for_bus: 637s # * @bus_type: A #GBusType. 637s # * @flags: Flags from the #GDBusProxyFlags enumeration. 637s # * @name: A bus name (well-known or unique). 637s # * @object_path: An object path. 637s # * @cancellable: (nullable): A #GCancellable or %NULL. 637s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 637s # * @user_data: User data to pass to @callback. 637s # * 637s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 637s # * 637s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 637s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 637s # * 637s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 637s # */ 637s # void 637s # org_project_useful_interface_proxy_new_for_bus ( 637s # GBusType bus_type, 637s # GDBusProxyFlags flags, 637s # const gchar *name, 637s # const gchar *object_path, 637s # GCancellable *cancellable, 637s # GAsyncReadyCallback callback, 637s # gpointer user_data) 637s # { 637s # g_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); 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_proxy_new_for_bus_finish: 637s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 637s # * @error: Return location for error or %NULL 637s # * 637s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 637s # * 637s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 637s # */ 637s # OrgProjectUsefulInterface * 637s # org_project_useful_interface_proxy_new_for_bus_finish ( 637s # GAsyncResult *res, 637s # GError **error) 637s # { 637s # GObject *ret; 637s # GObject *source_object; 637s # source_object = g_async_result_get_source_object (res); 637s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 637s # g_object_unref (source_object); 637s # if (ret != NULL) 637s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 637s # else 637s # return NULL; 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_proxy_new_for_bus_sync: 637s # * @bus_type: A #GBusType. 637s # * @flags: Flags from the #GDBusProxyFlags enumeration. 637s # * @name: A bus name (well-known or unique). 637s # * @object_path: An object path. 637s # * @cancellable: (nullable): A #GCancellable or %NULL. 637s # * @error: Return location for error or %NULL 637s # * 637s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 637s # * 637s # * The calling thread is blocked until a reply is received. 637s # * 637s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 637s # * 637s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 637s # */ 637s # OrgProjectUsefulInterface * 637s # org_project_useful_interface_proxy_new_for_bus_sync ( 637s # GBusType bus_type, 637s # GDBusProxyFlags flags, 637s # const gchar *name, 637s # const gchar *object_path, 637s # GCancellable *cancellable, 637s # GError **error) 637s # { 637s # GInitable *ret; 637s # 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); 637s # if (ret != NULL) 637s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 637s # else 637s # return NULL; 637s # } 637s # 637s # 637s # /* ------------------------------------------------------------------------ */ 637s # 637s # /** 637s # * OrgProjectUsefulInterfaceSkeleton: 637s # * 637s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 637s # */ 637s # 637s # /** 637s # * OrgProjectUsefulInterfaceSkeletonClass: 637s # * @parent_class: The parent class. 637s # * 637s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 637s # */ 637s # 637s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 637s # { 637s # GValue *properties; 637s # GList *changed_properties; 637s # GSource *changed_properties_idle_source; 637s # GMainContext *context; 637s # GMutex lock; 637s # }; 637s # 637s # static void 637s # _org_project_useful_interface_skeleton_handle_method_call ( 637s # GDBusConnection *connection G_GNUC_UNUSED, 637s # const gchar *sender G_GNUC_UNUSED, 637s # const gchar *object_path G_GNUC_UNUSED, 637s # const gchar *interface_name, 637s # const gchar *method_name, 637s # GVariant *parameters, 637s # GDBusMethodInvocation *invocation, 637s # gpointer user_data) 637s # { 637s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 637s # _ExtendedGDBusMethodInfo *info; 637s # GVariantIter iter; 637s # GVariant *child; 637s # GValue *paramv; 637s # gsize num_params; 637s # guint num_extra; 637s # gsize n; 637s # guint signal_id; 637s # GValue return_value = G_VALUE_INIT; 637s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 637s # g_assert (info != NULL); 637s # num_params = g_variant_n_children (parameters); 637s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 637s # n = 0; 637s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 637s # g_value_set_object (¶mv[n++], skeleton); 637s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 637s # g_value_set_object (¶mv[n++], invocation); 637s # if (info->pass_fdlist) 637s # { 637s # #ifdef G_OS_UNIX 637s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 637s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 637s # #else 637s # g_assert_not_reached (); 637s # #endif 637s # } 637s # g_variant_iter_init (&iter, parameters); 637s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 637s # { 637s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 637s # if (arg_info->use_gvariant) 637s # { 637s # g_value_init (¶mv[n], G_TYPE_VARIANT); 637s # g_value_set_variant (¶mv[n], child); 637s # n++; 637s # } 637s # else 637s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 637s # g_variant_unref (child); 637s # } 637s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 637s # g_value_init (&return_value, G_TYPE_BOOLEAN); 637s # g_signal_emitv (paramv, signal_id, 0, &return_value); 637s # if (!g_value_get_boolean (&return_value)) 637s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 637s # g_value_unset (&return_value); 637s # for (n = 0; n < num_params + num_extra; n++) 637s # g_value_unset (¶mv[n]); 637s # g_free (paramv); 637s # } 637s # 637s # static GVariant * 637s # _org_project_useful_interface_skeleton_handle_get_property ( 637s # GDBusConnection *connection G_GNUC_UNUSED, 637s # const gchar *sender G_GNUC_UNUSED, 637s # const gchar *object_path G_GNUC_UNUSED, 637s # const gchar *interface_name G_GNUC_UNUSED, 637s # const gchar *property_name, 637s # GError **error, 637s # gpointer user_data) 637s # { 637s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 637s # GValue value = G_VALUE_INIT; 637s # GParamSpec *pspec; 637s # _ExtendedGDBusPropertyInfo *info; 637s # GVariant *ret; 637s # ret = NULL; 637s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 637s # g_assert (info != NULL); 637s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 637s # if (pspec == NULL) 637s # { 637s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 637s # } 637s # else 637s # { 637s # g_value_init (&value, pspec->value_type); 637s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 637s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 637s # g_value_unset (&value); 637s # } 637s # return ret; 637s # } 637s # 637s # static gboolean 637s # _org_project_useful_interface_skeleton_handle_set_property ( 637s # GDBusConnection *connection G_GNUC_UNUSED, 637s # const gchar *sender G_GNUC_UNUSED, 637s # const gchar *object_path G_GNUC_UNUSED, 637s # const gchar *interface_name G_GNUC_UNUSED, 637s # const gchar *property_name, 637s # GVariant *variant, 637s # GError **error, 637s # gpointer user_data) 637s # { 637s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 637s # GValue value = G_VALUE_INIT; 637s # GParamSpec *pspec; 637s # _ExtendedGDBusPropertyInfo *info; 637s # gboolean ret; 637s # ret = FALSE; 637s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 637s # g_assert (info != NULL); 637s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 637s # if (pspec == NULL) 637s # { 637s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 637s # } 637s # else 637s # { 637s # if (info->use_gvariant) 637s # g_value_set_variant (&value, variant); 637s # else 637s # g_dbus_gvariant_to_gvalue (variant, &value); 637s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 637s # g_value_unset (&value); 637s # ret = TRUE; 637s # } 637s # return ret; 637s # } 637s # 637s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 637s # { 637s # _org_project_useful_interface_skeleton_handle_method_call, 637s # _org_project_useful_interface_skeleton_handle_get_property, 637s # _org_project_useful_interface_skeleton_handle_set_property, 637s # {NULL} 637s # }; 637s # 637s # static GDBusInterfaceInfo * 637s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 637s # { 637s # return org_project_useful_interface_interface_info (); 637s # } 637s # 637s # static GDBusInterfaceVTable * 637s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 637s # { 637s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 637s # } 637s # 637s # static GVariant * 637s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 637s # { 637s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 637s # 637s # GVariantBuilder builder; 637s # guint n; 637s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 637s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 637s # goto out; 637s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 637s # { 637s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 637s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 637s # { 637s # GVariant *value; 637s # 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); 637s # if (value != NULL) 637s # { 637s # g_variant_take_ref (value); 637s # g_variant_builder_add (&builder, "{sv}", info->name, value); 637s # g_variant_unref (value); 637s # } 637s # } 637s # } 637s # out: 637s # return g_variant_builder_end (&builder); 637s # } 637s # 637s # static void 637s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 637s # { 637s # } 637s # 637s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 637s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 637s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 637s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 637s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 637s # 637s # #else 637s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 637s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 637s # 637s # #endif 637s # static void 637s # org_project_useful_interface_skeleton_finalize (GObject *object) 637s # { 637s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 637s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 637s # if (skeleton->priv->changed_properties_idle_source != NULL) 637s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 637s # g_main_context_unref (skeleton->priv->context); 637s # g_mutex_clear (&skeleton->priv->lock); 637s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 637s # } 637s # 637s # static void 637s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 637s # { 637s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 637s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 637s # #else 637s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 637s # #endif 637s # 637s # g_mutex_init (&skeleton->priv->lock); 637s # skeleton->priv->context = g_main_context_ref_thread_default (); 637s # } 637s # 637s # static void 637s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 637s # { 637s # GObjectClass *gobject_class; 637s # GDBusInterfaceSkeletonClass *skeleton_class; 637s # 637s # gobject_class = G_OBJECT_CLASS (klass); 637s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 637s # 637s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 637s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 637s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 637s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 637s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 637s # 637s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 637s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 637s # #endif 637s # } 637s # 637s # static void 637s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 637s # { 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_skeleton_new: 637s # * 637s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 637s # * 637s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 637s # */ 637s # OrgProjectUsefulInterface * 637s # org_project_useful_interface_skeleton_new (void) 637s # { 637s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 637s # } 637s # /tmp/tmpp9t62ouk/tmp41fqyoqt.xml: 637s # 637s # 637s # 637s # 637s # 637s # 637s # 637s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp9t62ouk/tmp41fqyoqt.xml', '--output', '-', '--body'] 637s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 637s # Output: /* 637s # * This file is generated by gdbus-codegen, do not modify it. 637s # * 637s # * The license of this code is the same as for the D-Bus interface description 637s # * it was derived from. Note that it links to GLib, so must comply with the 637s # * LGPL linking clauses. 637s # */ 637s # 637s # #ifdef HAVE_CONFIG_H 637s # # include "config.h" 637s # #endif 637s # 637s # #include 637s # #ifdef G_OS_UNIX 637s # # include 637s # #endif 637s # 637s # #ifdef G_ENABLE_DEBUG 637s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 637s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 637s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 637s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 637s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 637s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 637s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 637s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 637s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 637s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 637s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 637s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 637s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 637s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 637s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 637s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 637s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 637s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 637s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 637s # #else /* !G_ENABLE_DEBUG */ 637s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 637s # * Do not access GValues directly in your code. Instead, use the 637s # * g_value_get_*() functions 637s # */ 637s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 637s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 637s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 637s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 637s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 637s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 637s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 637s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 637s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 637s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 637s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 637s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 637s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 637s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 637s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 637s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 637s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 637s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 637s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 637s # #endif /* !G_ENABLE_DEBUG */ 637s # 637s # typedef struct 637s # { 637s # GDBusArgInfo parent_struct; 637s # gboolean use_gvariant; 637s # } _ExtendedGDBusArgInfo; 637s # 637s # typedef struct 637s # { 637s # GDBusMethodInfo parent_struct; 637s # const gchar *signal_name; 637s # gboolean pass_fdlist; 637s # } _ExtendedGDBusMethodInfo; 637s # 637s # typedef struct 637s # { 637s # GDBusSignalInfo parent_struct; 637s # const gchar *signal_name; 637s # } _ExtendedGDBusSignalInfo; 637s # 637s # typedef struct 637s # { 637s # GDBusPropertyInfo parent_struct; 637s # const gchar *hyphen_name; 637s # guint use_gvariant : 1; 637s # guint emits_changed_signal : 1; 637s # } _ExtendedGDBusPropertyInfo; 637s # 637s # typedef struct 637s # { 637s # GDBusInterfaceInfo parent_struct; 637s # const gchar *hyphen_name; 637s # } _ExtendedGDBusInterfaceInfo; 637s # 637s # typedef struct 637s # { 637s # const _ExtendedGDBusPropertyInfo *info; 637s # guint prop_id; 637s # GValue orig_value; /* the value before the change */ 637s # } ChangedProperty; 637s # 637s # static void 637s # _changed_property_free (ChangedProperty *data) 637s # { 637s # g_value_unset (&data->orig_value); 637s # g_free (data); 637s # } 637s # 637s # static gboolean 637s # _g_strv_equal0 (gchar **a, gchar **b) 637s # { 637s # gboolean ret = FALSE; 637s # guint n; 637s # if (a == NULL && b == NULL) 637s # { 637s # ret = TRUE; 637s # goto out; 637s # } 637s # if (a == NULL || b == NULL) 637s # goto out; 637s # if (g_strv_length (a) != g_strv_length (b)) 637s # goto out; 637s # for (n = 0; a[n] != NULL; n++) 637s # if (g_strcmp0 (a[n], b[n]) != 0) 637s # goto out; 637s # ret = TRUE; 637s # out: 637s # return ret; 637s # } 637s # 637s # static gboolean 637s # _g_variant_equal0 (GVariant *a, GVariant *b) 637s # { 637s # gboolean ret = FALSE; 637s # if (a == NULL && b == NULL) 637s # { 637s # ret = TRUE; 637s # goto out; 637s # } 637s # if (a == NULL || b == NULL) 637s # goto out; 637s # ret = g_variant_equal (a, b); 637s # out: 637s # return ret; 637s # } 637s # 637s # G_GNUC_UNUSED static gboolean 637s # _g_value_equal (const GValue *a, const GValue *b) 637s # { 637s # gboolean ret = FALSE; 637s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 637s # switch (G_VALUE_TYPE (a)) 637s # { 637s # case G_TYPE_BOOLEAN: 637s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 637s # break; 637s # case G_TYPE_UCHAR: 637s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 637s # break; 637s # case G_TYPE_INT: 637s # ret = (g_value_get_int (a) == g_value_get_int (b)); 637s # break; 637s # case G_TYPE_UINT: 637s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 637s # break; 637s # case G_TYPE_INT64: 637s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 637s # break; 637s # case G_TYPE_UINT64: 637s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 637s # break; 637s # case G_TYPE_DOUBLE: 637s # { 637s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 637s # gdouble da = g_value_get_double (a); 637s # gdouble db = g_value_get_double (b); 637s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 637s # } 637s # break; 637s # case G_TYPE_STRING: 637s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 637s # break; 637s # case G_TYPE_VARIANT: 637s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 637s # break; 637s # default: 637s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 637s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 637s # else 637s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 637s # break; 637s # } 637s # return ret; 637s # } 637s # 637s # static void 637s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 637s # GClosure *closure, 637s # GValue *return_value, 637s # unsigned int n_param_values, 637s # const GValue *param_values, 637s # void *invocation_hint G_GNUC_UNUSED, 637s # void *marshal_data) 637s # { 637s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 637s # (void *data1, 637s # GDBusMethodInvocation *arg_method_invocation, 637s # void *data2); 637s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 637s # GCClosure *cc = (GCClosure*) closure; 637s # void *data1, *data2; 637s # gboolean v_return; 637s # 637s # g_return_if_fail (return_value != NULL); 637s # g_return_if_fail (n_param_values == 2); 637s # 637s # if (G_CCLOSURE_SWAP_DATA (closure)) 637s # { 637s # data1 = closure->data; 637s # data2 = g_value_peek_pointer (param_values + 0); 637s # } 637s # else 637s # { 637s # data1 = g_value_peek_pointer (param_values + 0); 637s # data2 = closure->data; 637s # } 637s # 637s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 637s # (marshal_data ? marshal_data : cc->callback); 637s # 637s # v_return = 637s # callback (data1, 637s # g_marshal_value_peek_object (param_values + 1), 637s # data2); 637s # 637s # g_value_set_boolean (return_value, v_return); 637s # } 637s # 637s # /* ------------------------------------------------------------------------ 637s # * Code for interface org.project.UsefulInterface 637s # * ------------------------------------------------------------------------ 637s # */ 637s # 637s # /** 637s # * SECTION:OrgProjectUsefulInterface 637s # * @title: OrgProjectUsefulInterface 637s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 637s # * 637s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 637s # */ 637s # 637s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 637s # 637s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 637s # { 637s # { 637s # -1, 637s # (gchar *) "arg_t", 637s # (gchar *) "t", 637s # NULL 637s # }, 637s # FALSE 637s # }; 637s # 637s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 637s # { 637s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 637s # NULL 637s # }; 637s # 637s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 637s # { 637s # { 637s # -1, 637s # (gchar *) "SingleArgMethodT", 637s # NULL, 637s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 637s # NULL 637s # }, 637s # "handle-single-arg-method-t", 637s # FALSE 637s # }; 637s # 637s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 637s # { 637s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 637s # NULL 637s # }; 637s # 637s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 637s # { 637s # { 637s # -1, 637s # (gchar *) "org.project.UsefulInterface", 637s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 637s # NULL, 637s # NULL, 637s # NULL 637s # }, 637s # "org-project-useful-interface", 637s # }; 637s # 637s # 637s # /** 637s # * org_project_useful_interface_interface_info: 637s # * 637s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 637s # * 637s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 637s # */ 637s # GDBusInterfaceInfo * 637s # org_project_useful_interface_interface_info (void) 637s # { 637s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_override_properties: 637s # * @klass: The class structure for a #GObject derived class. 637s # * @property_id_begin: The property id to assign to the first overridden property. 637s # * 637s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 637s # * The properties are overridden in the order they are defined. 637s # * 637s # * Returns: The last property id. 637s # */ 637s # guint 637s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 637s # { 637s # return property_id_begin - 1; 637s # } 637s # 637s # 637s # inline static void 637s # org_project_useful_interface_method_marshal_single_arg_method_t ( 637s # GClosure *closure, 637s # GValue *return_value, 637s # unsigned int n_param_values, 637s # const GValue *param_values, 637s # void *invocation_hint, 637s # void *marshal_data) 637s # { 637s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 637s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 637s # } 637s # 637s # 637s # /** 637s # * OrgProjectUsefulInterface: 637s # * 637s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 637s # */ 637s # 637s # /** 637s # * OrgProjectUsefulInterfaceIface: 637s # * @parent_iface: The parent interface. 637s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 637s # * 637s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 637s # */ 637s # 637s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 637s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 637s # 637s # static void 637s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 637s # { 637s # /* GObject signals for incoming D-Bus method calls: */ 637s # /** 637s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 637s # * @object: A #OrgProjectUsefulInterface. 637s # * @invocation: A #GDBusMethodInvocation. 637s # * 637s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 637s # * 637s # * 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. 637s # * 637s # * 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. 637s # */ 637s # g_signal_new ("handle-single-arg-method-t", 637s # G_TYPE_FROM_INTERFACE (iface), 637s # G_SIGNAL_RUN_LAST, 637s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 637s # g_signal_accumulator_true_handled, 637s # NULL, 637s # org_project_useful_interface_method_marshal_single_arg_method_t, 637s # G_TYPE_BOOLEAN, 637s # 1, 637s # G_TYPE_DBUS_METHOD_INVOCATION); 637s # 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_call_single_arg_method_t: 637s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 637s # * @cancellable: (nullable): A #GCancellable or %NULL. 637s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 637s # * @user_data: User data to pass to @callback. 637s # * 637s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 637s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 637s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 637s # * 637s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 637s # */ 637s # void 637s # org_project_useful_interface_call_single_arg_method_t ( 637s # OrgProjectUsefulInterface *proxy, 637s # GCancellable *cancellable, 637s # GAsyncReadyCallback callback, 637s # gpointer user_data) 637s # { 637s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 637s # "SingleArgMethodT", 637s # g_variant_new ("()"), 637s # G_DBUS_CALL_FLAGS_NONE, 637s # -1, 637s # cancellable, 637s # callback, 637s # user_data); 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_call_single_arg_method_t_finish: 637s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 637s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 637s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 637s # * @error: Return location for error or %NULL. 637s # * 637s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 637s # * 637s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 637s # */ 637s # gboolean 637s # org_project_useful_interface_call_single_arg_method_t_finish ( 637s # OrgProjectUsefulInterface *proxy, 637s # guint64 *out_arg_t, 637s # GAsyncResult *res, 637s # GError **error) 637s # { 637s # GVariant *_ret; 637s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 637s # if (_ret == NULL) 637s # goto _out; 637s # g_variant_get (_ret, 637s # "(t)", 637s # out_arg_t); 637s # g_variant_unref (_ret); 637s # _out: 637s # return _ret != NULL; 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_call_single_arg_method_t_sync: 637s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 637s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 637s # * @cancellable: (nullable): A #GCancellable or %NULL. 637s # * @error: Return location for error or %NULL. 637s # * 637s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 637s # * 637s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 637s # * 637s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 637s # */ 637s # gboolean 637s # org_project_useful_interface_call_single_arg_method_t_sync ( 637s # OrgProjectUsefulInterface *proxy, 637s # guint64 *out_arg_t, 637s # GCancellable *cancellable, 637s # GError **error) 637s # { 637s # GVariant *_ret; 637s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 637s # "SingleArgMethodT", 637s # g_variant_new ("()"), 637s # G_DBUS_CALL_FLAGS_NONE, 637s # -1, 637s # cancellable, 637s # error); 637s # if (_ret == NULL) 637s # goto _out; 637s # g_variant_get (_ret, 637s # "(t)", 637s # out_arg_t); 637s # g_variant_unref (_ret); 637s # _out: 637s # return _ret != NULL; 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_complete_single_arg_method_t: 637s # * @object: A #OrgProjectUsefulInterface. 637s # * @invocation: (transfer full): A #GDBusMethodInvocation. 637s # * @arg_t: Parameter to return. 637s # * 637s # * 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. 637s # * 637s # * This method will free @invocation, you cannot use it afterwards. 637s # */ 637s # void 637s # org_project_useful_interface_complete_single_arg_method_t ( 637s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 637s # GDBusMethodInvocation *invocation, 637s # guint64 arg_t) 637s # { 637s # g_dbus_method_invocation_return_value (invocation, 637s # g_variant_new ("(t)", 637s # arg_t)); 637s # } 637s # 637s # /* ------------------------------------------------------------------------ */ 637s # 637s # /** 637s # * OrgProjectUsefulInterfaceProxy: 637s # * 637s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 637s # */ 637s # 637s # /** 637s # * OrgProjectUsefulInterfaceProxyClass: 637s # * @parent_class: The parent class. 637s # * 637s # * Class structure for #OrgProjectUsefulInterfaceProxy. 637s # */ 637s # 637s # struct _OrgProjectUsefulInterfaceProxyPrivate 637s # { 637s # GData *qdata; 637s # }; 637s # 637s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 637s # 637s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 637s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 637s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 637s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 637s # 637s # #else 637s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 637s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 637s # 637s # #endif 637s # static void 637s # org_project_useful_interface_proxy_finalize (GObject *object) 637s # { 637s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 637s # g_datalist_clear (&proxy->priv->qdata); 637s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 637s # } 637s # 637s # static void 637s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 637s # guint prop_id G_GNUC_UNUSED, 637s # GValue *value G_GNUC_UNUSED, 637s # GParamSpec *pspec G_GNUC_UNUSED) 637s # { 637s # } 637s # 637s # static void 637s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 637s # guint prop_id G_GNUC_UNUSED, 637s # const GValue *value G_GNUC_UNUSED, 637s # GParamSpec *pspec G_GNUC_UNUSED) 637s # { 637s # } 637s # 637s # static void 637s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 637s # const gchar *sender_name G_GNUC_UNUSED, 637s # const gchar *signal_name, 637s # GVariant *parameters) 637s # { 637s # _ExtendedGDBusSignalInfo *info; 637s # GVariantIter iter; 637s # GVariant *child; 637s # GValue *paramv; 637s # gsize num_params; 637s # gsize n; 637s # guint signal_id; 637s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 637s # if (info == NULL) 637s # return; 637s # num_params = g_variant_n_children (parameters); 637s # paramv = g_new0 (GValue, num_params + 1); 637s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 637s # g_value_set_object (¶mv[0], proxy); 637s # g_variant_iter_init (&iter, parameters); 637s # n = 1; 637s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 637s # { 637s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 637s # if (arg_info->use_gvariant) 637s # { 637s # g_value_init (¶mv[n], G_TYPE_VARIANT); 637s # g_value_set_variant (¶mv[n], child); 637s # n++; 637s # } 637s # else 637s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 637s # g_variant_unref (child); 637s # } 637s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 637s # g_signal_emitv (paramv, signal_id, 0, NULL); 637s # for (n = 0; n < num_params + 1; n++) 637s # g_value_unset (¶mv[n]); 637s # g_free (paramv); 637s # } 637s # 637s # static void 637s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 637s # GVariant *changed_properties, 637s # const gchar *const *invalidated_properties) 637s # { 637s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 637s # guint n; 637s # const gchar *key; 637s # GVariantIter *iter; 637s # _ExtendedGDBusPropertyInfo *info; 637s # g_variant_get (changed_properties, "a{sv}", &iter); 637s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 637s # { 637s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 637s # g_datalist_remove_data (&proxy->priv->qdata, key); 637s # if (info != NULL) 637s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 637s # } 637s # g_variant_iter_free (iter); 637s # for (n = 0; invalidated_properties[n] != NULL; n++) 637s # { 637s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 637s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 637s # if (info != NULL) 637s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 637s # } 637s # } 637s # 637s # static void 637s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 637s # { 637s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 637s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 637s # #else 637s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 637s # #endif 637s # 637s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 637s # } 637s # 637s # static void 637s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 637s # { 637s # GObjectClass *gobject_class; 637s # GDBusProxyClass *proxy_class; 637s # 637s # gobject_class = G_OBJECT_CLASS (klass); 637s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 637s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 637s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 637s # 637s # proxy_class = G_DBUS_PROXY_CLASS (klass); 637s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 637s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 637s # 637s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 637s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 637s # #endif 637s # } 637s # 637s # static void 637s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 637s # { 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_proxy_new: 637s # * @connection: A #GDBusConnection. 637s # * @flags: Flags from the #GDBusProxyFlags enumeration. 637s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 637s # * @object_path: An object path. 637s # * @cancellable: (nullable): A #GCancellable or %NULL. 637s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 637s # * @user_data: User data to pass to @callback. 637s # * 637s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 637s # * 637s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 637s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 637s # * 637s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 637s # */ 637s # void 637s # org_project_useful_interface_proxy_new ( 637s # GDBusConnection *connection, 637s # GDBusProxyFlags flags, 637s # const gchar *name, 637s # const gchar *object_path, 637s # GCancellable *cancellable, 637s # GAsyncReadyCallback callback, 637s # gpointer user_data) 637s # { 637s # g_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); 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_proxy_new_finish: 637s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 637s # * @error: Return location for error or %NULL 637s # * 637s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 637s # * 637s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 637s # */ 637s # OrgProjectUsefulInterface * 637s # org_project_useful_interface_proxy_new_finish ( 637s # GAsyncResult *res, 637s # GError **error) 637s # { 637s # GObject *ret; 637s # GObject *source_object; 637s # source_object = g_async_result_get_source_object (res); 637s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 637s # g_object_unref (source_object); 637s # if (ret != NULL) 637s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 637s # else 637s # return NULL; 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_proxy_new_sync: 637s # * @connection: A #GDBusConnection. 637s # * @flags: Flags from the #GDBusProxyFlags enumeration. 637s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 637s # * @object_path: An object path. 637s # * @cancellable: (nullable): A #GCancellable or %NULL. 637s # * @error: Return location for error or %NULL 637s # * 637s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 637s # * 637s # * The calling thread is blocked until a reply is received. 637s # * 637s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 637s # * 637s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 637s # */ 637s # OrgProjectUsefulInterface * 637s # org_project_useful_interface_proxy_new_sync ( 637s # GDBusConnection *connection, 637s # GDBusProxyFlags flags, 637s # const gchar *name, 637s # const gchar *object_path, 637s # GCancellable *cancellable, 637s # GError **error) 637s # { 637s # GInitable *ret; 637s # 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); 637s # if (ret != NULL) 637s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 637s # else 637s # return NULL; 637s # } 637s # 637s # 637s # /** 637s # * org_project_useful_interface_proxy_new_for_bus: 637s # * @bus_type: A #GBusType. 637s # * @flags: Flags from the #GDBusProxyFlags enumeration. 637s # * @name: A bus name (well-known or unique). 637s # * @object_path: An object path. 637s # * @cancellable: (nullable): A #GCancellable or %NULL. 637s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 637s # * @user_data: User data to pass to @callback. 637s # * 637s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 637s # * 637s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 637s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 637s # * 637s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 637s # */ 637s # void 637s # org_project_useful_interface_proxy_new_for_bus ( 637s # GBusType bus_type, 637s # GDBusProxyFlags flags, 637s # const gchar *name, 637s # const gchar *object_path, 637s # GCancellable *cancellable, 637s # GAsyncReadyCallback callback, 637s # gpointer user_data) 637s # { 637s # g_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); 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_proxy_new_for_bus_finish: 637s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 637s # * @error: Return location for error or %NULL 637s # * 637s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 637s # * 637s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 637s # */ 637s # OrgProjectUsefulInterface * 637s # org_project_useful_interface_proxy_new_for_bus_finish ( 637s # GAsyncResult *res, 637s # GError **error) 637s # { 637s # GObject *ret; 637s # GObject *source_object; 637s # source_object = g_async_result_get_source_object (res); 637s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 637s # g_object_unref (source_object); 637s # if (ret != NULL) 637s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 637s # else 637s # return NULL; 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_proxy_new_for_bus_sync: 637s # * @bus_type: A #GBusType. 637s # * @flags: Flags from the #GDBusProxyFlags enumeration. 637s # * @name: A bus name (well-known or unique). 637s # * @object_path: An object path. 637s # * @cancellable: (nullable): A #GCancellable or %NULL. 637s # * @error: Return location for error or %NULL 637s # * 637s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 637s # * 637s # * The calling thread is blocked until a reply is received. 637s # * 637s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 637s # * 637s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 637s # */ 637s # OrgProjectUsefulInterface * 637s # org_project_useful_interface_proxy_new_for_bus_sync ( 637s # GBusType bus_type, 637s # GDBusProxyFlags flags, 637s # const gchar *name, 637s # const gchar *object_path, 637s # GCancellable *cancellable, 637s # GError **error) 637s # { 637s # GInitable *ret; 637s # 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); 637s # if (ret != NULL) 637s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 637s # else 637s # return NULL; 637s # } 637s # 637s # 637s # /* ------------------------------------------------------------------------ */ 637s # 637s # /** 637s # * OrgProjectUsefulInterfaceSkeleton: 637s # * 637s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 637s # */ 637s # 637s # /** 637s # * OrgProjectUsefulInterfaceSkeletonClass: 637s # * @parent_class: The parent class. 637s # * 637s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 637s # */ 637s # 637s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 637s # { 637s # GValue *properties; 637s # GList *changed_properties; 637s # GSource *changed_properties_idle_source; 637s # GMainContext *context; 637s # GMutex lock; 637s # }; 637s # 637s # static void 637s # _org_project_useful_interface_skeleton_handle_method_call ( 637s # GDBusConnection *connection G_GNUC_UNUSED, 637s # const gchar *sender G_GNUC_UNUSED, 637s # const gchar *object_path G_GNUC_UNUSED, 637s # const gchar *interface_name, 637s # const gchar *method_name, 637s # GVariant *parameters, 637s # GDBusMethodInvocation *invocation, 637s # gpointer user_data) 637s # { 637s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 637s # _ExtendedGDBusMethodInfo *info; 637s # GVariantIter iter; 637s # GVariant *child; 637s # GValue *paramv; 637s # gsize num_params; 637s # guint num_extra; 637s # gsize n; 637s # guint signal_id; 637s # GValue return_value = G_VALUE_INIT; 637s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 637s # g_assert (info != NULL); 637s # num_params = g_variant_n_children (parameters); 637s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 637s # n = 0; 637s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 637s # g_value_set_object (¶mv[n++], skeleton); 637s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 637s # g_value_set_object (¶mv[n++], invocation); 637s # if (info->pass_fdlist) 637s # { 637s # #ifdef G_OS_UNIX 637s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 637s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 637s # #else 637s # g_assert_not_reached (); 637s # #endif 637s # } 637s # g_variant_iter_init (&iter, parameters); 637s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 637s # { 637s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 637s # if (arg_info->use_gvariant) 637s # { 637s # g_value_init (¶mv[n], G_TYPE_VARIANT); 637s # g_value_set_variant (¶mv[n], child); 637s # n++; 637s # } 637s # else 637s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 637s # g_variant_unref (child); 637s # } 637s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 637s # g_value_init (&return_value, G_TYPE_BOOLEAN); 637s # g_signal_emitv (paramv, signal_id, 0, &return_value); 637s # if (!g_value_get_boolean (&return_value)) 637s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 637s # g_value_unset (&return_value); 637s # for (n = 0; n < num_params + num_extra; n++) 637s # g_value_unset (¶mv[n]); 637s # g_free (paramv); 637s # } 637s # 637s # static GVariant * 637s # _org_project_useful_interface_skeleton_handle_get_property ( 637s # GDBusConnection *connection G_GNUC_UNUSED, 637s # const gchar *sender G_GNUC_UNUSED, 637s # const gchar *object_path G_GNUC_UNUSED, 637s # const gchar *interface_name G_GNUC_UNUSED, 637s # const gchar *property_name, 637s # GError **error, 637s # gpointer user_data) 637s # { 637s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 637s # GValue value = G_VALUE_INIT; 637s # GParamSpec *pspec; 637s # _ExtendedGDBusPropertyInfo *info; 637s # GVariant *ret; 637s # ret = NULL; 637s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 637s # g_assert (info != NULL); 637s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 637s # if (pspec == NULL) 637s # { 637s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 637s # } 637s # else 637s # { 637s # g_value_init (&value, pspec->value_type); 637s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 637s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 637s # g_value_unset (&value); 637s # } 637s # return ret; 637s # } 637s # 637s # static gboolean 637s # _org_project_useful_interface_skeleton_handle_set_property ( 637s # GDBusConnection *connection G_GNUC_UNUSED, 637s # const gchar *sender G_GNUC_UNUSED, 637s # const gchar *object_path G_GNUC_UNUSED, 637s # const gchar *interface_name G_GNUC_UNUSED, 637s # const gchar *property_name, 637s # GVariant *variant, 637s # GError **error, 637s # gpointer user_data) 637s # { 637s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 637s # GValue value = G_VALUE_INIT; 637s # GParamSpec *pspec; 637s # _ExtendedGDBusPropertyInfo *info; 637s # gboolean ret; 637s # ret = FALSE; 637s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 637s # g_assert (info != NULL); 637s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 637s # if (pspec == NULL) 637s # { 637s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 637s # } 637s # else 637s # { 637s # if (info->use_gvariant) 637s # g_value_set_variant (&value, variant); 637s # else 637s # g_dbus_gvariant_to_gvalue (variant, &value); 637s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 637s # g_value_unset (&value); 637s # ret = TRUE; 637s # } 637s # return ret; 637s # } 637s # 637s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 637s # { 637s # _org_project_useful_interface_skeleton_handle_method_call, 637s # _org_project_useful_interface_skeleton_handle_get_property, 637s # _org_project_useful_interface_skeleton_handle_set_property, 637s # {NULL} 637s # }; 637s # 637s # static GDBusInterfaceInfo * 637s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 637s # { 637s # return org_project_useful_interface_interface_info (); 637s # } 637s # 637s # static GDBusInterfaceVTable * 637s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 637s # { 637s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 637s # } 637s # 637s # static GVariant * 637s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 637s # { 637s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 637s # 637s # GVariantBuilder builder; 637s # guint n; 637s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 637s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 637s # goto out; 637s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 637s # { 637s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 637s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 637s # { 637s # GVariant *value; 637s # 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); 637s # if (value != NULL) 637s # { 637s # g_variant_take_ref (value); 637s # g_variant_builder_add (&builder, "{sv}", info->name, value); 637s # g_variant_unref (value); 637s # } 637s # } 637s # } 637s # out: 637s # return g_variant_builder_end (&builder); 637s # } 637s # 637s # static void 637s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 637s # { 637s # } 637s # 637s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 637s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 637s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 637s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 637s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 637s # 637s # #else 637s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 637s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 637s # 637s # #endif 637s # static void 637s # org_project_useful_interface_skeleton_finalize (GObject *object) 637s # { 637s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 637s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 637s # if (skeleton->priv->changed_properties_idle_source != NULL) 637s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 637s # g_main_context_unref (skeleton->priv->context); 637s # g_mutex_clear (&skeleton->priv->lock); 637s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 637s # } 637s # 637s # static void 637s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 637s # { 637s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 637s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 637s # #else 637s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 637s # #endif 637s # 637s # g_mutex_init (&skeleton->priv->lock); 637s # skeleton->priv->context = g_main_context_ref_thread_default (); 637s # } 637s # 637s # static void 637s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 637s # { 637s # GObjectClass *gobject_class; 637s # GDBusInterfaceSkeletonClass *skeleton_class; 637s # 637s # gobject_class = G_OBJECT_CLASS (klass); 637s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 637s # 637s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 637s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 637s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 637s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 637s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 637s # 637s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 637s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 637s # #endif 637s # } 637s # 637s # static void 637s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 637s # { 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_skeleton_new: 637s # * 637s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 637s # * 637s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 637s # */ 637s # OrgProjectUsefulInterface * 637s # org_project_useful_interface_skeleton_new (void) 637s # { 637s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 637s # } 637s # /tmp/tmpp9t62ouk/tmps__9sc2t.xml: 637s # 637s # 637s # 637s # 637s # 637s # 637s # 637s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp9t62ouk/tmps__9sc2t.xml', '--output', '-', '--body'] 637s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 637s # Output: /* 637s # * This file is generated by gdbus-codegen, do not modify it. 637s # * 637s # * The license of this code is the same as for the D-Bus interface description 637s # * it was derived from. Note that it links to GLib, so must comply with the 637s # * LGPL linking clauses. 637s # */ 637s # 637s # #ifdef HAVE_CONFIG_H 637s # # include "config.h" 637s # #endif 637s # 637s # #include 637s # #ifdef G_OS_UNIX 637s # # include 637s # #endif 637s # 637s # #ifdef G_ENABLE_DEBUG 637s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 637s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 637s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 637s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 637s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 637s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 637s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 637s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 637s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 637s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 637s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 637s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 637s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 637s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 637s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 637s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 637s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 637s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 637s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 637s # #else /* !G_ENABLE_DEBUG */ 637s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 637s # * Do not access GValues directly in your code. Instead, use the 637s # * g_value_get_*() functions 637s # */ 637s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 637s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 637s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 637s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 637s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 637s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 637s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 637s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 637s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 637s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 637s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 637s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 637s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 637s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 637s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 637s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 637s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 637s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 637s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 637s # #endif /* !G_ENABLE_DEBUG */ 637s # 637s # typedef struct 637s # { 637s # GDBusArgInfo parent_struct; 637s # gboolean use_gvariant; 637s # } _ExtendedGDBusArgInfo; 637s # 637s # typedef struct 637s # { 637s # GDBusMethodInfo parent_struct; 637s # const gchar *signal_name; 637s # gboolean pass_fdlist; 637s # } _ExtendedGDBusMethodInfo; 637s # 637s # typedef struct 637s # { 637s # GDBusSignalInfo parent_struct; 637s # const gchar *signal_name; 637s # } _ExtendedGDBusSignalInfo; 637s # 637s # typedef struct 637s # { 637s # GDBusPropertyInfo parent_struct; 637s # const gchar *hyphen_name; 637s # guint use_gvariant : 1; 637s # guint emits_changed_signal : 1; 637s # } _ExtendedGDBusPropertyInfo; 637s # 637s # typedef struct 637s # { 637s # GDBusInterfaceInfo parent_struct; 637s # const gchar *hyphen_name; 637s # } _ExtendedGDBusInterfaceInfo; 637s # 637s # typedef struct 637s # { 637s # const _ExtendedGDBusPropertyInfo *info; 637s # guint prop_id; 637s # GValue orig_value; /* the value before the change */ 637s # } ChangedProperty; 637s # 637s # static void 637s # _changed_property_free (ChangedProperty *data) 637s # { 637s # g_value_unset (&data->orig_value); 637s # g_free (data); 637s # } 637s # 637s # static gboolean 637s # _g_strv_equal0 (gchar **a, gchar **b) 637s # { 637s # gboolean ret = FALSE; 637s # guint n; 637s # if (a == NULL && b == NULL) 637s # { 637s # ret = TRUE; 637s # goto out; 637s # } 637s # if (a == NULL || b == NULL) 637s # goto out; 637s # if (g_strv_length (a) != g_strv_length (b)) 637s # goto out; 637s # for (n = 0; a[n] != NULL; n++) 637s # if (g_strcmp0 (a[n], b[n]) != 0) 637s # goto out; 637s # ret = TRUE; 637s # out: 637s # return ret; 637s # } 637s # 637s # static gboolean 637s # _g_variant_equal0 (GVariant *a, GVariant *b) 637s # { 637s # gboolean ret = FALSE; 637s # if (a == NULL && b == NULL) 637s # { 637s # ret = TRUE; 637s # goto out; 637s # } 637s # if (a == NULL || b == NULL) 637s # goto out; 637s # ret = g_variant_equal (a, b); 637s # out: 637s # return ret; 637s # } 637s # 637s # G_GNUC_UNUSED static gboolean 637s # _g_value_equal (const GValue *a, const GValue *b) 637s # { 637s # gboolean ret = FALSE; 637s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 637s # switch (G_VALUE_TYPE (a)) 637s # { 637s # case G_TYPE_BOOLEAN: 637s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 637s # break; 637s # case G_TYPE_UCHAR: 637s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 637s # break; 637s # case G_TYPE_INT: 637s # ret = (g_value_get_int (a) == g_value_get_int (b)); 637s # break; 637s # case G_TYPE_UINT: 637s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 637s # break; 637s # case G_TYPE_INT64: 637s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 637s # break; 637s # case G_TYPE_UINT64: 637s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 637s # break; 637s # case G_TYPE_DOUBLE: 637s # { 637s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 637s # gdouble da = g_value_get_double (a); 637s # gdouble db = g_value_get_double (b); 637s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 637s # } 637s # break; 637s # case G_TYPE_STRING: 637s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 637s # break; 637s # case G_TYPE_VARIANT: 637s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 637s # break; 637s # default: 637s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 637s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 637s # else 637s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 637s # break; 637s # } 637s # return ret; 637s # } 637s # 637s # static void 637s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 637s # GClosure *closure, 637s # GValue *return_value, 637s # unsigned int n_param_values, 637s # const GValue *param_values, 637s # void *invocation_hint G_GNUC_UNUSED, 637s # void *marshal_data) 637s # { 637s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 637s # (void *data1, 637s # GDBusMethodInvocation *arg_method_invocation, 637s # void *data2); 637s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 637s # GCClosure *cc = (GCClosure*) closure; 637s # void *data1, *data2; 637s # gboolean v_return; 637s # 637s # g_return_if_fail (return_value != NULL); 637s # g_return_if_fail (n_param_values == 2); 637s # 637s # if (G_CCLOSURE_SWAP_DATA (closure)) 637s # { 637s # data1 = closure->data; 637s # data2 = g_value_peek_pointer (param_values + 0); 637s # } 637s # else 637s # { 637s # data1 = g_value_peek_pointer (param_values + 0); 637s # data2 = closure->data; 637s # } 637s # 637s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 637s # (marshal_data ? marshal_data : cc->callback); 637s # 637s # v_return = 637s # callback (data1, 637s # g_marshal_value_peek_object (param_values + 1), 637s # data2); 637s # 637s # g_value_set_boolean (return_value, v_return); 637s # } 637s # 637s # /* ------------------------------------------------------------------------ 637s # * Code for interface org.project.UsefulInterface 637s # * ------------------------------------------------------------------------ 637s # */ 637s # 637s # /** 637s # * SECTION:OrgProjectUsefulInterface 637s # * @title: OrgProjectUsefulInterface 637s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 637s # * 637s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 637s # */ 637s # 637s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 637s # 637s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 637s # { 637s # { 637s # -1, 637s # (gchar *) "arg_d", 637s # (gchar *) "d", 637s # NULL 637s # }, 637s # FALSE 637s # }; 637s # 637s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 637s # { 637s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 637s # NULL 637s # }; 637s # 637s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 637s # { 637s # { 637s # -1, 637s # (gchar *) "SingleArgMethodD", 637s # NULL, 637s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 637s # NULL 637s # }, 637s # "handle-single-arg-method-d", 637s # FALSE 637s # }; 637s # 637s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 637s # { 637s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 637s # NULL 637s # }; 637s # 637s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 637s # { 637s # { 637s # -1, 637s # (gchar *) "org.project.UsefulInterface", 637s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 637s # NULL, 637s # NULL, 637s # NULL 637s # }, 637s # "org-project-useful-interface", 637s # }; 637s # 637s # 637s # /** 637s # * org_project_useful_interface_interface_info: 637s # * 637s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 637s # * 637s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 637s # */ 637s # GDBusInterfaceInfo * 637s # org_project_useful_interface_interface_info (void) 637s # { 637s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_override_properties: 637s # * @klass: The class structure for a #GObject derived class. 637s # * @property_id_begin: The property id to assign to the first overridden property. 637s # * 637s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 637s # * The properties are overridden in the order they are defined. 637s # * 637s # * Returns: The last property id. 637s # */ 637s # guint 637s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 637s # { 637s # return property_id_begin - 1; 637s # } 637s # 637s # 637s # inline static void 637s # org_project_useful_interface_method_marshal_single_arg_method_d ( 637s # GClosure *closure, 637s # GValue *return_value, 637s # unsigned int n_param_values, 637s # const GValue *param_values, 637s # void *invocation_hint, 637s # void *marshal_data) 637s # { 637s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 637s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 637s # } 637s # 637s # 637s # /** 637s # * OrgProjectUsefulInterface: 637s # * 637s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 637s # */ 637s # 637s # /** 637s # * OrgProjectUsefulInterfaceIface: 637s # * @parent_iface: The parent interface. 637s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 637s # * 637s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 637s # */ 637s # 637s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 637s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 637s # 637s # static void 637s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 637s # { 637s # /* GObject signals for incoming D-Bus method calls: */ 637s # /** 637s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 637s # * @object: A #OrgProjectUsefulInterface. 637s # * @invocation: A #GDBusMethodInvocation. 637s # * 637s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 637s # * 637s # * 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. 637s # * 637s # * 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. 637s # */ 637s # g_signal_new ("handle-single-arg-method-d", 637s # G_TYPE_FROM_INTERFACE (iface), 637s # G_SIGNAL_RUN_LAST, 637s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 637s # g_signal_accumulator_true_handled, 637s # NULL, 637s # org_project_useful_interface_method_marshal_single_arg_method_d, 637s # G_TYPE_BOOLEAN, 637s # 1, 637s # G_TYPE_DBUS_METHOD_INVOCATION); 637s # 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_call_single_arg_method_d: 637s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 637s # * @cancellable: (nullable): A #GCancellable or %NULL. 637s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 637s # * @user_data: User data to pass to @callback. 637s # * 637s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 637s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 637s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 637s # * 637s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 637s # */ 637s # void 637s # org_project_useful_interface_call_single_arg_method_d ( 637s # OrgProjectUsefulInterface *proxy, 637s # GCancellable *cancellable, 637s # GAsyncReadyCallback callback, 637s # gpointer user_data) 637s # { 637s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 637s # "SingleArgMethodD", 637s # g_variant_new ("()"), 637s # G_DBUS_CALL_FLAGS_NONE, 637s # -1, 637s # cancellable, 637s # callback, 637s # user_data); 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_call_single_arg_method_d_finish: 637s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 637s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 637s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 637s # * @error: Return location for error or %NULL. 637s # * 637s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 637s # * 637s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 637s # */ 637s # gboolean 637s # org_project_useful_interface_call_single_arg_method_d_finish ( 637s # OrgProjectUsefulInterface *proxy, 637s # gdouble *out_arg_d, 637s # GAsyncResult *res, 637s # GError **error) 637s # { 637s # GVariant *_ret; 637s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 637s # if (_ret == NULL) 637s # goto _out; 637s # g_variant_get (_ret, 637s # "(d)", 637s # out_arg_d); 637s # g_variant_unref (_ret); 637s # _out: 637s # return _ret != NULL; 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_call_single_arg_method_d_sync: 637s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 637s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 637s # * @cancellable: (nullable): A #GCancellable or %NULL. 637s # * @error: Return location for error or %NULL. 637s # * 637s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 637s # * 637s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 637s # * 637s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 637s # */ 637s # gboolean 637s # org_project_useful_interface_call_single_arg_method_d_sync ( 637s # OrgProjectUsefulInterface *proxy, 637s # gdouble *out_arg_d, 637s # GCancellable *cancellable, 637s # GError **error) 637s # { 637s # GVariant *_ret; 637s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 637s # "SingleArgMethodD", 637s # g_variant_new ("()"), 637s # G_DBUS_CALL_FLAGS_NONE, 637s # -1, 637s # cancellable, 637s # error); 637s # if (_ret == NULL) 637s # goto _out; 637s # g_variant_get (_ret, 637s # "(d)", 637s # out_arg_d); 637s # g_variant_unref (_ret); 637s # _out: 637s # return _ret != NULL; 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_complete_single_arg_method_d: 637s # * @object: A #OrgProjectUsefulInterface. 637s # * @invocation: (transfer full): A #GDBusMethodInvocation. 637s # * @arg_d: Parameter to return. 637s # * 637s # * 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. 637s # * 637s # * This method will free @invocation, you cannot use it afterwards. 637s # */ 637s # void 637s # org_project_useful_interface_complete_single_arg_method_d ( 637s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 637s # GDBusMethodInvocation *invocation, 637s # gdouble arg_d) 637s # { 637s # g_dbus_method_invocation_return_value (invocation, 637s # g_variant_new ("(d)", 637s # arg_d)); 637s # } 637s # 637s # /* ------------------------------------------------------------------------ */ 637s # 637s # /** 637s # * OrgProjectUsefulInterfaceProxy: 637s # * 637s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 637s # */ 637s # 637s # /** 637s # * OrgProjectUsefulInterfaceProxyClass: 637s # * @parent_class: The parent class. 637s # * 637s # * Class structure for #OrgProjectUsefulInterfaceProxy. 637s # */ 637s # 637s # struct _OrgProjectUsefulInterfaceProxyPrivate 637s # { 637s # GData *qdata; 637s # }; 637s # 637s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 637s # 637s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 637s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 637s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 637s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 637s # 637s # #else 637s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 637s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 637s # 637s # #endif 637s # static void 637s # org_project_useful_interface_proxy_finalize (GObject *object) 637s # { 637s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 637s # g_datalist_clear (&proxy->priv->qdata); 637s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 637s # } 637s # 637s # static void 637s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 637s # guint prop_id G_GNUC_UNUSED, 637s # GValue *value G_GNUC_UNUSED, 637s # GParamSpec *pspec G_GNUC_UNUSED) 637s # { 637s # } 637s # 637s # static void 637s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 637s # guint prop_id G_GNUC_UNUSED, 637s # const GValue *value G_GNUC_UNUSED, 637s # GParamSpec *pspec G_GNUC_UNUSED) 637s # { 637s # } 637s # 637s # static void 637s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 637s # const gchar *sender_name G_GNUC_UNUSED, 637s # const gchar *signal_name, 637s # GVariant *parameters) 637s # { 637s # _ExtendedGDBusSignalInfo *info; 637s # GVariantIter iter; 637s # GVariant *child; 637s # GValue *paramv; 637s # gsize num_params; 637s # gsize n; 637s # guint signal_id; 637s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 637s # if (info == NULL) 637s # return; 637s # num_params = g_variant_n_children (parameters); 637s # paramv = g_new0 (GValue, num_params + 1); 637s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 637s # g_value_set_object (¶mv[0], proxy); 637s # g_variant_iter_init (&iter, parameters); 637s # n = 1; 637s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 637s # { 637s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 637s # if (arg_info->use_gvariant) 637s # { 637s # g_value_init (¶mv[n], G_TYPE_VARIANT); 637s # g_value_set_variant (¶mv[n], child); 637s # n++; 637s # } 637s # else 637s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 637s # g_variant_unref (child); 637s # } 637s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 637s # g_signal_emitv (paramv, signal_id, 0, NULL); 637s # for (n = 0; n < num_params + 1; n++) 637s # g_value_unset (¶mv[n]); 637s # g_free (paramv); 637s # } 637s # 637s # static void 637s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 637s # GVariant *changed_properties, 637s # const gchar *const *invalidated_properties) 637s # { 637s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 637s # guint n; 637s # const gchar *key; 637s # GVariantIter *iter; 637s # _ExtendedGDBusPropertyInfo *info; 637s # g_variant_get (changed_properties, "a{sv}", &iter); 637s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 637s # { 637s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 637s # g_datalist_remove_data (&proxy->priv->qdata, key); 637s # if (info != NULL) 637s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 637s # } 637s # g_variant_iter_free (iter); 637s # for (n = 0; invalidated_properties[n] != NULL; n++) 637s # { 637s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 637s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 637s # if (info != NULL) 637s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 637s # } 637s # } 637s # 637s # static void 637s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 637s # { 637s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 637s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 637s # #else 637s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 637s # #endif 637s # 637s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 637s # } 637s # 637s # static void 637s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 637s # { 637s # GObjectClass *gobject_class; 637s # GDBusProxyClass *proxy_class; 637s # 637s # gobject_class = G_OBJECT_CLASS (klass); 637s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 637s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 637s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 637s # 637s # proxy_class = G_DBUS_PROXY_CLASS (klass); 637s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 637s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 637s # 637s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 637s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 637s # #endif 637s # } 637s # 637s # static void 637s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 637s # { 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_proxy_new: 637s # * @connection: A #GDBusConnection. 637s # * @flags: Flags from the #GDBusProxyFlags enumeration. 637s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 637s # * @object_path: An object path. 637s # * @cancellable: (nullable): A #GCancellable or %NULL. 637s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 637s # * @user_data: User data to pass to @callback. 637s # * 637s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 637s # * 637s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 637s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 637s # * 637s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 637s # */ 637s # void 637s # org_project_useful_interface_proxy_new ( 637s # GDBusConnection *connection, 637s # GDBusProxyFlags flags, 637s # const gchar *name, 637s # const gchar *object_path, 637s # GCancellable *cancellable, 637s # GAsyncReadyCallback callback, 637s # gpointer user_data) 637s # { 637s # g_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); 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_proxy_new_finish: 637s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 637s # * @error: Return location for error or %NULL 637s # * 637s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 637s # * 637s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 637s # */ 637s # OrgProjectUsefulInterface * 637s # org_project_useful_interface_proxy_new_finish ( 637s # GAsyncResult *res, 637s # GError **error) 637s # { 637s # GObject *ret; 637s # GObject *source_object; 637s # source_object = g_async_result_get_source_object (res); 637s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 637s # g_object_unref (source_object); 637s # if (ret != NULL) 637s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 637s # else 637s # return NULL; 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_proxy_new_sync: 637s # * @connection: A #GDBusConnection. 637s # * @flags: Flags from the #GDBusProxyFlags enumeration. 637s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 637s # * @object_path: An object path. 637s # * @cancellable: (nullable): A #GCancellable or %NULL. 637s # * @error: Return location for error or %NULL 637s # * 637s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 637s # * 637s # * The calling thread is blocked until a reply is received. 637s # * 637s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 637s # * 637s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 637s # */ 637s # OrgProjectUsefulInterface * 637s # org_project_useful_interface_proxy_new_sync ( 637s # GDBusConnection *connection, 637s # GDBusProxyFlags flags, 637s # const gchar *name, 637s # const gchar *object_path, 637s # GCancellable *cancellable, 637s # GError **error) 637s # { 637s # GInitable *ret; 637s # 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); 637s # if (ret != NULL) 637s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 637s # else 637s # return NULL; 637s # } 637s # 637s # 637s # /** 637s # * org_project_useful_interface_proxy_new_for_bus: 637s # * @bus_type: A #GBusType. 637s # * @flags: Flags from the #GDBusProxyFlags enumeration. 637s # * @name: A bus name (well-known or unique). 637s # * @object_path: An object path. 637s # * @cancellable: (nullable): A #GCancellable or %NULL. 637s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 637s # * @user_data: User data to pass to @callback. 637s # * 637s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 637s # * 637s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 637s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 637s # * 637s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 637s # */ 637s # void 637s # org_project_useful_interface_proxy_new_for_bus ( 637s # GBusType bus_type, 637s # GDBusProxyFlags flags, 637s # const gchar *name, 637s # const gchar *object_path, 637s # GCancellable *cancellable, 637s # GAsyncReadyCallback callback, 637s # gpointer user_data) 637s # { 637s # g_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); 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_proxy_new_for_bus_finish: 637s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 637s # * @error: Return location for error or %NULL 637s # * 637s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 637s # * 637s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 637s # */ 637s # OrgProjectUsefulInterface * 637s # org_project_useful_interface_proxy_new_for_bus_finish ( 637s # GAsyncResult *res, 637s # GError **error) 637s # { 637s # GObject *ret; 637s # GObject *source_object; 637s # source_object = g_async_result_get_source_object (res); 637s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 637s # g_object_unref (source_object); 637s # if (ret != NULL) 637s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 637s # else 637s # return NULL; 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_proxy_new_for_bus_sync: 637s # * @bus_type: A #GBusType. 637s # * @flags: Flags from the #GDBusProxyFlags enumeration. 637s # * @name: A bus name (well-known or unique). 637s # * @object_path: An object path. 637s # * @cancellable: (nullable): A #GCancellable or %NULL. 637s # * @error: Return location for error or %NULL 637s # * 637s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 637s # * 637s # * The calling thread is blocked until a reply is received. 637s # * 637s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 637s # * 637s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 637s # */ 637s # OrgProjectUsefulInterface * 637s # org_project_useful_interface_proxy_new_for_bus_sync ( 637s # GBusType bus_type, 637s # GDBusProxyFlags flags, 637s # const gchar *name, 637s # const gchar *object_path, 637s # GCancellable *cancellable, 637s # GError **error) 637s # { 637s # GInitable *ret; 637s # 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); 637s # if (ret != NULL) 637s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 637s # else 637s # return NULL; 637s # } 637s # 637s # 637s # /* ------------------------------------------------------------------------ */ 637s # 637s # /** 637s # * OrgProjectUsefulInterfaceSkeleton: 637s # * 637s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 637s # */ 637s # 637s # /** 637s # * OrgProjectUsefulInterfaceSkeletonClass: 637s # * @parent_class: The parent class. 637s # * 637s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 637s # */ 637s # 637s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 637s # { 637s # GValue *properties; 637s # GList *changed_properties; 637s # GSource *changed_properties_idle_source; 637s # GMainContext *context; 637s # GMutex lock; 637s # }; 637s # 637s # static void 637s # _org_project_useful_interface_skeleton_handle_method_call ( 637s # GDBusConnection *connection G_GNUC_UNUSED, 637s # const gchar *sender G_GNUC_UNUSED, 637s # const gchar *object_path G_GNUC_UNUSED, 637s # const gchar *interface_name, 637s # const gchar *method_name, 637s # GVariant *parameters, 637s # GDBusMethodInvocation *invocation, 637s # gpointer user_data) 637s # { 637s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 637s # _ExtendedGDBusMethodInfo *info; 637s # GVariantIter iter; 637s # GVariant *child; 637s # GValue *paramv; 637s # gsize num_params; 637s # guint num_extra; 637s # gsize n; 637s # guint signal_id; 637s # GValue return_value = G_VALUE_INIT; 637s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 637s # g_assert (info != NULL); 637s # num_params = g_variant_n_children (parameters); 637s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 637s # n = 0; 637s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 637s # g_value_set_object (¶mv[n++], skeleton); 637s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 637s # g_value_set_object (¶mv[n++], invocation); 637s # if (info->pass_fdlist) 637s # { 637s # #ifdef G_OS_UNIX 637s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 637s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 637s # #else 637s # g_assert_not_reached (); 637s # #endif 637s # } 637s # g_variant_iter_init (&iter, parameters); 637s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 637s # { 637s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 637s # if (arg_info->use_gvariant) 637s # { 637s # g_value_init (¶mv[n], G_TYPE_VARIANT); 637s # g_value_set_variant (¶mv[n], child); 637s # n++; 637s # } 637s # else 637s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 637s # g_variant_unref (child); 637s # } 637s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 637s # g_value_init (&return_value, G_TYPE_BOOLEAN); 637s # g_signal_emitv (paramv, signal_id, 0, &return_value); 637s # if (!g_value_get_boolean (&return_value)) 637s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 637s # g_value_unset (&return_value); 637s # for (n = 0; n < num_params + num_extra; n++) 637s # g_value_unset (¶mv[n]); 637s # g_free (paramv); 637s # } 637s # 637s # static GVariant * 637s # _org_project_useful_interface_skeleton_handle_get_property ( 637s # GDBusConnection *connection G_GNUC_UNUSED, 637s # const gchar *sender G_GNUC_UNUSED, 637s # const gchar *object_path G_GNUC_UNUSED, 637s # const gchar *interface_name G_GNUC_UNUSED, 637s # const gchar *property_name, 637s # GError **error, 637s # gpointer user_data) 637s # { 637s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 637s # GValue value = G_VALUE_INIT; 637s # GParamSpec *pspec; 637s # _ExtendedGDBusPropertyInfo *info; 637s # GVariant *ret; 637s # ret = NULL; 637s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 637s # g_assert (info != NULL); 637s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 637s # if (pspec == NULL) 637s # { 637s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 637s # } 637s # else 637s # { 637s # g_value_init (&value, pspec->value_type); 637s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 637s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 637s # g_value_unset (&value); 637s # } 637s # return ret; 637s # } 637s # 637s # static gboolean 637s # _org_project_useful_interface_skeleton_handle_set_property ( 637s # GDBusConnection *connection G_GNUC_UNUSED, 637s # const gchar *sender G_GNUC_UNUSED, 637s # const gchar *object_path G_GNUC_UNUSED, 637s # const gchar *interface_name G_GNUC_UNUSED, 637s # const gchar *property_name, 637s # GVariant *variant, 637s # GError **error, 637s # gpointer user_data) 637s # { 637s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 637s # GValue value = G_VALUE_INIT; 637s # GParamSpec *pspec; 637s # _ExtendedGDBusPropertyInfo *info; 637s # gboolean ret; 637s # ret = FALSE; 637s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 637s # g_assert (info != NULL); 637s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 637s # if (pspec == NULL) 637s # { 637s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 637s # } 637s # else 637s # { 637s # if (info->use_gvariant) 637s # g_value_set_variant (&value, variant); 637s # else 637s # g_dbus_gvariant_to_gvalue (variant, &value); 637s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 637s # g_value_unset (&value); 637s # ret = TRUE; 637s # } 637s # return ret; 637s # } 637s # 637s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 637s # { 637s # _org_project_useful_interface_skeleton_handle_method_call, 637s # _org_project_useful_interface_skeleton_handle_get_property, 637s # _org_project_useful_interface_skeleton_handle_set_property, 637s # {NULL} 637s # }; 637s # 637s # static GDBusInterfaceInfo * 637s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 637s # { 637s # return org_project_useful_interface_interface_info (); 637s # } 637s # 637s # static GDBusInterfaceVTable * 637s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 637s # { 637s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 637s # } 637s # 637s # static GVariant * 637s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 637s # { 637s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 637s # 637s # GVariantBuilder builder; 637s # guint n; 637s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 637s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 637s # goto out; 637s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 637s # { 637s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 637s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 637s # { 637s # GVariant *value; 637s # 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); 637s # if (value != NULL) 637s # { 637s # g_variant_take_ref (value); 637s # g_variant_builder_add (&builder, "{sv}", info->name, value); 637s # g_variant_unref (value); 637s # } 637s # } 637s # } 637s # out: 637s # return g_variant_builder_end (&builder); 637s # } 637s # 637s # static void 637s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 637s # { 637s # } 637s # 637s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 637s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 637s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 637s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 637s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 637s # 637s # #else 637s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 637s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 637s # 637s # #endif 637s # static void 637s # org_project_useful_interface_skeleton_finalize (GObject *object) 637s # { 637s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 637s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 637s # if (skeleton->priv->changed_properties_idle_source != NULL) 637s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 637s # g_main_context_unref (skeleton->priv->context); 637s # g_mutex_clear (&skeleton->priv->lock); 637s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 637s # } 637s # 637s # static void 637s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 637s # { 637s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 637s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 637s # #else 637s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 637s # #endif 637s # 637s # g_mutex_init (&skeleton->priv->lock); 637s # skeleton->priv->context = g_main_context_ref_thread_default (); 637s # } 637s # 637s # static void 637s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 637s # { 637s # GObjectClass *gobject_class; 637s # GDBusInterfaceSkeletonClass *skeleton_class; 637s # 637s # gobject_class = G_OBJECT_CLASS (klass); 637s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 637s # 637s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 637s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 637s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 637s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 637s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 637s # 637s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 637s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 637s # #endif 637s # } 637s # 637s # static void 637s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 637s # { 637s # } 637s # 637s # /** 637s # * org_project_useful_interface_skeleton_new: 637s # * 637s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 637s # * 637s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 637s # */ 637s # OrgProjectUsefulInterface * 637s # org_project_useful_interface_skeleton_new (void) 637s # { 637s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 637s # } 637s # /tmp/tmpp9t62ouk/tmps940uorz.xml: 637s # 637s # 637s # 637s # 637s # 637s # 637s # 637s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp9t62ouk/tmps940uorz.xml', '--output', '-', '--body'] 637s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 637s # Output: /* 637s # * This file is generated by gdbus-codegen, do not modify it. 637s # * 637s # * The license of this code is the same as for the D-Bus interface description 637s # * it was derived from. Note that it links to GLib, so must comply with the 637s # * LGPL linking clauses. 637s # */ 637s # 637s # #ifdef HAVE_CONFIG_H 637s # # include "config.h" 637s # #endif 637s # 637s # #include 637s # #ifdef G_OS_UNIX 637s # # include 637s # #endif 637s # 637s # #ifdef G_ENABLE_DEBUG 637s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 637s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 637s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 637s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 637s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 637s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 637s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 637s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 637s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 637s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 637s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 637s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 637s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 637s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 637s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 637s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 637s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 637s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 637s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 637s # #else /* !G_ENABLE_DEBUG */ 637s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 637s # * Do not access GValues directly in your code. Instead, use the 637s # * g_value_get_*() functions 637s # */ 637s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 637s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 637s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 637s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 637s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 637s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 637s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 637s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 637s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 637s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 637s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 637s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 637s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 637s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 637s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 637s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 637s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 637s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 637s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 637s # #endif /* !G_ENABLE_DEBUG */ 637s # 637s # typedef struct 637s # { 637s # GDBusArgInfo parent_struct; 637s # gboolean use_gvariant; 637s # } _ExtendedGDBusArgInfo; 637s # 637s # typedef struct 637s # { 637s # GDBusMethodInfo parent_struct; 637s # const gchar *signal_name; 637s # gboolean pass_fdlist; 637s # } _ExtendedGDBusMethodInfo; 637s # 637s # typedef struct 637s # { 637s # GDBusSignalInfo parent_struct; 637s # const gchar *signal_name; 637s # } _ExtendedGDBusSignalInfo; 637s # 637s # typedef struct 637s # { 637s # GDBusPropertyInfo parent_struct; 637s # const gchar *hyphen_name; 637s # guint use_gvariant : 1; 637s # guint emits_changed_signal : 1; 637s # } _ExtendedGDBusPropertyInfo; 637s # 637s # typedef struct 637s # { 637s # GDBusInterfaceInfo parent_struct; 637s # const gchar *hyphen_name; 637s # } _ExtendedGDBusInterfaceInfo; 637s # 637s # typedef struct 637s # { 637s # const _ExtendedGDBusPropertyInfo *info; 637s # guint prop_id; 637s # GValue orig_value; /* the value before the change */ 637s # } ChangedProperty; 637s # 637s # static void 637s # _changed_property_free (ChangedProperty *data) 637s # { 637s # g_value_unset (&data->orig_value); 637s # g_free (data); 637s # } 637s # 637s # static gboolean 637s # _g_strv_equal0 (gchar **a, gchar **b) 637s # { 637s # gboolean ret = FALSE; 637s # guint n; 637s # if (a == NULL && b == NULL) 637s # { 637s # ret = TRUE; 637s # goto out; 637s # } 637s # if (a == NULL || b == NULL) 637s # goto out; 637s # if (g_strv_length (a) != g_strv_length (b)) 637s # goto out; 637s # for (n = 0; a[n] != NULL; n++) 637s # if (g_strcmp0 (a[n], b[n]) != 0) 637s # goto out; 637s # ret = TRUE; 637s # out: 637s # return ret; 637s # } 637s # 637s # static gboolean 637s # _g_variant_equal0 (GVariant *a, GVariant *b) 637s # { 637s # gboolean ret = FALSE; 637s # if (a == NULL && b == NULL) 637s # { 637s # ret = TRUE; 637s # goto out; 637s # } 637s # if (a == NULL || b == NULL) 637s # goto out; 637s # ret = g_variant_equal (a, b); 637s # out: 637s # return ret; 637s # } 637s # 637s # G_GNUC_UNUSED static gboolean 637s # _g_value_equal (const GValue *a, const GValue *b) 637s # { 637s # gboolean ret = FALSE; 637s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 637s # switch (G_VALUE_TYPE (a)) 637s # { 637s # case G_TYPE_BOOLEAN: 637s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 637s # break; 637s # case G_TYPE_UCHAR: 637s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 637s # break; 637s # case G_TYPE_INT: 637s # ret = (g_value_get_int (a) == g_value_get_int (b)); 637s # break; 637s # case G_TYPE_UINT: 637s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 637s # break; 637s # case G_TYPE_INT64: 637s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 637s # break; 637s # case G_TYPE_UINT64: 637s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 637s # break; 637s # case G_TYPE_DOUBLE: 637s # { 637s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 637s # gdouble da = g_value_get_double (a); 637s # gdouble db = g_value_get_double (b); 637s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 637s # } 637s # break; 637s # case G_TYPE_STRING: 637s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 637s # break; 637s # case G_TYPE_VARIANT: 638s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 638s # break; 638s # default: 638s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 638s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 638s # else 638s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 638s # break; 638s # } 638s # return ret; 638s # } 638s # 638s # static void 638s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 638s # GClosure *closure, 638s # GValue *return_value, 638s # unsigned int n_param_values, 638s # const GValue *param_values, 638s # void *invocation_hint G_GNUC_UNUSED, 638s # void *marshal_data) 638s # { 638s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 638s # (void *data1, 638s # GDBusMethodInvocation *arg_method_invocation, 638s # void *data2); 638s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 638s # GCClosure *cc = (GCClosure*) closure; 638s # void *data1, *data2; 638s # gboolean v_return; 638s # 638s # g_return_if_fail (return_value != NULL); 638s # g_return_if_fail (n_param_values == 2); 638s # 638s # if (G_CCLOSURE_SWAP_DATA (closure)) 638s # { 638s # data1 = closure->data; 638s # data2 = g_value_peek_pointer (param_values + 0); 638s # } 638s # else 638s # { 638s # data1 = g_value_peek_pointer (param_values + 0); 638s # data2 = closure->data; 638s # } 638s # 638s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 638s # (marshal_data ? marshal_data : cc->callback); 638s # 638s # v_return = 638s # callback (data1, 638s # g_marshal_value_peek_object (param_values + 1), 638s # data2); 638s # 638s # g_value_set_boolean (return_value, v_return); 638s # } 638s # 638s # /* ------------------------------------------------------------------------ 638s # * Code for interface org.project.UsefulInterface 638s # * ------------------------------------------------------------------------ 638s # */ 638s # 638s # /** 638s # * SECTION:OrgProjectUsefulInterface 638s # * @title: OrgProjectUsefulInterface 638s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 638s # * 638s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 638s # */ 638s # 638s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 638s # 638s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 638s # { 638s # { 638s # -1, 638s # (gchar *) "arg_s", 638s # (gchar *) "s", 638s # NULL 638s # }, 638s # FALSE 638s # }; 638s # 638s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 638s # { 638s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 638s # NULL 638s # }; 638s # 638s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 638s # { 638s # { 638s # -1, 638s # (gchar *) "SingleArgMethodS", 638s # NULL, 638s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 638s # NULL 638s # }, 638s # "handle-single-arg-method-s", 638s # FALSE 638s # }; 638s # 638s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 638s # { 638s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 638s # NULL 638s # }; 638s # 638s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 638s # { 638s # { 638s # -1, 638s # (gchar *) "org.project.UsefulInterface", 638s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 638s # NULL, 638s # NULL, 638s # NULL 638s # }, 638s # "org-project-useful-interface", 638s # }; 638s # 638s # 638s # /** 638s # * org_project_useful_interface_interface_info: 638s # * 638s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 638s # * 638s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 638s # */ 638s # GDBusInterfaceInfo * 638s # org_project_useful_interface_interface_info (void) 638s # { 638s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_override_properties: 638s # * @klass: The class structure for a #GObject derived class. 638s # * @property_id_begin: The property id to assign to the first overridden property. 638s # * 638s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 638s # * The properties are overridden in the order they are defined. 638s # * 638s # * Returns: The last property id. 638s # */ 638s # guint 638s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 638s # { 638s # return property_id_begin - 1; 638s # } 638s # 638s # 638s # inline static void 638s # org_project_useful_interface_method_marshal_single_arg_method_s ( 638s # GClosure *closure, 638s # GValue *return_value, 638s # unsigned int n_param_values, 638s # const GValue *param_values, 638s # void *invocation_hint, 638s # void *marshal_data) 638s # { 638s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 638s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 638s # } 638s # 638s # 638s # /** 638s # * OrgProjectUsefulInterface: 638s # * 638s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 638s # */ 638s # 638s # /** 638s # * OrgProjectUsefulInterfaceIface: 638s # * @parent_iface: The parent interface. 638s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 638s # * 638s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 638s # */ 638s # 638s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 638s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 638s # 638s # static void 638s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 638s # { 638s # /* GObject signals for incoming D-Bus method calls: */ 638s # /** 638s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 638s # * @object: A #OrgProjectUsefulInterface. 638s # * @invocation: A #GDBusMethodInvocation. 638s # * 638s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 638s # * 638s # * 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. 638s # * 638s # * 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. 638s # */ 638s # g_signal_new ("handle-single-arg-method-s", 638s # G_TYPE_FROM_INTERFACE (iface), 638s # G_SIGNAL_RUN_LAST, 638s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 638s # g_signal_accumulator_true_handled, 638s # NULL, 638s # org_project_useful_interface_method_marshal_single_arg_method_s, 638s # G_TYPE_BOOLEAN, 638s # 1, 638s # G_TYPE_DBUS_METHOD_INVOCATION); 638s # 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_call_single_arg_method_s: 638s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 638s # * @user_data: User data to pass to @callback. 638s # * 638s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 638s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 638s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 638s # * 638s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 638s # */ 638s # void 638s # org_project_useful_interface_call_single_arg_method_s ( 638s # OrgProjectUsefulInterface *proxy, 638s # GCancellable *cancellable, 638s # GAsyncReadyCallback callback, 638s # gpointer user_data) 638s # { 638s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 638s # "SingleArgMethodS", 638s # g_variant_new ("()"), 638s # G_DBUS_CALL_FLAGS_NONE, 638s # -1, 638s # cancellable, 638s # callback, 638s # user_data); 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_call_single_arg_method_s_finish: 638s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 638s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 638s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 638s # * @error: Return location for error or %NULL. 638s # * 638s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 638s # * 638s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 638s # */ 638s # gboolean 638s # org_project_useful_interface_call_single_arg_method_s_finish ( 638s # OrgProjectUsefulInterface *proxy, 638s # gchar **out_arg_s, 638s # GAsyncResult *res, 638s # GError **error) 638s # { 638s # GVariant *_ret; 638s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 638s # if (_ret == NULL) 638s # goto _out; 638s # g_variant_get (_ret, 638s # "(s)", 638s # out_arg_s); 638s # g_variant_unref (_ret); 638s # _out: 638s # return _ret != NULL; 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_call_single_arg_method_s_sync: 638s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 638s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @error: Return location for error or %NULL. 638s # * 638s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 638s # * 638s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 638s # * 638s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 638s # */ 638s # gboolean 638s # org_project_useful_interface_call_single_arg_method_s_sync ( 638s # OrgProjectUsefulInterface *proxy, 638s # gchar **out_arg_s, 638s # GCancellable *cancellable, 638s # GError **error) 638s # { 638s # GVariant *_ret; 638s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 638s # "SingleArgMethodS", 638s # g_variant_new ("()"), 638s # G_DBUS_CALL_FLAGS_NONE, 638s # -1, 638s # cancellable, 638s # error); 638s # if (_ret == NULL) 638s # goto _out; 638s # g_variant_get (_ret, 638s # "(s)", 638s # out_arg_s); 638s # g_variant_unref (_ret); 638s # _out: 638s # return _ret != NULL; 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_complete_single_arg_method_s: 638s # * @object: A #OrgProjectUsefulInterface. 638s # * @invocation: (transfer full): A #GDBusMethodInvocation. 638s # * @arg_s: Parameter to return. 638s # * 638s # * 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. 638s # * 638s # * This method will free @invocation, you cannot use it afterwards. 638s # */ 638s # void 638s # org_project_useful_interface_complete_single_arg_method_s ( 638s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 638s # GDBusMethodInvocation *invocation, 638s # const gchar *arg_s) 638s # { 638s # g_dbus_method_invocation_return_value (invocation, 638s # g_variant_new ("(s)", 638s # arg_s)); 638s # } 638s # 638s # /* ------------------------------------------------------------------------ */ 638s # 638s # /** 638s # * OrgProjectUsefulInterfaceProxy: 638s # * 638s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 638s # */ 638s # 638s # /** 638s # * OrgProjectUsefulInterfaceProxyClass: 638s # * @parent_class: The parent class. 638s # * 638s # * Class structure for #OrgProjectUsefulInterfaceProxy. 638s # */ 638s # 638s # struct _OrgProjectUsefulInterfaceProxyPrivate 638s # { 638s # GData *qdata; 638s # }; 638s # 638s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 638s # 638s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 638s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 638s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 638s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 638s # 638s # #else 638s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 638s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 638s # 638s # #endif 638s # static void 638s # org_project_useful_interface_proxy_finalize (GObject *object) 638s # { 638s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 638s # g_datalist_clear (&proxy->priv->qdata); 638s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 638s # guint prop_id G_GNUC_UNUSED, 638s # GValue *value G_GNUC_UNUSED, 638s # GParamSpec *pspec G_GNUC_UNUSED) 638s # { 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 638s # guint prop_id G_GNUC_UNUSED, 638s # const GValue *value G_GNUC_UNUSED, 638s # GParamSpec *pspec G_GNUC_UNUSED) 638s # { 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 638s # const gchar *sender_name G_GNUC_UNUSED, 638s # const gchar *signal_name, 638s # GVariant *parameters) 638s # { 638s # _ExtendedGDBusSignalInfo *info; 638s # GVariantIter iter; 638s # GVariant *child; 638s # GValue *paramv; 638s # gsize num_params; 638s # gsize n; 638s # guint signal_id; 638s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 638s # if (info == NULL) 638s # return; 638s # num_params = g_variant_n_children (parameters); 638s # paramv = g_new0 (GValue, num_params + 1); 638s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 638s # g_value_set_object (¶mv[0], proxy); 638s # g_variant_iter_init (&iter, parameters); 638s # n = 1; 638s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 638s # { 638s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 638s # if (arg_info->use_gvariant) 638s # { 638s # g_value_init (¶mv[n], G_TYPE_VARIANT); 638s # g_value_set_variant (¶mv[n], child); 638s # n++; 638s # } 638s # else 638s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 638s # g_variant_unref (child); 638s # } 638s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 638s # g_signal_emitv (paramv, signal_id, 0, NULL); 638s # for (n = 0; n < num_params + 1; n++) 638s # g_value_unset (¶mv[n]); 638s # g_free (paramv); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 638s # GVariant *changed_properties, 638s # const gchar *const *invalidated_properties) 638s # { 638s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 638s # guint n; 638s # const gchar *key; 638s # GVariantIter *iter; 638s # _ExtendedGDBusPropertyInfo *info; 638s # g_variant_get (changed_properties, "a{sv}", &iter); 638s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 638s # { 638s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 638s # g_datalist_remove_data (&proxy->priv->qdata, key); 638s # if (info != NULL) 638s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 638s # } 638s # g_variant_iter_free (iter); 638s # for (n = 0; invalidated_properties[n] != NULL; n++) 638s # { 638s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 638s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 638s # if (info != NULL) 638s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 638s # } 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 638s # { 638s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 638s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 638s # #else 638s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 638s # #endif 638s # 638s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 638s # { 638s # GObjectClass *gobject_class; 638s # GDBusProxyClass *proxy_class; 638s # 638s # gobject_class = G_OBJECT_CLASS (klass); 638s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 638s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 638s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 638s # 638s # proxy_class = G_DBUS_PROXY_CLASS (klass); 638s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 638s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 638s # 638s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 638s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 638s # #endif 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 638s # { 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new: 638s # * @connection: A #GDBusConnection. 638s # * @flags: Flags from the #GDBusProxyFlags enumeration. 638s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 638s # * @object_path: An object path. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 638s # * @user_data: User data to pass to @callback. 638s # * 638s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 638s # * 638s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 638s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 638s # * 638s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 638s # */ 638s # void 638s # org_project_useful_interface_proxy_new ( 638s # GDBusConnection *connection, 638s # GDBusProxyFlags flags, 638s # const gchar *name, 638s # const gchar *object_path, 638s # GCancellable *cancellable, 638s # GAsyncReadyCallback callback, 638s # gpointer user_data) 638s # { 638s # g_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); 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new_finish: 638s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 638s # * @error: Return location for error or %NULL 638s # * 638s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 638s # * 638s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 638s # */ 638s # OrgProjectUsefulInterface * 638s # org_project_useful_interface_proxy_new_finish ( 638s # GAsyncResult *res, 638s # GError **error) 638s # { 638s # GObject *ret; 638s # GObject *source_object; 638s # source_object = g_async_result_get_source_object (res); 638s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 638s # g_object_unref (source_object); 638s # if (ret != NULL) 638s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 638s # else 638s # return NULL; 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new_sync: 638s # * @connection: A #GDBusConnection. 638s # * @flags: Flags from the #GDBusProxyFlags enumeration. 638s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 638s # * @object_path: An object path. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @error: Return location for error or %NULL 638s # * 638s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 638s # * 638s # * The calling thread is blocked until a reply is received. 638s # * 638s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 638s # * 638s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 638s # */ 638s # OrgProjectUsefulInterface * 638s # org_project_useful_interface_proxy_new_sync ( 638s # GDBusConnection *connection, 638s # GDBusProxyFlags flags, 638s # const gchar *name, 638s # const gchar *object_path, 638s # GCancellable *cancellable, 638s # GError **error) 638s # { 638s # GInitable *ret; 638s # 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); 638s # if (ret != NULL) 638s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 638s # else 638s # return NULL; 638s # } 638s # 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new_for_bus: 638s # * @bus_type: A #GBusType. 638s # * @flags: Flags from the #GDBusProxyFlags enumeration. 638s # * @name: A bus name (well-known or unique). 638s # * @object_path: An object path. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 638s # * @user_data: User data to pass to @callback. 638s # * 638s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 638s # * 638s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 638s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 638s # * 638s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 638s # */ 638s # void 638s # org_project_useful_interface_proxy_new_for_bus ( 638s # GBusType bus_type, 638s # GDBusProxyFlags flags, 638s # const gchar *name, 638s # const gchar *object_path, 638s # GCancellable *cancellable, 638s # GAsyncReadyCallback callback, 638s # gpointer user_data) 638s # { 638s # g_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); 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new_for_bus_finish: 638s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 638s # * @error: Return location for error or %NULL 638s # * 638s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 638s # * 638s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 638s # */ 638s # OrgProjectUsefulInterface * 638s # org_project_useful_interface_proxy_new_for_bus_finish ( 638s # GAsyncResult *res, 638s # GError **error) 638s # { 638s # GObject *ret; 638s # GObject *source_object; 638s # source_object = g_async_result_get_source_object (res); 638s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 638s # g_object_unref (source_object); 638s # if (ret != NULL) 638s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 638s # else 638s # return NULL; 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new_for_bus_sync: 638s # * @bus_type: A #GBusType. 638s # * @flags: Flags from the #GDBusProxyFlags enumeration. 638s # * @name: A bus name (well-known or unique). 638s # * @object_path: An object path. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @error: Return location for error or %NULL 638s # * 638s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 638s # * 638s # * The calling thread is blocked until a reply is received. 638s # * 638s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 638s # * 638s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 638s # */ 638s # OrgProjectUsefulInterface * 638s # org_project_useful_interface_proxy_new_for_bus_sync ( 638s # GBusType bus_type, 638s # GDBusProxyFlags flags, 638s # const gchar *name, 638s # const gchar *object_path, 638s # GCancellable *cancellable, 638s # GError **error) 638s # { 638s # GInitable *ret; 638s # 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); 638s # if (ret != NULL) 638s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 638s # else 638s # return NULL; 638s # } 638s # 638s # 638s # /* ------------------------------------------------------------------------ */ 638s # 638s # /** 638s # * OrgProjectUsefulInterfaceSkeleton: 638s # * 638s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 638s # */ 638s # 638s # /** 638s # * OrgProjectUsefulInterfaceSkeletonClass: 638s # * @parent_class: The parent class. 638s # * 638s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 638s # */ 638s # 638s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 638s # { 638s # GValue *properties; 638s # GList *changed_properties; 638s # GSource *changed_properties_idle_source; 638s # GMainContext *context; 638s # GMutex lock; 638s # }; 638s # 638s # static void 638s # _org_project_useful_interface_skeleton_handle_method_call ( 638s # GDBusConnection *connection G_GNUC_UNUSED, 638s # const gchar *sender G_GNUC_UNUSED, 638s # const gchar *object_path G_GNUC_UNUSED, 638s # const gchar *interface_name, 638s # const gchar *method_name, 638s # GVariant *parameters, 638s # GDBusMethodInvocation *invocation, 638s # gpointer user_data) 638s # { 638s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 638s # _ExtendedGDBusMethodInfo *info; 638s # GVariantIter iter; 638s # GVariant *child; 638s # GValue *paramv; 638s # gsize num_params; 638s # guint num_extra; 638s # gsize n; 638s # guint signal_id; 638s # GValue return_value = G_VALUE_INIT; 638s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 638s # g_assert (info != NULL); 638s # num_params = g_variant_n_children (parameters); 638s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 638s # n = 0; 638s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 638s # g_value_set_object (¶mv[n++], skeleton); 638s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 638s # g_value_set_object (¶mv[n++], invocation); 638s # if (info->pass_fdlist) 638s # { 638s # #ifdef G_OS_UNIX 638s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 638s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 638s # #else 638s # g_assert_not_reached (); 638s # #endif 638s # } 638s # g_variant_iter_init (&iter, parameters); 638s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 638s # { 638s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 638s # if (arg_info->use_gvariant) 638s # { 638s # g_value_init (¶mv[n], G_TYPE_VARIANT); 638s # g_value_set_variant (¶mv[n], child); 638s # n++; 638s # } 638s # else 638s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 638s # g_variant_unref (child); 638s # } 638s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 638s # g_value_init (&return_value, G_TYPE_BOOLEAN); 638s # g_signal_emitv (paramv, signal_id, 0, &return_value); 638s # if (!g_value_get_boolean (&return_value)) 638s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 638s # g_value_unset (&return_value); 638s # for (n = 0; n < num_params + num_extra; n++) 638s # g_value_unset (¶mv[n]); 638s # g_free (paramv); 638s # } 638s # 638s # static GVariant * 638s # _org_project_useful_interface_skeleton_handle_get_property ( 638s # GDBusConnection *connection G_GNUC_UNUSED, 638s # const gchar *sender G_GNUC_UNUSED, 638s # const gchar *object_path G_GNUC_UNUSED, 638s # const gchar *interface_name G_GNUC_UNUSED, 638s # const gchar *property_name, 638s # GError **error, 638s # gpointer user_data) 638s # { 638s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 638s # GValue value = G_VALUE_INIT; 638s # GParamSpec *pspec; 638s # _ExtendedGDBusPropertyInfo *info; 638s # GVariant *ret; 638s # ret = NULL; 638s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 638s # g_assert (info != NULL); 638s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 638s # if (pspec == NULL) 638s # { 638s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 638s # } 638s # else 638s # { 638s # g_value_init (&value, pspec->value_type); 638s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 638s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 638s # g_value_unset (&value); 638s # } 638s # return ret; 638s # } 638s # 638s # static gboolean 638s # _org_project_useful_interface_skeleton_handle_set_property ( 638s # GDBusConnection *connection G_GNUC_UNUSED, 638s # const gchar *sender G_GNUC_UNUSED, 638s # const gchar *object_path G_GNUC_UNUSED, 638s # const gchar *interface_name G_GNUC_UNUSED, 638s # const gchar *property_name, 638s # GVariant *variant, 638s # GError **error, 638s # gpointer user_data) 638s # { 638s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 638s # GValue value = G_VALUE_INIT; 638s # GParamSpec *pspec; 638s # _ExtendedGDBusPropertyInfo *info; 638s # gboolean ret; 638s # ret = FALSE; 638s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 638s # g_assert (info != NULL); 638s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 638s # if (pspec == NULL) 638s # { 638s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 638s # } 638s # else 638s # { 638s # if (info->use_gvariant) 638s # g_value_set_variant (&value, variant); 638s # else 638s # g_dbus_gvariant_to_gvalue (variant, &value); 638s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 638s # g_value_unset (&value); 638s # ret = TRUE; 638s # } 638s # return ret; 638s # } 638s # 638s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 638s # { 638s # _org_project_useful_interface_skeleton_handle_method_call, 638s # _org_project_useful_interface_skeleton_handle_get_property, 638s # _org_project_useful_interface_skeleton_handle_set_property, 638s # {NULL} 638s # }; 638s # 638s # static GDBusInterfaceInfo * 638s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 638s # { 638s # return org_project_useful_interface_interface_info (); 638s # } 638s # 638s # static GDBusInterfaceVTable * 638s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 638s # { 638s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 638s # } 638s # 638s # static GVariant * 638s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 638s # { 638s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 638s # 638s # GVariantBuilder builder; 638s # guint n; 638s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 638s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 638s # goto out; 638s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 638s # { 638s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 638s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 638s # { 638s # GVariant *value; 638s # 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); 638s # if (value != NULL) 638s # { 638s # g_variant_take_ref (value); 638s # g_variant_builder_add (&builder, "{sv}", info->name, value); 638s # g_variant_unref (value); 638s # } 638s # } 638s # } 638s # out: 638s # return g_variant_builder_end (&builder); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 638s # { 638s # } 638s # 638s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 638s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 638s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 638s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 638s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 638s # 638s # #else 638s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 638s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 638s # 638s # #endif 638s # static void 638s # org_project_useful_interface_skeleton_finalize (GObject *object) 638s # { 638s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 638s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 638s # if (skeleton->priv->changed_properties_idle_source != NULL) 638s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 638s # g_main_context_unref (skeleton->priv->context); 638s # g_mutex_clear (&skeleton->priv->lock); 638s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 638s # { 638s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 638s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 638s # #else 638s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 638s # #endif 638s # 638s # g_mutex_init (&skeleton->priv->lock); 638s # skeleton->priv->context = g_main_context_ref_thread_default (); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 638s # { 638s # GObjectClass *gobject_class; 638s # GDBusInterfaceSkeletonClass *skeleton_class; 638s # 638s # gobject_class = G_OBJECT_CLASS (klass); 638s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 638s # 638s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 638s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 638s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 638s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 638s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 638s # 638s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 638s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 638s # #endif 638s # } 638s # 638s # static void 638s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 638s # { 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_skeleton_new: 638s # * 638s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 638s # * 638s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 638s # */ 638s # OrgProjectUsefulInterface * 638s # org_project_useful_interface_skeleton_new (void) 638s # { 638s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 638s # } 638s # /tmp/tmpp9t62ouk/tmpao6jfx75.xml: 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp9t62ouk/tmpao6jfx75.xml', '--output', '-', '--body'] 638s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 638s # Output: /* 638s # * This file is generated by gdbus-codegen, do not modify it. 638s # * 638s # * The license of this code is the same as for the D-Bus interface description 638s # * it was derived from. Note that it links to GLib, so must comply with the 638s # * LGPL linking clauses. 638s # */ 638s # 638s # #ifdef HAVE_CONFIG_H 638s # # include "config.h" 638s # #endif 638s # 638s # #include 638s # #ifdef G_OS_UNIX 638s # # include 638s # #endif 638s # 638s # #ifdef G_ENABLE_DEBUG 638s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 638s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 638s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 638s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 638s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 638s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 638s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 638s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 638s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 638s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 638s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 638s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 638s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 638s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 638s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 638s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 638s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 638s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 638s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 638s # #else /* !G_ENABLE_DEBUG */ 638s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 638s # * Do not access GValues directly in your code. Instead, use the 638s # * g_value_get_*() functions 638s # */ 638s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 638s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 638s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 638s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 638s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 638s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 638s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 638s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 638s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 638s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 638s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 638s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 638s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 638s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 638s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 638s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 638s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 638s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 638s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 638s # #endif /* !G_ENABLE_DEBUG */ 638s # 638s # typedef struct 638s # { 638s # GDBusArgInfo parent_struct; 638s # gboolean use_gvariant; 638s # } _ExtendedGDBusArgInfo; 638s # 638s # typedef struct 638s # { 638s # GDBusMethodInfo parent_struct; 638s # const gchar *signal_name; 638s # gboolean pass_fdlist; 638s # } _ExtendedGDBusMethodInfo; 638s # 638s # typedef struct 638s # { 638s # GDBusSignalInfo parent_struct; 638s # const gchar *signal_name; 638s # } _ExtendedGDBusSignalInfo; 638s # 638s # typedef struct 638s # { 638s # GDBusPropertyInfo parent_struct; 638s # const gchar *hyphen_name; 638s # guint use_gvariant : 1; 638s # guint emits_changed_signal : 1; 638s # } _ExtendedGDBusPropertyInfo; 638s # 638s # typedef struct 638s # { 638s # GDBusInterfaceInfo parent_struct; 638s # const gchar *hyphen_name; 638s # } _ExtendedGDBusInterfaceInfo; 638s # 638s # typedef struct 638s # { 638s # const _ExtendedGDBusPropertyInfo *info; 638s # guint prop_id; 638s # GValue orig_value; /* the value before the change */ 638s # } ChangedProperty; 638s # 638s # static void 638s # _changed_property_free (ChangedProperty *data) 638s # { 638s # g_value_unset (&data->orig_value); 638s # g_free (data); 638s # } 638s # 638s # static gboolean 638s # _g_strv_equal0 (gchar **a, gchar **b) 638s # { 638s # gboolean ret = FALSE; 638s # guint n; 638s # if (a == NULL && b == NULL) 638s # { 638s # ret = TRUE; 638s # goto out; 638s # } 638s # if (a == NULL || b == NULL) 638s # goto out; 638s # if (g_strv_length (a) != g_strv_length (b)) 638s # goto out; 638s # for (n = 0; a[n] != NULL; n++) 638s # if (g_strcmp0 (a[n], b[n]) != 0) 638s # goto out; 638s # ret = TRUE; 638s # out: 638s # return ret; 638s # } 638s # 638s # static gboolean 638s # _g_variant_equal0 (GVariant *a, GVariant *b) 638s # { 638s # gboolean ret = FALSE; 638s # if (a == NULL && b == NULL) 638s # { 638s # ret = TRUE; 638s # goto out; 638s # } 638s # if (a == NULL || b == NULL) 638s # goto out; 638s # ret = g_variant_equal (a, b); 638s # out: 638s # return ret; 638s # } 638s # 638s # G_GNUC_UNUSED static gboolean 638s # _g_value_equal (const GValue *a, const GValue *b) 638s # { 638s # gboolean ret = FALSE; 638s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 638s # switch (G_VALUE_TYPE (a)) 638s # { 638s # case G_TYPE_BOOLEAN: 638s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 638s # break; 638s # case G_TYPE_UCHAR: 638s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 638s # break; 638s # case G_TYPE_INT: 638s # ret = (g_value_get_int (a) == g_value_get_int (b)); 638s # break; 638s # case G_TYPE_UINT: 638s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 638s # break; 638s # case G_TYPE_INT64: 638s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 638s # break; 638s # case G_TYPE_UINT64: 638s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 638s # break; 638s # case G_TYPE_DOUBLE: 638s # { 638s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 638s # gdouble da = g_value_get_double (a); 638s # gdouble db = g_value_get_double (b); 638s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 638s # } 638s # break; 638s # case G_TYPE_STRING: 638s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 638s # break; 638s # case G_TYPE_VARIANT: 638s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 638s # break; 638s # default: 638s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 638s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 638s # else 638s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 638s # break; 638s # } 638s # return ret; 638s # } 638s # 638s # static void 638s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 638s # GClosure *closure, 638s # GValue *return_value, 638s # unsigned int n_param_values, 638s # const GValue *param_values, 638s # void *invocation_hint G_GNUC_UNUSED, 638s # void *marshal_data) 638s # { 638s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 638s # (void *data1, 638s # GDBusMethodInvocation *arg_method_invocation, 638s # void *data2); 638s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 638s # GCClosure *cc = (GCClosure*) closure; 638s # void *data1, *data2; 638s # gboolean v_return; 638s # 638s # g_return_if_fail (return_value != NULL); 638s # g_return_if_fail (n_param_values == 2); 638s # 638s # if (G_CCLOSURE_SWAP_DATA (closure)) 638s # { 638s # data1 = closure->data; 638s # data2 = g_value_peek_pointer (param_values + 0); 638s # } 638s # else 638s # { 638s # data1 = g_value_peek_pointer (param_values + 0); 638s # data2 = closure->data; 638s # } 638s # 638s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 638s # (marshal_data ? marshal_data : cc->callback); 638s # 638s # v_return = 638s # callback (data1, 638s # g_marshal_value_peek_object (param_values + 1), 638s # data2); 638s # 638s # g_value_set_boolean (return_value, v_return); 638s # } 638s # 638s # /* ------------------------------------------------------------------------ 638s # * Code for interface org.project.UsefulInterface 638s # * ------------------------------------------------------------------------ 638s # */ 638s # 638s # /** 638s # * SECTION:OrgProjectUsefulInterface 638s # * @title: OrgProjectUsefulInterface 638s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 638s # * 638s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 638s # */ 638s # 638s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 638s # 638s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 638s # { 638s # { 638s # -1, 638s # (gchar *) "arg_o", 638s # (gchar *) "o", 638s # NULL 638s # }, 638s # FALSE 638s # }; 638s # 638s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 638s # { 638s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 638s # NULL 638s # }; 638s # 638s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 638s # { 638s # { 638s # -1, 638s # (gchar *) "SingleArgMethodO", 638s # NULL, 638s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 638s # NULL 638s # }, 638s # "handle-single-arg-method-o", 638s # FALSE 638s # }; 638s # 638s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 638s # { 638s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 638s # NULL 638s # }; 638s # 638s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 638s # { 638s # { 638s # -1, 638s # (gchar *) "org.project.UsefulInterface", 638s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 638s # NULL, 638s # NULL, 638s # NULL 638s # }, 638s # "org-project-useful-interface", 638s # }; 638s # 638s # 638s # /** 638s # * org_project_useful_interface_interface_info: 638s # * 638s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 638s # * 638s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 638s # */ 638s # GDBusInterfaceInfo * 638s # org_project_useful_interface_interface_info (void) 638s # { 638s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_override_properties: 638s # * @klass: The class structure for a #GObject derived class. 638s # * @property_id_begin: The property id to assign to the first overridden property. 638s # * 638s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 638s # * The properties are overridden in the order they are defined. 638s # * 638s # * Returns: The last property id. 638s # */ 638s # guint 638s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 638s # { 638s # return property_id_begin - 1; 638s # } 638s # 638s # 638s # inline static void 638s # org_project_useful_interface_method_marshal_single_arg_method_o ( 638s # GClosure *closure, 638s # GValue *return_value, 638s # unsigned int n_param_values, 638s # const GValue *param_values, 638s # void *invocation_hint, 638s # void *marshal_data) 638s # { 638s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 638s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 638s # } 638s # 638s # 638s # /** 638s # * OrgProjectUsefulInterface: 638s # * 638s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 638s # */ 638s # 638s # /** 638s # * OrgProjectUsefulInterfaceIface: 638s # * @parent_iface: The parent interface. 638s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 638s # * 638s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 638s # */ 638s # 638s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 638s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 638s # 638s # static void 638s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 638s # { 638s # /* GObject signals for incoming D-Bus method calls: */ 638s # /** 638s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 638s # * @object: A #OrgProjectUsefulInterface. 638s # * @invocation: A #GDBusMethodInvocation. 638s # * 638s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 638s # * 638s # * 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. 638s # * 638s # * 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. 638s # */ 638s # g_signal_new ("handle-single-arg-method-o", 638s # G_TYPE_FROM_INTERFACE (iface), 638s # G_SIGNAL_RUN_LAST, 638s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 638s # g_signal_accumulator_true_handled, 638s # NULL, 638s # org_project_useful_interface_method_marshal_single_arg_method_o, 638s # G_TYPE_BOOLEAN, 638s # 1, 638s # G_TYPE_DBUS_METHOD_INVOCATION); 638s # 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_call_single_arg_method_o: 638s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 638s # * @user_data: User data to pass to @callback. 638s # * 638s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 638s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 638s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 638s # * 638s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 638s # */ 638s # void 638s # org_project_useful_interface_call_single_arg_method_o ( 638s # OrgProjectUsefulInterface *proxy, 638s # GCancellable *cancellable, 638s # GAsyncReadyCallback callback, 638s # gpointer user_data) 638s # { 638s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 638s # "SingleArgMethodO", 638s # g_variant_new ("()"), 638s # G_DBUS_CALL_FLAGS_NONE, 638s # -1, 638s # cancellable, 638s # callback, 638s # user_data); 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_call_single_arg_method_o_finish: 638s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 638s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 638s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 638s # * @error: Return location for error or %NULL. 638s # * 638s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 638s # * 638s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 638s # */ 638s # gboolean 638s # org_project_useful_interface_call_single_arg_method_o_finish ( 638s # OrgProjectUsefulInterface *proxy, 638s # gchar **out_arg_o, 638s # GAsyncResult *res, 638s # GError **error) 638s # { 638s # GVariant *_ret; 638s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 638s # if (_ret == NULL) 638s # goto _out; 638s # g_variant_get (_ret, 638s # "(o)", 638s # out_arg_o); 638s # g_variant_unref (_ret); 638s # _out: 638s # return _ret != NULL; 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_call_single_arg_method_o_sync: 638s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 638s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @error: Return location for error or %NULL. 638s # * 638s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 638s # * 638s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 638s # * 638s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 638s # */ 638s # gboolean 638s # org_project_useful_interface_call_single_arg_method_o_sync ( 638s # OrgProjectUsefulInterface *proxy, 638s # gchar **out_arg_o, 638s # GCancellable *cancellable, 638s # GError **error) 638s # { 638s # GVariant *_ret; 638s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 638s # "SingleArgMethodO", 638s # g_variant_new ("()"), 638s # G_DBUS_CALL_FLAGS_NONE, 638s # -1, 638s # cancellable, 638s # error); 638s # if (_ret == NULL) 638s # goto _out; 638s # g_variant_get (_ret, 638s # "(o)", 638s # out_arg_o); 638s # g_variant_unref (_ret); 638s # _out: 638s # return _ret != NULL; 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_complete_single_arg_method_o: 638s # * @object: A #OrgProjectUsefulInterface. 638s # * @invocation: (transfer full): A #GDBusMethodInvocation. 638s # * @arg_o: Parameter to return. 638s # * 638s # * 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. 638s # * 638s # * This method will free @invocation, you cannot use it afterwards. 638s # */ 638s # void 638s # org_project_useful_interface_complete_single_arg_method_o ( 638s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 638s # GDBusMethodInvocation *invocation, 638s # const gchar *arg_o) 638s # { 638s # g_dbus_method_invocation_return_value (invocation, 638s # g_variant_new ("(o)", 638s # arg_o)); 638s # } 638s # 638s # /* ------------------------------------------------------------------------ */ 638s # 638s # /** 638s # * OrgProjectUsefulInterfaceProxy: 638s # * 638s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 638s # */ 638s # 638s # /** 638s # * OrgProjectUsefulInterfaceProxyClass: 638s # * @parent_class: The parent class. 638s # * 638s # * Class structure for #OrgProjectUsefulInterfaceProxy. 638s # */ 638s # 638s # struct _OrgProjectUsefulInterfaceProxyPrivate 638s # { 638s # GData *qdata; 638s # }; 638s # 638s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 638s # 638s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 638s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 638s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 638s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 638s # 638s # #else 638s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 638s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 638s # 638s # #endif 638s # static void 638s # org_project_useful_interface_proxy_finalize (GObject *object) 638s # { 638s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 638s # g_datalist_clear (&proxy->priv->qdata); 638s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 638s # guint prop_id G_GNUC_UNUSED, 638s # GValue *value G_GNUC_UNUSED, 638s # GParamSpec *pspec G_GNUC_UNUSED) 638s # { 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 638s # guint prop_id G_GNUC_UNUSED, 638s # const GValue *value G_GNUC_UNUSED, 638s # GParamSpec *pspec G_GNUC_UNUSED) 638s # { 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 638s # const gchar *sender_name G_GNUC_UNUSED, 638s # const gchar *signal_name, 638s # GVariant *parameters) 638s # { 638s # _ExtendedGDBusSignalInfo *info; 638s # GVariantIter iter; 638s # GVariant *child; 638s # GValue *paramv; 638s # gsize num_params; 638s # gsize n; 638s # guint signal_id; 638s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 638s # if (info == NULL) 638s # return; 638s # num_params = g_variant_n_children (parameters); 638s # paramv = g_new0 (GValue, num_params + 1); 638s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 638s # g_value_set_object (¶mv[0], proxy); 638s # g_variant_iter_init (&iter, parameters); 638s # n = 1; 638s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 638s # { 638s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 638s # if (arg_info->use_gvariant) 638s # { 638s # g_value_init (¶mv[n], G_TYPE_VARIANT); 638s # g_value_set_variant (¶mv[n], child); 638s # n++; 638s # } 638s # else 638s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 638s # g_variant_unref (child); 638s # } 638s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 638s # g_signal_emitv (paramv, signal_id, 0, NULL); 638s # for (n = 0; n < num_params + 1; n++) 638s # g_value_unset (¶mv[n]); 638s # g_free (paramv); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 638s # GVariant *changed_properties, 638s # const gchar *const *invalidated_properties) 638s # { 638s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 638s # guint n; 638s # const gchar *key; 638s # GVariantIter *iter; 638s # _ExtendedGDBusPropertyInfo *info; 638s # g_variant_get (changed_properties, "a{sv}", &iter); 638s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 638s # { 638s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 638s # g_datalist_remove_data (&proxy->priv->qdata, key); 638s # if (info != NULL) 638s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 638s # } 638s # g_variant_iter_free (iter); 638s # for (n = 0; invalidated_properties[n] != NULL; n++) 638s # { 638s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 638s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 638s # if (info != NULL) 638s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 638s # } 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 638s # { 638s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 638s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 638s # #else 638s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 638s # #endif 638s # 638s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 638s # { 638s # GObjectClass *gobject_class; 638s # GDBusProxyClass *proxy_class; 638s # 638s # gobject_class = G_OBJECT_CLASS (klass); 638s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 638s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 638s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 638s # 638s # proxy_class = G_DBUS_PROXY_CLASS (klass); 638s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 638s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 638s # 638s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 638s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 638s # #endif 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 638s # { 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new: 638s # * @connection: A #GDBusConnection. 638s # * @flags: Flags from the #GDBusProxyFlags enumeration. 638s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 638s # * @object_path: An object path. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 638s # * @user_data: User data to pass to @callback. 638s # * 638s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 638s # * 638s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 638s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 638s # * 638s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 638s # */ 638s # void 638s # org_project_useful_interface_proxy_new ( 638s # GDBusConnection *connection, 638s # GDBusProxyFlags flags, 638s # const gchar *name, 638s # const gchar *object_path, 638s # GCancellable *cancellable, 638s # GAsyncReadyCallback callback, 638s # gpointer user_data) 638s # { 638s # g_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); 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new_finish: 638s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 638s # * @error: Return location for error or %NULL 638s # * 638s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 638s # * 638s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 638s # */ 638s # OrgProjectUsefulInterface * 638s # org_project_useful_interface_proxy_new_finish ( 638s # GAsyncResult *res, 638s # GError **error) 638s # { 638s # GObject *ret; 638s # GObject *source_object; 638s # source_object = g_async_result_get_source_object (res); 638s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 638s # g_object_unref (source_object); 638s # if (ret != NULL) 638s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 638s # else 638s # return NULL; 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new_sync: 638s # * @connection: A #GDBusConnection. 638s # * @flags: Flags from the #GDBusProxyFlags enumeration. 638s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 638s # * @object_path: An object path. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @error: Return location for error or %NULL 638s # * 638s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 638s # * 638s # * The calling thread is blocked until a reply is received. 638s # * 638s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 638s # * 638s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 638s # */ 638s # OrgProjectUsefulInterface * 638s # org_project_useful_interface_proxy_new_sync ( 638s # GDBusConnection *connection, 638s # GDBusProxyFlags flags, 638s # const gchar *name, 638s # const gchar *object_path, 638s # GCancellable *cancellable, 638s # GError **error) 638s # { 638s # GInitable *ret; 638s # 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); 638s # if (ret != NULL) 638s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 638s # else 638s # return NULL; 638s # } 638s # 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new_for_bus: 638s # * @bus_type: A #GBusType. 638s # * @flags: Flags from the #GDBusProxyFlags enumeration. 638s # * @name: A bus name (well-known or unique). 638s # * @object_path: An object path. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 638s # * @user_data: User data to pass to @callback. 638s # * 638s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 638s # * 638s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 638s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 638s # * 638s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 638s # */ 638s # void 638s # org_project_useful_interface_proxy_new_for_bus ( 638s # GBusType bus_type, 638s # GDBusProxyFlags flags, 638s # const gchar *name, 638s # const gchar *object_path, 638s # GCancellable *cancellable, 638s # GAsyncReadyCallback callback, 638s # gpointer user_data) 638s # { 638s # g_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); 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new_for_bus_finish: 638s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 638s # * @error: Return location for error or %NULL 638s # * 638s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 638s # * 638s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 638s # */ 638s # OrgProjectUsefulInterface * 638s # org_project_useful_interface_proxy_new_for_bus_finish ( 638s # GAsyncResult *res, 638s # GError **error) 638s # { 638s # GObject *ret; 638s # GObject *source_object; 638s # source_object = g_async_result_get_source_object (res); 638s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 638s # g_object_unref (source_object); 638s # if (ret != NULL) 638s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 638s # else 638s # return NULL; 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new_for_bus_sync: 638s # * @bus_type: A #GBusType. 638s # * @flags: Flags from the #GDBusProxyFlags enumeration. 638s # * @name: A bus name (well-known or unique). 638s # * @object_path: An object path. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @error: Return location for error or %NULL 638s # * 638s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 638s # * 638s # * The calling thread is blocked until a reply is received. 638s # * 638s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 638s # * 638s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 638s # */ 638s # OrgProjectUsefulInterface * 638s # org_project_useful_interface_proxy_new_for_bus_sync ( 638s # GBusType bus_type, 638s # GDBusProxyFlags flags, 638s # const gchar *name, 638s # const gchar *object_path, 638s # GCancellable *cancellable, 638s # GError **error) 638s # { 638s # GInitable *ret; 638s # 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); 638s # if (ret != NULL) 638s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 638s # else 638s # return NULL; 638s # } 638s # 638s # 638s # /* ------------------------------------------------------------------------ */ 638s # 638s # /** 638s # * OrgProjectUsefulInterfaceSkeleton: 638s # * 638s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 638s # */ 638s # 638s # /** 638s # * OrgProjectUsefulInterfaceSkeletonClass: 638s # * @parent_class: The parent class. 638s # * 638s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 638s # */ 638s # 638s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 638s # { 638s # GValue *properties; 638s # GList *changed_properties; 638s # GSource *changed_properties_idle_source; 638s # GMainContext *context; 638s # GMutex lock; 638s # }; 638s # 638s # static void 638s # _org_project_useful_interface_skeleton_handle_method_call ( 638s # GDBusConnection *connection G_GNUC_UNUSED, 638s # const gchar *sender G_GNUC_UNUSED, 638s # const gchar *object_path G_GNUC_UNUSED, 638s # const gchar *interface_name, 638s # const gchar *method_name, 638s # GVariant *parameters, 638s # GDBusMethodInvocation *invocation, 638s # gpointer user_data) 638s # { 638s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 638s # _ExtendedGDBusMethodInfo *info; 638s # GVariantIter iter; 638s # GVariant *child; 638s # GValue *paramv; 638s # gsize num_params; 638s # guint num_extra; 638s # gsize n; 638s # guint signal_id; 638s # GValue return_value = G_VALUE_INIT; 638s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 638s # g_assert (info != NULL); 638s # num_params = g_variant_n_children (parameters); 638s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 638s # n = 0; 638s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 638s # g_value_set_object (¶mv[n++], skeleton); 638s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 638s # g_value_set_object (¶mv[n++], invocation); 638s # if (info->pass_fdlist) 638s # { 638s # #ifdef G_OS_UNIX 638s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 638s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 638s # #else 638s # g_assert_not_reached (); 638s # #endif 638s # } 638s # g_variant_iter_init (&iter, parameters); 638s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 638s # { 638s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 638s # if (arg_info->use_gvariant) 638s # { 638s # g_value_init (¶mv[n], G_TYPE_VARIANT); 638s # g_value_set_variant (¶mv[n], child); 638s # n++; 638s # } 638s # else 638s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 638s # g_variant_unref (child); 638s # } 638s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 638s # g_value_init (&return_value, G_TYPE_BOOLEAN); 638s # g_signal_emitv (paramv, signal_id, 0, &return_value); 638s # if (!g_value_get_boolean (&return_value)) 638s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 638s # g_value_unset (&return_value); 638s # for (n = 0; n < num_params + num_extra; n++) 638s # g_value_unset (¶mv[n]); 638s # g_free (paramv); 638s # } 638s # 638s # static GVariant * 638s # _org_project_useful_interface_skeleton_handle_get_property ( 638s # GDBusConnection *connection G_GNUC_UNUSED, 638s # const gchar *sender G_GNUC_UNUSED, 638s # const gchar *object_path G_GNUC_UNUSED, 638s # const gchar *interface_name G_GNUC_UNUSED, 638s # const gchar *property_name, 638s # GError **error, 638s # gpointer user_data) 638s # { 638s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 638s # GValue value = G_VALUE_INIT; 638s # GParamSpec *pspec; 638s # _ExtendedGDBusPropertyInfo *info; 638s # GVariant *ret; 638s # ret = NULL; 638s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 638s # g_assert (info != NULL); 638s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 638s # if (pspec == NULL) 638s # { 638s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 638s # } 638s # else 638s # { 638s # g_value_init (&value, pspec->value_type); 638s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 638s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 638s # g_value_unset (&value); 638s # } 638s # return ret; 638s # } 638s # 638s # static gboolean 638s # _org_project_useful_interface_skeleton_handle_set_property ( 638s # GDBusConnection *connection G_GNUC_UNUSED, 638s # const gchar *sender G_GNUC_UNUSED, 638s # const gchar *object_path G_GNUC_UNUSED, 638s # const gchar *interface_name G_GNUC_UNUSED, 638s # const gchar *property_name, 638s # GVariant *variant, 638s # GError **error, 638s # gpointer user_data) 638s # { 638s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 638s # GValue value = G_VALUE_INIT; 638s # GParamSpec *pspec; 638s # _ExtendedGDBusPropertyInfo *info; 638s # gboolean ret; 638s # ret = FALSE; 638s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 638s # g_assert (info != NULL); 638s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 638s # if (pspec == NULL) 638s # { 638s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 638s # } 638s # else 638s # { 638s # if (info->use_gvariant) 638s # g_value_set_variant (&value, variant); 638s # else 638s # g_dbus_gvariant_to_gvalue (variant, &value); 638s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 638s # g_value_unset (&value); 638s # ret = TRUE; 638s # } 638s # return ret; 638s # } 638s # 638s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 638s # { 638s # _org_project_useful_interface_skeleton_handle_method_call, 638s # _org_project_useful_interface_skeleton_handle_get_property, 638s # _org_project_useful_interface_skeleton_handle_set_property, 638s # {NULL} 638s # }; 638s # 638s # static GDBusInterfaceInfo * 638s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 638s # { 638s # return org_project_useful_interface_interface_info (); 638s # } 638s # 638s # static GDBusInterfaceVTable * 638s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 638s # { 638s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 638s # } 638s # 638s # static GVariant * 638s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 638s # { 638s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 638s # 638s # GVariantBuilder builder; 638s # guint n; 638s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 638s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 638s # goto out; 638s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 638s # { 638s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 638s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 638s # { 638s # GVariant *value; 638s # 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); 638s # if (value != NULL) 638s # { 638s # g_variant_take_ref (value); 638s # g_variant_builder_add (&builder, "{sv}", info->name, value); 638s # g_variant_unref (value); 638s # } 638s # } 638s # } 638s # out: 638s # return g_variant_builder_end (&builder); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 638s # { 638s # } 638s # 638s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 638s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 638s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 638s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 638s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 638s # 638s # #else 638s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 638s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 638s # 638s # #endif 638s # static void 638s # org_project_useful_interface_skeleton_finalize (GObject *object) 638s # { 638s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 638s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 638s # if (skeleton->priv->changed_properties_idle_source != NULL) 638s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 638s # g_main_context_unref (skeleton->priv->context); 638s # g_mutex_clear (&skeleton->priv->lock); 638s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 638s # { 638s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 638s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 638s # #else 638s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 638s # #endif 638s # 638s # g_mutex_init (&skeleton->priv->lock); 638s # skeleton->priv->context = g_main_context_ref_thread_default (); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 638s # { 638s # GObjectClass *gobject_class; 638s # GDBusInterfaceSkeletonClass *skeleton_class; 638s # 638s # gobject_class = G_OBJECT_CLASS (klass); 638s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 638s # 638s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 638s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 638s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 638s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 638s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 638s # 638s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 638s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 638s # #endif 638s # } 638s # 638s # static void 638s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 638s # { 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_skeleton_new: 638s # * 638s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 638s # * 638s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 638s # */ 638s # OrgProjectUsefulInterface * 638s # org_project_useful_interface_skeleton_new (void) 638s # { 638s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 638s # } 638s # /tmp/tmpp9t62ouk/tmpk2_u2hi6.xml: 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp9t62ouk/tmpk2_u2hi6.xml', '--output', '-', '--body'] 638s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 638s # Output: /* 638s # * This file is generated by gdbus-codegen, do not modify it. 638s # * 638s # * The license of this code is the same as for the D-Bus interface description 638s # * it was derived from. Note that it links to GLib, so must comply with the 638s # * LGPL linking clauses. 638s # */ 638s # 638s # #ifdef HAVE_CONFIG_H 638s # # include "config.h" 638s # #endif 638s # 638s # #include 638s # #ifdef G_OS_UNIX 638s # # include 638s # #endif 638s # 638s # #ifdef G_ENABLE_DEBUG 638s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 638s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 638s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 638s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 638s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 638s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 638s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 638s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 638s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 638s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 638s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 638s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 638s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 638s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 638s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 638s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 638s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 638s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 638s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 638s # #else /* !G_ENABLE_DEBUG */ 638s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 638s # * Do not access GValues directly in your code. Instead, use the 638s # * g_value_get_*() functions 638s # */ 638s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 638s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 638s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 638s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 638s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 638s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 638s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 638s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 638s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 638s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 638s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 638s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 638s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 638s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 638s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 638s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 638s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 638s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 638s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 638s # #endif /* !G_ENABLE_DEBUG */ 638s # 638s # typedef struct 638s # { 638s # GDBusArgInfo parent_struct; 638s # gboolean use_gvariant; 638s # } _ExtendedGDBusArgInfo; 638s # 638s # typedef struct 638s # { 638s # GDBusMethodInfo parent_struct; 638s # const gchar *signal_name; 638s # gboolean pass_fdlist; 638s # } _ExtendedGDBusMethodInfo; 638s # 638s # typedef struct 638s # { 638s # GDBusSignalInfo parent_struct; 638s # const gchar *signal_name; 638s # } _ExtendedGDBusSignalInfo; 638s # 638s # typedef struct 638s # { 638s # GDBusPropertyInfo parent_struct; 638s # const gchar *hyphen_name; 638s # guint use_gvariant : 1; 638s # guint emits_changed_signal : 1; 638s # } _ExtendedGDBusPropertyInfo; 638s # 638s # typedef struct 638s # { 638s # GDBusInterfaceInfo parent_struct; 638s # const gchar *hyphen_name; 638s # } _ExtendedGDBusInterfaceInfo; 638s # 638s # typedef struct 638s # { 638s # const _ExtendedGDBusPropertyInfo *info; 638s # guint prop_id; 638s # GValue orig_value; /* the value before the change */ 638s # } ChangedProperty; 638s # 638s # static void 638s # _changed_property_free (ChangedProperty *data) 638s # { 638s # g_value_unset (&data->orig_value); 638s # g_free (data); 638s # } 638s # 638s # static gboolean 638s # _g_strv_equal0 (gchar **a, gchar **b) 638s # { 638s # gboolean ret = FALSE; 638s # guint n; 638s # if (a == NULL && b == NULL) 638s # { 638s # ret = TRUE; 638s # goto out; 638s # } 638s # if (a == NULL || b == NULL) 638s # goto out; 638s # if (g_strv_length (a) != g_strv_length (b)) 638s # goto out; 638s # for (n = 0; a[n] != NULL; n++) 638s # if (g_strcmp0 (a[n], b[n]) != 0) 638s # goto out; 638s # ret = TRUE; 638s # out: 638s # return ret; 638s # } 638s # 638s # static gboolean 638s # _g_variant_equal0 (GVariant *a, GVariant *b) 638s # { 638s # gboolean ret = FALSE; 638s # if (a == NULL && b == NULL) 638s # { 638s # ret = TRUE; 638s # goto out; 638s # } 638s # if (a == NULL || b == NULL) 638s # goto out; 638s # ret = g_variant_equal (a, b); 638s # out: 638s # return ret; 638s # } 638s # 638s # G_GNUC_UNUSED static gboolean 638s # _g_value_equal (const GValue *a, const GValue *b) 638s # { 638s # gboolean ret = FALSE; 638s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 638s # switch (G_VALUE_TYPE (a)) 638s # { 638s # case G_TYPE_BOOLEAN: 638s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 638s # break; 638s # case G_TYPE_UCHAR: 638s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 638s # break; 638s # case G_TYPE_INT: 638s # ret = (g_value_get_int (a) == g_value_get_int (b)); 638s # break; 638s # case G_TYPE_UINT: 638s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 638s # break; 638s # case G_TYPE_INT64: 638s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 638s # break; 638s # case G_TYPE_UINT64: 638s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 638s # break; 638s # case G_TYPE_DOUBLE: 638s # { 638s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 638s # gdouble da = g_value_get_double (a); 638s # gdouble db = g_value_get_double (b); 638s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 638s # } 638s # break; 638s # case G_TYPE_STRING: 638s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 638s # break; 638s # case G_TYPE_VARIANT: 638s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 638s # break; 638s # default: 638s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 638s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 638s # else 638s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 638s # break; 638s # } 638s # return ret; 638s # } 638s # 638s # static void 638s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 638s # GClosure *closure, 638s # GValue *return_value, 638s # unsigned int n_param_values, 638s # const GValue *param_values, 638s # void *invocation_hint G_GNUC_UNUSED, 638s # void *marshal_data) 638s # { 638s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 638s # (void *data1, 638s # GDBusMethodInvocation *arg_method_invocation, 638s # void *data2); 638s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 638s # GCClosure *cc = (GCClosure*) closure; 638s # void *data1, *data2; 638s # gboolean v_return; 638s # 638s # g_return_if_fail (return_value != NULL); 638s # g_return_if_fail (n_param_values == 2); 638s # 638s # if (G_CCLOSURE_SWAP_DATA (closure)) 638s # { 638s # data1 = closure->data; 638s # data2 = g_value_peek_pointer (param_values + 0); 638s # } 638s # else 638s # { 638s # data1 = g_value_peek_pointer (param_values + 0); 638s # data2 = closure->data; 638s # } 638s # 638s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 638s # (marshal_data ? marshal_data : cc->callback); 638s # 638s # v_return = 638s # callback (data1, 638s # g_marshal_value_peek_object (param_values + 1), 638s # data2); 638s # 638s # g_value_set_boolean (return_value, v_return); 638s # } 638s # 638s # /* ------------------------------------------------------------------------ 638s # * Code for interface org.project.UsefulInterface 638s # * ------------------------------------------------------------------------ 638s # */ 638s # 638s # /** 638s # * SECTION:OrgProjectUsefulInterface 638s # * @title: OrgProjectUsefulInterface 638s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 638s # * 638s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 638s # */ 638s # 638s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 638s # 638s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 638s # { 638s # { 638s # -1, 638s # (gchar *) "arg_g", 638s # (gchar *) "g", 638s # NULL 638s # }, 638s # FALSE 638s # }; 638s # 638s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 638s # { 638s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 638s # NULL 638s # }; 638s # 638s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 638s # { 638s # { 638s # -1, 638s # (gchar *) "SingleArgMethodG", 638s # NULL, 638s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 638s # NULL 638s # }, 638s # "handle-single-arg-method-g", 638s # FALSE 638s # }; 638s # 638s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 638s # { 638s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 638s # NULL 638s # }; 638s # 638s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 638s # { 638s # { 638s # -1, 638s # (gchar *) "org.project.UsefulInterface", 638s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 638s # NULL, 638s # NULL, 638s # NULL 638s # }, 638s # "org-project-useful-interface", 638s # }; 638s # 638s # 638s # /** 638s # * org_project_useful_interface_interface_info: 638s # * 638s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 638s # * 638s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 638s # */ 638s # GDBusInterfaceInfo * 638s # org_project_useful_interface_interface_info (void) 638s # { 638s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_override_properties: 638s # * @klass: The class structure for a #GObject derived class. 638s # * @property_id_begin: The property id to assign to the first overridden property. 638s # * 638s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 638s # * The properties are overridden in the order they are defined. 638s # * 638s # * Returns: The last property id. 638s # */ 638s # guint 638s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 638s # { 638s # return property_id_begin - 1; 638s # } 638s # 638s # 638s # inline static void 638s # org_project_useful_interface_method_marshal_single_arg_method_g ( 638s # GClosure *closure, 638s # GValue *return_value, 638s # unsigned int n_param_values, 638s # const GValue *param_values, 638s # void *invocation_hint, 638s # void *marshal_data) 638s # { 638s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 638s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 638s # } 638s # 638s # 638s # /** 638s # * OrgProjectUsefulInterface: 638s # * 638s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 638s # */ 638s # 638s # /** 638s # * OrgProjectUsefulInterfaceIface: 638s # * @parent_iface: The parent interface. 638s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 638s # * 638s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 638s # */ 638s # 638s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 638s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 638s # 638s # static void 638s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 638s # { 638s # /* GObject signals for incoming D-Bus method calls: */ 638s # /** 638s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 638s # * @object: A #OrgProjectUsefulInterface. 638s # * @invocation: A #GDBusMethodInvocation. 638s # * 638s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 638s # * 638s # * 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. 638s # * 638s # * 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. 638s # */ 638s # g_signal_new ("handle-single-arg-method-g", 638s # G_TYPE_FROM_INTERFACE (iface), 638s # G_SIGNAL_RUN_LAST, 638s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 638s # g_signal_accumulator_true_handled, 638s # NULL, 638s # org_project_useful_interface_method_marshal_single_arg_method_g, 638s # G_TYPE_BOOLEAN, 638s # 1, 638s # G_TYPE_DBUS_METHOD_INVOCATION); 638s # 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_call_single_arg_method_g: 638s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 638s # * @user_data: User data to pass to @callback. 638s # * 638s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 638s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 638s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 638s # * 638s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 638s # */ 638s # void 638s # org_project_useful_interface_call_single_arg_method_g ( 638s # OrgProjectUsefulInterface *proxy, 638s # GCancellable *cancellable, 638s # GAsyncReadyCallback callback, 638s # gpointer user_data) 638s # { 638s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 638s # "SingleArgMethodG", 638s # g_variant_new ("()"), 638s # G_DBUS_CALL_FLAGS_NONE, 638s # -1, 638s # cancellable, 638s # callback, 638s # user_data); 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_call_single_arg_method_g_finish: 638s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 638s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 638s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 638s # * @error: Return location for error or %NULL. 638s # * 638s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 638s # * 638s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 638s # */ 638s # gboolean 638s # org_project_useful_interface_call_single_arg_method_g_finish ( 638s # OrgProjectUsefulInterface *proxy, 638s # gchar **out_arg_g, 638s # GAsyncResult *res, 638s # GError **error) 638s # { 638s # GVariant *_ret; 638s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 638s # if (_ret == NULL) 638s # goto _out; 638s # g_variant_get (_ret, 638s # "(g)", 638s # out_arg_g); 638s # g_variant_unref (_ret); 638s # _out: 638s # return _ret != NULL; 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_call_single_arg_method_g_sync: 638s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 638s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @error: Return location for error or %NULL. 638s # * 638s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 638s # * 638s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 638s # * 638s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 638s # */ 638s # gboolean 638s # org_project_useful_interface_call_single_arg_method_g_sync ( 638s # OrgProjectUsefulInterface *proxy, 638s # gchar **out_arg_g, 638s # GCancellable *cancellable, 638s # GError **error) 638s # { 638s # GVariant *_ret; 638s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 638s # "SingleArgMethodG", 638s # g_variant_new ("()"), 638s # G_DBUS_CALL_FLAGS_NONE, 638s # -1, 638s # cancellable, 638s # error); 638s # if (_ret == NULL) 638s # goto _out; 638s # g_variant_get (_ret, 638s # "(g)", 638s # out_arg_g); 638s # g_variant_unref (_ret); 638s # _out: 638s # return _ret != NULL; 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_complete_single_arg_method_g: 638s # * @object: A #OrgProjectUsefulInterface. 638s # * @invocation: (transfer full): A #GDBusMethodInvocation. 638s # * @arg_g: Parameter to return. 638s # * 638s # * 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. 638s # * 638s # * This method will free @invocation, you cannot use it afterwards. 638s # */ 638s # void 638s # org_project_useful_interface_complete_single_arg_method_g ( 638s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 638s # GDBusMethodInvocation *invocation, 638s # const gchar *arg_g) 638s # { 638s # g_dbus_method_invocation_return_value (invocation, 638s # g_variant_new ("(g)", 638s # arg_g)); 638s # } 638s # 638s # /* ------------------------------------------------------------------------ */ 638s # 638s # /** 638s # * OrgProjectUsefulInterfaceProxy: 638s # * 638s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 638s # */ 638s # 638s # /** 638s # * OrgProjectUsefulInterfaceProxyClass: 638s # * @parent_class: The parent class. 638s # * 638s # * Class structure for #OrgProjectUsefulInterfaceProxy. 638s # */ 638s # 638s # struct _OrgProjectUsefulInterfaceProxyPrivate 638s # { 638s # GData *qdata; 638s # }; 638s # 638s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 638s # 638s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 638s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 638s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 638s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 638s # 638s # #else 638s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 638s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 638s # 638s # #endif 638s # static void 638s # org_project_useful_interface_proxy_finalize (GObject *object) 638s # { 638s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 638s # g_datalist_clear (&proxy->priv->qdata); 638s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 638s # guint prop_id G_GNUC_UNUSED, 638s # GValue *value G_GNUC_UNUSED, 638s # GParamSpec *pspec G_GNUC_UNUSED) 638s # { 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 638s # guint prop_id G_GNUC_UNUSED, 638s # const GValue *value G_GNUC_UNUSED, 638s # GParamSpec *pspec G_GNUC_UNUSED) 638s # { 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 638s # const gchar *sender_name G_GNUC_UNUSED, 638s # const gchar *signal_name, 638s # GVariant *parameters) 638s # { 638s # _ExtendedGDBusSignalInfo *info; 638s # GVariantIter iter; 638s # GVariant *child; 638s # GValue *paramv; 638s # gsize num_params; 638s # gsize n; 638s # guint signal_id; 638s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 638s # if (info == NULL) 638s # return; 638s # num_params = g_variant_n_children (parameters); 638s # paramv = g_new0 (GValue, num_params + 1); 638s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 638s # g_value_set_object (¶mv[0], proxy); 638s # g_variant_iter_init (&iter, parameters); 638s # n = 1; 638s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 638s # { 638s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 638s # if (arg_info->use_gvariant) 638s # { 638s # g_value_init (¶mv[n], G_TYPE_VARIANT); 638s # g_value_set_variant (¶mv[n], child); 638s # n++; 638s # } 638s # else 638s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 638s # g_variant_unref (child); 638s # } 638s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 638s # g_signal_emitv (paramv, signal_id, 0, NULL); 638s # for (n = 0; n < num_params + 1; n++) 638s # g_value_unset (¶mv[n]); 638s # g_free (paramv); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 638s # GVariant *changed_properties, 638s # const gchar *const *invalidated_properties) 638s # { 638s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 638s # guint n; 638s # const gchar *key; 638s # GVariantIter *iter; 638s # _ExtendedGDBusPropertyInfo *info; 638s # g_variant_get (changed_properties, "a{sv}", &iter); 638s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 638s # { 638s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 638s # g_datalist_remove_data (&proxy->priv->qdata, key); 638s # if (info != NULL) 638s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 638s # } 638s # g_variant_iter_free (iter); 638s # for (n = 0; invalidated_properties[n] != NULL; n++) 638s # { 638s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 638s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 638s # if (info != NULL) 638s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 638s # } 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 638s # { 638s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 638s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 638s # #else 638s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 638s # #endif 638s # 638s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 638s # { 638s # GObjectClass *gobject_class; 638s # GDBusProxyClass *proxy_class; 638s # 638s # gobject_class = G_OBJECT_CLASS (klass); 638s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 638s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 638s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 638s # 638s # proxy_class = G_DBUS_PROXY_CLASS (klass); 638s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 638s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 638s # 638s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 638s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 638s # #endif 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 638s # { 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new: 638s # * @connection: A #GDBusConnection. 638s # * @flags: Flags from the #GDBusProxyFlags enumeration. 638s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 638s # * @object_path: An object path. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 638s # * @user_data: User data to pass to @callback. 638s # * 638s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 638s # * 638s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 638s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 638s # * 638s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 638s # */ 638s # void 638s # org_project_useful_interface_proxy_new ( 638s # GDBusConnection *connection, 638s # GDBusProxyFlags flags, 638s # const gchar *name, 638s # const gchar *object_path, 638s # GCancellable *cancellable, 638s # GAsyncReadyCallback callback, 638s # gpointer user_data) 638s # { 638s # g_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); 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new_finish: 638s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 638s # * @error: Return location for error or %NULL 638s # * 638s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 638s # * 638s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 638s # */ 638s # OrgProjectUsefulInterface * 638s # org_project_useful_interface_proxy_new_finish ( 638s # GAsyncResult *res, 638s # GError **error) 638s # { 638s # GObject *ret; 638s # GObject *source_object; 638s # source_object = g_async_result_get_source_object (res); 638s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 638s # g_object_unref (source_object); 638s # if (ret != NULL) 638s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 638s # else 638s # return NULL; 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new_sync: 638s # * @connection: A #GDBusConnection. 638s # * @flags: Flags from the #GDBusProxyFlags enumeration. 638s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 638s # * @object_path: An object path. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @error: Return location for error or %NULL 638s # * 638s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 638s # * 638s # * The calling thread is blocked until a reply is received. 638s # * 638s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 638s # * 638s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 638s # */ 638s # OrgProjectUsefulInterface * 638s # org_project_useful_interface_proxy_new_sync ( 638s # GDBusConnection *connection, 638s # GDBusProxyFlags flags, 638s # const gchar *name, 638s # const gchar *object_path, 638s # GCancellable *cancellable, 638s # GError **error) 638s # { 638s # GInitable *ret; 638s # 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); 638s # if (ret != NULL) 638s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 638s # else 638s # return NULL; 638s # } 638s # 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new_for_bus: 638s # * @bus_type: A #GBusType. 638s # * @flags: Flags from the #GDBusProxyFlags enumeration. 638s # * @name: A bus name (well-known or unique). 638s # * @object_path: An object path. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 638s # * @user_data: User data to pass to @callback. 638s # * 638s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 638s # * 638s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 638s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 638s # * 638s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 638s # */ 638s # void 638s # org_project_useful_interface_proxy_new_for_bus ( 638s # GBusType bus_type, 638s # GDBusProxyFlags flags, 638s # const gchar *name, 638s # const gchar *object_path, 638s # GCancellable *cancellable, 638s # GAsyncReadyCallback callback, 638s # gpointer user_data) 638s # { 638s # g_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); 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new_for_bus_finish: 638s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 638s # * @error: Return location for error or %NULL 638s # * 638s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 638s # * 638s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 638s # */ 638s # OrgProjectUsefulInterface * 638s # org_project_useful_interface_proxy_new_for_bus_finish ( 638s # GAsyncResult *res, 638s # GError **error) 638s # { 638s # GObject *ret; 638s # GObject *source_object; 638s # source_object = g_async_result_get_source_object (res); 638s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 638s # g_object_unref (source_object); 638s # if (ret != NULL) 638s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 638s # else 638s # return NULL; 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new_for_bus_sync: 638s # * @bus_type: A #GBusType. 638s # * @flags: Flags from the #GDBusProxyFlags enumeration. 638s # * @name: A bus name (well-known or unique). 638s # * @object_path: An object path. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @error: Return location for error or %NULL 638s # * 638s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 638s # * 638s # * The calling thread is blocked until a reply is received. 638s # * 638s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 638s # * 638s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 638s # */ 638s # OrgProjectUsefulInterface * 638s # org_project_useful_interface_proxy_new_for_bus_sync ( 638s # GBusType bus_type, 638s # GDBusProxyFlags flags, 638s # const gchar *name, 638s # const gchar *object_path, 638s # GCancellable *cancellable, 638s # GError **error) 638s # { 638s # GInitable *ret; 638s # 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); 638s # if (ret != NULL) 638s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 638s # else 638s # return NULL; 638s # } 638s # 638s # 638s # /* ------------------------------------------------------------------------ */ 638s # 638s # /** 638s # * OrgProjectUsefulInterfaceSkeleton: 638s # * 638s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 638s # */ 638s # 638s # /** 638s # * OrgProjectUsefulInterfaceSkeletonClass: 638s # * @parent_class: The parent class. 638s # * 638s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 638s # */ 638s # 638s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 638s # { 638s # GValue *properties; 638s # GList *changed_properties; 638s # GSource *changed_properties_idle_source; 638s # GMainContext *context; 638s # GMutex lock; 638s # }; 638s # 638s # static void 638s # _org_project_useful_interface_skeleton_handle_method_call ( 638s # GDBusConnection *connection G_GNUC_UNUSED, 638s # const gchar *sender G_GNUC_UNUSED, 638s # const gchar *object_path G_GNUC_UNUSED, 638s # const gchar *interface_name, 638s # const gchar *method_name, 638s # GVariant *parameters, 638s # GDBusMethodInvocation *invocation, 638s # gpointer user_data) 638s # { 638s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 638s # _ExtendedGDBusMethodInfo *info; 638s # GVariantIter iter; 638s # GVariant *child; 638s # GValue *paramv; 638s # gsize num_params; 638s # guint num_extra; 638s # gsize n; 638s # guint signal_id; 638s # GValue return_value = G_VALUE_INIT; 638s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 638s # g_assert (info != NULL); 638s # num_params = g_variant_n_children (parameters); 638s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 638s # n = 0; 638s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 638s # g_value_set_object (¶mv[n++], skeleton); 638s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 638s # g_value_set_object (¶mv[n++], invocation); 638s # if (info->pass_fdlist) 638s # { 638s # #ifdef G_OS_UNIX 638s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 638s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 638s # #else 638s # g_assert_not_reached (); 638s # #endif 638s # } 638s # g_variant_iter_init (&iter, parameters); 638s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 638s # { 638s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 638s # if (arg_info->use_gvariant) 638s # { 638s # g_value_init (¶mv[n], G_TYPE_VARIANT); 638s # g_value_set_variant (¶mv[n], child); 638s # n++; 638s # } 638s # else 638s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 638s # g_variant_unref (child); 638s # } 638s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 638s # g_value_init (&return_value, G_TYPE_BOOLEAN); 638s # g_signal_emitv (paramv, signal_id, 0, &return_value); 638s # if (!g_value_get_boolean (&return_value)) 638s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 638s # g_value_unset (&return_value); 638s # for (n = 0; n < num_params + num_extra; n++) 638s # g_value_unset (¶mv[n]); 638s # g_free (paramv); 638s # } 638s # 638s # static GVariant * 638s # _org_project_useful_interface_skeleton_handle_get_property ( 638s # GDBusConnection *connection G_GNUC_UNUSED, 638s # const gchar *sender G_GNUC_UNUSED, 638s # const gchar *object_path G_GNUC_UNUSED, 638s # const gchar *interface_name G_GNUC_UNUSED, 638s # const gchar *property_name, 638s # GError **error, 638s # gpointer user_data) 638s # { 638s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 638s # GValue value = G_VALUE_INIT; 638s # GParamSpec *pspec; 638s # _ExtendedGDBusPropertyInfo *info; 638s # GVariant *ret; 638s # ret = NULL; 638s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 638s # g_assert (info != NULL); 638s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 638s # if (pspec == NULL) 638s # { 638s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 638s # } 638s # else 638s # { 638s # g_value_init (&value, pspec->value_type); 638s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 638s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 638s # g_value_unset (&value); 638s # } 638s # return ret; 638s # } 638s # 638s # static gboolean 638s # _org_project_useful_interface_skeleton_handle_set_property ( 638s # GDBusConnection *connection G_GNUC_UNUSED, 638s # const gchar *sender G_GNUC_UNUSED, 638s # const gchar *object_path G_GNUC_UNUSED, 638s # const gchar *interface_name G_GNUC_UNUSED, 638s # const gchar *property_name, 638s # GVariant *variant, 638s # GError **error, 638s # gpointer user_data) 638s # { 638s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 638s # GValue value = G_VALUE_INIT; 638s # GParamSpec *pspec; 638s # _ExtendedGDBusPropertyInfo *info; 638s # gboolean ret; 638s # ret = FALSE; 638s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 638s # g_assert (info != NULL); 638s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 638s # if (pspec == NULL) 638s # { 638s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 638s # } 638s # else 638s # { 638s # if (info->use_gvariant) 638s # g_value_set_variant (&value, variant); 638s # else 638s # g_dbus_gvariant_to_gvalue (variant, &value); 638s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 638s # g_value_unset (&value); 638s # ret = TRUE; 638s # } 638s # return ret; 638s # } 638s # 638s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 638s # { 638s # _org_project_useful_interface_skeleton_handle_method_call, 638s # _org_project_useful_interface_skeleton_handle_get_property, 638s # _org_project_useful_interface_skeleton_handle_set_property, 638s # {NULL} 638s # }; 638s # 638s # static GDBusInterfaceInfo * 638s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 638s # { 638s # return org_project_useful_interface_interface_info (); 638s # } 638s # 638s # static GDBusInterfaceVTable * 638s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 638s # { 638s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 638s # } 638s # 638s # static GVariant * 638s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 638s # { 638s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 638s # 638s # GVariantBuilder builder; 638s # guint n; 638s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 638s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 638s # goto out; 638s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 638s # { 638s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 638s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 638s # { 638s # GVariant *value; 638s # 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); 638s # if (value != NULL) 638s # { 638s # g_variant_take_ref (value); 638s # g_variant_builder_add (&builder, "{sv}", info->name, value); 638s # g_variant_unref (value); 638s # } 638s # } 638s # } 638s # out: 638s # return g_variant_builder_end (&builder); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 638s # { 638s # } 638s # 638s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 638s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 638s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 638s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 638s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 638s # 638s # #else 638s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 638s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 638s # 638s # #endif 638s # static void 638s # org_project_useful_interface_skeleton_finalize (GObject *object) 638s # { 638s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 638s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 638s # if (skeleton->priv->changed_properties_idle_source != NULL) 638s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 638s # g_main_context_unref (skeleton->priv->context); 638s # g_mutex_clear (&skeleton->priv->lock); 638s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 638s # { 638s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 638s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 638s # #else 638s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 638s # #endif 638s # 638s # g_mutex_init (&skeleton->priv->lock); 638s # skeleton->priv->context = g_main_context_ref_thread_default (); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 638s # { 638s # GObjectClass *gobject_class; 638s # GDBusInterfaceSkeletonClass *skeleton_class; 638s # 638s # gobject_class = G_OBJECT_CLASS (klass); 638s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 638s # 638s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 638s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 638s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 638s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 638s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 638s # 638s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 638s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 638s # #endif 638s # } 638s # 638s # static void 638s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 638s # { 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_skeleton_new: 638s # * 638s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 638s # * 638s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 638s # */ 638s # OrgProjectUsefulInterface * 638s # org_project_useful_interface_skeleton_new (void) 638s # { 638s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 638s # } 638s # /tmp/tmpp9t62ouk/tmpb99x0lli.xml: 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp9t62ouk/tmpb99x0lli.xml', '--output', '-', '--body'] 638s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 638s # Output: /* 638s # * This file is generated by gdbus-codegen, do not modify it. 638s # * 638s # * The license of this code is the same as for the D-Bus interface description 638s # * it was derived from. Note that it links to GLib, so must comply with the 638s # * LGPL linking clauses. 638s # */ 638s # 638s # #ifdef HAVE_CONFIG_H 638s # # include "config.h" 638s # #endif 638s # 638s # #include 638s # #ifdef G_OS_UNIX 638s # # include 638s # #endif 638s # 638s # #ifdef G_ENABLE_DEBUG 638s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 638s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 638s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 638s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 638s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 638s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 638s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 638s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 638s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 638s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 638s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 638s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 638s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 638s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 638s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 638s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 638s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 638s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 638s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 638s # #else /* !G_ENABLE_DEBUG */ 638s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 638s # * Do not access GValues directly in your code. Instead, use the 638s # * g_value_get_*() functions 638s # */ 638s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 638s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 638s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 638s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 638s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 638s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 638s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 638s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 638s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 638s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 638s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 638s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 638s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 638s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 638s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 638s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 638s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 638s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 638s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 638s # #endif /* !G_ENABLE_DEBUG */ 638s # 638s # typedef struct 638s # { 638s # GDBusArgInfo parent_struct; 638s # gboolean use_gvariant; 638s # } _ExtendedGDBusArgInfo; 638s # 638s # typedef struct 638s # { 638s # GDBusMethodInfo parent_struct; 638s # const gchar *signal_name; 638s # gboolean pass_fdlist; 638s # } _ExtendedGDBusMethodInfo; 638s # 638s # typedef struct 638s # { 638s # GDBusSignalInfo parent_struct; 638s # const gchar *signal_name; 638s # } _ExtendedGDBusSignalInfo; 638s # 638s # typedef struct 638s # { 638s # GDBusPropertyInfo parent_struct; 638s # const gchar *hyphen_name; 638s # guint use_gvariant : 1; 638s # guint emits_changed_signal : 1; 638s # } _ExtendedGDBusPropertyInfo; 638s # 638s # typedef struct 638s # { 638s # GDBusInterfaceInfo parent_struct; 638s # const gchar *hyphen_name; 638s # } _ExtendedGDBusInterfaceInfo; 638s # 638s # typedef struct 638s # { 638s # const _ExtendedGDBusPropertyInfo *info; 638s # guint prop_id; 638s # GValue orig_value; /* the value before the change */ 638s # } ChangedProperty; 638s # 638s # static void 638s # _changed_property_free (ChangedProperty *data) 638s # { 638s # g_value_unset (&data->orig_value); 638s # g_free (data); 638s # } 638s # 638s # static gboolean 638s # _g_strv_equal0 (gchar **a, gchar **b) 638s # { 638s # gboolean ret = FALSE; 638s # guint n; 638s # if (a == NULL && b == NULL) 638s # { 638s # ret = TRUE; 638s # goto out; 638s # } 638s # if (a == NULL || b == NULL) 638s # goto out; 638s # if (g_strv_length (a) != g_strv_length (b)) 638s # goto out; 638s # for (n = 0; a[n] != NULL; n++) 638s # if (g_strcmp0 (a[n], b[n]) != 0) 638s # goto out; 638s # ret = TRUE; 638s # out: 638s # return ret; 638s # } 638s # 638s # static gboolean 638s # _g_variant_equal0 (GVariant *a, GVariant *b) 638s # { 638s # gboolean ret = FALSE; 638s # if (a == NULL && b == NULL) 638s # { 638s # ret = TRUE; 638s # goto out; 638s # } 638s # if (a == NULL || b == NULL) 638s # goto out; 638s # ret = g_variant_equal (a, b); 638s # out: 638s # return ret; 638s # } 638s # 638s # G_GNUC_UNUSED static gboolean 638s # _g_value_equal (const GValue *a, const GValue *b) 638s # { 638s # gboolean ret = FALSE; 638s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 638s # switch (G_VALUE_TYPE (a)) 638s # { 638s # case G_TYPE_BOOLEAN: 638s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 638s # break; 638s # case G_TYPE_UCHAR: 638s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 638s # break; 638s # case G_TYPE_INT: 638s # ret = (g_value_get_int (a) == g_value_get_int (b)); 638s # break; 638s # case G_TYPE_UINT: 638s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 638s # break; 638s # case G_TYPE_INT64: 638s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 638s # break; 638s # case G_TYPE_UINT64: 638s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 638s # break; 638s # case G_TYPE_DOUBLE: 638s # { 638s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 638s # gdouble da = g_value_get_double (a); 638s # gdouble db = g_value_get_double (b); 638s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 638s # } 638s # break; 638s # case G_TYPE_STRING: 638s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 638s # break; 638s # case G_TYPE_VARIANT: 638s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 638s # break; 638s # default: 638s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 638s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 638s # else 638s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 638s # break; 638s # } 638s # return ret; 638s # } 638s # 638s # static void 638s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 638s # GClosure *closure, 638s # GValue *return_value, 638s # unsigned int n_param_values, 638s # const GValue *param_values, 638s # void *invocation_hint G_GNUC_UNUSED, 638s # void *marshal_data) 638s # { 638s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 638s # (void *data1, 638s # GDBusMethodInvocation *arg_method_invocation, 638s # void *data2); 638s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 638s # GCClosure *cc = (GCClosure*) closure; 638s # void *data1, *data2; 638s # gboolean v_return; 638s # 638s # g_return_if_fail (return_value != NULL); 638s # g_return_if_fail (n_param_values == 2); 638s # 638s # if (G_CCLOSURE_SWAP_DATA (closure)) 638s # { 638s # data1 = closure->data; 638s # data2 = g_value_peek_pointer (param_values + 0); 638s # } 638s # else 638s # { 638s # data1 = g_value_peek_pointer (param_values + 0); 638s # data2 = closure->data; 638s # } 638s # 638s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 638s # (marshal_data ? marshal_data : cc->callback); 638s # 638s # v_return = 638s # callback (data1, 638s # g_marshal_value_peek_object (param_values + 1), 638s # data2); 638s # 638s # g_value_set_boolean (return_value, v_return); 638s # } 638s # 638s # /* ------------------------------------------------------------------------ 638s # * Code for interface org.project.UsefulInterface 638s # * ------------------------------------------------------------------------ 638s # */ 638s # 638s # /** 638s # * SECTION:OrgProjectUsefulInterface 638s # * @title: OrgProjectUsefulInterface 638s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 638s # * 638s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 638s # */ 638s # 638s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 638s # 638s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 638s # { 638s # { 638s # -1, 638s # (gchar *) "arg_h", 638s # (gchar *) "h", 638s # NULL 638s # }, 638s # FALSE 638s # }; 638s # 638s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 638s # { 638s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 638s # NULL 638s # }; 638s # 638s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 638s # { 638s # { 638s # -1, 638s # (gchar *) "SingleArgMethodH", 638s # NULL, 638s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 638s # NULL 638s # }, 638s # "handle-single-arg-method-h", 638s # FALSE 638s # }; 638s # 638s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 638s # { 638s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 638s # NULL 638s # }; 638s # 638s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 638s # { 638s # { 638s # -1, 638s # (gchar *) "org.project.UsefulInterface", 638s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 638s # NULL, 638s # NULL, 638s # NULL 638s # }, 638s # "org-project-useful-interface", 638s # }; 638s # 638s # 638s # /** 638s # * org_project_useful_interface_interface_info: 638s # * 638s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 638s # * 638s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 638s # */ 638s # GDBusInterfaceInfo * 638s # org_project_useful_interface_interface_info (void) 638s # { 638s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_override_properties: 638s # * @klass: The class structure for a #GObject derived class. 638s # * @property_id_begin: The property id to assign to the first overridden property. 638s # * 638s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 638s # * The properties are overridden in the order they are defined. 638s # * 638s # * Returns: The last property id. 638s # */ 638s # guint 638s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 638s # { 638s # return property_id_begin - 1; 638s # } 638s # 638s # 638s # inline static void 638s # org_project_useful_interface_method_marshal_single_arg_method_h ( 638s # GClosure *closure, 638s # GValue *return_value, 638s # unsigned int n_param_values, 638s # const GValue *param_values, 638s # void *invocation_hint, 638s # void *marshal_data) 638s # { 638s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 638s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 638s # } 638s # 638s # 638s # /** 638s # * OrgProjectUsefulInterface: 638s # * 638s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 638s # */ 638s # 638s # /** 638s # * OrgProjectUsefulInterfaceIface: 638s # * @parent_iface: The parent interface. 638s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 638s # * 638s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 638s # */ 638s # 638s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 638s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 638s # 638s # static void 638s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 638s # { 638s # /* GObject signals for incoming D-Bus method calls: */ 638s # /** 638s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 638s # * @object: A #OrgProjectUsefulInterface. 638s # * @invocation: A #GDBusMethodInvocation. 638s # * 638s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 638s # * 638s # * 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. 638s # * 638s # * 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. 638s # */ 638s # g_signal_new ("handle-single-arg-method-h", 638s # G_TYPE_FROM_INTERFACE (iface), 638s # G_SIGNAL_RUN_LAST, 638s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 638s # g_signal_accumulator_true_handled, 638s # NULL, 638s # org_project_useful_interface_method_marshal_single_arg_method_h, 638s # G_TYPE_BOOLEAN, 638s # 1, 638s # G_TYPE_DBUS_METHOD_INVOCATION); 638s # 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_call_single_arg_method_h: 638s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 638s # * @user_data: User data to pass to @callback. 638s # * 638s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 638s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 638s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 638s # * 638s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 638s # */ 638s # void 638s # org_project_useful_interface_call_single_arg_method_h ( 638s # OrgProjectUsefulInterface *proxy, 638s # GCancellable *cancellable, 638s # GAsyncReadyCallback callback, 638s # gpointer user_data) 638s # { 638s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 638s # "SingleArgMethodH", 638s # g_variant_new ("()"), 638s # G_DBUS_CALL_FLAGS_NONE, 638s # -1, 638s # cancellable, 638s # callback, 638s # user_data); 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_call_single_arg_method_h_finish: 638s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 638s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 638s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 638s # * @error: Return location for error or %NULL. 638s # * 638s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 638s # * 638s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 638s # */ 638s # gboolean 638s # org_project_useful_interface_call_single_arg_method_h_finish ( 638s # OrgProjectUsefulInterface *proxy, 638s # GVariant **out_arg_h, 638s # GAsyncResult *res, 638s # GError **error) 638s # { 638s # GVariant *_ret; 638s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 638s # if (_ret == NULL) 638s # goto _out; 638s # g_variant_get (_ret, 638s # "(@h)", 638s # out_arg_h); 638s # g_variant_unref (_ret); 638s # _out: 638s # return _ret != NULL; 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_call_single_arg_method_h_sync: 638s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 638s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @error: Return location for error or %NULL. 638s # * 638s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 638s # * 638s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 638s # * 638s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 638s # */ 638s # gboolean 638s # org_project_useful_interface_call_single_arg_method_h_sync ( 638s # OrgProjectUsefulInterface *proxy, 638s # GVariant **out_arg_h, 638s # GCancellable *cancellable, 638s # GError **error) 638s # { 638s # GVariant *_ret; 638s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 638s # "SingleArgMethodH", 638s # g_variant_new ("()"), 638s # G_DBUS_CALL_FLAGS_NONE, 638s # -1, 638s # cancellable, 638s # error); 638s # if (_ret == NULL) 638s # goto _out; 638s # g_variant_get (_ret, 638s # "(@h)", 638s # out_arg_h); 638s # g_variant_unref (_ret); 638s # _out: 638s # return _ret != NULL; 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_complete_single_arg_method_h: 638s # * @object: A #OrgProjectUsefulInterface. 638s # * @invocation: (transfer full): A #GDBusMethodInvocation. 638s # * @arg_h: Parameter to return. 638s # * 638s # * 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. 638s # * 638s # * This method will free @invocation, you cannot use it afterwards. 638s # */ 638s # void 638s # org_project_useful_interface_complete_single_arg_method_h ( 638s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 638s # GDBusMethodInvocation *invocation, 638s # GVariant *arg_h) 638s # { 638s # g_dbus_method_invocation_return_value (invocation, 638s # g_variant_new ("(@h)", 638s # arg_h)); 638s # } 638s # 638s # /* ------------------------------------------------------------------------ */ 638s # 638s # /** 638s # * OrgProjectUsefulInterfaceProxy: 638s # * 638s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 638s # */ 638s # 638s # /** 638s # * OrgProjectUsefulInterfaceProxyClass: 638s # * @parent_class: The parent class. 638s # * 638s # * Class structure for #OrgProjectUsefulInterfaceProxy. 638s # */ 638s # 638s # struct _OrgProjectUsefulInterfaceProxyPrivate 638s # { 638s # GData *qdata; 638s # }; 638s # 638s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 638s # 638s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 638s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 638s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 638s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 638s # 638s # #else 638s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 638s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 638s # 638s # #endif 638s # static void 638s # org_project_useful_interface_proxy_finalize (GObject *object) 638s # { 638s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 638s # g_datalist_clear (&proxy->priv->qdata); 638s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 638s # guint prop_id G_GNUC_UNUSED, 638s # GValue *value G_GNUC_UNUSED, 638s # GParamSpec *pspec G_GNUC_UNUSED) 638s # { 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 638s # guint prop_id G_GNUC_UNUSED, 638s # const GValue *value G_GNUC_UNUSED, 638s # GParamSpec *pspec G_GNUC_UNUSED) 638s # { 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 638s # const gchar *sender_name G_GNUC_UNUSED, 638s # const gchar *signal_name, 638s # GVariant *parameters) 638s # { 638s # _ExtendedGDBusSignalInfo *info; 638s # GVariantIter iter; 638s # GVariant *child; 638s # GValue *paramv; 638s # gsize num_params; 638s # gsize n; 638s # guint signal_id; 638s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 638s # if (info == NULL) 638s # return; 638s # num_params = g_variant_n_children (parameters); 638s # paramv = g_new0 (GValue, num_params + 1); 638s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 638s # g_value_set_object (¶mv[0], proxy); 638s # g_variant_iter_init (&iter, parameters); 638s # n = 1; 638s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 638s # { 638s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 638s # if (arg_info->use_gvariant) 638s # { 638s # g_value_init (¶mv[n], G_TYPE_VARIANT); 638s # g_value_set_variant (¶mv[n], child); 638s # n++; 638s # } 638s # else 638s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 638s # g_variant_unref (child); 638s # } 638s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 638s # g_signal_emitv (paramv, signal_id, 0, NULL); 638s # for (n = 0; n < num_params + 1; n++) 638s # g_value_unset (¶mv[n]); 638s # g_free (paramv); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 638s # GVariant *changed_properties, 638s # const gchar *const *invalidated_properties) 638s # { 638s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 638s # guint n; 638s # const gchar *key; 638s # GVariantIter *iter; 638s # _ExtendedGDBusPropertyInfo *info; 638s # g_variant_get (changed_properties, "a{sv}", &iter); 638s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 638s # { 638s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 638s # g_datalist_remove_data (&proxy->priv->qdata, key); 638s # if (info != NULL) 638s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 638s # } 638s # g_variant_iter_free (iter); 638s # for (n = 0; invalidated_properties[n] != NULL; n++) 638s # { 638s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 638s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 638s # if (info != NULL) 638s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 638s # } 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 638s # { 638s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 638s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 638s # #else 638s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 638s # #endif 638s # 638s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 638s # { 638s # GObjectClass *gobject_class; 638s # GDBusProxyClass *proxy_class; 638s # 638s # gobject_class = G_OBJECT_CLASS (klass); 638s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 638s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 638s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 638s # 638s # proxy_class = G_DBUS_PROXY_CLASS (klass); 638s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 638s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 638s # 638s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 638s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 638s # #endif 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 638s # { 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new: 638s # * @connection: A #GDBusConnection. 638s # * @flags: Flags from the #GDBusProxyFlags enumeration. 638s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 638s # * @object_path: An object path. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 638s # * @user_data: User data to pass to @callback. 638s # * 638s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 638s # * 638s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 638s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 638s # * 638s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 638s # */ 638s # void 638s # org_project_useful_interface_proxy_new ( 638s # GDBusConnection *connection, 638s # GDBusProxyFlags flags, 638s # const gchar *name, 638s # const gchar *object_path, 638s # GCancellable *cancellable, 638s # GAsyncReadyCallback callback, 638s # gpointer user_data) 638s # { 638s # g_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); 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new_finish: 638s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 638s # * @error: Return location for error or %NULL 638s # * 638s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 638s # * 638s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 638s # */ 638s # OrgProjectUsefulInterface * 638s # org_project_useful_interface_proxy_new_finish ( 638s # GAsyncResult *res, 638s # GError **error) 638s # { 638s # GObject *ret; 638s # GObject *source_object; 638s # source_object = g_async_result_get_source_object (res); 638s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 638s # g_object_unref (source_object); 638s # if (ret != NULL) 638s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 638s # else 638s # return NULL; 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new_sync: 638s # * @connection: A #GDBusConnection. 638s # * @flags: Flags from the #GDBusProxyFlags enumeration. 638s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 638s # * @object_path: An object path. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @error: Return location for error or %NULL 638s # * 638s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 638s # * 638s # * The calling thread is blocked until a reply is received. 638s # * 638s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 638s # * 638s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 638s # */ 638s # OrgProjectUsefulInterface * 638s # org_project_useful_interface_proxy_new_sync ( 638s # GDBusConnection *connection, 638s # GDBusProxyFlags flags, 638s # const gchar *name, 638s # const gchar *object_path, 638s # GCancellable *cancellable, 638s # GError **error) 638s # { 638s # GInitable *ret; 638s # 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); 638s # if (ret != NULL) 638s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 638s # else 638s # return NULL; 638s # } 638s # 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new_for_bus: 638s # * @bus_type: A #GBusType. 638s # * @flags: Flags from the #GDBusProxyFlags enumeration. 638s # * @name: A bus name (well-known or unique). 638s # * @object_path: An object path. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 638s # * @user_data: User data to pass to @callback. 638s # * 638s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 638s # * 638s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 638s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 638s # * 638s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 638s # */ 638s # void 638s # org_project_useful_interface_proxy_new_for_bus ( 638s # GBusType bus_type, 638s # GDBusProxyFlags flags, 638s # const gchar *name, 638s # const gchar *object_path, 638s # GCancellable *cancellable, 638s # GAsyncReadyCallback callback, 638s # gpointer user_data) 638s # { 638s # g_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); 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new_for_bus_finish: 638s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 638s # * @error: Return location for error or %NULL 638s # * 638s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 638s # * 638s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 638s # */ 638s # OrgProjectUsefulInterface * 638s # org_project_useful_interface_proxy_new_for_bus_finish ( 638s # GAsyncResult *res, 638s # GError **error) 638s # { 638s # GObject *ret; 638s # GObject *source_object; 638s # source_object = g_async_result_get_source_object (res); 638s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 638s # g_object_unref (source_object); 638s # if (ret != NULL) 638s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 638s # else 638s # return NULL; 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new_for_bus_sync: 638s # * @bus_type: A #GBusType. 638s # * @flags: Flags from the #GDBusProxyFlags enumeration. 638s # * @name: A bus name (well-known or unique). 638s # * @object_path: An object path. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @error: Return location for error or %NULL 638s # * 638s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 638s # * 638s # * The calling thread is blocked until a reply is received. 638s # * 638s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 638s # * 638s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 638s # */ 638s # OrgProjectUsefulInterface * 638s # org_project_useful_interface_proxy_new_for_bus_sync ( 638s # GBusType bus_type, 638s # GDBusProxyFlags flags, 638s # const gchar *name, 638s # const gchar *object_path, 638s # GCancellable *cancellable, 638s # GError **error) 638s # { 638s # GInitable *ret; 638s # 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); 638s # if (ret != NULL) 638s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 638s # else 638s # return NULL; 638s # } 638s # 638s # 638s # /* ------------------------------------------------------------------------ */ 638s # 638s # /** 638s # * OrgProjectUsefulInterfaceSkeleton: 638s # * 638s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 638s # */ 638s # 638s # /** 638s # * OrgProjectUsefulInterfaceSkeletonClass: 638s # * @parent_class: The parent class. 638s # * 638s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 638s # */ 638s # 638s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 638s # { 638s # GValue *properties; 638s # GList *changed_properties; 638s # GSource *changed_properties_idle_source; 638s # GMainContext *context; 638s # GMutex lock; 638s # }; 638s # 638s # static void 638s # _org_project_useful_interface_skeleton_handle_method_call ( 638s # GDBusConnection *connection G_GNUC_UNUSED, 638s # const gchar *sender G_GNUC_UNUSED, 638s # const gchar *object_path G_GNUC_UNUSED, 638s # const gchar *interface_name, 638s # const gchar *method_name, 638s # GVariant *parameters, 638s # GDBusMethodInvocation *invocation, 638s # gpointer user_data) 638s # { 638s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 638s # _ExtendedGDBusMethodInfo *info; 638s # GVariantIter iter; 638s # GVariant *child; 638s # GValue *paramv; 638s # gsize num_params; 638s # guint num_extra; 638s # gsize n; 638s # guint signal_id; 638s # GValue return_value = G_VALUE_INIT; 638s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 638s # g_assert (info != NULL); 638s # num_params = g_variant_n_children (parameters); 638s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 638s # n = 0; 638s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 638s # g_value_set_object (¶mv[n++], skeleton); 638s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 638s # g_value_set_object (¶mv[n++], invocation); 638s # if (info->pass_fdlist) 638s # { 638s # #ifdef G_OS_UNIX 638s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 638s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 638s # #else 638s # g_assert_not_reached (); 638s # #endif 638s # } 638s # g_variant_iter_init (&iter, parameters); 638s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 638s # { 638s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 638s # if (arg_info->use_gvariant) 638s # { 638s # g_value_init (¶mv[n], G_TYPE_VARIANT); 638s # g_value_set_variant (¶mv[n], child); 638s # n++; 638s # } 638s # else 638s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 638s # g_variant_unref (child); 638s # } 638s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 638s # g_value_init (&return_value, G_TYPE_BOOLEAN); 638s # g_signal_emitv (paramv, signal_id, 0, &return_value); 638s # if (!g_value_get_boolean (&return_value)) 638s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 638s # g_value_unset (&return_value); 638s # for (n = 0; n < num_params + num_extra; n++) 638s # g_value_unset (¶mv[n]); 638s # g_free (paramv); 638s # } 638s # 638s # static GVariant * 638s # _org_project_useful_interface_skeleton_handle_get_property ( 638s # GDBusConnection *connection G_GNUC_UNUSED, 638s # const gchar *sender G_GNUC_UNUSED, 638s # const gchar *object_path G_GNUC_UNUSED, 638s # const gchar *interface_name G_GNUC_UNUSED, 638s # const gchar *property_name, 638s # GError **error, 638s # gpointer user_data) 638s # { 638s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 638s # GValue value = G_VALUE_INIT; 638s # GParamSpec *pspec; 638s # _ExtendedGDBusPropertyInfo *info; 638s # GVariant *ret; 638s # ret = NULL; 638s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 638s # g_assert (info != NULL); 638s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 638s # if (pspec == NULL) 638s # { 638s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 638s # } 638s # else 638s # { 638s # g_value_init (&value, pspec->value_type); 638s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 638s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 638s # g_value_unset (&value); 638s # } 638s # return ret; 638s # } 638s # 638s # static gboolean 638s # _org_project_useful_interface_skeleton_handle_set_property ( 638s # GDBusConnection *connection G_GNUC_UNUSED, 638s # const gchar *sender G_GNUC_UNUSED, 638s # const gchar *object_path G_GNUC_UNUSED, 638s # const gchar *interface_name G_GNUC_UNUSED, 638s # const gchar *property_name, 638s # GVariant *variant, 638s # GError **error, 638s # gpointer user_data) 638s # { 638s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 638s # GValue value = G_VALUE_INIT; 638s # GParamSpec *pspec; 638s # _ExtendedGDBusPropertyInfo *info; 638s # gboolean ret; 638s # ret = FALSE; 638s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 638s # g_assert (info != NULL); 638s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 638s # if (pspec == NULL) 638s # { 638s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 638s # } 638s # else 638s # { 638s # if (info->use_gvariant) 638s # g_value_set_variant (&value, variant); 638s # else 638s # g_dbus_gvariant_to_gvalue (variant, &value); 638s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 638s # g_value_unset (&value); 638s # ret = TRUE; 638s # } 638s # return ret; 638s # } 638s # 638s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 638s # { 638s # _org_project_useful_interface_skeleton_handle_method_call, 638s # _org_project_useful_interface_skeleton_handle_get_property, 638s # _org_project_useful_interface_skeleton_handle_set_property, 638s # {NULL} 638s # }; 638s # 638s # static GDBusInterfaceInfo * 638s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 638s # { 638s # return org_project_useful_interface_interface_info (); 638s # } 638s # 638s # static GDBusInterfaceVTable * 638s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 638s # { 638s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 638s # } 638s # 638s # static GVariant * 638s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 638s # { 638s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 638s # 638s # GVariantBuilder builder; 638s # guint n; 638s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 638s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 638s # goto out; 638s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 638s # { 638s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 638s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 638s # { 638s # GVariant *value; 638s # 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); 638s # if (value != NULL) 638s # { 638s # g_variant_take_ref (value); 638s # g_variant_builder_add (&builder, "{sv}", info->name, value); 638s # g_variant_unref (value); 638s # } 638s # } 638s # } 638s # out: 638s # return g_variant_builder_end (&builder); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 638s # { 638s # } 638s # 638s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 638s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 638s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 638s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 638s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 638s # 638s # #else 638s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 638s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 638s # 638s # #endif 638s # static void 638s # org_project_useful_interface_skeleton_finalize (GObject *object) 638s # { 638s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 638s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 638s # if (skeleton->priv->changed_properties_idle_source != NULL) 638s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 638s # g_main_context_unref (skeleton->priv->context); 638s # g_mutex_clear (&skeleton->priv->lock); 638s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 638s # { 638s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 638s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 638s # #else 638s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 638s # #endif 638s # 638s # g_mutex_init (&skeleton->priv->lock); 638s # skeleton->priv->context = g_main_context_ref_thread_default (); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 638s # { 638s # GObjectClass *gobject_class; 638s # GDBusInterfaceSkeletonClass *skeleton_class; 638s # 638s # gobject_class = G_OBJECT_CLASS (klass); 638s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 638s # 638s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 638s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 638s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 638s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 638s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 638s # 638s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 638s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 638s # #endif 638s # } 638s # 638s # static void 638s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 638s # { 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_skeleton_new: 638s # * 638s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 638s # * 638s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 638s # */ 638s # OrgProjectUsefulInterface * 638s # org_project_useful_interface_skeleton_new (void) 638s # { 638s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 638s # } 638s # /tmp/tmpp9t62ouk/tmp8_0u5yp2.xml: 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp9t62ouk/tmp8_0u5yp2.xml', '--output', '-', '--body'] 638s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 638s # Output: /* 638s # * This file is generated by gdbus-codegen, do not modify it. 638s # * 638s # * The license of this code is the same as for the D-Bus interface description 638s # * it was derived from. Note that it links to GLib, so must comply with the 638s # * LGPL linking clauses. 638s # */ 638s # 638s # #ifdef HAVE_CONFIG_H 638s # # include "config.h" 638s # #endif 638s # 638s # #include 638s # #ifdef G_OS_UNIX 638s # # include 638s # #endif 638s # 638s # #ifdef G_ENABLE_DEBUG 638s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 638s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 638s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 638s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 638s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 638s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 638s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 638s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 638s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 638s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 638s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 638s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 638s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 638s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 638s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 638s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 638s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 638s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 638s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 638s # #else /* !G_ENABLE_DEBUG */ 638s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 638s # * Do not access GValues directly in your code. Instead, use the 638s # * g_value_get_*() functions 638s # */ 638s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 638s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 638s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 638s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 638s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 638s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 638s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 638s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 638s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 638s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 638s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 638s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 638s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 638s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 638s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 638s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 638s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 638s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 638s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 638s # #endif /* !G_ENABLE_DEBUG */ 638s # 638s # typedef struct 638s # { 638s # GDBusArgInfo parent_struct; 638s # gboolean use_gvariant; 638s # } _ExtendedGDBusArgInfo; 638s # 638s # typedef struct 638s # { 638s # GDBusMethodInfo parent_struct; 638s # const gchar *signal_name; 638s # gboolean pass_fdlist; 638s # } _ExtendedGDBusMethodInfo; 638s # 638s # typedef struct 638s # { 638s # GDBusSignalInfo parent_struct; 638s # const gchar *signal_name; 638s # } _ExtendedGDBusSignalInfo; 638s # 638s # typedef struct 638s # { 638s # GDBusPropertyInfo parent_struct; 638s # const gchar *hyphen_name; 638s # guint use_gvariant : 1; 638s # guint emits_changed_signal : 1; 638s # } _ExtendedGDBusPropertyInfo; 638s # 638s # typedef struct 638s # { 638s # GDBusInterfaceInfo parent_struct; 638s # const gchar *hyphen_name; 638s # } _ExtendedGDBusInterfaceInfo; 638s # 638s # typedef struct 638s # { 638s # const _ExtendedGDBusPropertyInfo *info; 638s # guint prop_id; 638s # GValue orig_value; /* the value before the change */ 638s # } ChangedProperty; 638s # 638s # static void 638s # _changed_property_free (ChangedProperty *data) 638s # { 638s # g_value_unset (&data->orig_value); 638s # g_free (data); 638s # } 638s # 638s # static gboolean 638s # _g_strv_equal0 (gchar **a, gchar **b) 638s # { 638s # gboolean ret = FALSE; 638s # guint n; 638s # if (a == NULL && b == NULL) 638s # { 638s # ret = TRUE; 638s # goto out; 638s # } 638s # if (a == NULL || b == NULL) 638s # goto out; 638s # if (g_strv_length (a) != g_strv_length (b)) 638s # goto out; 638s # for (n = 0; a[n] != NULL; n++) 638s # if (g_strcmp0 (a[n], b[n]) != 0) 638s # goto out; 638s # ret = TRUE; 638s # out: 638s # return ret; 638s # } 638s # 638s # static gboolean 638s # _g_variant_equal0 (GVariant *a, GVariant *b) 638s # { 638s # gboolean ret = FALSE; 638s # if (a == NULL && b == NULL) 638s # { 638s # ret = TRUE; 638s # goto out; 638s # } 638s # if (a == NULL || b == NULL) 638s # goto out; 638s # ret = g_variant_equal (a, b); 638s # out: 638s # return ret; 638s # } 638s # 638s # G_GNUC_UNUSED static gboolean 638s # _g_value_equal (const GValue *a, const GValue *b) 638s # { 638s # gboolean ret = FALSE; 638s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 638s # switch (G_VALUE_TYPE (a)) 638s # { 638s # case G_TYPE_BOOLEAN: 638s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 638s # break; 638s # case G_TYPE_UCHAR: 638s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 638s # break; 638s # case G_TYPE_INT: 638s # ret = (g_value_get_int (a) == g_value_get_int (b)); 638s # break; 638s # case G_TYPE_UINT: 638s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 638s # break; 638s # case G_TYPE_INT64: 638s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 638s # break; 638s # case G_TYPE_UINT64: 638s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 638s # break; 638s # case G_TYPE_DOUBLE: 638s # { 638s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 638s # gdouble da = g_value_get_double (a); 638s # gdouble db = g_value_get_double (b); 638s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 638s # } 638s # break; 638s # case G_TYPE_STRING: 638s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 638s # break; 638s # case G_TYPE_VARIANT: 638s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 638s # break; 638s # default: 638s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 638s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 638s # else 638s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 638s # break; 638s # } 638s # return ret; 638s # } 638s # 638s # static void 638s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 638s # GClosure *closure, 638s # GValue *return_value, 638s # unsigned int n_param_values, 638s # const GValue *param_values, 638s # void *invocation_hint G_GNUC_UNUSED, 638s # void *marshal_data) 638s # { 638s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 638s # (void *data1, 638s # GDBusMethodInvocation *arg_method_invocation, 638s # void *data2); 638s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 638s # GCClosure *cc = (GCClosure*) closure; 638s # void *data1, *data2; 638s # gboolean v_return; 638s # 638s # g_return_if_fail (return_value != NULL); 638s # g_return_if_fail (n_param_values == 2); 638s # 638s # if (G_CCLOSURE_SWAP_DATA (closure)) 638s # { 638s # data1 = closure->data; 638s # data2 = g_value_peek_pointer (param_values + 0); 638s # } 638s # else 638s # { 638s # data1 = g_value_peek_pointer (param_values + 0); 638s # data2 = closure->data; 638s # } 638s # 638s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 638s # (marshal_data ? marshal_data : cc->callback); 638s # 638s # v_return = 638s # callback (data1, 638s # g_marshal_value_peek_object (param_values + 1), 638s # data2); 638s # 638s # g_value_set_boolean (return_value, v_return); 638s # } 638s # 638s # /* ------------------------------------------------------------------------ 638s # * Code for interface org.project.UsefulInterface 638s # * ------------------------------------------------------------------------ 638s # */ 638s # 638s # /** 638s # * SECTION:OrgProjectUsefulInterface 638s # * @title: OrgProjectUsefulInterface 638s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 638s # * 638s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 638s # */ 638s # 638s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 638s # 638s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 638s # { 638s # { 638s # -1, 638s # (gchar *) "arg_ay", 638s # (gchar *) "ay", 638s # NULL 638s # }, 638s # FALSE 638s # }; 638s # 638s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 638s # { 638s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 638s # NULL 638s # }; 638s # 638s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 638s # { 638s # { 638s # -1, 638s # (gchar *) "SingleArgMethodAy", 638s # NULL, 638s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 638s # NULL 638s # }, 638s # "handle-single-arg-method-ay", 638s # FALSE 638s # }; 638s # 638s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 638s # { 638s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 638s # NULL 638s # }; 638s # 638s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 638s # { 638s # { 638s # -1, 638s # (gchar *) "org.project.UsefulInterface", 638s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 638s # NULL, 638s # NULL, 638s # NULL 638s # }, 638s # "org-project-useful-interface", 638s # }; 638s # 638s # 638s # /** 638s # * org_project_useful_interface_interface_info: 638s # * 638s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 638s # * 638s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 638s # */ 638s # GDBusInterfaceInfo * 638s # org_project_useful_interface_interface_info (void) 638s # { 638s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_override_properties: 638s # * @klass: The class structure for a #GObject derived class. 638s # * @property_id_begin: The property id to assign to the first overridden property. 638s # * 638s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 638s # * The properties are overridden in the order they are defined. 638s # * 638s # * Returns: The last property id. 638s # */ 638s # guint 638s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 638s # { 638s # return property_id_begin - 1; 638s # } 638s # 638s # 638s # inline static void 638s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 638s # GClosure *closure, 638s # GValue *return_value, 638s # unsigned int n_param_values, 638s # const GValue *param_values, 638s # void *invocation_hint, 638s # void *marshal_data) 638s # { 638s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 638s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 638s # } 638s # 638s # 638s # /** 638s # * OrgProjectUsefulInterface: 638s # * 638s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 638s # */ 638s # 638s # /** 638s # * OrgProjectUsefulInterfaceIface: 638s # * @parent_iface: The parent interface. 638s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 638s # * 638s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 638s # */ 638s # 638s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 638s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 638s # 638s # static void 638s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 638s # { 638s # /* GObject signals for incoming D-Bus method calls: */ 638s # /** 638s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 638s # * @object: A #OrgProjectUsefulInterface. 638s # * @invocation: A #GDBusMethodInvocation. 638s # * 638s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 638s # * 638s # * 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. 638s # * 638s # * 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. 638s # */ 638s # g_signal_new ("handle-single-arg-method-ay", 638s # G_TYPE_FROM_INTERFACE (iface), 638s # G_SIGNAL_RUN_LAST, 638s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 638s # g_signal_accumulator_true_handled, 638s # NULL, 638s # org_project_useful_interface_method_marshal_single_arg_method_ay, 638s # G_TYPE_BOOLEAN, 638s # 1, 638s # G_TYPE_DBUS_METHOD_INVOCATION); 638s # 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_call_single_arg_method_ay: 638s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 638s # * @user_data: User data to pass to @callback. 638s # * 638s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 638s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 638s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 638s # * 638s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 638s # */ 638s # void 638s # org_project_useful_interface_call_single_arg_method_ay ( 638s # OrgProjectUsefulInterface *proxy, 638s # GCancellable *cancellable, 638s # GAsyncReadyCallback callback, 638s # gpointer user_data) 638s # { 638s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 638s # "SingleArgMethodAy", 638s # g_variant_new ("()"), 638s # G_DBUS_CALL_FLAGS_NONE, 638s # -1, 638s # cancellable, 638s # callback, 638s # user_data); 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_call_single_arg_method_ay_finish: 638s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 638s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 638s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 638s # * @error: Return location for error or %NULL. 638s # * 638s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 638s # * 638s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 638s # */ 638s # gboolean 638s # org_project_useful_interface_call_single_arg_method_ay_finish ( 638s # OrgProjectUsefulInterface *proxy, 638s # gchar **out_arg_ay, 638s # GAsyncResult *res, 638s # GError **error) 638s # { 638s # GVariant *_ret; 638s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 638s # if (_ret == NULL) 638s # goto _out; 638s # g_variant_get (_ret, 638s # "(^ay)", 638s # out_arg_ay); 638s # g_variant_unref (_ret); 638s # _out: 638s # return _ret != NULL; 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_call_single_arg_method_ay_sync: 638s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 638s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @error: Return location for error or %NULL. 638s # * 638s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 638s # * 638s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 638s # * 638s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 638s # */ 638s # gboolean 638s # org_project_useful_interface_call_single_arg_method_ay_sync ( 638s # OrgProjectUsefulInterface *proxy, 638s # gchar **out_arg_ay, 638s # GCancellable *cancellable, 638s # GError **error) 638s # { 638s # GVariant *_ret; 638s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 638s # "SingleArgMethodAy", 638s # g_variant_new ("()"), 638s # G_DBUS_CALL_FLAGS_NONE, 638s # -1, 638s # cancellable, 638s # error); 638s # if (_ret == NULL) 638s # goto _out; 638s # g_variant_get (_ret, 638s # "(^ay)", 638s # out_arg_ay); 638s # g_variant_unref (_ret); 638s # _out: 638s # return _ret != NULL; 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_complete_single_arg_method_ay: 638s # * @object: A #OrgProjectUsefulInterface. 638s # * @invocation: (transfer full): A #GDBusMethodInvocation. 638s # * @arg_ay: Parameter to return. 638s # * 638s # * 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. 638s # * 638s # * This method will free @invocation, you cannot use it afterwards. 638s # */ 638s # void 638s # org_project_useful_interface_complete_single_arg_method_ay ( 638s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 638s # GDBusMethodInvocation *invocation, 638s # const gchar *arg_ay) 638s # { 638s # g_dbus_method_invocation_return_value (invocation, 638s # g_variant_new ("(^ay)", 638s # arg_ay)); 638s # } 638s # 638s # /* ------------------------------------------------------------------------ */ 638s # 638s # /** 638s # * OrgProjectUsefulInterfaceProxy: 638s # * 638s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 638s # */ 638s # 638s # /** 638s # * OrgProjectUsefulInterfaceProxyClass: 638s # * @parent_class: The parent class. 638s # * 638s # * Class structure for #OrgProjectUsefulInterfaceProxy. 638s # */ 638s # 638s # struct _OrgProjectUsefulInterfaceProxyPrivate 638s # { 638s # GData *qdata; 638s # }; 638s # 638s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 638s # 638s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 638s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 638s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 638s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 638s # 638s # #else 638s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 638s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 638s # 638s # #endif 638s # static void 638s # org_project_useful_interface_proxy_finalize (GObject *object) 638s # { 638s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 638s # g_datalist_clear (&proxy->priv->qdata); 638s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 638s # guint prop_id G_GNUC_UNUSED, 638s # GValue *value G_GNUC_UNUSED, 638s # GParamSpec *pspec G_GNUC_UNUSED) 638s # { 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 638s # guint prop_id G_GNUC_UNUSED, 638s # const GValue *value G_GNUC_UNUSED, 638s # GParamSpec *pspec G_GNUC_UNUSED) 638s # { 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 638s # const gchar *sender_name G_GNUC_UNUSED, 638s # const gchar *signal_name, 638s # GVariant *parameters) 638s # { 638s # _ExtendedGDBusSignalInfo *info; 638s # GVariantIter iter; 638s # GVariant *child; 638s # GValue *paramv; 638s # gsize num_params; 638s # gsize n; 638s # guint signal_id; 638s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 638s # if (info == NULL) 638s # return; 638s # num_params = g_variant_n_children (parameters); 638s # paramv = g_new0 (GValue, num_params + 1); 638s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 638s # g_value_set_object (¶mv[0], proxy); 638s # g_variant_iter_init (&iter, parameters); 638s # n = 1; 638s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 638s # { 638s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 638s # if (arg_info->use_gvariant) 638s # { 638s # g_value_init (¶mv[n], G_TYPE_VARIANT); 638s # g_value_set_variant (¶mv[n], child); 638s # n++; 638s # } 638s # else 638s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 638s # g_variant_unref (child); 638s # } 638s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 638s # g_signal_emitv (paramv, signal_id, 0, NULL); 638s # for (n = 0; n < num_params + 1; n++) 638s # g_value_unset (¶mv[n]); 638s # g_free (paramv); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 638s # GVariant *changed_properties, 638s # const gchar *const *invalidated_properties) 638s # { 638s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 638s # guint n; 638s # const gchar *key; 638s # GVariantIter *iter; 638s # _ExtendedGDBusPropertyInfo *info; 638s # g_variant_get (changed_properties, "a{sv}", &iter); 638s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 638s # { 638s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 638s # g_datalist_remove_data (&proxy->priv->qdata, key); 638s # if (info != NULL) 638s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 638s # } 638s # g_variant_iter_free (iter); 638s # for (n = 0; invalidated_properties[n] != NULL; n++) 638s # { 638s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 638s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 638s # if (info != NULL) 638s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 638s # } 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 638s # { 638s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 638s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 638s # #else 638s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 638s # #endif 638s # 638s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 638s # { 638s # GObjectClass *gobject_class; 638s # GDBusProxyClass *proxy_class; 638s # 638s # gobject_class = G_OBJECT_CLASS (klass); 638s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 638s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 638s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 638s # 638s # proxy_class = G_DBUS_PROXY_CLASS (klass); 638s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 638s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 638s # 638s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 638s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 638s # #endif 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 638s # { 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new: 638s # * @connection: A #GDBusConnection. 638s # * @flags: Flags from the #GDBusProxyFlags enumeration. 638s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 638s # * @object_path: An object path. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 638s # * @user_data: User data to pass to @callback. 638s # * 638s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 638s # * 638s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 638s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 638s # * 638s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 638s # */ 638s # void 638s # org_project_useful_interface_proxy_new ( 638s # GDBusConnection *connection, 638s # GDBusProxyFlags flags, 638s # const gchar *name, 638s # const gchar *object_path, 638s # GCancellable *cancellable, 638s # GAsyncReadyCallback callback, 638s # gpointer user_data) 638s # { 638s # g_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); 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new_finish: 638s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 638s # * @error: Return location for error or %NULL 638s # * 638s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 638s # * 638s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 638s # */ 638s # OrgProjectUsefulInterface * 638s # org_project_useful_interface_proxy_new_finish ( 638s # GAsyncResult *res, 638s # GError **error) 638s # { 638s # GObject *ret; 638s # GObject *source_object; 638s # source_object = g_async_result_get_source_object (res); 638s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 638s # g_object_unref (source_object); 638s # if (ret != NULL) 638s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 638s # else 638s # return NULL; 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new_sync: 638s # * @connection: A #GDBusConnection. 638s # * @flags: Flags from the #GDBusProxyFlags enumeration. 638s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 638s # * @object_path: An object path. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @error: Return location for error or %NULL 638s # * 638s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 638s # * 638s # * The calling thread is blocked until a reply is received. 638s # * 638s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 638s # * 638s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 638s # */ 638s # OrgProjectUsefulInterface * 638s # org_project_useful_interface_proxy_new_sync ( 638s # GDBusConnection *connection, 638s # GDBusProxyFlags flags, 638s # const gchar *name, 638s # const gchar *object_path, 638s # GCancellable *cancellable, 638s # GError **error) 638s # { 638s # GInitable *ret; 638s # 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); 638s # if (ret != NULL) 638s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 638s # else 638s # return NULL; 638s # } 638s # 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new_for_bus: 638s # * @bus_type: A #GBusType. 638s # * @flags: Flags from the #GDBusProxyFlags enumeration. 638s # * @name: A bus name (well-known or unique). 638s # * @object_path: An object path. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 638s # * @user_data: User data to pass to @callback. 638s # * 638s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 638s # * 638s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 638s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 638s # * 638s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 638s # */ 638s # void 638s # org_project_useful_interface_proxy_new_for_bus ( 638s # GBusType bus_type, 638s # GDBusProxyFlags flags, 638s # const gchar *name, 638s # const gchar *object_path, 638s # GCancellable *cancellable, 638s # GAsyncReadyCallback callback, 638s # gpointer user_data) 638s # { 638s # g_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); 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new_for_bus_finish: 638s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 638s # * @error: Return location for error or %NULL 638s # * 638s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 638s # * 638s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 638s # */ 638s # OrgProjectUsefulInterface * 638s # org_project_useful_interface_proxy_new_for_bus_finish ( 638s # GAsyncResult *res, 638s # GError **error) 638s # { 638s # GObject *ret; 638s # GObject *source_object; 638s # source_object = g_async_result_get_source_object (res); 638s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 638s # g_object_unref (source_object); 638s # if (ret != NULL) 638s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 638s # else 638s # return NULL; 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new_for_bus_sync: 638s # * @bus_type: A #GBusType. 638s # * @flags: Flags from the #GDBusProxyFlags enumeration. 638s # * @name: A bus name (well-known or unique). 638s # * @object_path: An object path. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @error: Return location for error or %NULL 638s # * 638s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 638s # * 638s # * The calling thread is blocked until a reply is received. 638s # * 638s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 638s # * 638s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 638s # */ 638s # OrgProjectUsefulInterface * 638s # org_project_useful_interface_proxy_new_for_bus_sync ( 638s # GBusType bus_type, 638s # GDBusProxyFlags flags, 638s # const gchar *name, 638s # const gchar *object_path, 638s # GCancellable *cancellable, 638s # GError **error) 638s # { 638s # GInitable *ret; 638s # 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); 638s # if (ret != NULL) 638s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 638s # else 638s # return NULL; 638s # } 638s # 638s # 638s # /* ------------------------------------------------------------------------ */ 638s # 638s # /** 638s # * OrgProjectUsefulInterfaceSkeleton: 638s # * 638s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 638s # */ 638s # 638s # /** 638s # * OrgProjectUsefulInterfaceSkeletonClass: 638s # * @parent_class: The parent class. 638s # * 638s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 638s # */ 638s # 638s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 638s # { 638s # GValue *properties; 638s # GList *changed_properties; 638s # GSource *changed_properties_idle_source; 638s # GMainContext *context; 638s # GMutex lock; 638s # }; 638s # 638s # static void 638s # _org_project_useful_interface_skeleton_handle_method_call ( 638s # GDBusConnection *connection G_GNUC_UNUSED, 638s # const gchar *sender G_GNUC_UNUSED, 638s # const gchar *object_path G_GNUC_UNUSED, 638s # const gchar *interface_name, 638s # const gchar *method_name, 638s # GVariant *parameters, 638s # GDBusMethodInvocation *invocation, 638s # gpointer user_data) 638s # { 638s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 638s # _ExtendedGDBusMethodInfo *info; 638s # GVariantIter iter; 638s # GVariant *child; 638s # GValue *paramv; 638s # gsize num_params; 638s # guint num_extra; 638s # gsize n; 638s # guint signal_id; 638s # GValue return_value = G_VALUE_INIT; 638s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 638s # g_assert (info != NULL); 638s # num_params = g_variant_n_children (parameters); 638s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 638s # n = 0; 638s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 638s # g_value_set_object (¶mv[n++], skeleton); 638s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 638s # g_value_set_object (¶mv[n++], invocation); 638s # if (info->pass_fdlist) 638s # { 638s # #ifdef G_OS_UNIX 638s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 638s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 638s # #else 638s # g_assert_not_reached (); 638s # #endif 638s # } 638s # g_variant_iter_init (&iter, parameters); 638s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 638s # { 638s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 638s # if (arg_info->use_gvariant) 638s # { 638s # g_value_init (¶mv[n], G_TYPE_VARIANT); 638s # g_value_set_variant (¶mv[n], child); 638s # n++; 638s # } 638s # else 638s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 638s # g_variant_unref (child); 638s # } 638s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 638s # g_value_init (&return_value, G_TYPE_BOOLEAN); 638s # g_signal_emitv (paramv, signal_id, 0, &return_value); 638s # if (!g_value_get_boolean (&return_value)) 638s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 638s # g_value_unset (&return_value); 638s # for (n = 0; n < num_params + num_extra; n++) 638s # g_value_unset (¶mv[n]); 638s # g_free (paramv); 638s # } 638s # 638s # static GVariant * 638s # _org_project_useful_interface_skeleton_handle_get_property ( 638s # GDBusConnection *connection G_GNUC_UNUSED, 638s # const gchar *sender G_GNUC_UNUSED, 638s # const gchar *object_path G_GNUC_UNUSED, 638s # const gchar *interface_name G_GNUC_UNUSED, 638s # const gchar *property_name, 638s # GError **error, 638s # gpointer user_data) 638s # { 638s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 638s # GValue value = G_VALUE_INIT; 638s # GParamSpec *pspec; 638s # _ExtendedGDBusPropertyInfo *info; 638s # GVariant *ret; 638s # ret = NULL; 638s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 638s # g_assert (info != NULL); 638s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 638s # if (pspec == NULL) 638s # { 638s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 638s # } 638s # else 638s # { 638s # g_value_init (&value, pspec->value_type); 638s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 638s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 638s # g_value_unset (&value); 638s # } 638s # return ret; 638s # } 638s # 638s # static gboolean 638s # _org_project_useful_interface_skeleton_handle_set_property ( 638s # GDBusConnection *connection G_GNUC_UNUSED, 638s # const gchar *sender G_GNUC_UNUSED, 638s # const gchar *object_path G_GNUC_UNUSED, 638s # const gchar *interface_name G_GNUC_UNUSED, 638s # const gchar *property_name, 638s # GVariant *variant, 638s # GError **error, 638s # gpointer user_data) 638s # { 638s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 638s # GValue value = G_VALUE_INIT; 638s # GParamSpec *pspec; 638s # _ExtendedGDBusPropertyInfo *info; 638s # gboolean ret; 638s # ret = FALSE; 638s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 638s # g_assert (info != NULL); 638s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 638s # if (pspec == NULL) 638s # { 638s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 638s # } 638s # else 638s # { 638s # if (info->use_gvariant) 638s # g_value_set_variant (&value, variant); 638s # else 638s # g_dbus_gvariant_to_gvalue (variant, &value); 638s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 638s # g_value_unset (&value); 638s # ret = TRUE; 638s # } 638s # return ret; 638s # } 638s # 638s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 638s # { 638s # _org_project_useful_interface_skeleton_handle_method_call, 638s # _org_project_useful_interface_skeleton_handle_get_property, 638s # _org_project_useful_interface_skeleton_handle_set_property, 638s # {NULL} 638s # }; 638s # 638s # static GDBusInterfaceInfo * 638s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 638s # { 638s # return org_project_useful_interface_interface_info (); 638s # } 638s # 638s # static GDBusInterfaceVTable * 638s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 638s # { 638s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 638s # } 638s # 638s # static GVariant * 638s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 638s # { 638s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 638s # 638s # GVariantBuilder builder; 638s # guint n; 638s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 638s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 638s # goto out; 638s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 638s # { 638s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 638s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 638s # { 638s # GVariant *value; 638s # 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); 638s # if (value != NULL) 638s # { 638s # g_variant_take_ref (value); 638s # g_variant_builder_add (&builder, "{sv}", info->name, value); 638s # g_variant_unref (value); 638s # } 638s # } 638s # } 638s # out: 638s # return g_variant_builder_end (&builder); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 638s # { 638s # } 638s # 638s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 638s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 638s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 638s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 638s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 638s # 638s # #else 638s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 638s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 638s # 638s # #endif 638s # static void 638s # org_project_useful_interface_skeleton_finalize (GObject *object) 638s # { 638s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 638s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 638s # if (skeleton->priv->changed_properties_idle_source != NULL) 638s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 638s # g_main_context_unref (skeleton->priv->context); 638s # g_mutex_clear (&skeleton->priv->lock); 638s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 638s # { 638s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 638s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 638s # #else 638s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 638s # #endif 638s # 638s # g_mutex_init (&skeleton->priv->lock); 638s # skeleton->priv->context = g_main_context_ref_thread_default (); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 638s # { 638s # GObjectClass *gobject_class; 638s # GDBusInterfaceSkeletonClass *skeleton_class; 638s # 638s # gobject_class = G_OBJECT_CLASS (klass); 638s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 638s # 638s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 638s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 638s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 638s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 638s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 638s # 638s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 638s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 638s # #endif 638s # } 638s # 638s # static void 638s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 638s # { 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_skeleton_new: 638s # * 638s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 638s # * 638s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 638s # */ 638s # OrgProjectUsefulInterface * 638s # org_project_useful_interface_skeleton_new (void) 638s # { 638s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 638s # } 638s # /tmp/tmpp9t62ouk/tmpqk0lpkhz.xml: 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp9t62ouk/tmpqk0lpkhz.xml', '--output', '-', '--body'] 638s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 638s # Output: /* 638s # * This file is generated by gdbus-codegen, do not modify it. 638s # * 638s # * The license of this code is the same as for the D-Bus interface description 638s # * it was derived from. Note that it links to GLib, so must comply with the 638s # * LGPL linking clauses. 638s # */ 638s # 638s # #ifdef HAVE_CONFIG_H 638s # # include "config.h" 638s # #endif 638s # 638s # #include 638s # #ifdef G_OS_UNIX 638s # # include 638s # #endif 638s # 638s # #ifdef G_ENABLE_DEBUG 638s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 638s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 638s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 638s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 638s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 638s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 638s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 638s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 638s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 638s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 638s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 638s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 638s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 638s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 638s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 638s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 638s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 638s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 638s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 638s # #else /* !G_ENABLE_DEBUG */ 638s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 638s # * Do not access GValues directly in your code. Instead, use the 638s # * g_value_get_*() functions 638s # */ 638s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 638s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 638s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 638s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 638s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 638s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 638s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 638s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 638s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 638s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 638s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 638s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 638s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 638s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 638s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 638s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 638s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 638s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 638s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 638s # #endif /* !G_ENABLE_DEBUG */ 638s # 638s # typedef struct 638s # { 638s # GDBusArgInfo parent_struct; 638s # gboolean use_gvariant; 638s # } _ExtendedGDBusArgInfo; 638s # 638s # typedef struct 638s # { 638s # GDBusMethodInfo parent_struct; 638s # const gchar *signal_name; 638s # gboolean pass_fdlist; 638s # } _ExtendedGDBusMethodInfo; 638s # 638s # typedef struct 638s # { 638s # GDBusSignalInfo parent_struct; 638s # const gchar *signal_name; 638s # } _ExtendedGDBusSignalInfo; 638s # 638s # typedef struct 638s # { 638s # GDBusPropertyInfo parent_struct; 638s # const gchar *hyphen_name; 638s # guint use_gvariant : 1; 638s # guint emits_changed_signal : 1; 638s # } _ExtendedGDBusPropertyInfo; 638s # 638s # typedef struct 638s # { 638s # GDBusInterfaceInfo parent_struct; 638s # const gchar *hyphen_name; 638s # } _ExtendedGDBusInterfaceInfo; 638s # 638s # typedef struct 638s # { 638s # const _ExtendedGDBusPropertyInfo *info; 638s # guint prop_id; 638s # GValue orig_value; /* the value before the change */ 638s # } ChangedProperty; 638s # 638s # static void 638s # _changed_property_free (ChangedProperty *data) 638s # { 638s # g_value_unset (&data->orig_value); 638s # g_free (data); 638s # } 638s # 638s # static gboolean 638s # _g_strv_equal0 (gchar **a, gchar **b) 638s # { 638s # gboolean ret = FALSE; 638s # guint n; 638s # if (a == NULL && b == NULL) 638s # { 638s # ret = TRUE; 638s # goto out; 638s # } 638s # if (a == NULL || b == NULL) 638s # goto out; 638s # if (g_strv_length (a) != g_strv_length (b)) 638s # goto out; 638s # for (n = 0; a[n] != NULL; n++) 638s # if (g_strcmp0 (a[n], b[n]) != 0) 638s # goto out; 638s # ret = TRUE; 638s # out: 638s # return ret; 638s # } 638s # 638s # static gboolean 638s # _g_variant_equal0 (GVariant *a, GVariant *b) 638s # { 638s # gboolean ret = FALSE; 638s # if (a == NULL && b == NULL) 638s # { 638s # ret = TRUE; 638s # goto out; 638s # } 638s # if (a == NULL || b == NULL) 638s # goto out; 638s # ret = g_variant_equal (a, b); 638s # out: 638s # return ret; 638s # } 638s # 638s # G_GNUC_UNUSED static gboolean 638s # _g_value_equal (const GValue *a, const GValue *b) 638s # { 638s # gboolean ret = FALSE; 638s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 638s # switch (G_VALUE_TYPE (a)) 638s # { 638s # case G_TYPE_BOOLEAN: 638s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 638s # break; 638s # case G_TYPE_UCHAR: 638s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 638s # break; 638s # case G_TYPE_INT: 638s # ret = (g_value_get_int (a) == g_value_get_int (b)); 638s # break; 638s # case G_TYPE_UINT: 638s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 638s # break; 638s # case G_TYPE_INT64: 638s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 638s # break; 638s # case G_TYPE_UINT64: 638s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 638s # break; 638s # case G_TYPE_DOUBLE: 638s # { 638s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 638s # gdouble da = g_value_get_double (a); 638s # gdouble db = g_value_get_double (b); 638s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 638s # } 638s # break; 638s # case G_TYPE_STRING: 638s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 638s # break; 638s # case G_TYPE_VARIANT: 638s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 638s # break; 638s # default: 638s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 638s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 638s # else 638s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 638s # break; 638s # } 638s # return ret; 638s # } 638s # 638s # static void 638s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 638s # GClosure *closure, 638s # GValue *return_value, 638s # unsigned int n_param_values, 638s # const GValue *param_values, 638s # void *invocation_hint G_GNUC_UNUSED, 638s # void *marshal_data) 638s # { 638s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 638s # (void *data1, 638s # GDBusMethodInvocation *arg_method_invocation, 638s # void *data2); 638s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 638s # GCClosure *cc = (GCClosure*) closure; 638s # void *data1, *data2; 638s # gboolean v_return; 638s # 638s # g_return_if_fail (return_value != NULL); 638s # g_return_if_fail (n_param_values == 2); 638s # 638s # if (G_CCLOSURE_SWAP_DATA (closure)) 638s # { 638s # data1 = closure->data; 638s # data2 = g_value_peek_pointer (param_values + 0); 638s # } 638s # else 638s # { 638s # data1 = g_value_peek_pointer (param_values + 0); 638s # data2 = closure->data; 638s # } 638s # 638s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 638s # (marshal_data ? marshal_data : cc->callback); 638s # 638s # v_return = 638s # callback (data1, 638s # g_marshal_value_peek_object (param_values + 1), 638s # data2); 638s # 638s # g_value_set_boolean (return_value, v_return); 638s # } 638s # 638s # /* ------------------------------------------------------------------------ 638s # * Code for interface org.project.UsefulInterface 638s # * ------------------------------------------------------------------------ 638s # */ 638s # 638s # /** 638s # * SECTION:OrgProjectUsefulInterface 638s # * @title: OrgProjectUsefulInterface 638s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 638s # * 638s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 638s # */ 638s # 638s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 638s # 638s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 638s # { 638s # { 638s # -1, 638s # (gchar *) "arg_as", 638s # (gchar *) "as", 638s # NULL 638s # }, 638s # FALSE 638s # }; 638s # 638s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 638s # { 638s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 638s # NULL 638s # }; 638s # 638s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 638s # { 638s # { 638s # -1, 638s # (gchar *) "SingleArgMethodAs", 638s # NULL, 638s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 638s # NULL 638s # }, 638s # "handle-single-arg-method-as", 638s # FALSE 638s # }; 638s # 638s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 638s # { 638s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 638s # NULL 638s # }; 638s # 638s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 638s # { 638s # { 638s # -1, 638s # (gchar *) "org.project.UsefulInterface", 638s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 638s # NULL, 638s # NULL, 638s # NULL 638s # }, 638s # "org-project-useful-interface", 638s # }; 638s # 638s # 638s # /** 638s # * org_project_useful_interface_interface_info: 638s # * 638s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 638s # * 638s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 638s # */ 638s # GDBusInterfaceInfo * 638s # org_project_useful_interface_interface_info (void) 638s # { 638s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_override_properties: 638s # * @klass: The class structure for a #GObject derived class. 638s # * @property_id_begin: The property id to assign to the first overridden property. 638s # * 638s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 638s # * The properties are overridden in the order they are defined. 638s # * 638s # * Returns: The last property id. 638s # */ 638s # guint 638s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 638s # { 638s # return property_id_begin - 1; 638s # } 638s # 638s # 638s # inline static void 638s # org_project_useful_interface_method_marshal_single_arg_method_as ( 638s # GClosure *closure, 638s # GValue *return_value, 638s # unsigned int n_param_values, 638s # const GValue *param_values, 638s # void *invocation_hint, 638s # void *marshal_data) 638s # { 638s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 638s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 638s # } 638s # 638s # 638s # /** 638s # * OrgProjectUsefulInterface: 638s # * 638s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 638s # */ 638s # 638s # /** 638s # * OrgProjectUsefulInterfaceIface: 638s # * @parent_iface: The parent interface. 638s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 638s # * 638s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 638s # */ 638s # 638s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 638s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 638s # 638s # static void 638s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 638s # { 638s # /* GObject signals for incoming D-Bus method calls: */ 638s # /** 638s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 638s # * @object: A #OrgProjectUsefulInterface. 638s # * @invocation: A #GDBusMethodInvocation. 638s # * 638s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 638s # * 638s # * 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. 638s # * 638s # * 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. 638s # */ 638s # g_signal_new ("handle-single-arg-method-as", 638s # G_TYPE_FROM_INTERFACE (iface), 638s # G_SIGNAL_RUN_LAST, 638s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 638s # g_signal_accumulator_true_handled, 638s # NULL, 638s # org_project_useful_interface_method_marshal_single_arg_method_as, 638s # G_TYPE_BOOLEAN, 638s # 1, 638s # G_TYPE_DBUS_METHOD_INVOCATION); 638s # 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_call_single_arg_method_as: 638s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 638s # * @user_data: User data to pass to @callback. 638s # * 638s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 638s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 638s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 638s # * 638s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 638s # */ 638s # void 638s # org_project_useful_interface_call_single_arg_method_as ( 638s # OrgProjectUsefulInterface *proxy, 638s # GCancellable *cancellable, 638s # GAsyncReadyCallback callback, 638s # gpointer user_data) 638s # { 638s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 638s # "SingleArgMethodAs", 638s # g_variant_new ("()"), 638s # G_DBUS_CALL_FLAGS_NONE, 638s # -1, 638s # cancellable, 638s # callback, 638s # user_data); 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_call_single_arg_method_as_finish: 638s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 638s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 638s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 638s # * @error: Return location for error or %NULL. 638s # * 638s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 638s # * 638s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 638s # */ 638s # gboolean 638s # org_project_useful_interface_call_single_arg_method_as_finish ( 638s # OrgProjectUsefulInterface *proxy, 638s # gchar ***out_arg_as, 638s # GAsyncResult *res, 638s # GError **error) 638s # { 638s # GVariant *_ret; 638s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 638s # if (_ret == NULL) 638s # goto _out; 638s # g_variant_get (_ret, 638s # "(^as)", 638s # out_arg_as); 638s # g_variant_unref (_ret); 638s # _out: 638s # return _ret != NULL; 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_call_single_arg_method_as_sync: 638s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 638s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @error: Return location for error or %NULL. 638s # * 638s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 638s # * 638s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 638s # * 638s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 638s # */ 638s # gboolean 638s # org_project_useful_interface_call_single_arg_method_as_sync ( 638s # OrgProjectUsefulInterface *proxy, 638s # gchar ***out_arg_as, 638s # GCancellable *cancellable, 638s # GError **error) 638s # { 638s # GVariant *_ret; 638s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 638s # "SingleArgMethodAs", 638s # g_variant_new ("()"), 638s # G_DBUS_CALL_FLAGS_NONE, 638s # -1, 638s # cancellable, 638s # error); 638s # if (_ret == NULL) 638s # goto _out; 638s # g_variant_get (_ret, 638s # "(^as)", 638s # out_arg_as); 638s # g_variant_unref (_ret); 638s # _out: 638s # return _ret != NULL; 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_complete_single_arg_method_as: 638s # * @object: A #OrgProjectUsefulInterface. 638s # * @invocation: (transfer full): A #GDBusMethodInvocation. 638s # * @arg_as: Parameter to return. 638s # * 638s # * 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. 638s # * 638s # * This method will free @invocation, you cannot use it afterwards. 638s # */ 638s # void 638s # org_project_useful_interface_complete_single_arg_method_as ( 638s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 638s # GDBusMethodInvocation *invocation, 638s # const gchar *const *arg_as) 638s # { 638s # g_dbus_method_invocation_return_value (invocation, 638s # g_variant_new ("(^as)", 638s # arg_as)); 638s # } 638s # 638s # /* ------------------------------------------------------------------------ */ 638s # 638s # /** 638s # * OrgProjectUsefulInterfaceProxy: 638s # * 638s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 638s # */ 638s # 638s # /** 638s # * OrgProjectUsefulInterfaceProxyClass: 638s # * @parent_class: The parent class. 638s # * 638s # * Class structure for #OrgProjectUsefulInterfaceProxy. 638s # */ 638s # 638s # struct _OrgProjectUsefulInterfaceProxyPrivate 638s # { 638s # GData *qdata; 638s # }; 638s # 638s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 638s # 638s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 638s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 638s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 638s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 638s # 638s # #else 638s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 638s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 638s # 638s # #endif 638s # static void 638s # org_project_useful_interface_proxy_finalize (GObject *object) 638s # { 638s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 638s # g_datalist_clear (&proxy->priv->qdata); 638s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 638s # guint prop_id G_GNUC_UNUSED, 638s # GValue *value G_GNUC_UNUSED, 638s # GParamSpec *pspec G_GNUC_UNUSED) 638s # { 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 638s # guint prop_id G_GNUC_UNUSED, 638s # const GValue *value G_GNUC_UNUSED, 638s # GParamSpec *pspec G_GNUC_UNUSED) 638s # { 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 638s # const gchar *sender_name G_GNUC_UNUSED, 638s # const gchar *signal_name, 638s # GVariant *parameters) 638s # { 638s # _ExtendedGDBusSignalInfo *info; 638s # GVariantIter iter; 638s # GVariant *child; 638s # GValue *paramv; 638s # gsize num_params; 638s # gsize n; 638s # guint signal_id; 638s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 638s # if (info == NULL) 638s # return; 638s # num_params = g_variant_n_children (parameters); 638s # paramv = g_new0 (GValue, num_params + 1); 638s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 638s # g_value_set_object (¶mv[0], proxy); 638s # g_variant_iter_init (&iter, parameters); 638s # n = 1; 638s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 638s # { 638s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 638s # if (arg_info->use_gvariant) 638s # { 638s # g_value_init (¶mv[n], G_TYPE_VARIANT); 638s # g_value_set_variant (¶mv[n], child); 638s # n++; 638s # } 638s # else 638s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 638s # g_variant_unref (child); 638s # } 638s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 638s # g_signal_emitv (paramv, signal_id, 0, NULL); 638s # for (n = 0; n < num_params + 1; n++) 638s # g_value_unset (¶mv[n]); 638s # g_free (paramv); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 638s # GVariant *changed_properties, 638s # const gchar *const *invalidated_properties) 638s # { 638s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 638s # guint n; 638s # const gchar *key; 638s # GVariantIter *iter; 638s # _ExtendedGDBusPropertyInfo *info; 638s # g_variant_get (changed_properties, "a{sv}", &iter); 638s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 638s # { 638s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 638s # g_datalist_remove_data (&proxy->priv->qdata, key); 638s # if (info != NULL) 638s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 638s # } 638s # g_variant_iter_free (iter); 638s # for (n = 0; invalidated_properties[n] != NULL; n++) 638s # { 638s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 638s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 638s # if (info != NULL) 638s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 638s # } 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 638s # { 638s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 638s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 638s # #else 638s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 638s # #endif 638s # 638s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 638s # { 638s # GObjectClass *gobject_class; 638s # GDBusProxyClass *proxy_class; 638s # 638s # gobject_class = G_OBJECT_CLASS (klass); 638s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 638s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 638s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 638s # 638s # proxy_class = G_DBUS_PROXY_CLASS (klass); 638s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 638s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 638s # 638s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 638s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 638s # #endif 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 638s # { 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new: 638s # * @connection: A #GDBusConnection. 638s # * @flags: Flags from the #GDBusProxyFlags enumeration. 638s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 638s # * @object_path: An object path. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 638s # * @user_data: User data to pass to @callback. 638s # * 638s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 638s # * 638s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 638s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 638s # * 638s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 638s # */ 638s # void 638s # org_project_useful_interface_proxy_new ( 638s # GDBusConnection *connection, 638s # GDBusProxyFlags flags, 638s # const gchar *name, 638s # const gchar *object_path, 638s # GCancellable *cancellable, 638s # GAsyncReadyCallback callback, 638s # gpointer user_data) 638s # { 638s # g_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); 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new_finish: 638s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 638s # * @error: Return location for error or %NULL 638s # * 638s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 638s # * 638s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 638s # */ 638s # OrgProjectUsefulInterface * 638s # org_project_useful_interface_proxy_new_finish ( 638s # GAsyncResult *res, 638s # GError **error) 638s # { 638s # GObject *ret; 638s # GObject *source_object; 638s # source_object = g_async_result_get_source_object (res); 638s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 638s # g_object_unref (source_object); 638s # if (ret != NULL) 638s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 638s # else 638s # return NULL; 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new_sync: 638s # * @connection: A #GDBusConnection. 638s # * @flags: Flags from the #GDBusProxyFlags enumeration. 638s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 638s # * @object_path: An object path. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @error: Return location for error or %NULL 638s # * 638s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 638s # * 638s # * The calling thread is blocked until a reply is received. 638s # * 638s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 638s # * 638s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 638s # */ 638s # OrgProjectUsefulInterface * 638s # org_project_useful_interface_proxy_new_sync ( 638s # GDBusConnection *connection, 638s # GDBusProxyFlags flags, 638s # const gchar *name, 638s # const gchar *object_path, 638s # GCancellable *cancellable, 638s # GError **error) 638s # { 638s # GInitable *ret; 638s # 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); 638s # if (ret != NULL) 638s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 638s # else 638s # return NULL; 638s # } 638s # 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new_for_bus: 638s # * @bus_type: A #GBusType. 638s # * @flags: Flags from the #GDBusProxyFlags enumeration. 638s # * @name: A bus name (well-known or unique). 638s # * @object_path: An object path. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 638s # * @user_data: User data to pass to @callback. 638s # * 638s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 638s # * 638s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 638s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 638s # * 638s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 638s # */ 638s # void 638s # org_project_useful_interface_proxy_new_for_bus ( 638s # GBusType bus_type, 638s # GDBusProxyFlags flags, 638s # const gchar *name, 638s # const gchar *object_path, 638s # GCancellable *cancellable, 638s # GAsyncReadyCallback callback, 638s # gpointer user_data) 638s # { 638s # g_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); 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new_for_bus_finish: 638s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 638s # * @error: Return location for error or %NULL 638s # * 638s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 638s # * 638s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 638s # */ 638s # OrgProjectUsefulInterface * 638s # org_project_useful_interface_proxy_new_for_bus_finish ( 638s # GAsyncResult *res, 638s # GError **error) 638s # { 638s # GObject *ret; 638s # GObject *source_object; 638s # source_object = g_async_result_get_source_object (res); 638s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 638s # g_object_unref (source_object); 638s # if (ret != NULL) 638s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 638s # else 638s # return NULL; 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new_for_bus_sync: 638s # * @bus_type: A #GBusType. 638s # * @flags: Flags from the #GDBusProxyFlags enumeration. 638s # * @name: A bus name (well-known or unique). 638s # * @object_path: An object path. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @error: Return location for error or %NULL 638s # * 638s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 638s # * 638s # * The calling thread is blocked until a reply is received. 638s # * 638s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 638s # * 638s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 638s # */ 638s # OrgProjectUsefulInterface * 638s # org_project_useful_interface_proxy_new_for_bus_sync ( 638s # GBusType bus_type, 638s # GDBusProxyFlags flags, 638s # const gchar *name, 638s # const gchar *object_path, 638s # GCancellable *cancellable, 638s # GError **error) 638s # { 638s # GInitable *ret; 638s # 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); 638s # if (ret != NULL) 638s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 638s # else 638s # return NULL; 638s # } 638s # 638s # 638s # /* ------------------------------------------------------------------------ */ 638s # 638s # /** 638s # * OrgProjectUsefulInterfaceSkeleton: 638s # * 638s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 638s # */ 638s # 638s # /** 638s # * OrgProjectUsefulInterfaceSkeletonClass: 638s # * @parent_class: The parent class. 638s # * 638s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 638s # */ 638s # 638s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 638s # { 638s # GValue *properties; 638s # GList *changed_properties; 638s # GSource *changed_properties_idle_source; 638s # GMainContext *context; 638s # GMutex lock; 638s # }; 638s # 638s # static void 638s # _org_project_useful_interface_skeleton_handle_method_call ( 638s # GDBusConnection *connection G_GNUC_UNUSED, 638s # const gchar *sender G_GNUC_UNUSED, 638s # const gchar *object_path G_GNUC_UNUSED, 638s # const gchar *interface_name, 638s # const gchar *method_name, 638s # GVariant *parameters, 638s # GDBusMethodInvocation *invocation, 638s # gpointer user_data) 638s # { 638s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 638s # _ExtendedGDBusMethodInfo *info; 638s # GVariantIter iter; 638s # GVariant *child; 638s # GValue *paramv; 638s # gsize num_params; 638s # guint num_extra; 638s # gsize n; 638s # guint signal_id; 638s # GValue return_value = G_VALUE_INIT; 638s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 638s # g_assert (info != NULL); 638s # num_params = g_variant_n_children (parameters); 638s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 638s # n = 0; 638s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 638s # g_value_set_object (¶mv[n++], skeleton); 638s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 638s # g_value_set_object (¶mv[n++], invocation); 638s # if (info->pass_fdlist) 638s # { 638s # #ifdef G_OS_UNIX 638s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 638s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 638s # #else 638s # g_assert_not_reached (); 638s # #endif 638s # } 638s # g_variant_iter_init (&iter, parameters); 638s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 638s # { 638s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 638s # if (arg_info->use_gvariant) 638s # { 638s # g_value_init (¶mv[n], G_TYPE_VARIANT); 638s # g_value_set_variant (¶mv[n], child); 638s # n++; 638s # } 638s # else 638s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 638s # g_variant_unref (child); 638s # } 638s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 638s # g_value_init (&return_value, G_TYPE_BOOLEAN); 638s # g_signal_emitv (paramv, signal_id, 0, &return_value); 638s # if (!g_value_get_boolean (&return_value)) 638s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 638s # g_value_unset (&return_value); 638s # for (n = 0; n < num_params + num_extra; n++) 638s # g_value_unset (¶mv[n]); 638s # g_free (paramv); 638s # } 638s # 638s # static GVariant * 638s # _org_project_useful_interface_skeleton_handle_get_property ( 638s # GDBusConnection *connection G_GNUC_UNUSED, 638s # const gchar *sender G_GNUC_UNUSED, 638s # const gchar *object_path G_GNUC_UNUSED, 638s # const gchar *interface_name G_GNUC_UNUSED, 638s # const gchar *property_name, 638s # GError **error, 638s # gpointer user_data) 638s # { 638s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 638s # GValue value = G_VALUE_INIT; 638s # GParamSpec *pspec; 638s # _ExtendedGDBusPropertyInfo *info; 638s # GVariant *ret; 638s # ret = NULL; 638s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 638s # g_assert (info != NULL); 638s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 638s # if (pspec == NULL) 638s # { 638s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 638s # } 638s # else 638s # { 638s # g_value_init (&value, pspec->value_type); 638s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 638s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 638s # g_value_unset (&value); 638s # } 638s # return ret; 638s # } 638s # 638s # static gboolean 638s # _org_project_useful_interface_skeleton_handle_set_property ( 638s # GDBusConnection *connection G_GNUC_UNUSED, 638s # const gchar *sender G_GNUC_UNUSED, 638s # const gchar *object_path G_GNUC_UNUSED, 638s # const gchar *interface_name G_GNUC_UNUSED, 638s # const gchar *property_name, 638s # GVariant *variant, 638s # GError **error, 638s # gpointer user_data) 638s # { 638s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 638s # GValue value = G_VALUE_INIT; 638s # GParamSpec *pspec; 638s # _ExtendedGDBusPropertyInfo *info; 638s # gboolean ret; 638s # ret = FALSE; 638s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 638s # g_assert (info != NULL); 638s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 638s # if (pspec == NULL) 638s # { 638s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 638s # } 638s # else 638s # { 638s # if (info->use_gvariant) 638s # g_value_set_variant (&value, variant); 638s # else 638s # g_dbus_gvariant_to_gvalue (variant, &value); 638s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 638s # g_value_unset (&value); 638s # ret = TRUE; 638s # } 638s # return ret; 638s # } 638s # 638s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 638s # { 638s # _org_project_useful_interface_skeleton_handle_method_call, 638s # _org_project_useful_interface_skeleton_handle_get_property, 638s # _org_project_useful_interface_skeleton_handle_set_property, 638s # {NULL} 638s # }; 638s # 638s # static GDBusInterfaceInfo * 638s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 638s # { 638s # return org_project_useful_interface_interface_info (); 638s # } 638s # 638s # static GDBusInterfaceVTable * 638s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 638s # { 638s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 638s # } 638s # 638s # static GVariant * 638s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 638s # { 638s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 638s # 638s # GVariantBuilder builder; 638s # guint n; 638s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 638s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 638s # goto out; 638s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 638s # { 638s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 638s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 638s # { 638s # GVariant *value; 638s # 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); 638s # if (value != NULL) 638s # { 638s # g_variant_take_ref (value); 638s # g_variant_builder_add (&builder, "{sv}", info->name, value); 638s # g_variant_unref (value); 638s # } 638s # } 638s # } 638s # out: 638s # return g_variant_builder_end (&builder); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 638s # { 638s # } 638s # 638s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 638s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 638s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 638s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 638s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 638s # 638s # #else 638s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 638s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 638s # 638s # #endif 638s # static void 638s # org_project_useful_interface_skeleton_finalize (GObject *object) 638s # { 638s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 638s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 638s # if (skeleton->priv->changed_properties_idle_source != NULL) 638s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 638s # g_main_context_unref (skeleton->priv->context); 638s # g_mutex_clear (&skeleton->priv->lock); 638s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 638s # { 638s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 638s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 638s # #else 638s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 638s # #endif 638s # 638s # g_mutex_init (&skeleton->priv->lock); 638s # skeleton->priv->context = g_main_context_ref_thread_default (); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 638s # { 638s # GObjectClass *gobject_class; 638s # GDBusInterfaceSkeletonClass *skeleton_class; 638s # 638s # gobject_class = G_OBJECT_CLASS (klass); 638s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 638s # 638s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 638s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 638s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 638s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 638s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 638s # 638s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 638s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 638s # #endif 638s # } 638s # 638s # static void 638s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 638s # { 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_skeleton_new: 638s # * 638s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 638s # * 638s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 638s # */ 638s # OrgProjectUsefulInterface * 638s # org_project_useful_interface_skeleton_new (void) 638s # { 638s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 638s # } 638s # /tmp/tmpp9t62ouk/tmp8b1vrtq6.xml: 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp9t62ouk/tmp8b1vrtq6.xml', '--output', '-', '--body'] 638s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 638s # Output: /* 638s # * This file is generated by gdbus-codegen, do not modify it. 638s # * 638s # * The license of this code is the same as for the D-Bus interface description 638s # * it was derived from. Note that it links to GLib, so must comply with the 638s # * LGPL linking clauses. 638s # */ 638s # 638s # #ifdef HAVE_CONFIG_H 638s # # include "config.h" 638s # #endif 638s # 638s # #include 638s # #ifdef G_OS_UNIX 638s # # include 638s # #endif 638s # 638s # #ifdef G_ENABLE_DEBUG 638s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 638s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 638s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 638s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 638s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 638s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 638s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 638s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 638s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 638s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 638s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 638s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 638s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 638s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 638s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 638s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 638s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 638s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 638s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 638s # #else /* !G_ENABLE_DEBUG */ 638s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 638s # * Do not access GValues directly in your code. Instead, use the 638s # * g_value_get_*() functions 638s # */ 638s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 638s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 638s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 638s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 638s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 638s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 638s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 638s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 638s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 638s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 638s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 638s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 638s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 638s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 638s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 638s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 638s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 638s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 638s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 638s # #endif /* !G_ENABLE_DEBUG */ 638s # 638s # typedef struct 638s # { 638s # GDBusArgInfo parent_struct; 638s # gboolean use_gvariant; 638s # } _ExtendedGDBusArgInfo; 638s # 638s # typedef struct 638s # { 638s # GDBusMethodInfo parent_struct; 638s # const gchar *signal_name; 638s # gboolean pass_fdlist; 638s # } _ExtendedGDBusMethodInfo; 638s # 638s # typedef struct 638s # { 638s # GDBusSignalInfo parent_struct; 638s # const gchar *signal_name; 638s # } _ExtendedGDBusSignalInfo; 638s # 638s # typedef struct 638s # { 638s # GDBusPropertyInfo parent_struct; 638s # const gchar *hyphen_name; 638s # guint use_gvariant : 1; 638s # guint emits_changed_signal : 1; 638s # } _ExtendedGDBusPropertyInfo; 638s # 638s # typedef struct 638s # { 638s # GDBusInterfaceInfo parent_struct; 638s # const gchar *hyphen_name; 638s # } _ExtendedGDBusInterfaceInfo; 638s # 638s # typedef struct 638s # { 638s # const _ExtendedGDBusPropertyInfo *info; 638s # guint prop_id; 638s # GValue orig_value; /* the value before the change */ 638s # } ChangedProperty; 638s # 638s # static void 638s # _changed_property_free (ChangedProperty *data) 638s # { 638s # g_value_unset (&data->orig_value); 638s # g_free (data); 638s # } 638s # 638s # static gboolean 638s # _g_strv_equal0 (gchar **a, gchar **b) 638s # { 638s # gboolean ret = FALSE; 638s # guint n; 638s # if (a == NULL && b == NULL) 638s # { 638s # ret = TRUE; 638s # goto out; 638s # } 638s # if (a == NULL || b == NULL) 638s # goto out; 638s # if (g_strv_length (a) != g_strv_length (b)) 638s # goto out; 638s # for (n = 0; a[n] != NULL; n++) 638s # if (g_strcmp0 (a[n], b[n]) != 0) 638s # goto out; 638s # ret = TRUE; 638s # out: 638s # return ret; 638s # } 638s # 638s # static gboolean 638s # _g_variant_equal0 (GVariant *a, GVariant *b) 638s # { 638s # gboolean ret = FALSE; 638s # if (a == NULL && b == NULL) 638s # { 638s # ret = TRUE; 638s # goto out; 638s # } 638s # if (a == NULL || b == NULL) 638s # goto out; 638s # ret = g_variant_equal (a, b); 638s # out: 638s # return ret; 638s # } 638s # 638s # G_GNUC_UNUSED static gboolean 638s # _g_value_equal (const GValue *a, const GValue *b) 638s # { 638s # gboolean ret = FALSE; 638s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 638s # switch (G_VALUE_TYPE (a)) 638s # { 638s # case G_TYPE_BOOLEAN: 638s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 638s # break; 638s # case G_TYPE_UCHAR: 638s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 638s # break; 638s # case G_TYPE_INT: 638s # ret = (g_value_get_int (a) == g_value_get_int (b)); 638s # break; 638s # case G_TYPE_UINT: 638s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 638s # break; 638s # case G_TYPE_INT64: 638s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 638s # break; 638s # case G_TYPE_UINT64: 638s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 638s # break; 638s # case G_TYPE_DOUBLE: 638s # { 638s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 638s # gdouble da = g_value_get_double (a); 638s # gdouble db = g_value_get_double (b); 638s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 638s # } 638s # break; 638s # case G_TYPE_STRING: 638s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 638s # break; 638s # case G_TYPE_VARIANT: 638s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 638s # break; 638s # default: 638s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 638s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 638s # else 638s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 638s # break; 638s # } 638s # return ret; 638s # } 638s # 638s # static void 638s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 638s # GClosure *closure, 638s # GValue *return_value, 638s # unsigned int n_param_values, 638s # const GValue *param_values, 638s # void *invocation_hint G_GNUC_UNUSED, 638s # void *marshal_data) 638s # { 638s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 638s # (void *data1, 638s # GDBusMethodInvocation *arg_method_invocation, 638s # void *data2); 638s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 638s # GCClosure *cc = (GCClosure*) closure; 638s # void *data1, *data2; 638s # gboolean v_return; 638s # 638s # g_return_if_fail (return_value != NULL); 638s # g_return_if_fail (n_param_values == 2); 638s # 638s # if (G_CCLOSURE_SWAP_DATA (closure)) 638s # { 638s # data1 = closure->data; 638s # data2 = g_value_peek_pointer (param_values + 0); 638s # } 638s # else 638s # { 638s # data1 = g_value_peek_pointer (param_values + 0); 638s # data2 = closure->data; 638s # } 638s # 638s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 638s # (marshal_data ? marshal_data : cc->callback); 638s # 638s # v_return = 638s # callback (data1, 638s # g_marshal_value_peek_object (param_values + 1), 638s # data2); 638s # 638s # g_value_set_boolean (return_value, v_return); 638s # } 638s # 638s # /* ------------------------------------------------------------------------ 638s # * Code for interface org.project.UsefulInterface 638s # * ------------------------------------------------------------------------ 638s # */ 638s # 638s # /** 638s # * SECTION:OrgProjectUsefulInterface 638s # * @title: OrgProjectUsefulInterface 638s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 638s # * 638s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 638s # */ 638s # 638s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 638s # 638s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 638s # { 638s # { 638s # -1, 638s # (gchar *) "arg_ao", 638s # (gchar *) "ao", 638s # NULL 638s # }, 638s # FALSE 638s # }; 638s # 638s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 638s # { 638s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 638s # NULL 638s # }; 638s # 638s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 638s # { 638s # { 638s # -1, 638s # (gchar *) "SingleArgMethodAo", 638s # NULL, 638s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 638s # NULL 638s # }, 638s # "handle-single-arg-method-ao", 638s # FALSE 638s # }; 638s # 638s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 638s # { 638s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 638s # NULL 638s # }; 638s # 638s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 638s # { 638s # { 638s # -1, 638s # (gchar *) "org.project.UsefulInterface", 638s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 638s # NULL, 638s # NULL, 638s # NULL 638s # }, 638s # "org-project-useful-interface", 638s # }; 638s # 638s # 638s # /** 638s # * org_project_useful_interface_interface_info: 638s # * 638s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 638s # * 638s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 638s # */ 638s # GDBusInterfaceInfo * 638s # org_project_useful_interface_interface_info (void) 638s # { 638s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_override_properties: 638s # * @klass: The class structure for a #GObject derived class. 638s # * @property_id_begin: The property id to assign to the first overridden property. 638s # * 638s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 638s # * The properties are overridden in the order they are defined. 638s # * 638s # * Returns: The last property id. 638s # */ 638s # guint 638s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 638s # { 638s # return property_id_begin - 1; 638s # } 638s # 638s # 638s # inline static void 638s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 638s # GClosure *closure, 638s # GValue *return_value, 638s # unsigned int n_param_values, 638s # const GValue *param_values, 638s # void *invocation_hint, 638s # void *marshal_data) 638s # { 638s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 638s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 638s # } 638s # 638s # 638s # /** 638s # * OrgProjectUsefulInterface: 638s # * 638s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 638s # */ 638s # 638s # /** 638s # * OrgProjectUsefulInterfaceIface: 638s # * @parent_iface: The parent interface. 638s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 638s # * 638s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 638s # */ 638s # 638s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 638s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 638s # 638s # static void 638s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 638s # { 638s # /* GObject signals for incoming D-Bus method calls: */ 638s # /** 638s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 638s # * @object: A #OrgProjectUsefulInterface. 638s # * @invocation: A #GDBusMethodInvocation. 638s # * 638s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 638s # * 638s # * 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. 638s # * 638s # * 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. 638s # */ 638s # g_signal_new ("handle-single-arg-method-ao", 638s # G_TYPE_FROM_INTERFACE (iface), 638s # G_SIGNAL_RUN_LAST, 638s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 638s # g_signal_accumulator_true_handled, 638s # NULL, 638s # org_project_useful_interface_method_marshal_single_arg_method_ao, 638s # G_TYPE_BOOLEAN, 638s # 1, 638s # G_TYPE_DBUS_METHOD_INVOCATION); 638s # 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_call_single_arg_method_ao: 638s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 638s # * @user_data: User data to pass to @callback. 638s # * 638s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 638s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 638s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 638s # * 638s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 638s # */ 638s # void 638s # org_project_useful_interface_call_single_arg_method_ao ( 638s # OrgProjectUsefulInterface *proxy, 638s # GCancellable *cancellable, 638s # GAsyncReadyCallback callback, 638s # gpointer user_data) 638s # { 638s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 638s # "SingleArgMethodAo", 638s # g_variant_new ("()"), 638s # G_DBUS_CALL_FLAGS_NONE, 638s # -1, 638s # cancellable, 638s # callback, 638s # user_data); 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_call_single_arg_method_ao_finish: 638s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 638s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 638s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 638s # * @error: Return location for error or %NULL. 638s # * 638s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 638s # * 638s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 638s # */ 638s # gboolean 638s # org_project_useful_interface_call_single_arg_method_ao_finish ( 638s # OrgProjectUsefulInterface *proxy, 638s # gchar ***out_arg_ao, 638s # GAsyncResult *res, 638s # GError **error) 638s # { 638s # GVariant *_ret; 638s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 638s # if (_ret == NULL) 638s # goto _out; 638s # g_variant_get (_ret, 638s # "(^ao)", 638s # out_arg_ao); 638s # g_variant_unref (_ret); 638s # _out: 638s # return _ret != NULL; 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_call_single_arg_method_ao_sync: 638s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 638s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @error: Return location for error or %NULL. 638s # * 638s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 638s # * 638s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 638s # * 638s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 638s # */ 638s # gboolean 638s # org_project_useful_interface_call_single_arg_method_ao_sync ( 638s # OrgProjectUsefulInterface *proxy, 638s # gchar ***out_arg_ao, 638s # GCancellable *cancellable, 638s # GError **error) 638s # { 638s # GVariant *_ret; 638s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 638s # "SingleArgMethodAo", 638s # g_variant_new ("()"), 638s # G_DBUS_CALL_FLAGS_NONE, 638s # -1, 638s # cancellable, 638s # error); 638s # if (_ret == NULL) 638s # goto _out; 638s # g_variant_get (_ret, 638s # "(^ao)", 638s # out_arg_ao); 638s # g_variant_unref (_ret); 638s # _out: 638s # return _ret != NULL; 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_complete_single_arg_method_ao: 638s # * @object: A #OrgProjectUsefulInterface. 638s # * @invocation: (transfer full): A #GDBusMethodInvocation. 638s # * @arg_ao: Parameter to return. 638s # * 638s # * 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. 638s # * 638s # * This method will free @invocation, you cannot use it afterwards. 638s # */ 638s # void 638s # org_project_useful_interface_complete_single_arg_method_ao ( 638s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 638s # GDBusMethodInvocation *invocation, 638s # const gchar *const *arg_ao) 638s # { 638s # g_dbus_method_invocation_return_value (invocation, 638s # g_variant_new ("(^ao)", 638s # arg_ao)); 638s # } 638s # 638s # /* ------------------------------------------------------------------------ */ 638s # 638s # /** 638s # * OrgProjectUsefulInterfaceProxy: 638s # * 638s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 638s # */ 638s # 638s # /** 638s # * OrgProjectUsefulInterfaceProxyClass: 638s # * @parent_class: The parent class. 638s # * 638s # * Class structure for #OrgProjectUsefulInterfaceProxy. 638s # */ 638s # 638s # struct _OrgProjectUsefulInterfaceProxyPrivate 638s # { 638s # GData *qdata; 638s # }; 638s # 638s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 638s # 638s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 638s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 638s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 638s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 638s # 638s # #else 638s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 638s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 638s # 638s # #endif 638s # static void 638s # org_project_useful_interface_proxy_finalize (GObject *object) 638s # { 638s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 638s # g_datalist_clear (&proxy->priv->qdata); 638s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 638s # guint prop_id G_GNUC_UNUSED, 638s # GValue *value G_GNUC_UNUSED, 638s # GParamSpec *pspec G_GNUC_UNUSED) 638s # { 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 638s # guint prop_id G_GNUC_UNUSED, 638s # const GValue *value G_GNUC_UNUSED, 638s # GParamSpec *pspec G_GNUC_UNUSED) 638s # { 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 638s # const gchar *sender_name G_GNUC_UNUSED, 638s # const gchar *signal_name, 638s # GVariant *parameters) 638s # { 638s # _ExtendedGDBusSignalInfo *info; 638s # GVariantIter iter; 638s # GVariant *child; 638s # GValue *paramv; 638s # gsize num_params; 638s # gsize n; 638s # guint signal_id; 638s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 638s # if (info == NULL) 638s # return; 638s # num_params = g_variant_n_children (parameters); 638s # paramv = g_new0 (GValue, num_params + 1); 638s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 638s # g_value_set_object (¶mv[0], proxy); 638s # g_variant_iter_init (&iter, parameters); 638s # n = 1; 638s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 638s # { 638s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 638s # if (arg_info->use_gvariant) 638s # { 638s # g_value_init (¶mv[n], G_TYPE_VARIANT); 638s # g_value_set_variant (¶mv[n], child); 638s # n++; 638s # } 638s # else 638s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 638s # g_variant_unref (child); 638s # } 638s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 638s # g_signal_emitv (paramv, signal_id, 0, NULL); 638s # for (n = 0; n < num_params + 1; n++) 638s # g_value_unset (¶mv[n]); 638s # g_free (paramv); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 638s # GVariant *changed_properties, 638s # const gchar *const *invalidated_properties) 638s # { 638s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 638s # guint n; 638s # const gchar *key; 638s # GVariantIter *iter; 638s # _ExtendedGDBusPropertyInfo *info; 638s # g_variant_get (changed_properties, "a{sv}", &iter); 638s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 638s # { 638s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 638s # g_datalist_remove_data (&proxy->priv->qdata, key); 638s # if (info != NULL) 638s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 638s # } 638s # g_variant_iter_free (iter); 638s # for (n = 0; invalidated_properties[n] != NULL; n++) 638s # { 638s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 638s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 638s # if (info != NULL) 638s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 638s # } 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 638s # { 638s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 638s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 638s # #else 638s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 638s # #endif 638s # 638s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 638s # { 638s # GObjectClass *gobject_class; 638s # GDBusProxyClass *proxy_class; 638s # 638s # gobject_class = G_OBJECT_CLASS (klass); 638s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 638s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 638s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 638s # 638s # proxy_class = G_DBUS_PROXY_CLASS (klass); 638s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 638s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 638s # 638s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 638s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 638s # #endif 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 638s # { 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new: 638s # * @connection: A #GDBusConnection. 638s # * @flags: Flags from the #GDBusProxyFlags enumeration. 638s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 638s # * @object_path: An object path. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 638s # * @user_data: User data to pass to @callback. 638s # * 638s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 638s # * 638s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 638s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 638s # * 638s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 638s # */ 638s # void 638s # org_project_useful_interface_proxy_new ( 638s # GDBusConnection *connection, 638s # GDBusProxyFlags flags, 638s # const gchar *name, 638s # const gchar *object_path, 638s # GCancellable *cancellable, 638s # GAsyncReadyCallback callback, 638s # gpointer user_data) 638s # { 638s # g_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); 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new_finish: 638s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 638s # * @error: Return location for error or %NULL 638s # * 638s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 638s # * 638s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 638s # */ 638s # OrgProjectUsefulInterface * 638s # org_project_useful_interface_proxy_new_finish ( 638s # GAsyncResult *res, 638s # GError **error) 638s # { 638s # GObject *ret; 638s # GObject *source_object; 638s # source_object = g_async_result_get_source_object (res); 638s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 638s # g_object_unref (source_object); 638s # if (ret != NULL) 638s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 638s # else 638s # return NULL; 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new_sync: 638s # * @connection: A #GDBusConnection. 638s # * @flags: Flags from the #GDBusProxyFlags enumeration. 638s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 638s # * @object_path: An object path. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @error: Return location for error or %NULL 638s # * 638s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 638s # * 638s # * The calling thread is blocked until a reply is received. 638s # * 638s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 638s # * 638s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 638s # */ 638s # OrgProjectUsefulInterface * 638s # org_project_useful_interface_proxy_new_sync ( 638s # GDBusConnection *connection, 638s # GDBusProxyFlags flags, 638s # const gchar *name, 638s # const gchar *object_path, 638s # GCancellable *cancellable, 638s # GError **error) 638s # { 638s # GInitable *ret; 638s # 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); 638s # if (ret != NULL) 638s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 638s # else 638s # return NULL; 638s # } 638s # 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new_for_bus: 638s # * @bus_type: A #GBusType. 638s # * @flags: Flags from the #GDBusProxyFlags enumeration. 638s # * @name: A bus name (well-known or unique). 638s # * @object_path: An object path. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 638s # * @user_data: User data to pass to @callback. 638s # * 638s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 638s # * 638s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 638s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 638s # * 638s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 638s # */ 638s # void 638s # org_project_useful_interface_proxy_new_for_bus ( 638s # GBusType bus_type, 638s # GDBusProxyFlags flags, 638s # const gchar *name, 638s # const gchar *object_path, 638s # GCancellable *cancellable, 638s # GAsyncReadyCallback callback, 638s # gpointer user_data) 638s # { 638s # g_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); 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new_for_bus_finish: 638s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 638s # * @error: Return location for error or %NULL 638s # * 638s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 638s # * 638s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 638s # */ 638s # OrgProjectUsefulInterface * 638s # org_project_useful_interface_proxy_new_for_bus_finish ( 638s # GAsyncResult *res, 638s # GError **error) 638s # { 638s # GObject *ret; 638s # GObject *source_object; 638s # source_object = g_async_result_get_source_object (res); 638s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 638s # g_object_unref (source_object); 638s # if (ret != NULL) 638s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 638s # else 638s # return NULL; 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new_for_bus_sync: 638s # * @bus_type: A #GBusType. 638s # * @flags: Flags from the #GDBusProxyFlags enumeration. 638s # * @name: A bus name (well-known or unique). 638s # * @object_path: An object path. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @error: Return location for error or %NULL 638s # * 638s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 638s # * 638s # * The calling thread is blocked until a reply is received. 638s # * 638s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 638s # * 638s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 638s # */ 638s # OrgProjectUsefulInterface * 638s # org_project_useful_interface_proxy_new_for_bus_sync ( 638s # GBusType bus_type, 638s # GDBusProxyFlags flags, 638s # const gchar *name, 638s # const gchar *object_path, 638s # GCancellable *cancellable, 638s # GError **error) 638s # { 638s # GInitable *ret; 638s # 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); 638s # if (ret != NULL) 638s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 638s # else 638s # return NULL; 638s # } 638s # 638s # 638s # /* ------------------------------------------------------------------------ */ 638s # 638s # /** 638s # * OrgProjectUsefulInterfaceSkeleton: 638s # * 638s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 638s # */ 638s # 638s # /** 638s # * OrgProjectUsefulInterfaceSkeletonClass: 638s # * @parent_class: The parent class. 638s # * 638s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 638s # */ 638s # 638s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 638s # { 638s # GValue *properties; 638s # GList *changed_properties; 638s # GSource *changed_properties_idle_source; 638s # GMainContext *context; 638s # GMutex lock; 638s # }; 638s # 638s # static void 638s # _org_project_useful_interface_skeleton_handle_method_call ( 638s # GDBusConnection *connection G_GNUC_UNUSED, 638s # const gchar *sender G_GNUC_UNUSED, 638s # const gchar *object_path G_GNUC_UNUSED, 638s # const gchar *interface_name, 638s # const gchar *method_name, 638s # GVariant *parameters, 638s # GDBusMethodInvocation *invocation, 638s # gpointer user_data) 638s # { 638s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 638s # _ExtendedGDBusMethodInfo *info; 638s # GVariantIter iter; 638s # GVariant *child; 638s # GValue *paramv; 638s # gsize num_params; 638s # guint num_extra; 638s # gsize n; 638s # guint signal_id; 638s # GValue return_value = G_VALUE_INIT; 638s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 638s # g_assert (info != NULL); 638s # num_params = g_variant_n_children (parameters); 638s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 638s # n = 0; 638s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 638s # g_value_set_object (¶mv[n++], skeleton); 638s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 638s # g_value_set_object (¶mv[n++], invocation); 638s # if (info->pass_fdlist) 638s # { 638s # #ifdef G_OS_UNIX 638s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 638s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 638s # #else 638s # g_assert_not_reached (); 638s # #endif 638s # } 638s # g_variant_iter_init (&iter, parameters); 638s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 638s # { 638s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 638s # if (arg_info->use_gvariant) 638s # { 638s # g_value_init (¶mv[n], G_TYPE_VARIANT); 638s # g_value_set_variant (¶mv[n], child); 638s # n++; 638s # } 638s # else 638s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 638s # g_variant_unref (child); 638s # } 638s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 638s # g_value_init (&return_value, G_TYPE_BOOLEAN); 638s # g_signal_emitv (paramv, signal_id, 0, &return_value); 638s # if (!g_value_get_boolean (&return_value)) 638s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 638s # g_value_unset (&return_value); 638s # for (n = 0; n < num_params + num_extra; n++) 638s # g_value_unset (¶mv[n]); 638s # g_free (paramv); 638s # } 638s # 638s # static GVariant * 638s # _org_project_useful_interface_skeleton_handle_get_property ( 638s # GDBusConnection *connection G_GNUC_UNUSED, 638s # const gchar *sender G_GNUC_UNUSED, 638s # const gchar *object_path G_GNUC_UNUSED, 638s # const gchar *interface_name G_GNUC_UNUSED, 638s # const gchar *property_name, 638s # GError **error, 638s # gpointer user_data) 638s # { 638s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 638s # GValue value = G_VALUE_INIT; 638s # GParamSpec *pspec; 638s # _ExtendedGDBusPropertyInfo *info; 638s # GVariant *ret; 638s # ret = NULL; 638s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 638s # g_assert (info != NULL); 638s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 638s # if (pspec == NULL) 638s # { 638s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 638s # } 638s # else 638s # { 638s # g_value_init (&value, pspec->value_type); 638s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 638s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 638s # g_value_unset (&value); 638s # } 638s # return ret; 638s # } 638s # 638s # static gboolean 638s # _org_project_useful_interface_skeleton_handle_set_property ( 638s # GDBusConnection *connection G_GNUC_UNUSED, 638s # const gchar *sender G_GNUC_UNUSED, 638s # const gchar *object_path G_GNUC_UNUSED, 638s # const gchar *interface_name G_GNUC_UNUSED, 638s # const gchar *property_name, 638s # GVariant *variant, 638s # GError **error, 638s # gpointer user_data) 638s # { 638s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 638s # GValue value = G_VALUE_INIT; 638s # GParamSpec *pspec; 638s # _ExtendedGDBusPropertyInfo *info; 638s # gboolean ret; 638s # ret = FALSE; 638s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 638s # g_assert (info != NULL); 638s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 638s # if (pspec == NULL) 638s # { 638s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 638s # } 638s # else 638s # { 638s # if (info->use_gvariant) 638s # g_value_set_variant (&value, variant); 638s # else 638s # g_dbus_gvariant_to_gvalue (variant, &value); 638s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 638s # g_value_unset (&value); 638s # ret = TRUE; 638s # } 638s # return ret; 638s # } 638s # 638s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 638s # { 638s # _org_project_useful_interface_skeleton_handle_method_call, 638s # _org_project_useful_interface_skeleton_handle_get_property, 638s # _org_project_useful_interface_skeleton_handle_set_property, 638s # {NULL} 638s # }; 638s # 638s # static GDBusInterfaceInfo * 638s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 638s # { 638s # return org_project_useful_interface_interface_info (); 638s # } 638s # 638s # static GDBusInterfaceVTable * 638s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 638s # { 638s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 638s # } 638s # 638s # static GVariant * 638s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 638s # { 638s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 638s # 638s # GVariantBuilder builder; 638s # guint n; 638s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 638s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 638s # goto out; 638s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 638s # { 638s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 638s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 638s # { 638s # GVariant *value; 638s # 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); 638s # if (value != NULL) 638s # { 638s # g_variant_take_ref (value); 638s # g_variant_builder_add (&builder, "{sv}", info->name, value); 638s # g_variant_unref (value); 638s # } 638s # } 638s # } 638s # out: 638s # return g_variant_builder_end (&builder); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 638s # { 638s # } 638s # 638s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 638s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 638s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 638s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 638s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 638s # 638s # #else 638s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 638s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 638s # 638s # #endif 638s # static void 638s # org_project_useful_interface_skeleton_finalize (GObject *object) 638s # { 638s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 638s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 638s # if (skeleton->priv->changed_properties_idle_source != NULL) 638s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 638s # g_main_context_unref (skeleton->priv->context); 638s # g_mutex_clear (&skeleton->priv->lock); 638s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 638s # { 638s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 638s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 638s # #else 638s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 638s # #endif 638s # 638s # g_mutex_init (&skeleton->priv->lock); 638s # skeleton->priv->context = g_main_context_ref_thread_default (); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 638s # { 638s # GObjectClass *gobject_class; 638s # GDBusInterfaceSkeletonClass *skeleton_class; 638s # 638s # gobject_class = G_OBJECT_CLASS (klass); 638s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 638s # 638s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 638s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 638s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 638s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 638s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 638s # 638s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 638s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 638s # #endif 638s # } 638s # 638s # static void 638s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 638s # { 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_skeleton_new: 638s # * 638s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 638s # * 638s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 638s # */ 638s # OrgProjectUsefulInterface * 638s # org_project_useful_interface_skeleton_new (void) 638s # { 638s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 638s # } 638s # /tmp/tmpp9t62ouk/tmpb99ow9a6.xml: 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp9t62ouk/tmpb99ow9a6.xml', '--output', '-', '--body'] 638s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 638s # Output: /* 638s # * This file is generated by gdbus-codegen, do not modify it. 638s # * 638s # * The license of this code is the same as for the D-Bus interface description 638s # * it was derived from. Note that it links to GLib, so must comply with the 638s # * LGPL linking clauses. 638s # */ 638s # 638s # #ifdef HAVE_CONFIG_H 638s # # include "config.h" 638s # #endif 638s # 638s # #include 638s # #ifdef G_OS_UNIX 638s # # include 638s # #endif 638s # 638s # #ifdef G_ENABLE_DEBUG 638s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 638s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 638s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 638s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 638s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 638s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 638s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 638s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 638s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 638s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 638s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 638s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 638s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 638s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 638s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 638s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 638s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 638s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 638s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 638s # #else /* !G_ENABLE_DEBUG */ 638s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 638s # * Do not access GValues directly in your code. Instead, use the 638s # * g_value_get_*() functions 638s # */ 638s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 638s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 638s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 638s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 638s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 638s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 638s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 638s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 638s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 638s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 638s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 638s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 638s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 638s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 638s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 638s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 638s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 638s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 638s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 638s # #endif /* !G_ENABLE_DEBUG */ 638s # 638s # typedef struct 638s # { 638s # GDBusArgInfo parent_struct; 638s # gboolean use_gvariant; 638s # } _ExtendedGDBusArgInfo; 638s # 638s # typedef struct 638s # { 638s # GDBusMethodInfo parent_struct; 638s # const gchar *signal_name; 638s # gboolean pass_fdlist; 638s # } _ExtendedGDBusMethodInfo; 638s # 638s # typedef struct 638s # { 638s # GDBusSignalInfo parent_struct; 638s # const gchar *signal_name; 638s # } _ExtendedGDBusSignalInfo; 638s # 638s # typedef struct 638s # { 638s # GDBusPropertyInfo parent_struct; 638s # const gchar *hyphen_name; 638s # guint use_gvariant : 1; 638s # guint emits_changed_signal : 1; 638s # } _ExtendedGDBusPropertyInfo; 638s # 638s # typedef struct 638s # { 638s # GDBusInterfaceInfo parent_struct; 638s # const gchar *hyphen_name; 638s # } _ExtendedGDBusInterfaceInfo; 638s # 638s # typedef struct 638s # { 638s # const _ExtendedGDBusPropertyInfo *info; 638s # guint prop_id; 638s # GValue orig_value; /* the value before the change */ 638s # } ChangedProperty; 638s # 638s # static void 638s # _changed_property_free (ChangedProperty *data) 638s # { 638s # g_value_unset (&data->orig_value); 638s # g_free (data); 638s # } 638s # 638s # static gboolean 638s # _g_strv_equal0 (gchar **a, gchar **b) 638s # { 638s # gboolean ret = FALSE; 638s # guint n; 638s # if (a == NULL && b == NULL) 638s # { 638s # ret = TRUE; 638s # goto out; 638s # } 638s # if (a == NULL || b == NULL) 638s # goto out; 638s # if (g_strv_length (a) != g_strv_length (b)) 638s # goto out; 638s # for (n = 0; a[n] != NULL; n++) 638s # if (g_strcmp0 (a[n], b[n]) != 0) 638s # goto out; 638s # ret = TRUE; 638s # out: 638s # return ret; 638s # } 638s # 638s # static gboolean 638s # _g_variant_equal0 (GVariant *a, GVariant *b) 638s # { 638s # gboolean ret = FALSE; 638s # if (a == NULL && b == NULL) 638s # { 638s # ret = TRUE; 638s # goto out; 638s # } 638s # if (a == NULL || b == NULL) 638s # goto out; 638s # ret = g_variant_equal (a, b); 638s # out: 638s # return ret; 638s # } 638s # 638s # G_GNUC_UNUSED static gboolean 638s # _g_value_equal (const GValue *a, const GValue *b) 638s # { 638s # gboolean ret = FALSE; 638s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 638s # switch (G_VALUE_TYPE (a)) 638s # { 638s # case G_TYPE_BOOLEAN: 638s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 638s # break; 638s # case G_TYPE_UCHAR: 638s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 638s # break; 638s # case G_TYPE_INT: 638s # ret = (g_value_get_int (a) == g_value_get_int (b)); 638s # break; 638s # case G_TYPE_UINT: 638s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 638s # break; 638s # case G_TYPE_INT64: 638s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 638s # break; 638s # case G_TYPE_UINT64: 638s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 638s # break; 638s # case G_TYPE_DOUBLE: 638s # { 638s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 638s # gdouble da = g_value_get_double (a); 638s # gdouble db = g_value_get_double (b); 638s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 638s # } 638s # break; 638s # case G_TYPE_STRING: 638s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 638s # break; 638s # case G_TYPE_VARIANT: 638s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 638s # break; 638s # default: 638s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 638s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 638s # else 638s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 638s # break; 638s # } 638s # return ret; 638s # } 638s # 638s # static void 638s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 638s # GClosure *closure, 638s # GValue *return_value, 638s # unsigned int n_param_values, 638s # const GValue *param_values, 638s # void *invocation_hint G_GNUC_UNUSED, 638s # void *marshal_data) 638s # { 638s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 638s # (void *data1, 638s # GDBusMethodInvocation *arg_method_invocation, 638s # void *data2); 638s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 638s # GCClosure *cc = (GCClosure*) closure; 638s # void *data1, *data2; 638s # gboolean v_return; 638s # 638s # g_return_if_fail (return_value != NULL); 638s # g_return_if_fail (n_param_values == 2); 638s # 638s # if (G_CCLOSURE_SWAP_DATA (closure)) 638s # { 638s # data1 = closure->data; 638s # data2 = g_value_peek_pointer (param_values + 0); 638s # } 638s # else 638s # { 638s # data1 = g_value_peek_pointer (param_values + 0); 638s # data2 = closure->data; 638s # } 638s # 638s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 638s # (marshal_data ? marshal_data : cc->callback); 638s # 638s # v_return = 638s # callback (data1, 638s # g_marshal_value_peek_object (param_values + 1), 638s # data2); 638s # 638s # g_value_set_boolean (return_value, v_return); 638s # } 638s # 638s # /* ------------------------------------------------------------------------ 638s # * Code for interface org.project.UsefulInterface 638s # * ------------------------------------------------------------------------ 638s # */ 638s # 638s # /** 638s # * SECTION:OrgProjectUsefulInterface 638s # * @title: OrgProjectUsefulInterface 638s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 638s # * 638s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 638s # */ 638s # 638s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 638s # 638s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 638s # { 638s # { 638s # -1, 638s # (gchar *) "arg_aay", 638s # (gchar *) "aay", 638s # NULL 638s # }, 638s # FALSE 638s # }; 638s # 638s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 638s # { 638s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 638s # NULL 638s # }; 638s # 638s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 638s # { 638s # { 638s # -1, 638s # (gchar *) "SingleArgMethodAay", 638s # NULL, 638s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 638s # NULL 638s # }, 638s # "handle-single-arg-method-aay", 638s # FALSE 638s # }; 638s # 638s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 638s # { 638s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 638s # NULL 638s # }; 638s # 638s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 638s # { 638s # { 638s # -1, 638s # (gchar *) "org.project.UsefulInterface", 638s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 638s # NULL, 638s # NULL, 638s # NULL 638s # }, 638s # "org-project-useful-interface", 638s # }; 638s # 638s # 638s # /** 638s # * org_project_useful_interface_interface_info: 638s # * 638s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 638s # * 638s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 638s # */ 638s # GDBusInterfaceInfo * 638s # org_project_useful_interface_interface_info (void) 638s # { 638s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_override_properties: 638s # * @klass: The class structure for a #GObject derived class. 638s # * @property_id_begin: The property id to assign to the first overridden property. 638s # * 638s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 638s # * The properties are overridden in the order they are defined. 638s # * 638s # * Returns: The last property id. 638s # */ 638s # guint 638s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 638s # { 638s # return property_id_begin - 1; 638s # } 638s # 638s # 638s # inline static void 638s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 638s # GClosure *closure, 638s # GValue *return_value, 638s # unsigned int n_param_values, 638s # const GValue *param_values, 638s # void *invocation_hint, 638s # void *marshal_data) 638s # { 638s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 638s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 638s # } 638s # 638s # 638s # /** 638s # * OrgProjectUsefulInterface: 638s # * 638s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 638s # */ 638s # 638s # /** 638s # * OrgProjectUsefulInterfaceIface: 638s # * @parent_iface: The parent interface. 638s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 638s # * 638s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 638s # */ 638s # 638s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 638s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 638s # 638s # static void 638s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 638s # { 638s # /* GObject signals for incoming D-Bus method calls: */ 638s # /** 638s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 638s # * @object: A #OrgProjectUsefulInterface. 638s # * @invocation: A #GDBusMethodInvocation. 638s # * 638s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 638s # * 638s # * 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. 638s # * 638s # * 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. 638s # */ 638s # g_signal_new ("handle-single-arg-method-aay", 638s # G_TYPE_FROM_INTERFACE (iface), 638s # G_SIGNAL_RUN_LAST, 638s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 638s # g_signal_accumulator_true_handled, 638s # NULL, 638s # org_project_useful_interface_method_marshal_single_arg_method_aay, 638s # G_TYPE_BOOLEAN, 638s # 1, 638s # G_TYPE_DBUS_METHOD_INVOCATION); 638s # 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_call_single_arg_method_aay: 638s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 638s # * @user_data: User data to pass to @callback. 638s # * 638s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 638s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 638s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 638s # * 638s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 638s # */ 638s # void 638s # org_project_useful_interface_call_single_arg_method_aay ( 638s # OrgProjectUsefulInterface *proxy, 638s # GCancellable *cancellable, 638s # GAsyncReadyCallback callback, 638s # gpointer user_data) 638s # { 638s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 638s # "SingleArgMethodAay", 638s # g_variant_new ("()"), 638s # G_DBUS_CALL_FLAGS_NONE, 638s # -1, 638s # cancellable, 638s # callback, 638s # user_data); 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_call_single_arg_method_aay_finish: 638s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 638s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 638s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 638s # * @error: Return location for error or %NULL. 638s # * 638s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 638s # * 638s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 638s # */ 638s # gboolean 638s # org_project_useful_interface_call_single_arg_method_aay_finish ( 638s # OrgProjectUsefulInterface *proxy, 638s # gchar ***out_arg_aay, 638s # GAsyncResult *res, 638s # GError **error) 638s # { 638s # GVariant *_ret; 638s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 638s # if (_ret == NULL) 638s # goto _out; 638s # g_variant_get (_ret, 638s # "(^aay)", 638s # out_arg_aay); 638s # g_variant_unref (_ret); 638s # _out: 638s # return _ret != NULL; 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_call_single_arg_method_aay_sync: 638s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 638s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @error: Return location for error or %NULL. 638s # * 638s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 638s # * 638s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 638s # * 638s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 638s # */ 638s # gboolean 638s # org_project_useful_interface_call_single_arg_method_aay_sync ( 638s # OrgProjectUsefulInterface *proxy, 638s # gchar ***out_arg_aay, 638s # GCancellable *cancellable, 638s # GError **error) 638s # { 638s # GVariant *_ret; 638s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 638s # "SingleArgMethodAay", 638s # g_variant_new ("()"), 638s # G_DBUS_CALL_FLAGS_NONE, 638s # -1, 638s # cancellable, 638s # error); 638s # if (_ret == NULL) 638s # goto _out; 638s # g_variant_get (_ret, 638s # "(^aay)", 638s # out_arg_aay); 638s # g_variant_unref (_ret); 638s # _out: 638s # return _ret != NULL; 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_complete_single_arg_method_aay: 638s # * @object: A #OrgProjectUsefulInterface. 638s # * @invocation: (transfer full): A #GDBusMethodInvocation. 638s # * @arg_aay: Parameter to return. 638s # * 638s # * 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. 638s # * 638s # * This method will free @invocation, you cannot use it afterwards. 638s # */ 638s # void 638s # org_project_useful_interface_complete_single_arg_method_aay ( 638s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 638s # GDBusMethodInvocation *invocation, 638s # const gchar *const *arg_aay) 638s # { 638s # g_dbus_method_invocation_return_value (invocation, 638s # g_variant_new ("(^aay)", 638s # arg_aay)); 638s # } 638s # 638s # /* ------------------------------------------------------------------------ */ 638s # 638s # /** 638s # * OrgProjectUsefulInterfaceProxy: 638s # * 638s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 638s # */ 638s # 638s # /** 638s # * OrgProjectUsefulInterfaceProxyClass: 638s # * @parent_class: The parent class. 638s # * 638s # * Class structure for #OrgProjectUsefulInterfaceProxy. 638s # */ 638s # 638s # struct _OrgProjectUsefulInterfaceProxyPrivate 638s # { 638s # GData *qdata; 638s # }; 638s # 638s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 638s # 638s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 638s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 638s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 638s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 638s # 638s # #else 638s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 638s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 638s # 638s # #endif 638s # static void 638s # org_project_useful_interface_proxy_finalize (GObject *object) 638s # { 638s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 638s # g_datalist_clear (&proxy->priv->qdata); 638s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 638s # guint prop_id G_GNUC_UNUSED, 638s # GValue *value G_GNUC_UNUSED, 638s # GParamSpec *pspec G_GNUC_UNUSED) 638s # { 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 638s # guint prop_id G_GNUC_UNUSED, 638s # const GValue *value G_GNUC_UNUSED, 638s # GParamSpec *pspec G_GNUC_UNUSED) 638s # { 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 638s # const gchar *sender_name G_GNUC_UNUSED, 638s # const gchar *signal_name, 638s # GVariant *parameters) 638s # { 638s # _ExtendedGDBusSignalInfo *info; 638s # GVariantIter iter; 638s # GVariant *child; 638s # GValue *paramv; 638s # gsize num_params; 638s # gsize n; 638s # guint signal_id; 638s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 638s # if (info == NULL) 638s # return; 638s # num_params = g_variant_n_children (parameters); 638s # paramv = g_new0 (GValue, num_params + 1); 638s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 638s # g_value_set_object (¶mv[0], proxy); 638s # g_variant_iter_init (&iter, parameters); 638s # n = 1; 638s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 638s # { 638s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 638s # if (arg_info->use_gvariant) 638s # { 638s # g_value_init (¶mv[n], G_TYPE_VARIANT); 638s # g_value_set_variant (¶mv[n], child); 638s # n++; 638s # } 638s # else 638s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 638s # g_variant_unref (child); 638s # } 638s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 638s # g_signal_emitv (paramv, signal_id, 0, NULL); 638s # for (n = 0; n < num_params + 1; n++) 638s # g_value_unset (¶mv[n]); 638s # g_free (paramv); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 638s # GVariant *changed_properties, 638s # const gchar *const *invalidated_properties) 638s # { 638s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 638s # guint n; 638s # const gchar *key; 638s # GVariantIter *iter; 638s # _ExtendedGDBusPropertyInfo *info; 638s # g_variant_get (changed_properties, "a{sv}", &iter); 638s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 638s # { 638s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 638s # g_datalist_remove_data (&proxy->priv->qdata, key); 638s # if (info != NULL) 638s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 638s # } 638s # g_variant_iter_free (iter); 638s # for (n = 0; invalidated_properties[n] != NULL; n++) 638s # { 638s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 638s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 638s # if (info != NULL) 638s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 638s # } 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 638s # { 638s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 638s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 638s # #else 638s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 638s # #endif 638s # 638s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 638s # { 638s # GObjectClass *gobject_class; 638s # GDBusProxyClass *proxy_class; 638s # 638s # gobject_class = G_OBJECT_CLASS (klass); 638s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 638s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 638s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 638s # 638s # proxy_class = G_DBUS_PROXY_CLASS (klass); 638s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 638s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 638s # 638s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 638s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 638s # #endif 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 638s # { 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new: 638s # * @connection: A #GDBusConnection. 638s # * @flags: Flags from the #GDBusProxyFlags enumeration. 638s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 638s # * @object_path: An object path. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 638s # * @user_data: User data to pass to @callback. 638s # * 638s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 638s # * 638s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 638s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 638s # * 638s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 638s # */ 638s # void 638s # org_project_useful_interface_proxy_new ( 638s # GDBusConnection *connection, 638s # GDBusProxyFlags flags, 638s # const gchar *name, 638s # const gchar *object_path, 638s # GCancellable *cancellable, 638s # GAsyncReadyCallback callback, 638s # gpointer user_data) 638s # { 638s # g_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); 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new_finish: 638s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 638s # * @error: Return location for error or %NULL 638s # * 638s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 638s # * 638s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 638s # */ 638s # OrgProjectUsefulInterface * 638s # org_project_useful_interface_proxy_new_finish ( 638s # GAsyncResult *res, 638s # GError **error) 638s # { 638s # GObject *ret; 638s # GObject *source_object; 638s # source_object = g_async_result_get_source_object (res); 638s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 638s # g_object_unref (source_object); 638s # if (ret != NULL) 638s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 638s # else 638s # return NULL; 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new_sync: 638s # * @connection: A #GDBusConnection. 638s # * @flags: Flags from the #GDBusProxyFlags enumeration. 638s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 638s # * @object_path: An object path. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @error: Return location for error or %NULL 638s # * 638s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 638s # * 638s # * The calling thread is blocked until a reply is received. 638s # * 638s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 638s # * 638s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 638s # */ 638s # OrgProjectUsefulInterface * 638s # org_project_useful_interface_proxy_new_sync ( 638s # GDBusConnection *connection, 638s # GDBusProxyFlags flags, 638s # const gchar *name, 638s # const gchar *object_path, 638s # GCancellable *cancellable, 638s # GError **error) 638s # { 638s # GInitable *ret; 638s # 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); 638s # if (ret != NULL) 638s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 638s # else 638s # return NULL; 638s # } 638s # 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new_for_bus: 638s # * @bus_type: A #GBusType. 638s # * @flags: Flags from the #GDBusProxyFlags enumeration. 638s # * @name: A bus name (well-known or unique). 638s # * @object_path: An object path. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 638s # * @user_data: User data to pass to @callback. 638s # * 638s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 638s # * 638s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 638s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 638s # * 638s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 638s # */ 638s # void 638s # org_project_useful_interface_proxy_new_for_bus ( 638s # GBusType bus_type, 638s # GDBusProxyFlags flags, 638s # const gchar *name, 638s # const gchar *object_path, 638s # GCancellable *cancellable, 638s # GAsyncReadyCallback callback, 638s # gpointer user_data) 638s # { 638s # g_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); 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new_for_bus_finish: 638s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 638s # * @error: Return location for error or %NULL 638s # * 638s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 638s # * 638s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 638s # */ 638s # OrgProjectUsefulInterface * 638s # org_project_useful_interface_proxy_new_for_bus_finish ( 638s # GAsyncResult *res, 638s # GError **error) 638s # { 638s # GObject *ret; 638s # GObject *source_object; 638s # source_object = g_async_result_get_source_object (res); 638s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 638s # g_object_unref (source_object); 638s # if (ret != NULL) 638s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 638s # else 638s # return NULL; 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new_for_bus_sync: 638s # * @bus_type: A #GBusType. 638s # * @flags: Flags from the #GDBusProxyFlags enumeration. 638s # * @name: A bus name (well-known or unique). 638s # * @object_path: An object path. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @error: Return location for error or %NULL 638s # * 638s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 638s # * 638s # * The calling thread is blocked until a reply is received. 638s # * 638s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 638s # * 638s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 638s # */ 638s # OrgProjectUsefulInterface * 638s # org_project_useful_interface_proxy_new_for_bus_sync ( 638s # GBusType bus_type, 638s # GDBusProxyFlags flags, 638s # const gchar *name, 638s # const gchar *object_path, 638s # GCancellable *cancellable, 638s # GError **error) 638s # { 638s # GInitable *ret; 638s # 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); 638s # if (ret != NULL) 638s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 638s # else 638s # return NULL; 638s # } 638s # 638s # 638s # /* ------------------------------------------------------------------------ */ 638s # 638s # /** 638s # * OrgProjectUsefulInterfaceSkeleton: 638s # * 638s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 638s # */ 638s # 638s # /** 638s # * OrgProjectUsefulInterfaceSkeletonClass: 638s # * @parent_class: The parent class. 638s # * 638s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 638s # */ 638s # 638s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 638s # { 638s # GValue *properties; 638s # GList *changed_properties; 638s # GSource *changed_properties_idle_source; 638s # GMainContext *context; 638s # GMutex lock; 638s # }; 638s # 638s # static void 638s # _org_project_useful_interface_skeleton_handle_method_call ( 638s # GDBusConnection *connection G_GNUC_UNUSED, 638s # const gchar *sender G_GNUC_UNUSED, 638s # const gchar *object_path G_GNUC_UNUSED, 638s # const gchar *interface_name, 638s # const gchar *method_name, 638s # GVariant *parameters, 638s # GDBusMethodInvocation *invocation, 638s # gpointer user_data) 638s # { 638s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 638s # _ExtendedGDBusMethodInfo *info; 638s # GVariantIter iter; 638s # GVariant *child; 638s # GValue *paramv; 638s # gsize num_params; 638s # guint num_extra; 638s # gsize n; 638s # guint signal_id; 638s # GValue return_value = G_VALUE_INIT; 638s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 638s # g_assert (info != NULL); 638s # num_params = g_variant_n_children (parameters); 638s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 638s # n = 0; 638s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 638s # g_value_set_object (¶mv[n++], skeleton); 638s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 638s # g_value_set_object (¶mv[n++], invocation); 638s # if (info->pass_fdlist) 638s # { 638s # #ifdef G_OS_UNIX 638s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 638s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 638s # #else 638s # g_assert_not_reached (); 638s # #endif 638s # } 638s # g_variant_iter_init (&iter, parameters); 638s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 638s # { 638s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 638s # if (arg_info->use_gvariant) 638s # { 638s # g_value_init (¶mv[n], G_TYPE_VARIANT); 638s # g_value_set_variant (¶mv[n], child); 638s # n++; 638s # } 638s # else 638s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 638s # g_variant_unref (child); 638s # } 638s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 638s # g_value_init (&return_value, G_TYPE_BOOLEAN); 638s # g_signal_emitv (paramv, signal_id, 0, &return_value); 638s # if (!g_value_get_boolean (&return_value)) 638s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 638s # g_value_unset (&return_value); 638s # for (n = 0; n < num_params + num_extra; n++) 638s # g_value_unset (¶mv[n]); 638s # g_free (paramv); 638s # } 638s # 638s # static GVariant * 638s # _org_project_useful_interface_skeleton_handle_get_property ( 638s # GDBusConnection *connection G_GNUC_UNUSED, 638s # const gchar *sender G_GNUC_UNUSED, 638s # const gchar *object_path G_GNUC_UNUSED, 638s # const gchar *interface_name G_GNUC_UNUSED, 638s # const gchar *property_name, 638s # GError **error, 638s # gpointer user_data) 638s # { 638s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 638s # GValue value = G_VALUE_INIT; 638s # GParamSpec *pspec; 638s # _ExtendedGDBusPropertyInfo *info; 638s # GVariant *ret; 638s # ret = NULL; 638s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 638s # g_assert (info != NULL); 638s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 638s # if (pspec == NULL) 638s # { 638s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 638s # } 638s # else 638s # { 638s # g_value_init (&value, pspec->value_type); 638s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 638s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 638s # g_value_unset (&value); 638s # } 638s # return ret; 638s # } 638s # 638s # static gboolean 638s # _org_project_useful_interface_skeleton_handle_set_property ( 638s # GDBusConnection *connection G_GNUC_UNUSED, 638s # const gchar *sender G_GNUC_UNUSED, 638s # const gchar *object_path G_GNUC_UNUSED, 638s # const gchar *interface_name G_GNUC_UNUSED, 638s # const gchar *property_name, 638s # GVariant *variant, 638s # GError **error, 638s # gpointer user_data) 638s # { 638s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 638s # GValue value = G_VALUE_INIT; 638s # GParamSpec *pspec; 638s # _ExtendedGDBusPropertyInfo *info; 638s # gboolean ret; 638s # ret = FALSE; 638s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 638s # g_assert (info != NULL); 638s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 638s # if (pspec == NULL) 638s # { 638s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 638s # } 638s # else 638s # { 638s # if (info->use_gvariant) 638s # g_value_set_variant (&value, variant); 638s # else 638s # g_dbus_gvariant_to_gvalue (variant, &value); 638s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 638s # g_value_unset (&value); 638s # ret = TRUE; 638s # } 638s # return ret; 638s # } 638s # 638s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 638s # { 638s # _org_project_useful_interface_skeleton_handle_method_call, 638s # _org_project_useful_interface_skeleton_handle_get_property, 638s # _org_project_useful_interface_skeleton_handle_set_property, 638s # {NULL} 638s # }; 638s # 638s # static GDBusInterfaceInfo * 638s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 638s # { 638s # return org_project_useful_interface_interface_info (); 638s # } 638s # 638s # static GDBusInterfaceVTable * 638s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 638s # { 638s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 638s # } 638s # 638s # static GVariant * 638s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 638s # { 638s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 638s # 638s # GVariantBuilder builder; 638s # guint n; 638s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 638s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 638s # goto out; 638s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 638s # { 638s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 638s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 638s # { 638s # GVariant *value; 638s # 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); 638s # if (value != NULL) 638s # { 638s # g_variant_take_ref (value); 638s # g_variant_builder_add (&builder, "{sv}", info->name, value); 638s # g_variant_unref (value); 638s # } 638s # } 638s # } 638s # out: 638s # return g_variant_builder_end (&builder); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 638s # { 638s # } 638s # 638s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 638s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 638s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 638s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 638s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 638s # 638s # #else 638s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 638s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 638s # 638s # #endif 638s # static void 638s # org_project_useful_interface_skeleton_finalize (GObject *object) 638s # { 638s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 638s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 638s # if (skeleton->priv->changed_properties_idle_source != NULL) 638s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 638s # g_main_context_unref (skeleton->priv->context); 638s # g_mutex_clear (&skeleton->priv->lock); 638s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 638s # { 638s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 638s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 638s # #else 638s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 638s # #endif 638s # 638s # g_mutex_init (&skeleton->priv->lock); 638s # skeleton->priv->context = g_main_context_ref_thread_default (); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 638s # { 638s # GObjectClass *gobject_class; 638s # GDBusInterfaceSkeletonClass *skeleton_class; 638s # 638s # gobject_class = G_OBJECT_CLASS (klass); 638s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 638s # 638s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 638s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 638s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 638s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 638s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 638s # 638s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 638s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 638s # #endif 638s # } 638s # 638s # static void 638s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 638s # { 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_skeleton_new: 638s # * 638s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 638s # * 638s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 638s # */ 638s # OrgProjectUsefulInterface * 638s # org_project_useful_interface_skeleton_new (void) 638s # { 638s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 638s # } 638s # /tmp/tmpp9t62ouk/tmp869_wd6e.xml: 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp9t62ouk/tmp869_wd6e.xml', '--output', '-', '--body'] 638s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 638s # Output: /* 638s # * This file is generated by gdbus-codegen, do not modify it. 638s # * 638s # * The license of this code is the same as for the D-Bus interface description 638s # * it was derived from. Note that it links to GLib, so must comply with the 638s # * LGPL linking clauses. 638s # */ 638s # 638s # #ifdef HAVE_CONFIG_H 638s # # include "config.h" 638s # #endif 638s # 638s # #include 638s # #ifdef G_OS_UNIX 638s # # include 638s # #endif 638s # 638s # #ifdef G_ENABLE_DEBUG 638s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 638s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 638s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 638s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 638s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 638s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 638s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 638s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 638s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 638s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 638s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 638s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 638s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 638s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 638s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 638s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 638s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 638s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 638s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 638s # #else /* !G_ENABLE_DEBUG */ 638s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 638s # * Do not access GValues directly in your code. Instead, use the 638s # * g_value_get_*() functions 638s # */ 638s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 638s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 638s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 638s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 638s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 638s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 638s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 638s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 638s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 638s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 638s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 638s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 638s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 638s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 638s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 638s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 638s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 638s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 638s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 638s # #endif /* !G_ENABLE_DEBUG */ 638s # 638s # typedef struct 638s # { 638s # GDBusArgInfo parent_struct; 638s # gboolean use_gvariant; 638s # } _ExtendedGDBusArgInfo; 638s # 638s # typedef struct 638s # { 638s # GDBusMethodInfo parent_struct; 638s # const gchar *signal_name; 638s # gboolean pass_fdlist; 638s # } _ExtendedGDBusMethodInfo; 638s # 638s # typedef struct 638s # { 638s # GDBusSignalInfo parent_struct; 638s # const gchar *signal_name; 638s # } _ExtendedGDBusSignalInfo; 638s # 638s # typedef struct 638s # { 638s # GDBusPropertyInfo parent_struct; 638s # const gchar *hyphen_name; 638s # guint use_gvariant : 1; 638s # guint emits_changed_signal : 1; 638s # } _ExtendedGDBusPropertyInfo; 638s # 638s # typedef struct 638s # { 638s # GDBusInterfaceInfo parent_struct; 638s # const gchar *hyphen_name; 638s # } _ExtendedGDBusInterfaceInfo; 638s # 638s # typedef struct 638s # { 638s # const _ExtendedGDBusPropertyInfo *info; 638s # guint prop_id; 638s # GValue orig_value; /* the value before the change */ 638s # } ChangedProperty; 638s # 638s # static void 638s # _changed_property_free (ChangedProperty *data) 638s # { 638s # g_value_unset (&data->orig_value); 638s # g_free (data); 638s # } 638s # 638s # static gboolean 638s # _g_strv_equal0 (gchar **a, gchar **b) 638s # { 638s # gboolean ret = FALSE; 638s # guint n; 638s # if (a == NULL && b == NULL) 638s # { 638s # ret = TRUE; 638s # goto out; 638s # } 638s # if (a == NULL || b == NULL) 638s # goto out; 638s # if (g_strv_length (a) != g_strv_length (b)) 638s # goto out; 638s # for (n = 0; a[n] != NULL; n++) 638s # if (g_strcmp0 (a[n], b[n]) != 0) 638s # goto out; 638s # ret = TRUE; 638s # out: 638s # return ret; 638s # } 638s # 638s # static gboolean 638s # _g_variant_equal0 (GVariant *a, GVariant *b) 638s # { 638s # gboolean ret = FALSE; 638s # if (a == NULL && b == NULL) 638s # { 638s # ret = TRUE; 638s # goto out; 638s # } 638s # if (a == NULL || b == NULL) 638s # goto out; 638s # ret = g_variant_equal (a, b); 638s # out: 638s # return ret; 638s # } 638s # 638s # G_GNUC_UNUSED static gboolean 638s # _g_value_equal (const GValue *a, const GValue *b) 638s # { 638s # gboolean ret = FALSE; 638s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 638s # switch (G_VALUE_TYPE (a)) 638s # { 638s # case G_TYPE_BOOLEAN: 638s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 638s # break; 638s # case G_TYPE_UCHAR: 638s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 638s # break; 638s # case G_TYPE_INT: 638s # ret = (g_value_get_int (a) == g_value_get_int (b)); 638s # break; 638s # case G_TYPE_UINT: 638s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 638s # break; 638s # case G_TYPE_INT64: 638s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 638s # break; 638s # case G_TYPE_UINT64: 638s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 638s # break; 638s # case G_TYPE_DOUBLE: 638s # { 638s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 638s # gdouble da = g_value_get_double (a); 638s # gdouble db = g_value_get_double (b); 638s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 638s # } 638s # break; 638s # case G_TYPE_STRING: 638s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 638s # break; 638s # case G_TYPE_VARIANT: 638s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 638s # break; 638s # default: 638s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 638s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 638s # else 638s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 638s # break; 638s # } 638s # return ret; 638s # } 638s # 638s # static void 638s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 638s # GClosure *closure, 638s # GValue *return_value, 638s # unsigned int n_param_values, 638s # const GValue *param_values, 638s # void *invocation_hint G_GNUC_UNUSED, 638s # void *marshal_data) 638s # { 638s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 638s # (void *data1, 638s # GDBusMethodInvocation *arg_method_invocation, 638s # void *data2); 638s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 638s # GCClosure *cc = (GCClosure*) closure; 638s # void *data1, *data2; 638s # gboolean v_return; 638s # 638s # g_return_if_fail (return_value != NULL); 638s # g_return_if_fail (n_param_values == 2); 638s # 638s # if (G_CCLOSURE_SWAP_DATA (closure)) 638s # { 638s # data1 = closure->data; 638s # data2 = g_value_peek_pointer (param_values + 0); 638s # } 638s # else 638s # { 638s # data1 = g_value_peek_pointer (param_values + 0); 638s # data2 = closure->data; 638s # } 638s # 638s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 638s # (marshal_data ? marshal_data : cc->callback); 638s # 638s # v_return = 638s # callback (data1, 638s # g_marshal_value_peek_object (param_values + 1), 638s # data2); 638s # 638s # g_value_set_boolean (return_value, v_return); 638s # } 638s # 638s # /* ------------------------------------------------------------------------ 638s # * Code for interface org.project.UsefulInterface 638s # * ------------------------------------------------------------------------ 638s # */ 638s # 638s # /** 638s # * SECTION:OrgProjectUsefulInterface 638s # * @title: OrgProjectUsefulInterface 638s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 638s # * 638s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 638s # */ 638s # 638s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 638s # 638s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 638s # { 638s # { 638s # -1, 638s # (gchar *) "arg_asv", 638s # (gchar *) "a{sv}", 638s # NULL 638s # }, 638s # FALSE 638s # }; 638s # 638s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 638s # { 638s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 638s # NULL 638s # }; 638s # 638s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 638s # { 638s # { 638s # -1, 638s # (gchar *) "SingleArgMethodAsv", 638s # NULL, 638s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 638s # NULL 638s # }, 638s # "handle-single-arg-method-asv", 638s # FALSE 638s # }; 638s # 638s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 638s # { 638s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 638s # NULL 638s # }; 638s # 638s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 638s # { 638s # { 638s # -1, 638s # (gchar *) "org.project.UsefulInterface", 638s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 638s # NULL, 638s # NULL, 638s # NULL 638s # }, 638s # "org-project-useful-interface", 638s # }; 638s # 638s # 638s # /** 638s # * org_project_useful_interface_interface_info: 638s # * 638s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 638s # * 638s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 638s # */ 638s # GDBusInterfaceInfo * 638s # org_project_useful_interface_interface_info (void) 638s # { 638s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_override_properties: 638s # * @klass: The class structure for a #GObject derived class. 638s # * @property_id_begin: The property id to assign to the first overridden property. 638s # * 638s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 638s # * The properties are overridden in the order they are defined. 638s # * 638s # * Returns: The last property id. 638s # */ 638s # guint 638s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 638s # { 638s # return property_id_begin - 1; 638s # } 638s # 638s # 638s # inline static void 638s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 638s # GClosure *closure, 638s # GValue *return_value, 638s # unsigned int n_param_values, 638s # const GValue *param_values, 638s # void *invocation_hint, 638s # void *marshal_data) 638s # { 638s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 638s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 638s # } 638s # 638s # 638s # /** 638s # * OrgProjectUsefulInterface: 638s # * 638s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 638s # */ 638s # 638s # /** 638s # * OrgProjectUsefulInterfaceIface: 638s # * @parent_iface: The parent interface. 638s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 638s # * 638s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 638s # */ 638s # 638s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 638s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 638s # 638s # static void 638s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 638s # { 638s # /* GObject signals for incoming D-Bus method calls: */ 638s # /** 638s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 638s # * @object: A #OrgProjectUsefulInterface. 638s # * @invocation: A #GDBusMethodInvocation. 638s # * 638s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 638s # * 638s # * 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. 638s # * 638s # * 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. 638s # */ 638s # g_signal_new ("handle-single-arg-method-asv", 638s # G_TYPE_FROM_INTERFACE (iface), 638s # G_SIGNAL_RUN_LAST, 638s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 638s # g_signal_accumulator_true_handled, 638s # NULL, 638s # org_project_useful_interface_method_marshal_single_arg_method_asv, 638s # G_TYPE_BOOLEAN, 638s # 1, 638s # G_TYPE_DBUS_METHOD_INVOCATION); 638s # 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_call_single_arg_method_asv: 638s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 638s # * @user_data: User data to pass to @callback. 638s # * 638s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 638s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 638s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 638s # * 638s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 638s # */ 638s # void 638s # org_project_useful_interface_call_single_arg_method_asv ( 638s # OrgProjectUsefulInterface *proxy, 638s # GCancellable *cancellable, 638s # GAsyncReadyCallback callback, 638s # gpointer user_data) 638s # { 638s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 638s # "SingleArgMethodAsv", 638s # g_variant_new ("()"), 638s # G_DBUS_CALL_FLAGS_NONE, 638s # -1, 638s # cancellable, 638s # callback, 638s # user_data); 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_call_single_arg_method_asv_finish: 638s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 638s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 638s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 638s # * @error: Return location for error or %NULL. 638s # * 638s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 638s # * 638s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 638s # */ 638s # gboolean 638s # org_project_useful_interface_call_single_arg_method_asv_finish ( 638s # OrgProjectUsefulInterface *proxy, 638s # GVariant **out_arg_asv, 638s # GAsyncResult *res, 638s # GError **error) 638s # { 638s # GVariant *_ret; 638s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 638s # if (_ret == NULL) 638s # goto _out; 638s # g_variant_get (_ret, 638s # "(@a{sv})", 638s # out_arg_asv); 638s # g_variant_unref (_ret); 638s # _out: 638s # return _ret != NULL; 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_call_single_arg_method_asv_sync: 638s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 638s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @error: Return location for error or %NULL. 638s # * 638s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 638s # * 638s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 638s # * 638s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 638s # */ 638s # gboolean 638s # org_project_useful_interface_call_single_arg_method_asv_sync ( 638s # OrgProjectUsefulInterface *proxy, 638s # GVariant **out_arg_asv, 638s # GCancellable *cancellable, 638s # GError **error) 638s # { 638s # GVariant *_ret; 638s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 638s # "SingleArgMethodAsv", 638s # g_variant_new ("()"), 638s # G_DBUS_CALL_FLAGS_NONE, 638s # -1, 638s # cancellable, 638s # error); 638s # if (_ret == NULL) 638s # goto _out; 638s # g_variant_get (_ret, 638s # "(@a{sv})", 638s # out_arg_asv); 638s # g_variant_unref (_ret); 638s # _out: 638s # return _ret != NULL; 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_complete_single_arg_method_asv: 638s # * @object: A #OrgProjectUsefulInterface. 638s # * @invocation: (transfer full): A #GDBusMethodInvocation. 638s # * @arg_asv: Parameter to return. 638s # * 638s # * 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. 638s # * 638s # * This method will free @invocation, you cannot use it afterwards. 638s # */ 638s # void 638s # org_project_useful_interface_complete_single_arg_method_asv ( 638s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 638s # GDBusMethodInvocation *invocation, 638s # GVariant *arg_asv) 638s # { 638s # g_dbus_method_invocation_return_value (invocation, 638s # g_variant_new ("(@a{sv})", 638s # arg_asv)); 638s # } 638s # 638s # /* ------------------------------------------------------------------------ */ 638s # 638s # /** 638s # * OrgProjectUsefulInterfaceProxy: 638s # * 638s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 638s # */ 638s # 638s # /** 638s # * OrgProjectUsefulInterfaceProxyClass: 638s # * @parent_class: The parent class. 638s # * 638s # * Class structure for #OrgProjectUsefulInterfaceProxy. 638s # */ 638s # 638s # struct _OrgProjectUsefulInterfaceProxyPrivate 638s # { 638s # GData *qdata; 638s # }; 638s # 638s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 638s # 638s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 638s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 638s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 638s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 638s # 638s # #else 638s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 638s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 638s # 638s # #endif 638s # static void 638s # org_project_useful_interface_proxy_finalize (GObject *object) 638s # { 638s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 638s # g_datalist_clear (&proxy->priv->qdata); 638s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 638s # guint prop_id G_GNUC_UNUSED, 638s # GValue *value G_GNUC_UNUSED, 638s # GParamSpec *pspec G_GNUC_UNUSED) 638s # { 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 638s # guint prop_id G_GNUC_UNUSED, 638s # const GValue *value G_GNUC_UNUSED, 638s # GParamSpec *pspec G_GNUC_UNUSED) 638s # { 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 638s # const gchar *sender_name G_GNUC_UNUSED, 638s # const gchar *signal_name, 638s # GVariant *parameters) 638s # { 638s # _ExtendedGDBusSignalInfo *info; 638s # GVariantIter iter; 638s # GVariant *child; 638s # GValue *paramv; 638s # gsize num_params; 638s # gsize n; 638s # guint signal_id; 638s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 638s # if (info == NULL) 638s # return; 638s # num_params = g_variant_n_children (parameters); 638s # paramv = g_new0 (GValue, num_params + 1); 638s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 638s # g_value_set_object (¶mv[0], proxy); 638s # g_variant_iter_init (&iter, parameters); 638s # n = 1; 638s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 638s # { 638s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 638s # if (arg_info->use_gvariant) 638s # { 638s # g_value_init (¶mv[n], G_TYPE_VARIANT); 638s # g_value_set_variant (¶mv[n], child); 638s # n++; 638s # } 638s # else 638s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 638s # g_variant_unref (child); 638s # } 638s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 638s # g_signal_emitv (paramv, signal_id, 0, NULL); 638s # for (n = 0; n < num_params + 1; n++) 638s # g_value_unset (¶mv[n]); 638s # g_free (paramv); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 638s # GVariant *changed_properties, 638s # const gchar *const *invalidated_properties) 638s # { 638s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 638s # guint n; 638s # const gchar *key; 638s # GVariantIter *iter; 638s # _ExtendedGDBusPropertyInfo *info; 638s # g_variant_get (changed_properties, "a{sv}", &iter); 638s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 638s # { 638s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 638s # g_datalist_remove_data (&proxy->priv->qdata, key); 638s # if (info != NULL) 638s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 638s # } 638s # g_variant_iter_free (iter); 638s # for (n = 0; invalidated_properties[n] != NULL; n++) 638s # { 638s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 638s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 638s # if (info != NULL) 638s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 638s # } 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 638s # { 638s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 638s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 638s # #else 638s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 638s # #endif 638s # 638s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 638s # { 638s # GObjectClass *gobject_class; 638s # GDBusProxyClass *proxy_class; 638s # 638s # gobject_class = G_OBJECT_CLASS (klass); 638s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 638s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 638s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 638s # 638s # proxy_class = G_DBUS_PROXY_CLASS (klass); 638s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 638s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 638s # 638s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 638s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 638s # #endif 638s # } 638s # 638s # static void 638s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 638s # { 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new: 638s # * @connection: A #GDBusConnection. 638s # * @flags: Flags from the #GDBusProxyFlags enumeration. 638s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 638s # * @object_path: An object path. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 638s # * @user_data: User data to pass to @callback. 638s # * 638s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 638s # * 638s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 638s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 638s # * 638s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 638s # */ 638s # void 638s # org_project_useful_interface_proxy_new ( 638s # GDBusConnection *connection, 638s # GDBusProxyFlags flags, 638s # const gchar *name, 638s # const gchar *object_path, 638s # GCancellable *cancellable, 638s # GAsyncReadyCallback callback, 638s # gpointer user_data) 638s # { 638s # g_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); 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new_finish: 638s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 638s # * @error: Return location for error or %NULL 638s # * 638s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 638s # * 638s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 638s # */ 638s # OrgProjectUsefulInterface * 638s # org_project_useful_interface_proxy_new_finish ( 638s # GAsyncResult *res, 638s # GError **error) 638s # { 638s # GObject *ret; 638s # GObject *source_object; 638s # source_object = g_async_result_get_source_object (res); 638s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 638s # g_object_unref (source_object); 638s # if (ret != NULL) 638s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 638s # else 638s # return NULL; 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new_sync: 638s # * @connection: A #GDBusConnection. 638s # * @flags: Flags from the #GDBusProxyFlags enumeration. 638s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 638s # * @object_path: An object path. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @error: Return location for error or %NULL 638s # * 638s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 638s # * 638s # * The calling thread is blocked until a reply is received. 638s # * 638s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 638s # * 638s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 638s # */ 638s # OrgProjectUsefulInterface * 638s # org_project_useful_interface_proxy_new_sync ( 638s # GDBusConnection *connection, 638s # GDBusProxyFlags flags, 638s # const gchar *name, 638s # const gchar *object_path, 638s # GCancellable *cancellable, 638s # GError **error) 638s # { 638s # GInitable *ret; 638s # 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); 638s # if (ret != NULL) 638s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 638s # else 638s # return NULL; 638s # } 638s # 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new_for_bus: 638s # * @bus_type: A #GBusType. 638s # * @flags: Flags from the #GDBusProxyFlags enumeration. 638s # * @name: A bus name (well-known or unique). 638s # * @object_path: An object path. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 638s # * @user_data: User data to pass to @callback. 638s # * 638s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 638s # * 638s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 638s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 638s # * 638s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 638s # */ 638s # void 638s # org_project_useful_interface_proxy_new_for_bus ( 638s # GBusType bus_type, 638s # GDBusProxyFlags flags, 638s # const gchar *name, 638s # const gchar *object_path, 638s # GCancellable *cancellable, 638s # GAsyncReadyCallback callback, 638s # gpointer user_data) 638s # { 638s # g_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); 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new_for_bus_finish: 638s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 638s # * @error: Return location for error or %NULL 638s # * 638s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 638s # * 638s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 638s # */ 638s # OrgProjectUsefulInterface * 638s # org_project_useful_interface_proxy_new_for_bus_finish ( 638s # GAsyncResult *res, 638s # GError **error) 638s # { 638s # GObject *ret; 638s # GObject *source_object; 638s # source_object = g_async_result_get_source_object (res); 638s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 638s # g_object_unref (source_object); 638s # if (ret != NULL) 638s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 638s # else 638s # return NULL; 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_proxy_new_for_bus_sync: 638s # * @bus_type: A #GBusType. 638s # * @flags: Flags from the #GDBusProxyFlags enumeration. 638s # * @name: A bus name (well-known or unique). 638s # * @object_path: An object path. 638s # * @cancellable: (nullable): A #GCancellable or %NULL. 638s # * @error: Return location for error or %NULL 638s # * 638s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 638s # * 638s # * The calling thread is blocked until a reply is received. 638s # * 638s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 638s # * 638s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 638s # */ 638s # OrgProjectUsefulInterface * 638s # org_project_useful_interface_proxy_new_for_bus_sync ( 638s # GBusType bus_type, 638s # GDBusProxyFlags flags, 638s # const gchar *name, 638s # const gchar *object_path, 638s # GCancellable *cancellable, 638s # GError **error) 638s # { 638s # GInitable *ret; 638s # 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); 638s # if (ret != NULL) 638s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 638s # else 638s # return NULL; 638s # } 638s # 638s # 638s # /* ------------------------------------------------------------------------ */ 638s # 638s # /** 638s # * OrgProjectUsefulInterfaceSkeleton: 638s # * 638s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 638s # */ 638s # 638s # /** 638s # * OrgProjectUsefulInterfaceSkeletonClass: 638s # * @parent_class: The parent class. 638s # * 638s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 638s # */ 638s # 638s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 638s # { 638s # GValue *properties; 638s # GList *changed_properties; 638s # GSource *changed_properties_idle_source; 638s # GMainContext *context; 638s # GMutex lock; 638s # }; 638s # 638s # static void 638s # _org_project_useful_interface_skeleton_handle_method_call ( 638s # GDBusConnection *connection G_GNUC_UNUSED, 638s # const gchar *sender G_GNUC_UNUSED, 638s # const gchar *object_path G_GNUC_UNUSED, 638s # const gchar *interface_name, 638s # const gchar *method_name, 638s # GVariant *parameters, 638s # GDBusMethodInvocation *invocation, 638s # gpointer user_data) 638s # { 638s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 638s # _ExtendedGDBusMethodInfo *info; 638s # GVariantIter iter; 638s # GVariant *child; 638s # GValue *paramv; 638s # gsize num_params; 638s # guint num_extra; 638s # gsize n; 638s # guint signal_id; 638s # GValue return_value = G_VALUE_INIT; 638s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 638s # g_assert (info != NULL); 638s # num_params = g_variant_n_children (parameters); 638s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 638s # n = 0; 638s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 638s # g_value_set_object (¶mv[n++], skeleton); 638s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 638s # g_value_set_object (¶mv[n++], invocation); 638s # if (info->pass_fdlist) 638s # { 638s # #ifdef G_OS_UNIX 638s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 638s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 638s # #else 638s # g_assert_not_reached (); 638s # #endif 638s # } 638s # g_variant_iter_init (&iter, parameters); 638s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 638s # { 638s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 638s # if (arg_info->use_gvariant) 638s # { 638s # g_value_init (¶mv[n], G_TYPE_VARIANT); 638s # g_value_set_variant (¶mv[n], child); 638s # n++; 638s # } 638s # else 638s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 638s # g_variant_unref (child); 638s # } 638s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 638s # g_value_init (&return_value, G_TYPE_BOOLEAN); 638s # g_signal_emitv (paramv, signal_id, 0, &return_value); 638s # if (!g_value_get_boolean (&return_value)) 638s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 638s # g_value_unset (&return_value); 638s # for (n = 0; n < num_params + num_extra; n++) 638s # g_value_unset (¶mv[n]); 638s # g_free (paramv); 638s # } 638s # 638s # static GVariant * 638s # _org_project_useful_interface_skeleton_handle_get_property ( 638s # GDBusConnection *connection G_GNUC_UNUSED, 638s # const gchar *sender G_GNUC_UNUSED, 638s # const gchar *object_path G_GNUC_UNUSED, 638s # const gchar *interface_name G_GNUC_UNUSED, 638s # const gchar *property_name, 638s # GError **error, 638s # gpointer user_data) 638s # { 638s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 638s # GValue value = G_VALUE_INIT; 638s # GParamSpec *pspec; 638s # _ExtendedGDBusPropertyInfo *info; 638s # GVariant *ret; 638s # ret = NULL; 638s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 638s # g_assert (info != NULL); 638s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 638s # if (pspec == NULL) 638s # { 638s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 638s # } 638s # else 638s # { 638s # g_value_init (&value, pspec->value_type); 638s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 638s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 638s # g_value_unset (&value); 638s # } 638s # return ret; 638s # } 638s # 638s # static gboolean 638s # _org_project_useful_interface_skeleton_handle_set_property ( 638s # GDBusConnection *connection G_GNUC_UNUSED, 638s # const gchar *sender G_GNUC_UNUSED, 638s # const gchar *object_path G_GNUC_UNUSED, 638s # const gchar *interface_name G_GNUC_UNUSED, 638s # const gchar *property_name, 638s # GVariant *variant, 638s # GError **error, 638s # gpointer user_data) 638s # { 638s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 638s # GValue value = G_VALUE_INIT; 638s # GParamSpec *pspec; 638s # _ExtendedGDBusPropertyInfo *info; 638s # gboolean ret; 638s # ret = FALSE; 638s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 638s # g_assert (info != NULL); 638s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 638s # if (pspec == NULL) 638s # { 638s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 638s # } 638s # else 638s # { 638s # if (info->use_gvariant) 638s # g_value_set_variant (&value, variant); 638s # else 638s # g_dbus_gvariant_to_gvalue (variant, &value); 638s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 638s # g_value_unset (&value); 638s # ret = TRUE; 638s # } 638s # return ret; 638s # } 638s # 638s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 638s # { 638s # _org_project_useful_interface_skeleton_handle_method_call, 638s # _org_project_useful_interface_skeleton_handle_get_property, 638s # _org_project_useful_interface_skeleton_handle_set_property, 638s # {NULL} 638s # }; 638s # 638s # static GDBusInterfaceInfo * 638s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 638s # { 638s # return org_project_useful_interface_interface_info (); 638s # } 638s # 638s # static GDBusInterfaceVTable * 638s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 638s # { 638s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 638s # } 638s # 638s # static GVariant * 638s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 638s # { 638s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 638s # 638s # GVariantBuilder builder; 638s # guint n; 638s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 638s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 638s # goto out; 638s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 638s # { 638s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 638s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 638s # { 638s # GVariant *value; 638s # 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); 638s # if (value != NULL) 638s # { 638s # g_variant_take_ref (value); 638s # g_variant_builder_add (&builder, "{sv}", info->name, value); 638s # g_variant_unref (value); 638s # } 638s # } 638s # } 638s # out: 638s # return g_variant_builder_end (&builder); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 638s # { 638s # } 638s # 638s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 638s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 638s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 638s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 638s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 638s # 638s # #else 638s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 638s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 638s # 638s # #endif 638s # static void 638s # org_project_useful_interface_skeleton_finalize (GObject *object) 638s # { 638s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 638s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 638s # if (skeleton->priv->changed_properties_idle_source != NULL) 638s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 638s # g_main_context_unref (skeleton->priv->context); 638s # g_mutex_clear (&skeleton->priv->lock); 638s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 638s # { 638s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 638s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 638s # #else 638s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 638s # #endif 638s # 638s # g_mutex_init (&skeleton->priv->lock); 638s # skeleton->priv->context = g_main_context_ref_thread_default (); 638s # } 638s # 638s # static void 638s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 638s # { 638s # GObjectClass *gobject_class; 638s # GDBusInterfaceSkeletonClass *skeleton_class; 638s # 638s # gobject_class = G_OBJECT_CLASS (klass); 638s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 638s # 638s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 638s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 638s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 638s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 638s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 638s # 638s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 638s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 638s # #endif 638s # } 638s # 638s # static void 638s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 638s # { 638s # } 638s # 638s # /** 638s # * org_project_useful_interface_skeleton_new: 638s # * 638s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 638s # * 638s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 638s # */ 638s # OrgProjectUsefulInterface * 638s # org_project_useful_interface_skeleton_new (void) 638s # { 638s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 638s # } 638s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 638s # tmpdir: /tmp/tmp5klb8zoy 638s # codegen: /usr/bin/gdbus-codegen 638s # /tmp/tmp5klb8zoy/tmpfjc6d1eb.xml: 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # 638s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5klb8zoy/tmpfjc6d1eb.xml', '--output', '-', '--body'] 639s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 639s # Output: /* 639s # * This file is generated by gdbus-codegen, do not modify it. 639s # * 639s # * The license of this code is the same as for the D-Bus interface description 639s # * it was derived from. Note that it links to GLib, so must comply with the 639s # * LGPL linking clauses. 639s # */ 639s # 639s # #ifdef HAVE_CONFIG_H 639s # # include "config.h" 639s # #endif 639s # 639s # #include 639s # #ifdef G_OS_UNIX 639s # # include 639s # #endif 639s # 639s # #ifdef G_ENABLE_DEBUG 639s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 639s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 639s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 639s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 639s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 639s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 639s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 639s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 639s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 639s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 639s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 639s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 639s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 639s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 639s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 639s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 639s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 639s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 639s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 639s # #else /* !G_ENABLE_DEBUG */ 639s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 639s # * Do not access GValues directly in your code. Instead, use the 639s # * g_value_get_*() functions 639s # */ 639s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 639s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 639s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 639s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 639s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 639s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 639s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 639s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 639s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 639s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 639s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 639s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 639s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 639s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 639s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 639s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 639s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 639s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 639s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 639s # #endif /* !G_ENABLE_DEBUG */ 639s # 639s # typedef struct 639s # { 639s # GDBusArgInfo parent_struct; 639s # gboolean use_gvariant; 639s # } _ExtendedGDBusArgInfo; 639s # 639s # typedef struct 639s # { 639s # GDBusMethodInfo parent_struct; 639s # const gchar *signal_name; 639s # gboolean pass_fdlist; 639s # } _ExtendedGDBusMethodInfo; 639s # 639s # typedef struct 639s # { 639s # GDBusSignalInfo parent_struct; 639s # const gchar *signal_name; 639s # } _ExtendedGDBusSignalInfo; 639s # 639s # typedef struct 639s # { 639s # GDBusPropertyInfo parent_struct; 639s # const gchar *hyphen_name; 639s # guint use_gvariant : 1; 639s # guint emits_changed_signal : 1; 639s # } _ExtendedGDBusPropertyInfo; 639s # 639s # typedef struct 639s # { 639s # GDBusInterfaceInfo parent_struct; 639s # const gchar *hyphen_name; 639s # } _ExtendedGDBusInterfaceInfo; 639s # 639s # typedef struct 639s # { 639s # const _ExtendedGDBusPropertyInfo *info; 639s # guint prop_id; 639s # GValue orig_value; /* the value before the change */ 639s # } ChangedProperty; 639s # 639s # static void 639s # _changed_property_free (ChangedProperty *data) 639s # { 639s # g_value_unset (&data->orig_value); 639s # g_free (data); 639s # } 639s # 639s # static gboolean 639s # _g_strv_equal0 (gchar **a, gchar **b) 639s # { 639s # gboolean ret = FALSE; 639s # guint n; 639s # if (a == NULL && b == NULL) 639s # { 639s # ret = TRUE; 639s # goto out; 639s # } 639s # if (a == NULL || b == NULL) 639s # goto out; 639s # if (g_strv_length (a) != g_strv_length (b)) 639s # goto out; 639s # for (n = 0; a[n] != NULL; n++) 639s # if (g_strcmp0 (a[n], b[n]) != 0) 639s # goto out; 639s # ret = TRUE; 639s # out: 639s # return ret; 639s # } 639s # 639s # static gboolean 639s # _g_variant_equal0 (GVariant *a, GVariant *b) 639s # { 639s # gboolean ret = FALSE; 639s # if (a == NULL && b == NULL) 639s # { 639s # ret = TRUE; 639s # goto out; 639s # } 639s # if (a == NULL || b == NULL) 639s # goto out; 639s # ret = g_variant_equal (a, b); 639s # out: 639s # return ret; 639s # } 639s # 639s # G_GNUC_UNUSED static gboolean 639s # _g_value_equal (const GValue *a, const GValue *b) 639s # { 639s # gboolean ret = FALSE; 639s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 639s # switch (G_VALUE_TYPE (a)) 639s # { 639s # case G_TYPE_BOOLEAN: 639s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 639s # break; 639s # case G_TYPE_UCHAR: 639s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 639s # break; 639s # case G_TYPE_INT: 639s # ret = (g_value_get_int (a) == g_value_get_int (b)); 639s # break; 639s # case G_TYPE_UINT: 639s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 639s # break; 639s # case G_TYPE_INT64: 639s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 639s # break; 639s # case G_TYPE_UINT64: 639s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 639s # break; 639s # case G_TYPE_DOUBLE: 639s # { 639s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 639s # gdouble da = g_value_get_double (a); 639s # gdouble db = g_value_get_double (b); 639s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 639s # } 639s # break; 639s # case G_TYPE_STRING: 639s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 639s # break; 639s # case G_TYPE_VARIANT: 639s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 639s # break; 639s # default: 639s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 639s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 639s # else 639s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 639s # break; 639s # } 639s # return ret; 639s # } 639s # 639s # static void 639s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 639s # GClosure *closure, 639s # GValue *return_value, 639s # unsigned int n_param_values, 639s # const GValue *param_values, 639s # void *invocation_hint G_GNUC_UNUSED, 639s # void *marshal_data) 639s # { 639s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 639s # (void *data1, 639s # GDBusMethodInvocation *arg_method_invocation, 639s # gboolean arg_an_b, 639s # guchar arg_an_y, 639s # gint16 arg_an_n, 639s # guint16 arg_an_q, 639s # gint arg_an_i, 639s # guint arg_an_u, 639s # gint64 arg_an_x, 639s # guint64 arg_an_t, 639s # gdouble arg_an_d, 639s # const gchar *arg_an_s, 639s # const gchar *arg_an_o, 639s # const gchar *arg_an_g, 639s # GVariant *arg_an_h, 639s # const gchar *arg_an_ay, 639s # const gchar *const *arg_an_as, 639s # const gchar *const *arg_an_ao, 639s # const gchar *const *arg_an_aay, 639s # GVariant *arg_an_asv, 639s # void *data2); 639s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 639s # GCClosure *cc = (GCClosure*) closure; 639s # void *data1, *data2; 639s # gboolean v_return; 639s # 639s # g_return_if_fail (return_value != NULL); 639s # g_return_if_fail (n_param_values == 20); 639s # 639s # if (G_CCLOSURE_SWAP_DATA (closure)) 639s # { 639s # data1 = closure->data; 639s # data2 = g_value_peek_pointer (param_values + 0); 639s # } 639s # else 639s # { 639s # data1 = g_value_peek_pointer (param_values + 0); 639s # data2 = closure->data; 639s # } 639s # 639s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 639s # (marshal_data ? marshal_data : cc->callback); 639s # 639s # v_return = 639s # callback (data1, 639s # g_marshal_value_peek_object (param_values + 1), 639s # g_marshal_value_peek_boolean (param_values + 2), 639s # g_marshal_value_peek_uchar (param_values + 3), 639s # g_marshal_value_peek_int (param_values + 4), 639s # g_marshal_value_peek_uint (param_values + 5), 639s # g_marshal_value_peek_int (param_values + 6), 639s # g_marshal_value_peek_uint (param_values + 7), 639s # g_marshal_value_peek_int64 (param_values + 8), 639s # g_marshal_value_peek_uint64 (param_values + 9), 639s # g_marshal_value_peek_double (param_values + 10), 639s # g_marshal_value_peek_string (param_values + 11), 639s # g_marshal_value_peek_string (param_values + 12), 639s # g_marshal_value_peek_string (param_values + 13), 639s # g_marshal_value_peek_variant (param_values + 14), 639s # g_marshal_value_peek_string (param_values + 15), 639s # g_marshal_value_peek_boxed (param_values + 16), 639s # g_marshal_value_peek_boxed (param_values + 17), 639s # g_marshal_value_peek_boxed (param_values + 18), 639s # g_marshal_value_peek_variant (param_values + 19), 639s # data2); 639s # 639s # g_value_set_boolean (return_value, v_return); 639s # } 639s # 639s # /* ------------------------------------------------------------------------ 639s # * Code for interface org.project.CallableIface 639s # * ------------------------------------------------------------------------ 639s # */ 639s # 639s # /** 639s # * SECTION:OrgProjectCallableIface 639s # * @title: OrgProjectCallableIface 639s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 639s # * 639s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 639s # */ 639s # 639s # /* ---- Introspection data for org.project.CallableIface ---- */ 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_b", 639s # (gchar *) "b", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_y", 639s # (gchar *) "y", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_n", 639s # (gchar *) "n", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_q", 639s # (gchar *) "q", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_i", 639s # (gchar *) "i", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_u", 639s # (gchar *) "u", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_x", 639s # (gchar *) "x", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_t", 639s # (gchar *) "t", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_d", 639s # (gchar *) "d", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_s", 639s # (gchar *) "s", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_o", 639s # (gchar *) "o", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_g", 639s # (gchar *) "g", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_h", 639s # (gchar *) "h", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_ay", 639s # (gchar *) "ay", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_as", 639s # (gchar *) "as", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_ao", 639s # (gchar *) "ao", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_aay", 639s # (gchar *) "aay", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_asv", 639s # (gchar *) "a{sv}", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 639s # { 639s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 639s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 639s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 639s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 639s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 639s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 639s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 639s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 639s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 639s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 639s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 639s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 639s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 639s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 639s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 639s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 639s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 639s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 639s # NULL 639s # }; 639s # 639s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 639s # { 639s # { 639s # -1, 639s # (gchar *) "MethodWithManyArgs", 639s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 639s # NULL, 639s # NULL 639s # }, 639s # "handle-method-with-many-args", 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_b", 639s # (gchar *) "b", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_y", 639s # (gchar *) "y", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_n", 639s # (gchar *) "n", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_q", 639s # (gchar *) "q", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_i", 639s # (gchar *) "i", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_u", 639s # (gchar *) "u", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_x", 639s # (gchar *) "x", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_t", 639s # (gchar *) "t", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_d", 639s # (gchar *) "d", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_s", 639s # (gchar *) "s", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_o", 639s # (gchar *) "o", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_g", 639s # (gchar *) "g", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_h", 639s # (gchar *) "h", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_ay", 639s # (gchar *) "ay", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_as", 639s # (gchar *) "as", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_ao", 639s # (gchar *) "ao", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_aay", 639s # (gchar *) "aay", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_asv", 639s # (gchar *) "a{sv}", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 639s # { 639s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 639s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 639s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 639s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 639s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 639s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 639s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 639s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 639s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 639s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 639s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 639s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 639s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 639s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 639s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 639s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 639s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 639s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 639s # NULL 639s # }; 639s # 639s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 639s # { 639s # { 639s # -1, 639s # (gchar *) "SameMethodWithManyArgs", 639s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 639s # NULL, 639s # NULL 639s # }, 639s # "handle-same-method-with-many-args", 639s # FALSE 639s # }; 639s # 639s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 639s # { 639s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 639s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 639s # NULL 639s # }; 639s # 639s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 639s # { 639s # { 639s # -1, 639s # (gchar *) "org.project.CallableIface", 639s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 639s # NULL, 639s # NULL, 639s # NULL 639s # }, 639s # "org-project-callable-iface", 639s # }; 639s # 639s # 639s # /** 639s # * org_project_callable_iface_interface_info: 639s # * 639s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 639s # * 639s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 639s # */ 639s # GDBusInterfaceInfo * 639s # org_project_callable_iface_interface_info (void) 639s # { 639s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 639s # } 639s # 639s # /** 639s # * org_project_callable_iface_override_properties: 639s # * @klass: The class structure for a #GObject derived class. 639s # * @property_id_begin: The property id to assign to the first overridden property. 639s # * 639s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 639s # * The properties are overridden in the order they are defined. 639s # * 639s # * Returns: The last property id. 639s # */ 639s # guint 639s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 639s # { 639s # return property_id_begin - 1; 639s # } 639s # 639s # 639s # inline static void 639s # org_project_callable_iface_method_marshal_method_with_many_args ( 639s # GClosure *closure, 639s # GValue *return_value, 639s # unsigned int n_param_values, 639s # const GValue *param_values, 639s # void *invocation_hint, 639s # void *marshal_data) 639s # { 639s # _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, 639s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 639s # } 639s # 639s # inline static void 639s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 639s # GClosure *closure, 639s # GValue *return_value, 639s # unsigned int n_param_values, 639s # const GValue *param_values, 639s # void *invocation_hint, 639s # void *marshal_data) 639s # { 639s # _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, 639s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 639s # } 639s # 639s # 639s # /** 639s # * OrgProjectCallableIface: 639s # * 639s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 639s # */ 639s # 639s # /** 639s # * OrgProjectCallableIfaceIface: 639s # * @parent_iface: The parent interface. 639s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 639s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 639s # * 639s # * Virtual table for the D-Bus interface org.project.CallableIface. 639s # */ 639s # 639s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 639s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 639s # 639s # static void 639s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 639s # { 639s # /* GObject signals for incoming D-Bus method calls: */ 639s # /** 639s # * OrgProjectCallableIface::handle-method-with-many-args: 639s # * @object: A #OrgProjectCallableIface. 639s # * @invocation: A #GDBusMethodInvocation. 639s # * @arg_an_b: Argument passed by remote caller. 639s # * @arg_an_y: Argument passed by remote caller. 639s # * @arg_an_n: Argument passed by remote caller. 639s # * @arg_an_q: Argument passed by remote caller. 639s # * @arg_an_i: Argument passed by remote caller. 639s # * @arg_an_u: Argument passed by remote caller. 639s # * @arg_an_x: Argument passed by remote caller. 639s # * @arg_an_t: Argument passed by remote caller. 639s # * @arg_an_d: Argument passed by remote caller. 639s # * @arg_an_s: Argument passed by remote caller. 639s # * @arg_an_o: Argument passed by remote caller. 639s # * @arg_an_g: Argument passed by remote caller. 639s # * @arg_an_h: Argument passed by remote caller. 639s # * @arg_an_ay: Argument passed by remote caller. 639s # * @arg_an_as: Argument passed by remote caller. 639s # * @arg_an_ao: Argument passed by remote caller. 639s # * @arg_an_aay: Argument passed by remote caller. 639s # * @arg_an_asv: Argument passed by remote caller. 639s # * 639s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 639s # * 639s # * 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. 639s # * 639s # * 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. 639s # */ 639s # g_signal_new ("handle-method-with-many-args", 639s # G_TYPE_FROM_INTERFACE (iface), 639s # G_SIGNAL_RUN_LAST, 639s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 639s # g_signal_accumulator_true_handled, 639s # NULL, 639s # org_project_callable_iface_method_marshal_method_with_many_args, 639s # G_TYPE_BOOLEAN, 639s # 19, 639s # 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); 639s # 639s # /** 639s # * OrgProjectCallableIface::handle-same-method-with-many-args: 639s # * @object: A #OrgProjectCallableIface. 639s # * @invocation: A #GDBusMethodInvocation. 639s # * @arg_an_b: Argument passed by remote caller. 639s # * @arg_an_y: Argument passed by remote caller. 639s # * @arg_an_n: Argument passed by remote caller. 639s # * @arg_an_q: Argument passed by remote caller. 639s # * @arg_an_i: Argument passed by remote caller. 639s # * @arg_an_u: Argument passed by remote caller. 639s # * @arg_an_x: Argument passed by remote caller. 639s # * @arg_an_t: Argument passed by remote caller. 639s # * @arg_an_d: Argument passed by remote caller. 639s # * @arg_an_s: Argument passed by remote caller. 639s # * @arg_an_o: Argument passed by remote caller. 639s # * @arg_an_g: Argument passed by remote caller. 639s # * @arg_an_h: Argument passed by remote caller. 639s # * @arg_an_ay: Argument passed by remote caller. 639s # * @arg_an_as: Argument passed by remote caller. 639s # * @arg_an_ao: Argument passed by remote caller. 639s # * @arg_an_aay: Argument passed by remote caller. 639s # * @arg_an_asv: Argument passed by remote caller. 639s # * 639s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 639s # * 639s # * 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. 639s # * 639s # * 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. 639s # */ 639s # g_signal_new ("handle-same-method-with-many-args", 639s # G_TYPE_FROM_INTERFACE (iface), 639s # G_SIGNAL_RUN_LAST, 639s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 639s # g_signal_accumulator_true_handled, 639s # NULL, 639s # org_project_callable_iface_method_marshal_same_method_with_many_args, 639s # G_TYPE_BOOLEAN, 639s # 19, 639s # 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); 639s # 639s # } 639s # 639s # /** 639s # * org_project_callable_iface_call_method_with_many_args: 639s # * @proxy: A #OrgProjectCallableIfaceProxy. 639s # * @arg_an_b: Argument to pass with the method invocation. 639s # * @arg_an_y: Argument to pass with the method invocation. 639s # * @arg_an_n: Argument to pass with the method invocation. 639s # * @arg_an_q: Argument to pass with the method invocation. 639s # * @arg_an_i: Argument to pass with the method invocation. 639s # * @arg_an_u: Argument to pass with the method invocation. 639s # * @arg_an_x: Argument to pass with the method invocation. 639s # * @arg_an_t: Argument to pass with the method invocation. 639s # * @arg_an_d: Argument to pass with the method invocation. 639s # * @arg_an_s: Argument to pass with the method invocation. 639s # * @arg_an_o: Argument to pass with the method invocation. 639s # * @arg_an_g: Argument to pass with the method invocation. 639s # * @arg_an_h: Argument to pass with the method invocation. 639s # * @arg_an_ay: Argument to pass with the method invocation. 639s # * @arg_an_as: Argument to pass with the method invocation. 639s # * @arg_an_ao: Argument to pass with the method invocation. 639s # * @arg_an_aay: Argument to pass with the method invocation. 639s # * @arg_an_asv: Argument to pass with the method invocation. 639s # * @cancellable: (nullable): A #GCancellable or %NULL. 639s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 639s # * @user_data: User data to pass to @callback. 639s # * 639s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 639s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 639s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 639s # * 639s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 639s # */ 639s # void 639s # org_project_callable_iface_call_method_with_many_args ( 639s # OrgProjectCallableIface *proxy, 639s # gboolean arg_an_b, 639s # guchar arg_an_y, 639s # gint16 arg_an_n, 639s # guint16 arg_an_q, 639s # gint arg_an_i, 639s # guint arg_an_u, 639s # gint64 arg_an_x, 639s # guint64 arg_an_t, 639s # gdouble arg_an_d, 639s # const gchar *arg_an_s, 639s # const gchar *arg_an_o, 639s # const gchar *arg_an_g, 639s # GVariant *arg_an_h, 639s # const gchar *arg_an_ay, 639s # const gchar *const *arg_an_as, 639s # const gchar *const *arg_an_ao, 639s # const gchar *const *arg_an_aay, 639s # GVariant *arg_an_asv, 639s # GCancellable *cancellable, 639s # GAsyncReadyCallback callback, 639s # gpointer user_data) 639s # { 639s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 639s # "MethodWithManyArgs", 639s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 639s # arg_an_b, 639s # arg_an_y, 639s # arg_an_n, 639s # arg_an_q, 639s # arg_an_i, 639s # arg_an_u, 639s # arg_an_x, 639s # arg_an_t, 639s # arg_an_d, 639s # arg_an_s, 639s # arg_an_o, 639s # arg_an_g, 639s # arg_an_h, 639s # arg_an_ay, 639s # arg_an_as, 639s # arg_an_ao, 639s # arg_an_aay, 639s # arg_an_asv), 639s # G_DBUS_CALL_FLAGS_NONE, 639s # -1, 639s # cancellable, 639s # callback, 639s # user_data); 639s # } 639s # 639s # /** 639s # * org_project_callable_iface_call_method_with_many_args_finish: 639s # * @proxy: A #OrgProjectCallableIfaceProxy. 639s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 639s # * @error: Return location for error or %NULL. 639s # * 639s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 639s # * 639s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 639s # */ 639s # gboolean 639s # org_project_callable_iface_call_method_with_many_args_finish ( 639s # OrgProjectCallableIface *proxy, 639s # GAsyncResult *res, 639s # GError **error) 639s # { 639s # GVariant *_ret; 639s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 639s # if (_ret == NULL) 639s # goto _out; 639s # g_variant_get (_ret, 639s # "()"); 639s # g_variant_unref (_ret); 639s # _out: 639s # return _ret != NULL; 639s # } 639s # 639s # /** 639s # * org_project_callable_iface_call_method_with_many_args_sync: 639s # * @proxy: A #OrgProjectCallableIfaceProxy. 639s # * @arg_an_b: Argument to pass with the method invocation. 639s # * @arg_an_y: Argument to pass with the method invocation. 639s # * @arg_an_n: Argument to pass with the method invocation. 639s # * @arg_an_q: Argument to pass with the method invocation. 639s # * @arg_an_i: Argument to pass with the method invocation. 639s # * @arg_an_u: Argument to pass with the method invocation. 639s # * @arg_an_x: Argument to pass with the method invocation. 639s # * @arg_an_t: Argument to pass with the method invocation. 639s # * @arg_an_d: Argument to pass with the method invocation. 639s # * @arg_an_s: Argument to pass with the method invocation. 639s # * @arg_an_o: Argument to pass with the method invocation. 639s # * @arg_an_g: Argument to pass with the method invocation. 639s # * @arg_an_h: Argument to pass with the method invocation. 639s # * @arg_an_ay: Argument to pass with the method invocation. 639s # * @arg_an_as: Argument to pass with the method invocation. 639s # * @arg_an_ao: Argument to pass with the method invocation. 639s # * @arg_an_aay: Argument to pass with the method invocation. 639s # * @arg_an_asv: Argument to pass with the method invocation. 639s # * @cancellable: (nullable): A #GCancellable or %NULL. 639s # * @error: Return location for error or %NULL. 639s # * 639s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 639s # * 639s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 639s # * 639s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 639s # */ 639s # gboolean 639s # org_project_callable_iface_call_method_with_many_args_sync ( 639s # OrgProjectCallableIface *proxy, 639s # gboolean arg_an_b, 639s # guchar arg_an_y, 639s # gint16 arg_an_n, 639s # guint16 arg_an_q, 639s # gint arg_an_i, 639s # guint arg_an_u, 639s # gint64 arg_an_x, 639s # guint64 arg_an_t, 639s # gdouble arg_an_d, 639s # const gchar *arg_an_s, 639s # const gchar *arg_an_o, 639s # const gchar *arg_an_g, 639s # GVariant *arg_an_h, 639s # const gchar *arg_an_ay, 639s # const gchar *const *arg_an_as, 639s # const gchar *const *arg_an_ao, 639s # const gchar *const *arg_an_aay, 639s # GVariant *arg_an_asv, 639s # GCancellable *cancellable, 639s # GError **error) 639s # { 639s # GVariant *_ret; 639s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 639s # "MethodWithManyArgs", 639s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 639s # arg_an_b, 639s # arg_an_y, 639s # arg_an_n, 639s # arg_an_q, 639s # arg_an_i, 639s # arg_an_u, 639s # arg_an_x, 639s # arg_an_t, 639s # arg_an_d, 639s # arg_an_s, 639s # arg_an_o, 639s # arg_an_g, 639s # arg_an_h, 639s # arg_an_ay, 639s # arg_an_as, 639s # arg_an_ao, 639s # arg_an_aay, 639s # arg_an_asv), 639s # G_DBUS_CALL_FLAGS_NONE, 639s # -1, 639s # cancellable, 639s # error); 639s # if (_ret == NULL) 639s # goto _out; 639s # g_variant_get (_ret, 639s # "()"); 639s # g_variant_unref (_ret); 639s # _out: 639s # return _ret != NULL; 639s # } 639s # 639s # /** 639s # * org_project_callable_iface_call_same_method_with_many_args: 639s # * @proxy: A #OrgProjectCallableIfaceProxy. 639s # * @arg_an_b: Argument to pass with the method invocation. 639s # * @arg_an_y: Argument to pass with the method invocation. 639s # * @arg_an_n: Argument to pass with the method invocation. 639s # * @arg_an_q: Argument to pass with the method invocation. 639s # * @arg_an_i: Argument to pass with the method invocation. 639s # * @arg_an_u: Argument to pass with the method invocation. 639s # * @arg_an_x: Argument to pass with the method invocation. 639s # * @arg_an_t: Argument to pass with the method invocation. 639s # * @arg_an_d: Argument to pass with the method invocation. 639s # * @arg_an_s: Argument to pass with the method invocation. 639s # * @arg_an_o: Argument to pass with the method invocation. 639s # * @arg_an_g: Argument to pass with the method invocation. 639s # * @arg_an_h: Argument to pass with the method invocation. 639s # * @arg_an_ay: Argument to pass with the method invocation. 639s # * @arg_an_as: Argument to pass with the method invocation. 639s # * @arg_an_ao: Argument to pass with the method invocation. 639s # * @arg_an_aay: Argument to pass with the method invocation. 639s # * @arg_an_asv: Argument to pass with the method invocation. 639s # * @cancellable: (nullable): A #GCancellable or %NULL. 639s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 639s # * @user_data: User data to pass to @callback. 639s # * 639s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 639s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 639s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 639s # * 639s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 639s # */ 639s # void 639s # org_project_callable_iface_call_same_method_with_many_args ( 639s # OrgProjectCallableIface *proxy, 639s # gboolean arg_an_b, 639s # guchar arg_an_y, 639s # gint16 arg_an_n, 639s # guint16 arg_an_q, 639s # gint arg_an_i, 639s # guint arg_an_u, 639s # gint64 arg_an_x, 639s # guint64 arg_an_t, 639s # gdouble arg_an_d, 639s # const gchar *arg_an_s, 639s # const gchar *arg_an_o, 639s # const gchar *arg_an_g, 639s # GVariant *arg_an_h, 639s # const gchar *arg_an_ay, 639s # const gchar *const *arg_an_as, 639s # const gchar *const *arg_an_ao, 639s # const gchar *const *arg_an_aay, 639s # GVariant *arg_an_asv, 639s # GCancellable *cancellable, 639s # GAsyncReadyCallback callback, 639s # gpointer user_data) 639s # { 639s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 639s # "SameMethodWithManyArgs", 639s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 639s # arg_an_b, 639s # arg_an_y, 639s # arg_an_n, 639s # arg_an_q, 639s # arg_an_i, 639s # arg_an_u, 639s # arg_an_x, 639s # arg_an_t, 639s # arg_an_d, 639s # arg_an_s, 639s # arg_an_o, 639s # arg_an_g, 639s # arg_an_h, 639s # arg_an_ay, 639s # arg_an_as, 639s # arg_an_ao, 639s # arg_an_aay, 639s # arg_an_asv), 639s # G_DBUS_CALL_FLAGS_NONE, 639s # -1, 639s # cancellable, 639s # callback, 639s # user_data); 639s # } 639s # 639s # /** 639s # * org_project_callable_iface_call_same_method_with_many_args_finish: 639s # * @proxy: A #OrgProjectCallableIfaceProxy. 639s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 639s # * @error: Return location for error or %NULL. 639s # * 639s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 639s # * 639s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 639s # */ 639s # gboolean 639s # org_project_callable_iface_call_same_method_with_many_args_finish ( 639s # OrgProjectCallableIface *proxy, 639s # GAsyncResult *res, 639s # GError **error) 639s # { 639s # GVariant *_ret; 639s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 639s # if (_ret == NULL) 639s # goto _out; 639s # g_variant_get (_ret, 639s # "()"); 639s # g_variant_unref (_ret); 639s # _out: 639s # return _ret != NULL; 639s # } 639s # 639s # /** 639s # * org_project_callable_iface_call_same_method_with_many_args_sync: 639s # * @proxy: A #OrgProjectCallableIfaceProxy. 639s # * @arg_an_b: Argument to pass with the method invocation. 639s # * @arg_an_y: Argument to pass with the method invocation. 639s # * @arg_an_n: Argument to pass with the method invocation. 639s # * @arg_an_q: Argument to pass with the method invocation. 639s # * @arg_an_i: Argument to pass with the method invocation. 639s # * @arg_an_u: Argument to pass with the method invocation. 639s # * @arg_an_x: Argument to pass with the method invocation. 639s # * @arg_an_t: Argument to pass with the method invocation. 639s # * @arg_an_d: Argument to pass with the method invocation. 639s # * @arg_an_s: Argument to pass with the method invocation. 639s # * @arg_an_o: Argument to pass with the method invocation. 639s # * @arg_an_g: Argument to pass with the method invocation. 639s # * @arg_an_h: Argument to pass with the method invocation. 639s # * @arg_an_ay: Argument to pass with the method invocation. 639s # * @arg_an_as: Argument to pass with the method invocation. 639s # * @arg_an_ao: Argument to pass with the method invocation. 639s # * @arg_an_aay: Argument to pass with the method invocation. 639s # * @arg_an_asv: Argument to pass with the method invocation. 639s # * @cancellable: (nullable): A #GCancellable or %NULL. 639s # * @error: Return location for error or %NULL. 639s # * 639s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 639s # * 639s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 639s # * 639s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 639s # */ 639s # gboolean 639s # org_project_callable_iface_call_same_method_with_many_args_sync ( 639s # OrgProjectCallableIface *proxy, 639s # gboolean arg_an_b, 639s # guchar arg_an_y, 639s # gint16 arg_an_n, 639s # guint16 arg_an_q, 639s # gint arg_an_i, 639s # guint arg_an_u, 639s # gint64 arg_an_x, 639s # guint64 arg_an_t, 639s # gdouble arg_an_d, 639s # const gchar *arg_an_s, 639s # const gchar *arg_an_o, 639s # const gchar *arg_an_g, 639s # GVariant *arg_an_h, 639s # const gchar *arg_an_ay, 639s # const gchar *const *arg_an_as, 639s # const gchar *const *arg_an_ao, 639s # const gchar *const *arg_an_aay, 639s # GVariant *arg_an_asv, 639s # GCancellable *cancellable, 639s # GError **error) 639s # { 639s # GVariant *_ret; 639s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 639s # "SameMethodWithManyArgs", 639s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 639s # arg_an_b, 639s # arg_an_y, 639s # arg_an_n, 639s # arg_an_q, 639s # arg_an_i, 639s # arg_an_u, 639s # arg_an_x, 639s # arg_an_t, 639s # arg_an_d, 639s # arg_an_s, 639s # arg_an_o, 639s # arg_an_g, 639s # arg_an_h, 639s # arg_an_ay, 639s # arg_an_as, 639s # arg_an_ao, 639s # arg_an_aay, 639s # arg_an_asv), 639s # G_DBUS_CALL_FLAGS_NONE, 639s # -1, 639s # cancellable, 639s # error); 639s # if (_ret == NULL) 639s # goto _out; 639s # g_variant_get (_ret, 639s # "()"); 639s # g_variant_unref (_ret); 639s # _out: 639s # return _ret != NULL; 639s # } 639s # 639s # /** 639s # * org_project_callable_iface_complete_method_with_many_args: 639s # * @object: A #OrgProjectCallableIface. 639s # * @invocation: (transfer full): A #GDBusMethodInvocation. 639s # * 639s # * 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. 639s # * 639s # * This method will free @invocation, you cannot use it afterwards. 639s # */ 639s # void 639s # org_project_callable_iface_complete_method_with_many_args ( 639s # OrgProjectCallableIface *object G_GNUC_UNUSED, 639s # GDBusMethodInvocation *invocation) 639s # { 639s # g_dbus_method_invocation_return_value (invocation, 639s # g_variant_new ("()")); 639s # } 639s # 639s # /** 639s # * org_project_callable_iface_complete_same_method_with_many_args: 639s # * @object: A #OrgProjectCallableIface. 639s # * @invocation: (transfer full): A #GDBusMethodInvocation. 639s # * 639s # * 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. 639s # * 639s # * This method will free @invocation, you cannot use it afterwards. 639s # */ 639s # void 639s # org_project_callable_iface_complete_same_method_with_many_args ( 639s # OrgProjectCallableIface *object G_GNUC_UNUSED, 639s # GDBusMethodInvocation *invocation) 639s # { 639s # g_dbus_method_invocation_return_value (invocation, 639s # g_variant_new ("()")); 639s # } 639s # 639s # /* ------------------------------------------------------------------------ */ 639s # 639s # /** 639s # * OrgProjectCallableIfaceProxy: 639s # * 639s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 639s # */ 639s # 639s # /** 639s # * OrgProjectCallableIfaceProxyClass: 639s # * @parent_class: The parent class. 639s # * 639s # * Class structure for #OrgProjectCallableIfaceProxy. 639s # */ 639s # 639s # struct _OrgProjectCallableIfaceProxyPrivate 639s # { 639s # GData *qdata; 639s # }; 639s # 639s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 639s # 639s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 639s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 639s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 639s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 639s # 639s # #else 639s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 639s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 639s # 639s # #endif 639s # static void 639s # org_project_callable_iface_proxy_finalize (GObject *object) 639s # { 639s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 639s # g_datalist_clear (&proxy->priv->qdata); 639s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 639s # } 639s # 639s # static void 639s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 639s # guint prop_id G_GNUC_UNUSED, 639s # GValue *value G_GNUC_UNUSED, 639s # GParamSpec *pspec G_GNUC_UNUSED) 639s # { 639s # } 639s # 639s # static void 639s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 639s # guint prop_id G_GNUC_UNUSED, 639s # const GValue *value G_GNUC_UNUSED, 639s # GParamSpec *pspec G_GNUC_UNUSED) 639s # { 639s # } 639s # 639s # static void 639s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 639s # const gchar *sender_name G_GNUC_UNUSED, 639s # const gchar *signal_name, 639s # GVariant *parameters) 639s # { 639s # _ExtendedGDBusSignalInfo *info; 639s # GVariantIter iter; 639s # GVariant *child; 639s # GValue *paramv; 639s # gsize num_params; 639s # gsize n; 639s # guint signal_id; 639s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 639s # if (info == NULL) 639s # return; 639s # num_params = g_variant_n_children (parameters); 639s # paramv = g_new0 (GValue, num_params + 1); 639s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 639s # g_value_set_object (¶mv[0], proxy); 639s # g_variant_iter_init (&iter, parameters); 639s # n = 1; 639s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 639s # { 639s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 639s # if (arg_info->use_gvariant) 639s # { 639s # g_value_init (¶mv[n], G_TYPE_VARIANT); 639s # g_value_set_variant (¶mv[n], child); 639s # n++; 639s # } 639s # else 639s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 639s # g_variant_unref (child); 639s # } 639s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 639s # g_signal_emitv (paramv, signal_id, 0, NULL); 639s # for (n = 0; n < num_params + 1; n++) 639s # g_value_unset (¶mv[n]); 639s # g_free (paramv); 639s # } 639s # 639s # static void 639s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 639s # GVariant *changed_properties, 639s # const gchar *const *invalidated_properties) 639s # { 639s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 639s # guint n; 639s # const gchar *key; 639s # GVariantIter *iter; 639s # _ExtendedGDBusPropertyInfo *info; 639s # g_variant_get (changed_properties, "a{sv}", &iter); 639s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 639s # { 639s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 639s # g_datalist_remove_data (&proxy->priv->qdata, key); 639s # if (info != NULL) 639s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 639s # } 639s # g_variant_iter_free (iter); 639s # for (n = 0; invalidated_properties[n] != NULL; n++) 639s # { 639s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 639s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 639s # if (info != NULL) 639s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 639s # } 639s # } 639s # 639s # static void 639s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 639s # { 639s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 639s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 639s # #else 639s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 639s # #endif 639s # 639s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 639s # } 639s # 639s # static void 639s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 639s # { 639s # GObjectClass *gobject_class; 639s # GDBusProxyClass *proxy_class; 639s # 639s # gobject_class = G_OBJECT_CLASS (klass); 639s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 639s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 639s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 639s # 639s # proxy_class = G_DBUS_PROXY_CLASS (klass); 639s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 639s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 639s # 639s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 639s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 639s # #endif 639s # } 639s # 639s # static void 639s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 639s # { 639s # } 639s # 639s # /** 639s # * org_project_callable_iface_proxy_new: 639s # * @connection: A #GDBusConnection. 639s # * @flags: Flags from the #GDBusProxyFlags enumeration. 639s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 639s # * @object_path: An object path. 639s # * @cancellable: (nullable): A #GCancellable or %NULL. 639s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 639s # * @user_data: User data to pass to @callback. 639s # * 639s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 639s # * 639s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 639s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 639s # * 639s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 639s # */ 639s # void 639s # org_project_callable_iface_proxy_new ( 639s # GDBusConnection *connection, 639s # GDBusProxyFlags flags, 639s # const gchar *name, 639s # const gchar *object_path, 639s # GCancellable *cancellable, 639s # GAsyncReadyCallback callback, 639s # gpointer user_data) 639s # { 639s # 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); 639s # } 639s # 639s # /** 639s # * org_project_callable_iface_proxy_new_finish: 639s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 639s # * @error: Return location for error or %NULL 639s # * 639s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 639s # * 639s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 639s # */ 639s # OrgProjectCallableIface * 639s # org_project_callable_iface_proxy_new_finish ( 639s # GAsyncResult *res, 639s # GError **error) 639s # { 639s # GObject *ret; 639s # GObject *source_object; 639s # source_object = g_async_result_get_source_object (res); 639s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 639s # g_object_unref (source_object); 639s # if (ret != NULL) 639s # return ORG_PROJECT_CALLABLE_IFACE (ret); 639s # else 639s # return NULL; 639s # } 639s # 639s # /** 639s # * org_project_callable_iface_proxy_new_sync: 639s # * @connection: A #GDBusConnection. 639s # * @flags: Flags from the #GDBusProxyFlags enumeration. 639s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 639s # * @object_path: An object path. 639s # * @cancellable: (nullable): A #GCancellable or %NULL. 639s # * @error: Return location for error or %NULL 639s # * 639s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 639s # * 639s # * The calling thread is blocked until a reply is received. 639s # * 639s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 639s # * 639s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 639s # */ 639s # OrgProjectCallableIface * 639s # org_project_callable_iface_proxy_new_sync ( 639s # GDBusConnection *connection, 639s # GDBusProxyFlags flags, 639s # const gchar *name, 639s # const gchar *object_path, 639s # GCancellable *cancellable, 639s # GError **error) 639s # { 639s # GInitable *ret; 639s # 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); 639s # if (ret != NULL) 639s # return ORG_PROJECT_CALLABLE_IFACE (ret); 639s # else 639s # return NULL; 639s # } 639s # 639s # 639s # /** 639s # * org_project_callable_iface_proxy_new_for_bus: 639s # * @bus_type: A #GBusType. 639s # * @flags: Flags from the #GDBusProxyFlags enumeration. 639s # * @name: A bus name (well-known or unique). 639s # * @object_path: An object path. 639s # * @cancellable: (nullable): A #GCancellable or %NULL. 639s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 639s # * @user_data: User data to pass to @callback. 639s # * 639s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 639s # * 639s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 639s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 639s # * 639s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 639s # */ 639s # void 639s # org_project_callable_iface_proxy_new_for_bus ( 639s # GBusType bus_type, 639s # GDBusProxyFlags flags, 639s # const gchar *name, 639s # const gchar *object_path, 639s # GCancellable *cancellable, 639s # GAsyncReadyCallback callback, 639s # gpointer user_data) 639s # { 639s # 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); 639s # } 639s # 639s # /** 639s # * org_project_callable_iface_proxy_new_for_bus_finish: 639s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 639s # * @error: Return location for error or %NULL 639s # * 639s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 639s # * 639s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 639s # */ 639s # OrgProjectCallableIface * 639s # org_project_callable_iface_proxy_new_for_bus_finish ( 639s # GAsyncResult *res, 639s # GError **error) 639s # { 639s # GObject *ret; 639s # GObject *source_object; 639s # source_object = g_async_result_get_source_object (res); 639s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 639s # g_object_unref (source_object); 639s # if (ret != NULL) 639s # return ORG_PROJECT_CALLABLE_IFACE (ret); 639s # else 639s # return NULL; 639s # } 639s # 639s # /** 639s # * org_project_callable_iface_proxy_new_for_bus_sync: 639s # * @bus_type: A #GBusType. 639s # * @flags: Flags from the #GDBusProxyFlags enumeration. 639s # * @name: A bus name (well-known or unique). 639s # * @object_path: An object path. 639s # * @cancellable: (nullable): A #GCancellable or %NULL. 639s # * @error: Return location for error or %NULL 639s # * 639s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 639s # * 639s # * The calling thread is blocked until a reply is received. 639s # * 639s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 639s # * 639s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 639s # */ 639s # OrgProjectCallableIface * 639s # org_project_callable_iface_proxy_new_for_bus_sync ( 639s # GBusType bus_type, 639s # GDBusProxyFlags flags, 639s # const gchar *name, 639s # const gchar *object_path, 639s # GCancellable *cancellable, 639s # GError **error) 639s # { 639s # GInitable *ret; 639s # 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); 639s # if (ret != NULL) 639s # return ORG_PROJECT_CALLABLE_IFACE (ret); 639s # else 639s # return NULL; 639s # } 639s # 639s # 639s # /* ------------------------------------------------------------------------ */ 639s # 639s # /** 639s # * OrgProjectCallableIfaceSkeleton: 639s # * 639s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 639s # */ 639s # 639s # /** 639s # * OrgProjectCallableIfaceSkeletonClass: 639s # * @parent_class: The parent class. 639s # * 639s # * Class structure for #OrgProjectCallableIfaceSkeleton. 639s # */ 639s # 639s # struct _OrgProjectCallableIfaceSkeletonPrivate 639s # { 639s # GValue *properties; 639s # GList *changed_properties; 639s # GSource *changed_properties_idle_source; 639s # GMainContext *context; 639s # GMutex lock; 639s # }; 639s # 639s # static void 639s # _org_project_callable_iface_skeleton_handle_method_call ( 639s # GDBusConnection *connection G_GNUC_UNUSED, 639s # const gchar *sender G_GNUC_UNUSED, 639s # const gchar *object_path G_GNUC_UNUSED, 639s # const gchar *interface_name, 639s # const gchar *method_name, 639s # GVariant *parameters, 639s # GDBusMethodInvocation *invocation, 639s # gpointer user_data) 639s # { 639s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 639s # _ExtendedGDBusMethodInfo *info; 639s # GVariantIter iter; 639s # GVariant *child; 639s # GValue *paramv; 639s # gsize num_params; 639s # guint num_extra; 639s # gsize n; 639s # guint signal_id; 639s # GValue return_value = G_VALUE_INIT; 639s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 639s # g_assert (info != NULL); 639s # num_params = g_variant_n_children (parameters); 639s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 639s # n = 0; 639s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 639s # g_value_set_object (¶mv[n++], skeleton); 639s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 639s # g_value_set_object (¶mv[n++], invocation); 639s # if (info->pass_fdlist) 639s # { 639s # #ifdef G_OS_UNIX 639s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 639s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 639s # #else 639s # g_assert_not_reached (); 639s # #endif 639s # } 639s # g_variant_iter_init (&iter, parameters); 639s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 639s # { 639s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 639s # if (arg_info->use_gvariant) 639s # { 639s # g_value_init (¶mv[n], G_TYPE_VARIANT); 639s # g_value_set_variant (¶mv[n], child); 639s # n++; 639s # } 639s # else 639s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 639s # g_variant_unref (child); 639s # } 639s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 639s # g_value_init (&return_value, G_TYPE_BOOLEAN); 639s # g_signal_emitv (paramv, signal_id, 0, &return_value); 639s # if (!g_value_get_boolean (&return_value)) 639s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 639s # g_value_unset (&return_value); 639s # for (n = 0; n < num_params + num_extra; n++) 639s # g_value_unset (¶mv[n]); 639s # g_free (paramv); 639s # } 639s # 639s # static GVariant * 639s # _org_project_callable_iface_skeleton_handle_get_property ( 639s # GDBusConnection *connection G_GNUC_UNUSED, 639s # const gchar *sender G_GNUC_UNUSED, 639s # const gchar *object_path G_GNUC_UNUSED, 639s # const gchar *interface_name G_GNUC_UNUSED, 639s # const gchar *property_name, 639s # GError **error, 639s # gpointer user_data) 639s # { 639s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 639s # GValue value = G_VALUE_INIT; 639s # GParamSpec *pspec; 639s # _ExtendedGDBusPropertyInfo *info; 639s # GVariant *ret; 639s # ret = NULL; 639s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 639s # g_assert (info != NULL); 639s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 639s # if (pspec == NULL) 639s # { 639s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 639s # } 639s # else 639s # { 639s # g_value_init (&value, pspec->value_type); 639s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 639s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 639s # g_value_unset (&value); 639s # } 639s # return ret; 639s # } 639s # 639s # static gboolean 639s # _org_project_callable_iface_skeleton_handle_set_property ( 639s # GDBusConnection *connection G_GNUC_UNUSED, 639s # const gchar *sender G_GNUC_UNUSED, 639s # const gchar *object_path G_GNUC_UNUSED, 639s # const gchar *interface_name G_GNUC_UNUSED, 639s # const gchar *property_name, 639s # GVariant *variant, 639s # GError **error, 639s # gpointer user_data) 639s # { 639s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 639s # GValue value = G_VALUE_INIT; 639s # GParamSpec *pspec; 639s # _ExtendedGDBusPropertyInfo *info; 639s # gboolean ret; 639s # ret = FALSE; 639s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 639s # g_assert (info != NULL); 639s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 639s # if (pspec == NULL) 639s # { 639s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 639s # } 639s # else 639s # { 639s # if (info->use_gvariant) 639s # g_value_set_variant (&value, variant); 639s # else 639s # g_dbus_gvariant_to_gvalue (variant, &value); 639s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 639s # g_value_unset (&value); 639s # ret = TRUE; 639s # } 639s # return ret; 639s # } 639s # 639s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 639s # { 639s # _org_project_callable_iface_skeleton_handle_method_call, 639s # _org_project_callable_iface_skeleton_handle_get_property, 639s # _org_project_callable_iface_skeleton_handle_set_property, 639s # {NULL} 639s # }; 639s # 639s # static GDBusInterfaceInfo * 639s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 639s # { 639s # return org_project_callable_iface_interface_info (); 639s # } 639s # 639s # static GDBusInterfaceVTable * 639s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 639s # { 639s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 639s # } 639s # 639s # static GVariant * 639s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 639s # { 639s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 639s # 639s # GVariantBuilder builder; 639s # guint n; 639s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 639s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 639s # goto out; 639s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 639s # { 639s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 639s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 639s # { 639s # GVariant *value; 639s # 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); 639s # if (value != NULL) 639s # { 639s # g_variant_take_ref (value); 639s # g_variant_builder_add (&builder, "{sv}", info->name, value); 639s # g_variant_unref (value); 639s # } 639s # } 639s # } 639s # out: 639s # return g_variant_builder_end (&builder); 639s # } 639s # 639s # static void 639s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 639s # { 639s # } 639s # 639s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 639s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 639s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 639s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 639s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 639s # 639s # #else 639s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 639s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 639s # 639s # #endif 639s # static void 639s # org_project_callable_iface_skeleton_finalize (GObject *object) 639s # { 639s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 639s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 639s # if (skeleton->priv->changed_properties_idle_source != NULL) 639s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 639s # g_main_context_unref (skeleton->priv->context); 639s # g_mutex_clear (&skeleton->priv->lock); 639s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 639s # } 639s # 639s # static void 639s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 639s # { 639s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 639s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 639s # #else 639s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 639s # #endif 639s # 639s # g_mutex_init (&skeleton->priv->lock); 639s # skeleton->priv->context = g_main_context_ref_thread_default (); 639s # } 639s # 639s # static void 639s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 639s # { 639s # GObjectClass *gobject_class; 639s # GDBusInterfaceSkeletonClass *skeleton_class; 639s # 639s # gobject_class = G_OBJECT_CLASS (klass); 639s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 639s # 639s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 639s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 639s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 639s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 639s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 639s # 639s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 639s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 639s # #endif 639s # } 639s # 639s # static void 639s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 639s # { 639s # } 639s # 639s # /** 639s # * org_project_callable_iface_skeleton_new: 639s # * 639s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 639s # * 639s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 639s # */ 639s # OrgProjectCallableIface * 639s # org_project_callable_iface_skeleton_new (void) 639s # { 639s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 639s # } 639s # 639s # /* ------------------------------------------------------------------------ 639s # * Code for interface org.project.OtherCallableIface 639s # * ------------------------------------------------------------------------ 639s # */ 639s # 639s # /** 639s # * SECTION:OrgProjectOtherCallableIface 639s # * @title: OrgProjectOtherCallableIface 639s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 639s # * 639s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 639s # */ 639s # 639s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_b", 639s # (gchar *) "b", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_y", 639s # (gchar *) "y", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_n", 639s # (gchar *) "n", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_q", 639s # (gchar *) "q", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_i", 639s # (gchar *) "i", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_u", 639s # (gchar *) "u", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_x", 639s # (gchar *) "x", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_t", 639s # (gchar *) "t", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_d", 639s # (gchar *) "d", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_s", 639s # (gchar *) "s", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_o", 639s # (gchar *) "o", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_g", 639s # (gchar *) "g", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_h", 639s # (gchar *) "h", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_ay", 639s # (gchar *) "ay", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_as", 639s # (gchar *) "as", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_ao", 639s # (gchar *) "ao", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_aay", 639s # (gchar *) "aay", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_asv", 639s # (gchar *) "a{sv}", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 639s # { 639s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 639s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 639s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 639s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 639s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 639s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 639s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 639s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 639s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 639s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 639s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 639s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 639s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 639s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 639s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 639s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 639s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 639s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 639s # NULL 639s # }; 639s # 639s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 639s # { 639s # { 639s # -1, 639s # (gchar *) "MethodWithManyArgs", 639s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 639s # NULL, 639s # NULL 639s # }, 639s # "handle-method-with-many-args", 639s # FALSE 639s # }; 639s # 639s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 639s # { 639s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 639s # NULL 639s # }; 639s # 639s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 639s # { 639s # { 639s # -1, 639s # (gchar *) "org.project.OtherCallableIface", 639s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 639s # NULL, 639s # NULL, 639s # NULL 639s # }, 639s # "org-project-other-callable-iface", 639s # }; 639s # 639s # 639s # /** 639s # * org_project_other_callable_iface_interface_info: 639s # * 639s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 639s # * 639s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 639s # */ 639s # GDBusInterfaceInfo * 639s # org_project_other_callable_iface_interface_info (void) 639s # { 639s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 639s # } 639s # 639s # /** 639s # * org_project_other_callable_iface_override_properties: 639s # * @klass: The class structure for a #GObject derived class. 639s # * @property_id_begin: The property id to assign to the first overridden property. 639s # * 639s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 639s # * The properties are overridden in the order they are defined. 639s # * 639s # * Returns: The last property id. 639s # */ 639s # guint 639s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 639s # { 639s # return property_id_begin - 1; 639s # } 639s # 639s # 639s # inline static void 639s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 639s # GClosure *closure, 639s # GValue *return_value, 639s # unsigned int n_param_values, 639s # const GValue *param_values, 639s # void *invocation_hint, 639s # void *marshal_data) 639s # { 639s # _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, 639s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 639s # } 639s # 639s # 639s # /** 639s # * OrgProjectOtherCallableIface: 639s # * 639s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 639s # */ 639s # 639s # /** 639s # * OrgProjectOtherCallableIfaceIface: 639s # * @parent_iface: The parent interface. 639s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 639s # * 639s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 639s # */ 639s # 639s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 639s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 639s # 639s # static void 639s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 639s # { 639s # /* GObject signals for incoming D-Bus method calls: */ 639s # /** 639s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 639s # * @object: A #OrgProjectOtherCallableIface. 639s # * @invocation: A #GDBusMethodInvocation. 639s # * @arg_an_b: Argument passed by remote caller. 639s # * @arg_an_y: Argument passed by remote caller. 639s # * @arg_an_n: Argument passed by remote caller. 639s # * @arg_an_q: Argument passed by remote caller. 639s # * @arg_an_i: Argument passed by remote caller. 639s # * @arg_an_u: Argument passed by remote caller. 639s # * @arg_an_x: Argument passed by remote caller. 639s # * @arg_an_t: Argument passed by remote caller. 639s # * @arg_an_d: Argument passed by remote caller. 639s # * @arg_an_s: Argument passed by remote caller. 639s # * @arg_an_o: Argument passed by remote caller. 639s # * @arg_an_g: Argument passed by remote caller. 639s # * @arg_an_h: Argument passed by remote caller. 639s # * @arg_an_ay: Argument passed by remote caller. 639s # * @arg_an_as: Argument passed by remote caller. 639s # * @arg_an_ao: Argument passed by remote caller. 639s # * @arg_an_aay: Argument passed by remote caller. 639s # * @arg_an_asv: Argument passed by remote caller. 639s # * 639s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 639s # * 639s # * 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. 639s # * 639s # * 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. 639s # */ 639s # g_signal_new ("handle-method-with-many-args", 639s # G_TYPE_FROM_INTERFACE (iface), 639s # G_SIGNAL_RUN_LAST, 639s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 639s # g_signal_accumulator_true_handled, 639s # NULL, 639s # org_project_other_callable_iface_method_marshal_method_with_many_args, 639s # G_TYPE_BOOLEAN, 639s # 19, 639s # 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); 639s # 639s # } 639s # 639s # /** 639s # * org_project_other_callable_iface_call_method_with_many_args: 639s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 639s # * @arg_an_b: Argument to pass with the method invocation. 639s # * @arg_an_y: Argument to pass with the method invocation. 639s # * @arg_an_n: Argument to pass with the method invocation. 639s # * @arg_an_q: Argument to pass with the method invocation. 639s # * @arg_an_i: Argument to pass with the method invocation. 639s # * @arg_an_u: Argument to pass with the method invocation. 639s # * @arg_an_x: Argument to pass with the method invocation. 639s # * @arg_an_t: Argument to pass with the method invocation. 639s # * @arg_an_d: Argument to pass with the method invocation. 639s # * @arg_an_s: Argument to pass with the method invocation. 639s # * @arg_an_o: Argument to pass with the method invocation. 639s # * @arg_an_g: Argument to pass with the method invocation. 639s # * @arg_an_h: Argument to pass with the method invocation. 639s # * @arg_an_ay: Argument to pass with the method invocation. 639s # * @arg_an_as: Argument to pass with the method invocation. 639s # * @arg_an_ao: Argument to pass with the method invocation. 639s # * @arg_an_aay: Argument to pass with the method invocation. 639s # * @arg_an_asv: Argument to pass with the method invocation. 639s # * @cancellable: (nullable): A #GCancellable or %NULL. 639s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 639s # * @user_data: User data to pass to @callback. 639s # * 639s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 639s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 639s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 639s # * 639s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 639s # */ 639s # void 639s # org_project_other_callable_iface_call_method_with_many_args ( 639s # OrgProjectOtherCallableIface *proxy, 639s # gboolean arg_an_b, 639s # guchar arg_an_y, 639s # gint16 arg_an_n, 639s # guint16 arg_an_q, 639s # gint arg_an_i, 639s # guint arg_an_u, 639s # gint64 arg_an_x, 639s # guint64 arg_an_t, 639s # gdouble arg_an_d, 639s # const gchar *arg_an_s, 639s # const gchar *arg_an_o, 639s # const gchar *arg_an_g, 639s # GVariant *arg_an_h, 639s # const gchar *arg_an_ay, 639s # const gchar *const *arg_an_as, 639s # const gchar *const *arg_an_ao, 639s # const gchar *const *arg_an_aay, 639s # GVariant *arg_an_asv, 639s # GCancellable *cancellable, 639s # GAsyncReadyCallback callback, 639s # gpointer user_data) 639s # { 639s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 639s # "MethodWithManyArgs", 639s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 639s # arg_an_b, 639s # arg_an_y, 639s # arg_an_n, 639s # arg_an_q, 639s # arg_an_i, 639s # arg_an_u, 639s # arg_an_x, 639s # arg_an_t, 639s # arg_an_d, 639s # arg_an_s, 639s # arg_an_o, 639s # arg_an_g, 639s # arg_an_h, 639s # arg_an_ay, 639s # arg_an_as, 639s # arg_an_ao, 639s # arg_an_aay, 639s # arg_an_asv), 639s # G_DBUS_CALL_FLAGS_NONE, 639s # -1, 639s # cancellable, 639s # callback, 639s # user_data); 639s # } 639s # 639s # /** 639s # * org_project_other_callable_iface_call_method_with_many_args_finish: 639s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 639s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 639s # * @error: Return location for error or %NULL. 639s # * 639s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 639s # * 639s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 639s # */ 639s # gboolean 639s # org_project_other_callable_iface_call_method_with_many_args_finish ( 639s # OrgProjectOtherCallableIface *proxy, 639s # GAsyncResult *res, 639s # GError **error) 639s # { 639s # GVariant *_ret; 639s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 639s # if (_ret == NULL) 639s # goto _out; 639s # g_variant_get (_ret, 639s # "()"); 639s # g_variant_unref (_ret); 639s # _out: 639s # return _ret != NULL; 639s # } 639s # 639s # /** 639s # * org_project_other_callable_iface_call_method_with_many_args_sync: 639s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 639s # * @arg_an_b: Argument to pass with the method invocation. 639s # * @arg_an_y: Argument to pass with the method invocation. 639s # * @arg_an_n: Argument to pass with the method invocation. 639s # * @arg_an_q: Argument to pass with the method invocation. 639s # * @arg_an_i: Argument to pass with the method invocation. 639s # * @arg_an_u: Argument to pass with the method invocation. 639s # * @arg_an_x: Argument to pass with the method invocation. 639s # * @arg_an_t: Argument to pass with the method invocation. 639s # * @arg_an_d: Argument to pass with the method invocation. 639s # * @arg_an_s: Argument to pass with the method invocation. 639s # * @arg_an_o: Argument to pass with the method invocation. 639s # * @arg_an_g: Argument to pass with the method invocation. 639s # * @arg_an_h: Argument to pass with the method invocation. 639s # * @arg_an_ay: Argument to pass with the method invocation. 639s # * @arg_an_as: Argument to pass with the method invocation. 639s # * @arg_an_ao: Argument to pass with the method invocation. 639s # * @arg_an_aay: Argument to pass with the method invocation. 639s # * @arg_an_asv: Argument to pass with the method invocation. 639s # * @cancellable: (nullable): A #GCancellable or %NULL. 639s # * @error: Return location for error or %NULL. 639s # * 639s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 639s # * 639s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 639s # * 639s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 639s # */ 639s # gboolean 639s # org_project_other_callable_iface_call_method_with_many_args_sync ( 639s # OrgProjectOtherCallableIface *proxy, 639s # gboolean arg_an_b, 639s # guchar arg_an_y, 639s # gint16 arg_an_n, 639s # guint16 arg_an_q, 639s # gint arg_an_i, 639s # guint arg_an_u, 639s # gint64 arg_an_x, 639s # guint64 arg_an_t, 639s # gdouble arg_an_d, 639s # const gchar *arg_an_s, 639s # const gchar *arg_an_o, 639s # const gchar *arg_an_g, 639s # GVariant *arg_an_h, 639s # const gchar *arg_an_ay, 639s # const gchar *const *arg_an_as, 639s # const gchar *const *arg_an_ao, 639s # const gchar *const *arg_an_aay, 639s # GVariant *arg_an_asv, 639s # GCancellable *cancellable, 639s # GError **error) 639s # { 639s # GVariant *_ret; 639s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 639s # "MethodWithManyArgs", 639s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 639s # arg_an_b, 639s # arg_an_y, 639s # arg_an_n, 639s # arg_an_q, 639s # arg_an_i, 639s # arg_an_u, 639s # arg_an_x, 639s # arg_an_t, 639s # arg_an_d, 639s # arg_an_s, 639s # arg_an_o, 639s # arg_an_g, 639s # arg_an_h, 639s # arg_an_ay, 639s # arg_an_as, 639s # arg_an_ao, 639s # arg_an_aay, 639s # arg_an_asv), 639s # G_DBUS_CALL_FLAGS_NONE, 639s # -1, 639s # cancellable, 639s # error); 639s # if (_ret == NULL) 639s # goto _out; 639s # g_variant_get (_ret, 639s # "()"); 639s # g_variant_unref (_ret); 639s # _out: 639s # return _ret != NULL; 639s # } 639s # 639s # /** 639s # * org_project_other_callable_iface_complete_method_with_many_args: 639s # * @object: A #OrgProjectOtherCallableIface. 639s # * @invocation: (transfer full): A #GDBusMethodInvocation. 639s # * 639s # * 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. 639s # * 639s # * This method will free @invocation, you cannot use it afterwards. 639s # */ 639s # void 639s # org_project_other_callable_iface_complete_method_with_many_args ( 639s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 639s # GDBusMethodInvocation *invocation) 639s # { 639s # g_dbus_method_invocation_return_value (invocation, 639s # g_variant_new ("()")); 639s # } 639s # 639s # /* ------------------------------------------------------------------------ */ 639s # 639s # /** 639s # * OrgProjectOtherCallableIfaceProxy: 639s # * 639s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 639s # */ 639s # 639s # /** 639s # * OrgProjectOtherCallableIfaceProxyClass: 639s # * @parent_class: The parent class. 639s # * 639s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 639s # */ 639s # 639s # struct _OrgProjectOtherCallableIfaceProxyPrivate 639s # { 639s # GData *qdata; 639s # }; 639s # 639s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 639s # 639s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 639s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 639s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 639s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 639s # 639s # #else 639s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 639s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 639s # 639s # #endif 639s # static void 639s # org_project_other_callable_iface_proxy_finalize (GObject *object) 639s # { 639s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 639s # g_datalist_clear (&proxy->priv->qdata); 639s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 639s # } 639s # 639s # static void 639s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 639s # guint prop_id G_GNUC_UNUSED, 639s # GValue *value G_GNUC_UNUSED, 639s # GParamSpec *pspec G_GNUC_UNUSED) 639s # { 639s # } 639s # 639s # static void 639s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 639s # guint prop_id G_GNUC_UNUSED, 639s # const GValue *value G_GNUC_UNUSED, 639s # GParamSpec *pspec G_GNUC_UNUSED) 639s # { 639s # } 639s # 639s # static void 639s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 639s # const gchar *sender_name G_GNUC_UNUSED, 639s # const gchar *signal_name, 639s # GVariant *parameters) 639s # { 639s # _ExtendedGDBusSignalInfo *info; 639s # GVariantIter iter; 639s # GVariant *child; 639s # GValue *paramv; 639s # gsize num_params; 639s # gsize n; 639s # guint signal_id; 639s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 639s # if (info == NULL) 639s # return; 639s # num_params = g_variant_n_children (parameters); 639s # paramv = g_new0 (GValue, num_params + 1); 639s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 639s # g_value_set_object (¶mv[0], proxy); 639s # g_variant_iter_init (&iter, parameters); 639s # n = 1; 639s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 639s # { 639s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 639s # if (arg_info->use_gvariant) 639s # { 639s # g_value_init (¶mv[n], G_TYPE_VARIANT); 639s # g_value_set_variant (¶mv[n], child); 639s # n++; 639s # } 639s # else 639s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 639s # g_variant_unref (child); 639s # } 639s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 639s # g_signal_emitv (paramv, signal_id, 0, NULL); 639s # for (n = 0; n < num_params + 1; n++) 639s # g_value_unset (¶mv[n]); 639s # g_free (paramv); 639s # } 639s # 639s # static void 639s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 639s # GVariant *changed_properties, 639s # const gchar *const *invalidated_properties) 639s # { 639s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 639s # guint n; 639s # const gchar *key; 639s # GVariantIter *iter; 639s # _ExtendedGDBusPropertyInfo *info; 639s # g_variant_get (changed_properties, "a{sv}", &iter); 639s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 639s # { 639s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 639s # g_datalist_remove_data (&proxy->priv->qdata, key); 639s # if (info != NULL) 639s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 639s # } 639s # g_variant_iter_free (iter); 639s # for (n = 0; invalidated_properties[n] != NULL; n++) 639s # { 639s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 639s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 639s # if (info != NULL) 639s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 639s # } 639s # } 639s # 639s # static void 639s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 639s # { 639s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 639s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 639s # #else 639s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 639s # #endif 639s # 639s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 639s # } 639s # 639s # static void 639s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 639s # { 639s # GObjectClass *gobject_class; 639s # GDBusProxyClass *proxy_class; 639s # 639s # gobject_class = G_OBJECT_CLASS (klass); 639s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 639s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 639s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 639s # 639s # proxy_class = G_DBUS_PROXY_CLASS (klass); 639s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 639s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 639s # 639s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 639s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 639s # #endif 639s # } 639s # 639s # static void 639s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 639s # { 639s # } 639s # 639s # /** 639s # * org_project_other_callable_iface_proxy_new: 639s # * @connection: A #GDBusConnection. 639s # * @flags: Flags from the #GDBusProxyFlags enumeration. 639s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 639s # * @object_path: An object path. 639s # * @cancellable: (nullable): A #GCancellable or %NULL. 639s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 639s # * @user_data: User data to pass to @callback. 639s # * 639s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 639s # * 639s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 639s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 639s # * 639s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 639s # */ 639s # void 639s # org_project_other_callable_iface_proxy_new ( 639s # GDBusConnection *connection, 639s # GDBusProxyFlags flags, 639s # const gchar *name, 639s # const gchar *object_path, 639s # GCancellable *cancellable, 639s # GAsyncReadyCallback callback, 639s # gpointer user_data) 639s # { 639s # 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); 639s # } 639s # 639s # /** 639s # * org_project_other_callable_iface_proxy_new_finish: 639s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 639s # * @error: Return location for error or %NULL 639s # * 639s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 639s # * 639s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 639s # */ 639s # OrgProjectOtherCallableIface * 639s # org_project_other_callable_iface_proxy_new_finish ( 639s # GAsyncResult *res, 639s # GError **error) 639s # { 639s # GObject *ret; 639s # GObject *source_object; 639s # source_object = g_async_result_get_source_object (res); 639s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 639s # g_object_unref (source_object); 639s # if (ret != NULL) 639s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 639s # else 639s # return NULL; 639s # } 639s # 639s # /** 639s # * org_project_other_callable_iface_proxy_new_sync: 639s # * @connection: A #GDBusConnection. 639s # * @flags: Flags from the #GDBusProxyFlags enumeration. 639s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 639s # * @object_path: An object path. 639s # * @cancellable: (nullable): A #GCancellable or %NULL. 639s # * @error: Return location for error or %NULL 639s # * 639s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 639s # * 639s # * The calling thread is blocked until a reply is received. 639s # * 639s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 639s # * 639s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 639s # */ 639s # OrgProjectOtherCallableIface * 639s # org_project_other_callable_iface_proxy_new_sync ( 639s # GDBusConnection *connection, 639s # GDBusProxyFlags flags, 639s # const gchar *name, 639s # const gchar *object_path, 639s # GCancellable *cancellable, 639s # GError **error) 639s # { 639s # GInitable *ret; 639s # 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); 639s # if (ret != NULL) 639s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 639s # else 639s # return NULL; 639s # } 639s # 639s # 639s # /** 639s # * org_project_other_callable_iface_proxy_new_for_bus: 639s # * @bus_type: A #GBusType. 639s # * @flags: Flags from the #GDBusProxyFlags enumeration. 639s # * @name: A bus name (well-known or unique). 639s # * @object_path: An object path. 639s # * @cancellable: (nullable): A #GCancellable or %NULL. 639s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 639s # * @user_data: User data to pass to @callback. 639s # * 639s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 639s # * 639s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 639s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 639s # * 639s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 639s # */ 639s # void 639s # org_project_other_callable_iface_proxy_new_for_bus ( 639s # GBusType bus_type, 639s # GDBusProxyFlags flags, 639s # const gchar *name, 639s # const gchar *object_path, 639s # GCancellable *cancellable, 639s # GAsyncReadyCallback callback, 639s # gpointer user_data) 639s # { 639s # 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); 639s # } 639s # 639s # /** 639s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 639s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 639s # * @error: Return location for error or %NULL 639s # * 639s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 639s # * 639s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 639s # */ 639s # OrgProjectOtherCallableIface * 639s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 639s # GAsyncResult *res, 639s # GError **error) 639s # { 639s # GObject *ret; 639s # GObject *source_object; 639s # source_object = g_async_result_get_source_object (res); 639s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 639s # g_object_unref (source_object); 639s # if (ret != NULL) 639s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 639s # else 639s # return NULL; 639s # } 639s # 639s # /** 639s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 639s # * @bus_type: A #GBusType. 639s # * @flags: Flags from the #GDBusProxyFlags enumeration. 639s # * @name: A bus name (well-known or unique). 639s # * @object_path: An object path. 639s # * @cancellable: (nullable): A #GCancellable or %NULL. 639s # * @error: Return location for error or %NULL 639s # * 639s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 639s # * 639s # * The calling thread is blocked until a reply is received. 639s # * 639s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 639s # * 639s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 639s # */ 639s # OrgProjectOtherCallableIface * 639s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 639s # GBusType bus_type, 639s # GDBusProxyFlags flags, 639s # const gchar *name, 639s # const gchar *object_path, 639s # GCancellable *cancellable, 639s # GError **error) 639s # { 639s # GInitable *ret; 639s # 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); 639s # if (ret != NULL) 639s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 639s # else 639s # return NULL; 639s # } 639s # 639s # 639s # /* ------------------------------------------------------------------------ */ 639s # 639s # /** 639s # * OrgProjectOtherCallableIfaceSkeleton: 639s # * 639s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 639s # */ 639s # 639s # /** 639s # * OrgProjectOtherCallableIfaceSkeletonClass: 639s # * @parent_class: The parent class. 639s # * 639s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 639s # */ 639s # 639s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 639s # { 639s # GValue *properties; 639s # GList *changed_properties; 639s # GSource *changed_properties_idle_source; 639s # GMainContext *context; 639s # GMutex lock; 639s # }; 639s # 639s # static void 639s # _org_project_other_callable_iface_skeleton_handle_method_call ( 639s # GDBusConnection *connection G_GNUC_UNUSED, 639s # const gchar *sender G_GNUC_UNUSED, 639s # const gchar *object_path G_GNUC_UNUSED, 639s # const gchar *interface_name, 639s # const gchar *method_name, 639s # GVariant *parameters, 639s # GDBusMethodInvocation *invocation, 639s # gpointer user_data) 639s # { 639s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 639s # _ExtendedGDBusMethodInfo *info; 639s # GVariantIter iter; 639s # GVariant *child; 639s # GValue *paramv; 639s # gsize num_params; 639s # guint num_extra; 639s # gsize n; 639s # guint signal_id; 639s # GValue return_value = G_VALUE_INIT; 639s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 639s # g_assert (info != NULL); 639s # num_params = g_variant_n_children (parameters); 639s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 639s # n = 0; 639s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 639s # g_value_set_object (¶mv[n++], skeleton); 639s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 639s # g_value_set_object (¶mv[n++], invocation); 639s # if (info->pass_fdlist) 639s # { 639s # #ifdef G_OS_UNIX 639s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 639s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 639s # #else 639s # g_assert_not_reached (); 639s # #endif 639s # } 639s # g_variant_iter_init (&iter, parameters); 639s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 639s # { 639s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 639s # if (arg_info->use_gvariant) 639s # { 639s # g_value_init (¶mv[n], G_TYPE_VARIANT); 639s # g_value_set_variant (¶mv[n], child); 639s # n++; 639s # } 639s # else 639s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 639s # g_variant_unref (child); 639s # } 639s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 639s # g_value_init (&return_value, G_TYPE_BOOLEAN); 639s # g_signal_emitv (paramv, signal_id, 0, &return_value); 639s # if (!g_value_get_boolean (&return_value)) 639s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 639s # g_value_unset (&return_value); 639s # for (n = 0; n < num_params + num_extra; n++) 639s # g_value_unset (¶mv[n]); 639s # g_free (paramv); 639s # } 639s # 639s # static GVariant * 639s # _org_project_other_callable_iface_skeleton_handle_get_property ( 639s # GDBusConnection *connection G_GNUC_UNUSED, 639s # const gchar *sender G_GNUC_UNUSED, 639s # const gchar *object_path G_GNUC_UNUSED, 639s # const gchar *interface_name G_GNUC_UNUSED, 639s # const gchar *property_name, 639s # GError **error, 639s # gpointer user_data) 639s # { 639s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 639s # GValue value = G_VALUE_INIT; 639s # GParamSpec *pspec; 639s # _ExtendedGDBusPropertyInfo *info; 639s # GVariant *ret; 639s # ret = NULL; 639s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 639s # g_assert (info != NULL); 639s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 639s # if (pspec == NULL) 639s # { 639s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 639s # } 639s # else 639s # { 639s # g_value_init (&value, pspec->value_type); 639s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 639s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 639s # g_value_unset (&value); 639s # } 639s # return ret; 639s # } 639s # 639s # static gboolean 639s # _org_project_other_callable_iface_skeleton_handle_set_property ( 639s # GDBusConnection *connection G_GNUC_UNUSED, 639s # const gchar *sender G_GNUC_UNUSED, 639s # const gchar *object_path G_GNUC_UNUSED, 639s # const gchar *interface_name G_GNUC_UNUSED, 639s # const gchar *property_name, 639s # GVariant *variant, 639s # GError **error, 639s # gpointer user_data) 639s # { 639s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 639s # GValue value = G_VALUE_INIT; 639s # GParamSpec *pspec; 639s # _ExtendedGDBusPropertyInfo *info; 639s # gboolean ret; 639s # ret = FALSE; 639s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 639s # g_assert (info != NULL); 639s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 639s # if (pspec == NULL) 639s # { 639s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 639s # } 639s # else 639s # { 639s # if (info->use_gvariant) 639s # g_value_set_variant (&value, variant); 639s # else 639s # g_dbus_gvariant_to_gvalue (variant, &value); 639s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 639s # g_value_unset (&value); 639s # ret = TRUE; 639s # } 639s # return ret; 639s # } 639s # 639s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 639s # { 639s # _org_project_other_callable_iface_skeleton_handle_method_call, 639s # _org_project_other_callable_iface_skeleton_handle_get_property, 639s # _org_project_other_callable_iface_skeleton_handle_set_property, 639s # {NULL} 639s # }; 639s # 639s # static GDBusInterfaceInfo * 639s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 639s # { 639s # return org_project_other_callable_iface_interface_info (); 639s # } 639s # 639s # static GDBusInterfaceVTable * 639s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 639s # { 639s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 639s # } 639s # 639s # static GVariant * 639s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 639s # { 639s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 639s # 639s # GVariantBuilder builder; 639s # guint n; 639s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 639s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 639s # goto out; 639s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 639s # { 639s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 639s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 639s # { 639s # GVariant *value; 639s # 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); 639s # if (value != NULL) 639s # { 639s # g_variant_take_ref (value); 639s # g_variant_builder_add (&builder, "{sv}", info->name, value); 639s # g_variant_unref (value); 639s # } 639s # } 639s # } 639s # out: 639s # return g_variant_builder_end (&builder); 639s # } 639s # 639s # static void 639s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 639s # { 639s # } 639s # 639s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 639s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 639s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 639s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 639s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 639s # 639s # #else 639s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 639s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 639s # 639s # #endif 639s # static void 639s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 639s # { 639s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 639s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 639s # if (skeleton->priv->changed_properties_idle_source != NULL) 639s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 639s # g_main_context_unref (skeleton->priv->context); 639s # g_mutex_clear (&skeleton->priv->lock); 639s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 639s # } 639s # 639s # static void 639s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 639s # { 639s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 639s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 639s # #else 639s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 639s # #endif 639s # 639s # g_mutex_init (&skeleton->priv->lock); 639s # skeleton->priv->context = g_main_context_ref_thread_default (); 639s # } 639s # 639s # static void 639s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 639s # { 639s # GObjectClass *gobject_class; 639s # GDBusInterfaceSkeletonClass *skeleton_class; 639s # 639s # gobject_class = G_OBJECT_CLASS (klass); 639s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 639s # 639s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 639s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 639s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 639s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 639s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 639s # 639s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 639s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 639s # #endif 639s # } 639s # 639s # static void 639s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 639s # { 639s # } 639s # 639s # /** 639s # * org_project_other_callable_iface_skeleton_new: 639s # * 639s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 639s # * 639s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 639s # */ 639s # OrgProjectOtherCallableIface * 639s # org_project_other_callable_iface_skeleton_new (void) 639s # { 639s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 639s # } 639s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 639s # tmpdir: /tmp/tmphg9q94la 639s # codegen: /usr/bin/gdbus-codegen 639s # /tmp/tmphg9q94la/tmpwqm2zpix.xml: 639s # 639s # 639s # 639s # 639s # 639s # 639s # 639s # 639s # 639s # 639s # 639s # 639s # 639s # 639s # 639s # 639s # 639s # 639s # 639s # 639s # 639s # 639s # 639s # 639s # 639s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphg9q94la/tmpwqm2zpix.xml', '--output', '-', '--body'] 639s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 639s # Output: /* 639s # * This file is generated by gdbus-codegen, do not modify it. 639s # * 639s # * The license of this code is the same as for the D-Bus interface description 639s # * it was derived from. Note that it links to GLib, so must comply with the 639s # * LGPL linking clauses. 639s # */ 639s # 639s # #ifdef HAVE_CONFIG_H 639s # # include "config.h" 639s # #endif 639s # 639s # #include 639s # #ifdef G_OS_UNIX 639s # # include 639s # #endif 639s # 639s # #ifdef G_ENABLE_DEBUG 639s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 639s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 639s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 639s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 639s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 639s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 639s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 639s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 639s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 639s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 639s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 639s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 639s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 639s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 639s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 639s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 639s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 639s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 639s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 639s # #else /* !G_ENABLE_DEBUG */ 639s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 639s # * Do not access GValues directly in your code. Instead, use the 639s # * g_value_get_*() functions 639s # */ 639s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 639s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 639s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 639s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 639s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 639s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 639s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 639s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 639s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 639s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 639s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 639s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 639s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 639s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 639s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 639s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 639s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 639s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 639s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 639s # #endif /* !G_ENABLE_DEBUG */ 639s # 639s # typedef struct 639s # { 639s # GDBusArgInfo parent_struct; 639s # gboolean use_gvariant; 639s # } _ExtendedGDBusArgInfo; 639s # 639s # typedef struct 639s # { 639s # GDBusMethodInfo parent_struct; 639s # const gchar *signal_name; 639s # gboolean pass_fdlist; 639s # } _ExtendedGDBusMethodInfo; 639s # 639s # typedef struct 639s # { 639s # GDBusSignalInfo parent_struct; 639s # const gchar *signal_name; 639s # } _ExtendedGDBusSignalInfo; 639s # 639s # typedef struct 639s # { 639s # GDBusPropertyInfo parent_struct; 639s # const gchar *hyphen_name; 639s # guint use_gvariant : 1; 639s # guint emits_changed_signal : 1; 639s # } _ExtendedGDBusPropertyInfo; 639s # 639s # typedef struct 639s # { 639s # GDBusInterfaceInfo parent_struct; 639s # const gchar *hyphen_name; 639s # } _ExtendedGDBusInterfaceInfo; 639s # 639s # typedef struct 639s # { 639s # const _ExtendedGDBusPropertyInfo *info; 639s # guint prop_id; 639s # GValue orig_value; /* the value before the change */ 639s # } ChangedProperty; 639s # 639s # static void 639s # _changed_property_free (ChangedProperty *data) 639s # { 639s # g_value_unset (&data->orig_value); 639s # g_free (data); 639s # } 639s # 639s # static gboolean 639s # _g_strv_equal0 (gchar **a, gchar **b) 639s # { 639s # gboolean ret = FALSE; 639s # guint n; 639s # if (a == NULL && b == NULL) 639s # { 639s # ret = TRUE; 639s # goto out; 639s # } 639s # if (a == NULL || b == NULL) 639s # goto out; 639s # if (g_strv_length (a) != g_strv_length (b)) 639s # goto out; 639s # for (n = 0; a[n] != NULL; n++) 639s # if (g_strcmp0 (a[n], b[n]) != 0) 639s # goto out; 639s # ret = TRUE; 639s # out: 639s # return ret; 639s # } 639s # 639s # static gboolean 639s # _g_variant_equal0 (GVariant *a, GVariant *b) 639s # { 639s # gboolean ret = FALSE; 639s # if (a == NULL && b == NULL) 639s # { 639s # ret = TRUE; 639s # goto out; 639s # } 639s # if (a == NULL || b == NULL) 639s # goto out; 639s # ret = g_variant_equal (a, b); 639s # out: 639s # return ret; 639s # } 639s # 639s # G_GNUC_UNUSED static gboolean 639s # _g_value_equal (const GValue *a, const GValue *b) 639s # { 639s # gboolean ret = FALSE; 639s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 639s # switch (G_VALUE_TYPE (a)) 639s # { 639s # case G_TYPE_BOOLEAN: 639s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 639s # break; 639s # case G_TYPE_UCHAR: 639s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 639s # break; 639s # case G_TYPE_INT: 639s # ret = (g_value_get_int (a) == g_value_get_int (b)); 639s # break; 639s # case G_TYPE_UINT: 639s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 639s # break; 639s # case G_TYPE_INT64: 639s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 639s # break; 639s # case G_TYPE_UINT64: 639s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 639s # break; 639s # case G_TYPE_DOUBLE: 639s # { 639s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 639s # gdouble da = g_value_get_double (a); 639s # gdouble db = g_value_get_double (b); 639s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 639s # } 639s # break; 639s # case G_TYPE_STRING: 639s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 639s # break; 639s # case G_TYPE_VARIANT: 639s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 639s # break; 639s # default: 639s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 639s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 639s # else 639s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 639s # break; 639s # } 639s # return ret; 639s # } 639s # 639s # static void 639s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 639s # GClosure *closure, 639s # GValue *return_value, 639s # unsigned int n_param_values, 639s # const GValue *param_values, 639s # void *invocation_hint G_GNUC_UNUSED, 639s # void *marshal_data) 639s # { 639s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 639s # (void *data1, 639s # GDBusMethodInvocation *arg_method_invocation, 639s # void *data2); 639s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 639s # GCClosure *cc = (GCClosure*) closure; 639s # void *data1, *data2; 639s # gboolean v_return; 639s # 639s # g_return_if_fail (return_value != NULL); 639s # g_return_if_fail (n_param_values == 2); 639s # 639s # if (G_CCLOSURE_SWAP_DATA (closure)) 639s # { 639s # data1 = closure->data; 639s # data2 = g_value_peek_pointer (param_values + 0); 639s # } 639s # else 639s # { 639s # data1 = g_value_peek_pointer (param_values + 0); 639s # data2 = closure->data; 639s # } 639s # 639s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 639s # (marshal_data ? marshal_data : cc->callback); 639s # 639s # v_return = 639s # callback (data1, 639s # g_marshal_value_peek_object (param_values + 1), 639s # data2); 639s # 639s # g_value_set_boolean (return_value, v_return); 639s # } 639s # 639s # /* ------------------------------------------------------------------------ 639s # * Code for interface org.project.CallableIface 639s # * ------------------------------------------------------------------------ 639s # */ 639s # 639s # /** 639s # * SECTION:OrgProjectCallableIface 639s # * @title: OrgProjectCallableIface 639s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 639s # * 639s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 639s # */ 639s # 639s # /* ---- Introspection data for org.project.CallableIface ---- */ 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_b", 639s # (gchar *) "b", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_y", 639s # (gchar *) "y", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_n", 639s # (gchar *) "n", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_q", 639s # (gchar *) "q", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_i", 639s # (gchar *) "i", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_u", 639s # (gchar *) "u", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_x", 639s # (gchar *) "x", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_t", 639s # (gchar *) "t", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_d", 639s # (gchar *) "d", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_s", 639s # (gchar *) "s", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_o", 639s # (gchar *) "o", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_g", 639s # (gchar *) "g", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_h", 639s # (gchar *) "h", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_ay", 639s # (gchar *) "ay", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_as", 639s # (gchar *) "as", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_ao", 639s # (gchar *) "ao", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_aay", 639s # (gchar *) "aay", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_asv", 639s # (gchar *) "a{sv}", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 639s # { 639s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 639s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 639s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 639s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 639s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 639s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 639s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 639s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 639s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 639s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 639s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 639s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 639s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 639s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 639s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 639s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 639s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 639s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 639s # NULL 639s # }; 639s # 639s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 639s # { 639s # { 639s # -1, 639s # (gchar *) "MethodWithManyArgs", 639s # NULL, 639s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 639s # NULL 639s # }, 639s # "handle-method-with-many-args", 639s # FALSE 639s # }; 639s # 639s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 639s # { 639s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 639s # NULL 639s # }; 639s # 639s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 639s # { 639s # { 639s # -1, 639s # (gchar *) "org.project.CallableIface", 639s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 639s # NULL, 639s # NULL, 639s # NULL 639s # }, 639s # "org-project-callable-iface", 639s # }; 639s # 639s # 639s # /** 639s # * org_project_callable_iface_interface_info: 639s # * 639s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 639s # * 639s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 639s # */ 639s # GDBusInterfaceInfo * 639s # org_project_callable_iface_interface_info (void) 639s # { 639s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 639s # } 639s # 639s # /** 639s # * org_project_callable_iface_override_properties: 639s # * @klass: The class structure for a #GObject derived class. 639s # * @property_id_begin: The property id to assign to the first overridden property. 639s # * 639s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 639s # * The properties are overridden in the order they are defined. 639s # * 639s # * Returns: The last property id. 639s # */ 639s # guint 639s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 639s # { 639s # return property_id_begin - 1; 639s # } 639s # 639s # 639s # inline static void 639s # org_project_callable_iface_method_marshal_method_with_many_args ( 639s # GClosure *closure, 639s # GValue *return_value, 639s # unsigned int n_param_values, 639s # const GValue *param_values, 639s # void *invocation_hint, 639s # void *marshal_data) 639s # { 639s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 639s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 639s # } 639s # 639s # 639s # /** 639s # * OrgProjectCallableIface: 639s # * 639s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 639s # */ 639s # 639s # /** 639s # * OrgProjectCallableIfaceIface: 639s # * @parent_iface: The parent interface. 639s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 639s # * 639s # * Virtual table for the D-Bus interface org.project.CallableIface. 639s # */ 639s # 639s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 639s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 639s # 639s # static void 639s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 639s # { 639s # /* GObject signals for incoming D-Bus method calls: */ 639s # /** 639s # * OrgProjectCallableIface::handle-method-with-many-args: 639s # * @object: A #OrgProjectCallableIface. 639s # * @invocation: A #GDBusMethodInvocation. 639s # * 639s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 639s # * 639s # * 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. 639s # * 639s # * 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. 639s # */ 639s # g_signal_new ("handle-method-with-many-args", 639s # G_TYPE_FROM_INTERFACE (iface), 639s # G_SIGNAL_RUN_LAST, 639s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 639s # g_signal_accumulator_true_handled, 639s # NULL, 639s # org_project_callable_iface_method_marshal_method_with_many_args, 639s # G_TYPE_BOOLEAN, 639s # 1, 639s # G_TYPE_DBUS_METHOD_INVOCATION); 639s # 639s # } 639s # 639s # /** 639s # * org_project_callable_iface_call_method_with_many_args: 639s # * @proxy: A #OrgProjectCallableIfaceProxy. 639s # * @cancellable: (nullable): A #GCancellable or %NULL. 639s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 639s # * @user_data: User data to pass to @callback. 639s # * 639s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 639s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 639s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 639s # * 639s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 639s # */ 639s # void 639s # org_project_callable_iface_call_method_with_many_args ( 639s # OrgProjectCallableIface *proxy, 639s # GCancellable *cancellable, 639s # GAsyncReadyCallback callback, 639s # gpointer user_data) 639s # { 639s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 639s # "MethodWithManyArgs", 639s # g_variant_new ("()"), 639s # G_DBUS_CALL_FLAGS_NONE, 639s # -1, 639s # cancellable, 639s # callback, 639s # user_data); 639s # } 639s # 639s # /** 639s # * org_project_callable_iface_call_method_with_many_args_finish: 639s # * @proxy: A #OrgProjectCallableIfaceProxy. 639s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 639s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 639s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 639s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 639s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 639s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 639s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 639s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 639s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 639s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 639s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 639s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 639s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 639s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 639s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 639s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 639s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 639s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 639s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 639s # * @error: Return location for error or %NULL. 639s # * 639s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 639s # * 639s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 639s # */ 639s # gboolean 639s # org_project_callable_iface_call_method_with_many_args_finish ( 639s # OrgProjectCallableIface *proxy, 639s # gboolean *out_an_b, 639s # guchar *out_an_y, 639s # gint16 *out_an_n, 639s # guint16 *out_an_q, 639s # gint *out_an_i, 639s # guint *out_an_u, 639s # gint64 *out_an_x, 639s # guint64 *out_an_t, 639s # gdouble *out_an_d, 639s # gchar **out_an_s, 639s # gchar **out_an_o, 639s # gchar **out_an_g, 639s # GVariant **out_an_h, 639s # gchar **out_an_ay, 639s # gchar ***out_an_as, 639s # gchar ***out_an_ao, 639s # gchar ***out_an_aay, 639s # GVariant **out_an_asv, 639s # GAsyncResult *res, 639s # GError **error) 639s # { 639s # GVariant *_ret; 639s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 639s # if (_ret == NULL) 639s # goto _out; 639s # g_variant_get (_ret, 639s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 639s # out_an_b, 639s # out_an_y, 639s # out_an_n, 639s # out_an_q, 639s # out_an_i, 639s # out_an_u, 639s # out_an_x, 639s # out_an_t, 639s # out_an_d, 639s # out_an_s, 639s # out_an_o, 639s # out_an_g, 639s # out_an_h, 639s # out_an_ay, 639s # out_an_as, 639s # out_an_ao, 639s # out_an_aay, 639s # out_an_asv); 639s # g_variant_unref (_ret); 639s # _out: 639s # return _ret != NULL; 639s # } 639s # 639s # /** 639s # * org_project_callable_iface_call_method_with_many_args_sync: 639s # * @proxy: A #OrgProjectCallableIfaceProxy. 639s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 639s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 639s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 639s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 639s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 639s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 639s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 639s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 639s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 639s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 639s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 639s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 639s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 639s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 639s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 639s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 639s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 639s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 639s # * @cancellable: (nullable): A #GCancellable or %NULL. 639s # * @error: Return location for error or %NULL. 639s # * 639s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 639s # * 639s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 639s # * 639s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 639s # */ 639s # gboolean 639s # org_project_callable_iface_call_method_with_many_args_sync ( 639s # OrgProjectCallableIface *proxy, 639s # gboolean *out_an_b, 639s # guchar *out_an_y, 639s # gint16 *out_an_n, 639s # guint16 *out_an_q, 639s # gint *out_an_i, 639s # guint *out_an_u, 639s # gint64 *out_an_x, 639s # guint64 *out_an_t, 639s # gdouble *out_an_d, 639s # gchar **out_an_s, 639s # gchar **out_an_o, 639s # gchar **out_an_g, 639s # GVariant **out_an_h, 639s # gchar **out_an_ay, 639s # gchar ***out_an_as, 639s # gchar ***out_an_ao, 639s # gchar ***out_an_aay, 639s # GVariant **out_an_asv, 639s # GCancellable *cancellable, 639s # GError **error) 639s # { 639s # GVariant *_ret; 639s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 639s # "MethodWithManyArgs", 639s # g_variant_new ("()"), 639s # G_DBUS_CALL_FLAGS_NONE, 639s # -1, 639s # cancellable, 639s # error); 639s # if (_ret == NULL) 639s # goto _out; 639s # g_variant_get (_ret, 639s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 639s # out_an_b, 639s # out_an_y, 639s # out_an_n, 639s # out_an_q, 639s # out_an_i, 639s # out_an_u, 639s # out_an_x, 639s # out_an_t, 639s # out_an_d, 639s # out_an_s, 639s # out_an_o, 639s # out_an_g, 639s # out_an_h, 639s # out_an_ay, 639s # out_an_as, 639s # out_an_ao, 639s # out_an_aay, 639s # out_an_asv); 639s # g_variant_unref (_ret); 639s # _out: 639s # return _ret != NULL; 639s # } 639s # 639s # /** 639s # * org_project_callable_iface_complete_method_with_many_args: 639s # * @object: A #OrgProjectCallableIface. 639s # * @invocation: (transfer full): A #GDBusMethodInvocation. 639s # * @an_b: Parameter to return. 639s # * @an_y: Parameter to return. 639s # * @an_n: Parameter to return. 639s # * @an_q: Parameter to return. 639s # * @an_i: Parameter to return. 639s # * @an_u: Parameter to return. 639s # * @an_x: Parameter to return. 639s # * @an_t: Parameter to return. 639s # * @an_d: Parameter to return. 639s # * @an_s: Parameter to return. 639s # * @an_o: Parameter to return. 639s # * @an_g: Parameter to return. 639s # * @an_h: Parameter to return. 639s # * @an_ay: Parameter to return. 639s # * @an_as: Parameter to return. 639s # * @an_ao: Parameter to return. 639s # * @an_aay: Parameter to return. 639s # * @an_asv: Parameter to return. 639s # * 639s # * 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. 639s # * 639s # * This method will free @invocation, you cannot use it afterwards. 639s # */ 639s # void 639s # org_project_callable_iface_complete_method_with_many_args ( 639s # OrgProjectCallableIface *object G_GNUC_UNUSED, 639s # GDBusMethodInvocation *invocation, 639s # gboolean an_b, 639s # guchar an_y, 639s # gint16 an_n, 639s # guint16 an_q, 639s # gint an_i, 639s # guint an_u, 639s # gint64 an_x, 639s # guint64 an_t, 639s # gdouble an_d, 639s # const gchar *an_s, 639s # const gchar *an_o, 639s # const gchar *an_g, 639s # GVariant *an_h, 639s # const gchar *an_ay, 639s # const gchar *const *an_as, 639s # const gchar *const *an_ao, 639s # const gchar *const *an_aay, 639s # GVariant *an_asv) 639s # { 639s # g_dbus_method_invocation_return_value (invocation, 639s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 639s # an_b, 639s # an_y, 639s # an_n, 639s # an_q, 639s # an_i, 639s # an_u, 639s # an_x, 639s # an_t, 639s # an_d, 639s # an_s, 639s # an_o, 639s # an_g, 639s # an_h, 639s # an_ay, 639s # an_as, 639s # an_ao, 639s # an_aay, 639s # an_asv)); 639s # } 639s # 639s # /* ------------------------------------------------------------------------ */ 639s # 639s # /** 639s # * OrgProjectCallableIfaceProxy: 639s # * 639s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 639s # */ 639s # 639s # /** 639s # * OrgProjectCallableIfaceProxyClass: 639s # * @parent_class: The parent class. 639s # * 639s # * Class structure for #OrgProjectCallableIfaceProxy. 639s # */ 639s # 639s # struct _OrgProjectCallableIfaceProxyPrivate 639s # { 639s # GData *qdata; 639s # }; 639s # 639s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 639s # 639s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 639s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 639s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 639s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 639s # 639s # #else 639s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 639s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 639s # 639s # #endif 639s # static void 639s # org_project_callable_iface_proxy_finalize (GObject *object) 639s # { 639s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 639s # g_datalist_clear (&proxy->priv->qdata); 639s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 639s # } 639s # 639s # static void 639s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 639s # guint prop_id G_GNUC_UNUSED, 639s # GValue *value G_GNUC_UNUSED, 639s # GParamSpec *pspec G_GNUC_UNUSED) 639s # { 639s # } 639s # 639s # static void 639s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 639s # guint prop_id G_GNUC_UNUSED, 639s # const GValue *value G_GNUC_UNUSED, 639s # GParamSpec *pspec G_GNUC_UNUSED) 639s # { 639s # } 639s # 639s # static void 639s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 639s # const gchar *sender_name G_GNUC_UNUSED, 639s # const gchar *signal_name, 639s # GVariant *parameters) 639s # { 639s # _ExtendedGDBusSignalInfo *info; 639s # GVariantIter iter; 639s # GVariant *child; 639s # GValue *paramv; 639s # gsize num_params; 639s # gsize n; 639s # guint signal_id; 639s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 639s # if (info == NULL) 639s # return; 639s # num_params = g_variant_n_children (parameters); 639s # paramv = g_new0 (GValue, num_params + 1); 639s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 639s # g_value_set_object (¶mv[0], proxy); 639s # g_variant_iter_init (&iter, parameters); 639s # n = 1; 639s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 639s # { 639s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 639s # if (arg_info->use_gvariant) 639s # { 639s # g_value_init (¶mv[n], G_TYPE_VARIANT); 639s # g_value_set_variant (¶mv[n], child); 639s # n++; 639s # } 639s # else 639s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 639s # g_variant_unref (child); 639s # } 639s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 639s # g_signal_emitv (paramv, signal_id, 0, NULL); 639s # for (n = 0; n < num_params + 1; n++) 639s # g_value_unset (¶mv[n]); 639s # g_free (paramv); 639s # } 639s # 639s # static void 639s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 639s # GVariant *changed_properties, 639s # const gchar *const *invalidated_properties) 639s # { 639s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 639s # guint n; 639s # const gchar *key; 639s # GVariantIter *iter; 639s # _ExtendedGDBusPropertyInfo *info; 639s # g_variant_get (changed_properties, "a{sv}", &iter); 639s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 639s # { 639s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 639s # g_datalist_remove_data (&proxy->priv->qdata, key); 639s # if (info != NULL) 639s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 639s # } 639s # g_variant_iter_free (iter); 639s # for (n = 0; invalidated_properties[n] != NULL; n++) 639s # { 639s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 639s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 639s # if (info != NULL) 639s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 639s # } 639s # } 639s # 639s # static void 639s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 639s # { 639s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 639s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 639s # #else 639s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 639s # #endif 639s # 639s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 639s # } 639s # 639s # static void 639s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 639s # { 639s # GObjectClass *gobject_class; 639s # GDBusProxyClass *proxy_class; 639s # 639s # gobject_class = G_OBJECT_CLASS (klass); 639s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 639s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 639s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 639s # 639s # proxy_class = G_DBUS_PROXY_CLASS (klass); 639s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 639s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 639s # 639s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 639s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 639s # #endif 639s # } 639s # 639s # static void 639s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 639s # { 639s # } 639s # 639s # /** 639s # * org_project_callable_iface_proxy_new: 639s # * @connection: A #GDBusConnection. 639s # * @flags: Flags from the #GDBusProxyFlags enumeration. 639s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 639s # * @object_path: An object path. 639s # * @cancellable: (nullable): A #GCancellable or %NULL. 639s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 639s # * @user_data: User data to pass to @callback. 639s # * 639s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 639s # * 639s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 639s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 639s # * 639s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 639s # */ 639s # void 639s # org_project_callable_iface_proxy_new ( 639s # GDBusConnection *connection, 639s # GDBusProxyFlags flags, 639s # const gchar *name, 639s # const gchar *object_path, 639s # GCancellable *cancellable, 639s # GAsyncReadyCallback callback, 639s # gpointer user_data) 639s # { 639s # 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); 639s # } 639s # 639s # /** 639s # * org_project_callable_iface_proxy_new_finish: 639s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 639s # * @error: Return location for error or %NULL 639s # * 639s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 639s # * 639s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 639s # */ 639s # OrgProjectCallableIface * 639s # org_project_callable_iface_proxy_new_finish ( 639s # GAsyncResult *res, 639s # GError **error) 639s # { 639s # GObject *ret; 639s # GObject *source_object; 639s # source_object = g_async_result_get_source_object (res); 639s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 639s # g_object_unref (source_object); 639s # if (ret != NULL) 639s # return ORG_PROJECT_CALLABLE_IFACE (ret); 639s # else 639s # return NULL; 639s # } 639s # 639s # /** 639s # * org_project_callable_iface_proxy_new_sync: 639s # * @connection: A #GDBusConnection. 639s # * @flags: Flags from the #GDBusProxyFlags enumeration. 639s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 639s # * @object_path: An object path. 639s # * @cancellable: (nullable): A #GCancellable or %NULL. 639s # * @error: Return location for error or %NULL 639s # * 639s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 639s # * 639s # * The calling thread is blocked until a reply is received. 639s # * 639s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 639s # * 639s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 639s # */ 639s # OrgProjectCallableIface * 639s # org_project_callable_iface_proxy_new_sync ( 639s # GDBusConnection *connection, 639s # GDBusProxyFlags flags, 639s # const gchar *name, 639s # const gchar *object_path, 639s # GCancellable *cancellable, 639s # GError **error) 639s # { 639s # GInitable *ret; 639s # 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); 639s # if (ret != NULL) 639s # return ORG_PROJECT_CALLABLE_IFACE (ret); 639s # else 639s # return NULL; 639s # } 639s # 639s # 639s # /** 639s # * org_project_callable_iface_proxy_new_for_bus: 639s # * @bus_type: A #GBusType. 639s # * @flags: Flags from the #GDBusProxyFlags enumeration. 639s # * @name: A bus name (well-known or unique). 639s # * @object_path: An object path. 639s # * @cancellable: (nullable): A #GCancellable or %NULL. 639s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 639s # * @user_data: User data to pass to @callback. 639s # * 639s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 639s # * 639s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 639s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 639s # * 639s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 639s # */ 639s # void 639s # org_project_callable_iface_proxy_new_for_bus ( 639s # GBusType bus_type, 639s # GDBusProxyFlags flags, 639s # const gchar *name, 639s # const gchar *object_path, 639s # GCancellable *cancellable, 639s # GAsyncReadyCallback callback, 639s # gpointer user_data) 639s # { 639s # 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); 639s # } 639s # 639s # /** 639s # * org_project_callable_iface_proxy_new_for_bus_finish: 639s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 639s # * @error: Return location for error or %NULL 639s # * 639s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 639s # * 639s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 639s # */ 639s # OrgProjectCallableIface * 639s # org_project_callable_iface_proxy_new_for_bus_finish ( 639s # GAsyncResult *res, 639s # GError **error) 639s # { 639s # GObject *ret; 639s # GObject *source_object; 639s # source_object = g_async_result_get_source_object (res); 639s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 639s # g_object_unref (source_object); 639s # if (ret != NULL) 639s # return ORG_PROJECT_CALLABLE_IFACE (ret); 639s # else 639s # return NULL; 639s # } 639s # 639s # /** 639s # * org_project_callable_iface_proxy_new_for_bus_sync: 639s # * @bus_type: A #GBusType. 639s # * @flags: Flags from the #GDBusProxyFlags enumeration. 639s # * @name: A bus name (well-known or unique). 639s # * @object_path: An object path. 639s # * @cancellable: (nullable): A #GCancellable or %NULL. 639s # * @error: Return location for error or %NULL 639s # * 639s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 639s # * 639s # * The calling thread is blocked until a reply is received. 639s # * 639s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 639s # * 639s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 639s # */ 639s # OrgProjectCallableIface * 639s # org_project_callable_iface_proxy_new_for_bus_sync ( 639s # GBusType bus_type, 639s # GDBusProxyFlags flags, 639s # const gchar *name, 639s # const gchar *object_path, 639s # GCancellable *cancellable, 639s # GError **error) 639s # { 639s # GInitable *ret; 639s # 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); 639s # if (ret != NULL) 639s # return ORG_PROJECT_CALLABLE_IFACE (ret); 639s # else 639s # return NULL; 639s # } 639s # 639s # 639s # /* ------------------------------------------------------------------------ */ 639s # 639s # /** 639s # * OrgProjectCallableIfaceSkeleton: 639s # * 639s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 639s # */ 639s # 639s # /** 639s # * OrgProjectCallableIfaceSkeletonClass: 639s # * @parent_class: The parent class. 639s # * 639s # * Class structure for #OrgProjectCallableIfaceSkeleton. 639s # */ 639s # 639s # struct _OrgProjectCallableIfaceSkeletonPrivate 639s # { 639s # GValue *properties; 639s # GList *changed_properties; 639s # GSource *changed_properties_idle_source; 639s # GMainContext *context; 639s # GMutex lock; 639s # }; 639s # 639s # static void 639s # _org_project_callable_iface_skeleton_handle_method_call ( 639s # GDBusConnection *connection G_GNUC_UNUSED, 639s # const gchar *sender G_GNUC_UNUSED, 639s # const gchar *object_path G_GNUC_UNUSED, 639s # const gchar *interface_name, 639s # const gchar *method_name, 639s # GVariant *parameters, 639s # GDBusMethodInvocation *invocation, 639s # gpointer user_data) 639s # { 639s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 639s # _ExtendedGDBusMethodInfo *info; 639s # GVariantIter iter; 639s # GVariant *child; 639s # GValue *paramv; 639s # gsize num_params; 639s # guint num_extra; 639s # gsize n; 639s # guint signal_id; 639s # GValue return_value = G_VALUE_INIT; 639s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 639s # g_assert (info != NULL); 639s # num_params = g_variant_n_children (parameters); 639s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 639s # n = 0; 639s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 639s # g_value_set_object (¶mv[n++], skeleton); 639s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 639s # g_value_set_object (¶mv[n++], invocation); 639s # if (info->pass_fdlist) 639s # { 639s # #ifdef G_OS_UNIX 639s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 639s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 639s # #else 639s # g_assert_not_reached (); 639s # #endif 639s # } 639s # g_variant_iter_init (&iter, parameters); 639s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 639s # { 639s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 639s # if (arg_info->use_gvariant) 639s # { 639s # g_value_init (¶mv[n], G_TYPE_VARIANT); 639s # g_value_set_variant (¶mv[n], child); 639s # n++; 639s # } 639s # else 639s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 639s # g_variant_unref (child); 639s # } 639s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 639s # g_value_init (&return_value, G_TYPE_BOOLEAN); 639s # g_signal_emitv (paramv, signal_id, 0, &return_value); 639s # if (!g_value_get_boolean (&return_value)) 639s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 639s # g_value_unset (&return_value); 639s # for (n = 0; n < num_params + num_extra; n++) 639s # g_value_unset (¶mv[n]); 639s # g_free (paramv); 639s # } 639s # 639s # static GVariant * 639s # _org_project_callable_iface_skeleton_handle_get_property ( 639s # GDBusConnection *connection G_GNUC_UNUSED, 639s # const gchar *sender G_GNUC_UNUSED, 639s # const gchar *object_path G_GNUC_UNUSED, 639s # const gchar *interface_name G_GNUC_UNUSED, 639s # const gchar *property_name, 639s # GError **error, 639s # gpointer user_data) 639s # { 639s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 639s # GValue value = G_VALUE_INIT; 639s # GParamSpec *pspec; 639s # _ExtendedGDBusPropertyInfo *info; 639s # GVariant *ret; 639s # ret = NULL; 639s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 639s # g_assert (info != NULL); 639s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 639s # if (pspec == NULL) 639s # { 639s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 639s # } 639s # else 639s # { 639s # g_value_init (&value, pspec->value_type); 639s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 639s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 639s # g_value_unset (&value); 639s # } 639s # return ret; 639s # } 639s # 639s # static gboolean 639s # _org_project_callable_iface_skeleton_handle_set_property ( 639s # GDBusConnection *connection G_GNUC_UNUSED, 639s # const gchar *sender G_GNUC_UNUSED, 639s # const gchar *object_path G_GNUC_UNUSED, 639s # const gchar *interface_name G_GNUC_UNUSED, 639s # const gchar *property_name, 639s # GVariant *variant, 639s # GError **error, 639s # gpointer user_data) 639s # { 639s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 639s # GValue value = G_VALUE_INIT; 639s # GParamSpec *pspec; 639s # _ExtendedGDBusPropertyInfo *info; 639s # gboolean ret; 639s # ret = FALSE; 639s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 639s # g_assert (info != NULL); 639s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 639s # if (pspec == NULL) 639s # { 639s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 639s # } 639s # else 639s # { 639s # if (info->use_gvariant) 639s # g_value_set_variant (&value, variant); 639s # else 639s # g_dbus_gvariant_to_gvalue (variant, &value); 639s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 639s # g_value_unset (&value); 639s # ret = TRUE; 639s # } 639s # return ret; 639s # } 639s # 639s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 639s # { 639s # _org_project_callable_iface_skeleton_handle_method_call, 639s # _org_project_callable_iface_skeleton_handle_get_property, 639s # _org_project_callable_iface_skeleton_handle_set_property, 639s # {NULL} 639s # }; 639s # 639s # static GDBusInterfaceInfo * 639s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 639s # { 639s # return org_project_callable_iface_interface_info (); 639s # } 639s # 639s # static GDBusInterfaceVTable * 639s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 639s # { 639s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 639s # } 639s # 639s # static GVariant * 639s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 639s # { 639s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 639s # 639s # GVariantBuilder builder; 639s # guint n; 639s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 639s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 639s # goto out; 639s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 639s # { 639s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 639s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 639s # { 639s # GVariant *value; 639s # 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); 639s # if (value != NULL) 639s # { 639s # g_variant_take_ref (value); 639s # g_variant_builder_add (&builder, "{sv}", info->name, value); 639s # g_variant_unref (value); 639s # } 639s # } 639s # } 639s # out: 639s # return g_variant_builder_end (&builder); 639s # } 639s # 639s # static void 639s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 639s # { 639s # } 639s # 639s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 639s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 639s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 639s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 639s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 639s # 639s # #else 639s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 639s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 639s # 639s # #endif 639s # static void 639s # org_project_callable_iface_skeleton_finalize (GObject *object) 639s # { 639s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 639s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 639s # if (skeleton->priv->changed_properties_idle_source != NULL) 639s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 639s # g_main_context_unref (skeleton->priv->context); 639s # g_mutex_clear (&skeleton->priv->lock); 639s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 639s # } 639s # 639s # static void 639s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 639s # { 639s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 639s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 639s # #else 639s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 639s # #endif 639s # 639s # g_mutex_init (&skeleton->priv->lock); 639s # skeleton->priv->context = g_main_context_ref_thread_default (); 639s # } 639s # 639s # static void 639s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 639s # { 639s # GObjectClass *gobject_class; 639s # GDBusInterfaceSkeletonClass *skeleton_class; 639s # 639s # gobject_class = G_OBJECT_CLASS (klass); 639s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 639s # 639s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 639s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 639s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 639s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 639s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 639s # 639s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 639s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 639s # #endif 639s # } 639s # 639s # static void 639s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 639s # { 639s # } 639s # 639s # /** 639s # * org_project_callable_iface_skeleton_new: 639s # * 639s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 639s # * 639s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 639s # */ 639s # OrgProjectCallableIface * 639s # org_project_callable_iface_skeleton_new (void) 639s # { 639s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 639s # } 639s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 639s # tmpdir: /tmp/tmpxxrrvhv9 639s # codegen: /usr/bin/gdbus-codegen 639s # /tmp/tmpxxrrvhv9/tmp0p5es95e.xml: 639s # 639s # 639s # 639s # 639s # 639s # 639s # 639s # 639s # 639s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxxrrvhv9/tmp0p5es95e.xml', '--output', '-', '--body'] 639s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 639s # Output: /* 639s # * This file is generated by gdbus-codegen, do not modify it. 639s # * 639s # * The license of this code is the same as for the D-Bus interface description 639s # * it was derived from. Note that it links to GLib, so must comply with the 639s # * LGPL linking clauses. 639s # */ 639s # 639s # #ifdef HAVE_CONFIG_H 639s # # include "config.h" 639s # #endif 639s # 639s # #include 639s # #ifdef G_OS_UNIX 639s # # include 639s # #endif 639s # 639s # #ifdef G_ENABLE_DEBUG 639s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 639s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 639s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 639s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 639s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 639s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 639s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 639s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 639s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 639s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 639s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 639s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 639s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 639s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 639s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 639s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 639s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 639s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 639s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 639s # #else /* !G_ENABLE_DEBUG */ 639s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 639s # * Do not access GValues directly in your code. Instead, use the 639s # * g_value_get_*() functions 639s # */ 639s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 639s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 639s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 639s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 639s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 639s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 639s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 639s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 639s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 639s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 639s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 639s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 639s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 639s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 639s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 639s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 639s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 639s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 639s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 639s # #endif /* !G_ENABLE_DEBUG */ 639s # 639s # typedef struct 639s # { 639s # GDBusArgInfo parent_struct; 639s # gboolean use_gvariant; 639s # } _ExtendedGDBusArgInfo; 639s # 639s # typedef struct 639s # { 639s # GDBusMethodInfo parent_struct; 639s # const gchar *signal_name; 639s # gboolean pass_fdlist; 639s # } _ExtendedGDBusMethodInfo; 639s # 639s # typedef struct 639s # { 639s # GDBusSignalInfo parent_struct; 639s # const gchar *signal_name; 639s # } _ExtendedGDBusSignalInfo; 639s # 639s # typedef struct 639s # { 639s # GDBusPropertyInfo parent_struct; 639s # const gchar *hyphen_name; 639s # guint use_gvariant : 1; 639s # guint emits_changed_signal : 1; 639s # } _ExtendedGDBusPropertyInfo; 639s # 639s # typedef struct 639s # { 639s # GDBusInterfaceInfo parent_struct; 639s # const gchar *hyphen_name; 639s # } _ExtendedGDBusInterfaceInfo; 639s # 639s # typedef struct 639s # { 639s # const _ExtendedGDBusPropertyInfo *info; 639s # guint prop_id; 639s # GValue orig_value; /* the value before the change */ 639s # } ChangedProperty; 639s # 639s # static void 639s # _changed_property_free (ChangedProperty *data) 639s # { 639s # g_value_unset (&data->orig_value); 639s # g_free (data); 639s # } 639s # 639s # static gboolean 639s # _g_strv_equal0 (gchar **a, gchar **b) 639s # { 639s # gboolean ret = FALSE; 639s # guint n; 639s # if (a == NULL && b == NULL) 639s # { 639s # ret = TRUE; 639s # goto out; 639s # } 639s # if (a == NULL || b == NULL) 639s # goto out; 639s # if (g_strv_length (a) != g_strv_length (b)) 639s # goto out; 639s # for (n = 0; a[n] != NULL; n++) 639s # if (g_strcmp0 (a[n], b[n]) != 0) 639s # goto out; 639s # ret = TRUE; 639s # out: 639s # return ret; 639s # } 639s # 639s # static gboolean 639s # _g_variant_equal0 (GVariant *a, GVariant *b) 639s # { 639s # gboolean ret = FALSE; 639s # if (a == NULL && b == NULL) 639s # { 639s # ret = TRUE; 639s # goto out; 639s # } 639s # if (a == NULL || b == NULL) 639s # goto out; 639s # ret = g_variant_equal (a, b); 639s # out: 639s # return ret; 639s # } 639s # 639s # G_GNUC_UNUSED static gboolean 639s # _g_value_equal (const GValue *a, const GValue *b) 639s # { 639s # gboolean ret = FALSE; 639s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 639s # switch (G_VALUE_TYPE (a)) 639s # { 639s # case G_TYPE_BOOLEAN: 639s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 639s # break; 639s # case G_TYPE_UCHAR: 639s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 639s # break; 639s # case G_TYPE_INT: 639s # ret = (g_value_get_int (a) == g_value_get_int (b)); 639s # break; 639s # case G_TYPE_UINT: 639s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 639s # break; 639s # case G_TYPE_INT64: 639s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 639s # break; 639s # case G_TYPE_UINT64: 639s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 639s # break; 639s # case G_TYPE_DOUBLE: 639s # { 639s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 639s # gdouble da = g_value_get_double (a); 639s # gdouble db = g_value_get_double (b); 639s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 639s # } 639s # break; 639s # case G_TYPE_STRING: 639s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 639s # break; 639s # case G_TYPE_VARIANT: 639s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 639s # break; 639s # default: 639s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 639s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 639s # else 639s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 639s # break; 639s # } 639s # return ret; 639s # } 639s # 639s # static void 639s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 639s # GClosure *closure, 639s # GValue *return_value, 639s # unsigned int n_param_values, 639s # const GValue *param_values, 639s # void *invocation_hint G_GNUC_UNUSED, 639s # void *marshal_data) 639s # { 639s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 639s # (void *data1, 639s # GUnixFDList *arg_fd_list, 639s # GDBusMethodInvocation *arg_method_invocation, 639s # const gchar *arg_greeting, 639s # void *data2); 639s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 639s # GCClosure *cc = (GCClosure*) closure; 639s # void *data1, *data2; 639s # gboolean v_return; 639s # 639s # g_return_if_fail (return_value != NULL); 639s # g_return_if_fail (n_param_values == 4); 639s # 639s # if (G_CCLOSURE_SWAP_DATA (closure)) 639s # { 639s # data1 = closure->data; 639s # data2 = g_value_peek_pointer (param_values + 0); 639s # } 639s # else 639s # { 639s # data1 = g_value_peek_pointer (param_values + 0); 639s # data2 = closure->data; 639s # } 639s # 639s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 639s # (marshal_data ? marshal_data : cc->callback); 639s # 639s # v_return = 639s # callback (data1, 639s # g_marshal_value_peek_object (param_values + 1), 639s # g_marshal_value_peek_object (param_values + 2), 639s # g_marshal_value_peek_string (param_values + 3), 639s # data2); 639s # 639s # g_value_set_boolean (return_value, v_return); 639s # } 639s # 639s # /* ------------------------------------------------------------------------ 639s # * Code for interface test.FDPassing 639s # * ------------------------------------------------------------------------ 639s # */ 639s # 639s # /** 639s # * SECTION:TestFDPassing 639s # * @title: TestFDPassing 639s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 639s # * 639s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 639s # */ 639s # 639s # /* ---- Introspection data for test.FDPassing ---- */ 639s # 639s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 639s # { 639s # { 639s # -1, 639s # (gchar *) "greeting", 639s # (gchar *) "s", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 639s # { 639s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 639s # NULL 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 639s # { 639s # { 639s # -1, 639s # (gchar *) "response", 639s # (gchar *) "s", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 639s # { 639s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 639s # NULL 639s # }; 639s # 639s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 639s # { 639s # { 639s # -1, 639s # (gchar *) "HelloFD", 639s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 639s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 639s # NULL 639s # }, 639s # "handle-hello-fd", 639s # TRUE 639s # }; 639s # 639s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 639s # { 639s # &_test_fdpassing_method_info_hello_fd.parent_struct, 639s # NULL 639s # }; 639s # 639s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 639s # { 639s # { 639s # -1, 639s # (gchar *) "test.FDPassing", 639s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 639s # NULL, 639s # NULL, 639s # NULL 639s # }, 639s # "test-fdpassing", 639s # }; 639s # 639s # 639s # /** 639s # * test_fdpassing_interface_info: 639s # * 639s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 639s # * 639s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 639s # */ 639s # GDBusInterfaceInfo * 639s # test_fdpassing_interface_info (void) 639s # { 639s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 639s # } 639s # 639s # /** 639s # * test_fdpassing_override_properties: 639s # * @klass: The class structure for a #GObject derived class. 639s # * @property_id_begin: The property id to assign to the first overridden property. 639s # * 639s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 639s # * The properties are overridden in the order they are defined. 639s # * 639s # * Returns: The last property id. 639s # */ 639s # guint 639s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 639s # { 639s # return property_id_begin - 1; 639s # } 639s # 639s # 639s # inline static void 639s # test_fdpassing_method_marshal_hello_fd ( 639s # GClosure *closure, 639s # GValue *return_value, 639s # unsigned int n_param_values, 639s # const GValue *param_values, 639s # void *invocation_hint, 639s # void *marshal_data) 639s # { 639s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 639s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 639s # } 639s # 639s # 639s # /** 639s # * TestFDPassing: 639s # * 639s # * Abstract interface type for the D-Bus interface test.FDPassing. 639s # */ 639s # 639s # /** 639s # * TestFDPassingIface: 639s # * @parent_iface: The parent interface. 639s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 639s # * 639s # * Virtual table for the D-Bus interface test.FDPassing. 639s # */ 639s # 639s # typedef TestFDPassingIface TestFDPassingInterface; 639s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 639s # 639s # static void 639s # test_fdpassing_default_init (TestFDPassingIface *iface) 639s # { 639s # /* GObject signals for incoming D-Bus method calls: */ 639s # /** 639s # * TestFDPassing::handle-hello-fd: 639s # * @object: A #TestFDPassing. 639s # * @invocation: A #GDBusMethodInvocation. 639s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 639s # * @arg_greeting: Argument passed by remote caller. 639s # * 639s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 639s # * 639s # * 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. 639s # * 639s # * 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. 639s # */ 639s # g_signal_new ("handle-hello-fd", 639s # G_TYPE_FROM_INTERFACE (iface), 639s # G_SIGNAL_RUN_LAST, 639s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 639s # g_signal_accumulator_true_handled, 639s # NULL, 639s # test_fdpassing_method_marshal_hello_fd, 639s # G_TYPE_BOOLEAN, 639s # 3, 639s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 639s # 639s # } 639s # 639s # /** 639s # * test_fdpassing_call_hello_fd: 639s # * @proxy: A #TestFDPassingProxy. 639s # * @arg_greeting: Argument to pass with the method invocation. 639s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 639s # * @cancellable: (nullable): A #GCancellable or %NULL. 639s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 639s # * @user_data: User data to pass to @callback. 639s # * 639s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 639s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 639s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 639s # * 639s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 639s # */ 639s # void 639s # test_fdpassing_call_hello_fd ( 639s # TestFDPassing *proxy, 639s # const gchar *arg_greeting, 639s # GUnixFDList *fd_list, 639s # GCancellable *cancellable, 639s # GAsyncReadyCallback callback, 639s # gpointer user_data) 639s # { 639s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 639s # "HelloFD", 639s # g_variant_new ("(s)", 639s # arg_greeting), 639s # G_DBUS_CALL_FLAGS_NONE, 639s # -1, 639s # fd_list, 639s # cancellable, 639s # callback, 639s # user_data); 639s # } 639s # 639s # /** 639s # * test_fdpassing_call_hello_fd_finish: 639s # * @proxy: A #TestFDPassingProxy. 639s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 639s # * @out_fd_list: (out) (optional): Return location for a #GUnixFDList or %NULL to ignore. 639s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 639s # * @error: Return location for error or %NULL. 639s # * 639s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 639s # * 639s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 639s # */ 639s # gboolean 639s # test_fdpassing_call_hello_fd_finish ( 639s # TestFDPassing *proxy, 639s # gchar **out_response, 639s # GUnixFDList **out_fd_list, 639s # GAsyncResult *res, 639s # GError **error) 639s # { 639s # GVariant *_ret; 639s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 639s # if (_ret == NULL) 639s # goto _out; 639s # g_variant_get (_ret, 639s # "(s)", 639s # out_response); 639s # g_variant_unref (_ret); 639s # _out: 639s # return _ret != NULL; 639s # } 639s # 639s # /** 639s # * test_fdpassing_call_hello_fd_sync: 639s # * @proxy: A #TestFDPassingProxy. 639s # * @arg_greeting: Argument to pass with the method invocation. 639s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 639s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 639s # * @out_fd_list: (out): Return location for a #GUnixFDList or %NULL. 639s # * @cancellable: (nullable): A #GCancellable or %NULL. 639s # * @error: Return location for error or %NULL. 639s # * 639s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 639s # * 639s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 639s # * 639s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 639s # */ 639s # gboolean 639s # test_fdpassing_call_hello_fd_sync ( 639s # TestFDPassing *proxy, 639s # const gchar *arg_greeting, 639s # GUnixFDList *fd_list, 639s # gchar **out_response, 639s # GUnixFDList **out_fd_list, 639s # GCancellable *cancellable, 639s # GError **error) 639s # { 639s # GVariant *_ret; 639s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 639s # "HelloFD", 639s # g_variant_new ("(s)", 639s # arg_greeting), 639s # G_DBUS_CALL_FLAGS_NONE, 639s # -1, 639s # fd_list, 639s # out_fd_list, 639s # cancellable, 639s # error); 639s # if (_ret == NULL) 639s # goto _out; 639s # g_variant_get (_ret, 639s # "(s)", 639s # out_response); 639s # g_variant_unref (_ret); 639s # _out: 639s # return _ret != NULL; 639s # } 639s # 639s # /** 639s # * test_fdpassing_complete_hello_fd: 639s # * @object: A #TestFDPassing. 639s # * @invocation: (transfer full): A #GDBusMethodInvocation. 639s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 639s # * @response: Parameter to return. 639s # * 639s # * 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. 639s # * 639s # * This method will free @invocation, you cannot use it afterwards. 639s # */ 639s # void 639s # test_fdpassing_complete_hello_fd ( 639s # TestFDPassing *object G_GNUC_UNUSED, 639s # GDBusMethodInvocation *invocation, 639s # GUnixFDList *fd_list, 639s # const gchar *response) 639s # { 639s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 639s # g_variant_new ("(s)", 639s # response), 639s # fd_list); 639s # } 639s # 639s # /* ------------------------------------------------------------------------ */ 639s # 639s # /** 639s # * TestFDPassingProxy: 639s # * 639s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 639s # */ 639s # 639s # /** 639s # * TestFDPassingProxyClass: 639s # * @parent_class: The parent class. 639s # * 639s # * Class structure for #TestFDPassingProxy. 639s # */ 639s # 639s # struct _TestFDPassingProxyPrivate 639s # { 639s # GData *qdata; 639s # }; 639s # 639s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 639s # 639s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 639s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 639s # G_ADD_PRIVATE (TestFDPassingProxy) 639s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 639s # 639s # #else 639s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 639s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 639s # 639s # #endif 639s # static void 639s # test_fdpassing_proxy_finalize (GObject *object) 639s # { 639s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 639s # g_datalist_clear (&proxy->priv->qdata); 639s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 639s # } 639s # 639s # static void 639s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 639s # guint prop_id G_GNUC_UNUSED, 639s # GValue *value G_GNUC_UNUSED, 639s # GParamSpec *pspec G_GNUC_UNUSED) 639s # { 639s # } 639s # 639s # static void 639s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 639s # guint prop_id G_GNUC_UNUSED, 639s # const GValue *value G_GNUC_UNUSED, 639s # GParamSpec *pspec G_GNUC_UNUSED) 639s # { 639s # } 639s # 639s # static void 639s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 639s # const gchar *sender_name G_GNUC_UNUSED, 639s # const gchar *signal_name, 639s # GVariant *parameters) 639s # { 639s # _ExtendedGDBusSignalInfo *info; 639s # GVariantIter iter; 639s # GVariant *child; 639s # GValue *paramv; 639s # gsize num_params; 639s # gsize n; 639s # guint signal_id; 639s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 639s # if (info == NULL) 639s # return; 639s # num_params = g_variant_n_children (parameters); 639s # paramv = g_new0 (GValue, num_params + 1); 639s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 639s # g_value_set_object (¶mv[0], proxy); 639s # g_variant_iter_init (&iter, parameters); 639s # n = 1; 639s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 639s # { 639s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 639s # if (arg_info->use_gvariant) 639s # { 639s # g_value_init (¶mv[n], G_TYPE_VARIANT); 639s # g_value_set_variant (¶mv[n], child); 639s # n++; 639s # } 639s # else 639s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 639s # g_variant_unref (child); 639s # } 639s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 639s # g_signal_emitv (paramv, signal_id, 0, NULL); 639s # for (n = 0; n < num_params + 1; n++) 639s # g_value_unset (¶mv[n]); 639s # g_free (paramv); 639s # } 639s # 639s # static void 639s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 639s # GVariant *changed_properties, 639s # const gchar *const *invalidated_properties) 639s # { 639s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 639s # guint n; 639s # const gchar *key; 639s # GVariantIter *iter; 639s # _ExtendedGDBusPropertyInfo *info; 639s # g_variant_get (changed_properties, "a{sv}", &iter); 639s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 639s # { 639s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 639s # g_datalist_remove_data (&proxy->priv->qdata, key); 639s # if (info != NULL) 639s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 639s # } 639s # g_variant_iter_free (iter); 639s # for (n = 0; invalidated_properties[n] != NULL; n++) 639s # { 639s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 639s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 639s # if (info != NULL) 639s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 639s # } 639s # } 639s # 639s # static void 639s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 639s # { 639s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 639s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 639s # #else 639s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 639s # #endif 639s # 639s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 639s # } 639s # 639s # static void 639s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 639s # { 639s # GObjectClass *gobject_class; 639s # GDBusProxyClass *proxy_class; 639s # 639s # gobject_class = G_OBJECT_CLASS (klass); 639s # gobject_class->finalize = test_fdpassing_proxy_finalize; 639s # gobject_class->get_property = test_fdpassing_proxy_get_property; 639s # gobject_class->set_property = test_fdpassing_proxy_set_property; 639s # 639s # proxy_class = G_DBUS_PROXY_CLASS (klass); 639s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 639s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 639s # 639s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 639s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 639s # #endif 639s # } 639s # 639s # static void 639s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 639s # { 639s # } 639s # 639s # /** 639s # * test_fdpassing_proxy_new: 639s # * @connection: A #GDBusConnection. 639s # * @flags: Flags from the #GDBusProxyFlags enumeration. 639s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 639s # * @object_path: An object path. 639s # * @cancellable: (nullable): A #GCancellable or %NULL. 639s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 639s # * @user_data: User data to pass to @callback. 639s # * 639s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 639s # * 639s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 639s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 639s # * 639s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 639s # */ 639s # void 639s # test_fdpassing_proxy_new ( 639s # GDBusConnection *connection, 639s # GDBusProxyFlags flags, 639s # const gchar *name, 639s # const gchar *object_path, 639s # GCancellable *cancellable, 639s # GAsyncReadyCallback callback, 639s # gpointer user_data) 639s # { 639s # 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); 639s # } 639s # 639s # /** 639s # * test_fdpassing_proxy_new_finish: 639s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 639s # * @error: Return location for error or %NULL 639s # * 639s # * Finishes an operation started with test_fdpassing_proxy_new(). 639s # * 639s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 639s # */ 639s # TestFDPassing * 639s # test_fdpassing_proxy_new_finish ( 639s # GAsyncResult *res, 639s # GError **error) 639s # { 639s # GObject *ret; 639s # GObject *source_object; 639s # source_object = g_async_result_get_source_object (res); 639s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 639s # g_object_unref (source_object); 639s # if (ret != NULL) 639s # return TEST_FDPASSING (ret); 639s # else 639s # return NULL; 639s # } 639s # 639s # /** 639s # * test_fdpassing_proxy_new_sync: 639s # * @connection: A #GDBusConnection. 639s # * @flags: Flags from the #GDBusProxyFlags enumeration. 639s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 639s # * @object_path: An object path. 639s # * @cancellable: (nullable): A #GCancellable or %NULL. 639s # * @error: Return location for error or %NULL 639s # * 639s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 639s # * 639s # * The calling thread is blocked until a reply is received. 639s # * 639s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 639s # * 639s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 639s # */ 639s # TestFDPassing * 639s # test_fdpassing_proxy_new_sync ( 639s # GDBusConnection *connection, 639s # GDBusProxyFlags flags, 639s # const gchar *name, 639s # const gchar *object_path, 639s # GCancellable *cancellable, 639s # GError **error) 639s # { 639s # GInitable *ret; 639s # 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); 639s # if (ret != NULL) 639s # return TEST_FDPASSING (ret); 639s # else 639s # return NULL; 639s # } 639s # 639s # 639s # /** 639s # * test_fdpassing_proxy_new_for_bus: 639s # * @bus_type: A #GBusType. 639s # * @flags: Flags from the #GDBusProxyFlags enumeration. 639s # * @name: A bus name (well-known or unique). 639s # * @object_path: An object path. 639s # * @cancellable: (nullable): A #GCancellable or %NULL. 639s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 639s # * @user_data: User data to pass to @callback. 639s # * 639s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 639s # * 639s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 639s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 639s # * 639s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 639s # */ 639s # void 639s # test_fdpassing_proxy_new_for_bus ( 639s # GBusType bus_type, 639s # GDBusProxyFlags flags, 639s # const gchar *name, 639s # const gchar *object_path, 639s # GCancellable *cancellable, 639s # GAsyncReadyCallback callback, 639s # gpointer user_data) 639s # { 639s # 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); 639s # } 639s # 639s # /** 639s # * test_fdpassing_proxy_new_for_bus_finish: 639s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 639s # * @error: Return location for error or %NULL 639s # * 639s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 639s # * 639s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 639s # */ 639s # TestFDPassing * 639s # test_fdpassing_proxy_new_for_bus_finish ( 639s # GAsyncResult *res, 639s # GError **error) 639s # { 639s # GObject *ret; 639s # GObject *source_object; 639s # source_object = g_async_result_get_source_object (res); 639s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 639s # g_object_unref (source_object); 639s # if (ret != NULL) 639s # return TEST_FDPASSING (ret); 639s # else 639s # return NULL; 639s # } 639s # 639s # /** 639s # * test_fdpassing_proxy_new_for_bus_sync: 639s # * @bus_type: A #GBusType. 639s # * @flags: Flags from the #GDBusProxyFlags enumeration. 639s # * @name: A bus name (well-known or unique). 639s # * @object_path: An object path. 639s # * @cancellable: (nullable): A #GCancellable or %NULL. 639s # * @error: Return location for error or %NULL 639s # * 639s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 639s # * 639s # * The calling thread is blocked until a reply is received. 639s # * 639s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 639s # * 639s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 639s # */ 639s # TestFDPassing * 639s # test_fdpassing_proxy_new_for_bus_sync ( 639s # GBusType bus_type, 639s # GDBusProxyFlags flags, 639s # const gchar *name, 639s # const gchar *object_path, 639s # GCancellable *cancellable, 639s # GError **error) 639s # { 639s # GInitable *ret; 639s # 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); 639s # if (ret != NULL) 639s # return TEST_FDPASSING (ret); 639s # else 639s # return NULL; 639s # } 639s # 639s # 639s # /* ------------------------------------------------------------------------ */ 639s # 639s # /** 639s # * TestFDPassingSkeleton: 639s # * 639s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 639s # */ 639s # 639s # /** 639s # * TestFDPassingSkeletonClass: 639s # * @parent_class: The parent class. 639s # * 639s # * Class structure for #TestFDPassingSkeleton. 639s # */ 639s # 639s # struct _TestFDPassingSkeletonPrivate 639s # { 639s # GValue *properties; 639s # GList *changed_properties; 639s # GSource *changed_properties_idle_source; 639s # GMainContext *context; 639s # GMutex lock; 639s # }; 639s # 639s # static void 639s # _test_fdpassing_skeleton_handle_method_call ( 639s # GDBusConnection *connection G_GNUC_UNUSED, 639s # const gchar *sender G_GNUC_UNUSED, 639s # const gchar *object_path G_GNUC_UNUSED, 639s # const gchar *interface_name, 639s # const gchar *method_name, 639s # GVariant *parameters, 639s # GDBusMethodInvocation *invocation, 639s # gpointer user_data) 639s # { 639s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 639s # _ExtendedGDBusMethodInfo *info; 639s # GVariantIter iter; 639s # GVariant *child; 639s # GValue *paramv; 639s # gsize num_params; 639s # guint num_extra; 639s # gsize n; 639s # guint signal_id; 639s # GValue return_value = G_VALUE_INIT; 639s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 639s # g_assert (info != NULL); 639s # num_params = g_variant_n_children (parameters); 639s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 639s # n = 0; 639s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 639s # g_value_set_object (¶mv[n++], skeleton); 639s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 639s # g_value_set_object (¶mv[n++], invocation); 639s # if (info->pass_fdlist) 639s # { 639s # #ifdef G_OS_UNIX 639s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 639s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 639s # #else 639s # g_assert_not_reached (); 639s # #endif 639s # } 639s # g_variant_iter_init (&iter, parameters); 639s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 639s # { 639s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 639s # if (arg_info->use_gvariant) 639s # { 639s # g_value_init (¶mv[n], G_TYPE_VARIANT); 639s # g_value_set_variant (¶mv[n], child); 639s # n++; 639s # } 639s # else 639s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 639s # g_variant_unref (child); 639s # } 639s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 639s # g_value_init (&return_value, G_TYPE_BOOLEAN); 639s # g_signal_emitv (paramv, signal_id, 0, &return_value); 639s # if (!g_value_get_boolean (&return_value)) 639s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 639s # g_value_unset (&return_value); 639s # for (n = 0; n < num_params + num_extra; n++) 639s # g_value_unset (¶mv[n]); 639s # g_free (paramv); 639s # } 639s # 639s # static GVariant * 639s # _test_fdpassing_skeleton_handle_get_property ( 639s # GDBusConnection *connection G_GNUC_UNUSED, 639s # const gchar *sender G_GNUC_UNUSED, 639s # const gchar *object_path G_GNUC_UNUSED, 639s # const gchar *interface_name G_GNUC_UNUSED, 639s # const gchar *property_name, 639s # GError **error, 639s # gpointer user_data) 639s # { 639s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 639s # GValue value = G_VALUE_INIT; 639s # GParamSpec *pspec; 639s # _ExtendedGDBusPropertyInfo *info; 639s # GVariant *ret; 639s # ret = NULL; 639s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 639s # g_assert (info != NULL); 639s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 639s # if (pspec == NULL) 639s # { 639s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 639s # } 639s # else 639s # { 639s # g_value_init (&value, pspec->value_type); 639s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 639s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 639s # g_value_unset (&value); 639s # } 639s # return ret; 639s # } 639s # 639s # static gboolean 639s # _test_fdpassing_skeleton_handle_set_property ( 639s # GDBusConnection *connection G_GNUC_UNUSED, 639s # const gchar *sender G_GNUC_UNUSED, 639s # const gchar *object_path G_GNUC_UNUSED, 639s # const gchar *interface_name G_GNUC_UNUSED, 639s # const gchar *property_name, 639s # GVariant *variant, 639s # GError **error, 639s # gpointer user_data) 639s # { 639s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 639s # GValue value = G_VALUE_INIT; 639s # GParamSpec *pspec; 639s # _ExtendedGDBusPropertyInfo *info; 639s # gboolean ret; 639s # ret = FALSE; 639s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 639s # g_assert (info != NULL); 639s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 639s # if (pspec == NULL) 639s # { 639s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 639s # } 639s # else 639s # { 639s # if (info->use_gvariant) 639s # g_value_set_variant (&value, variant); 639s # else 639s # g_dbus_gvariant_to_gvalue (variant, &value); 639s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 639s # g_value_unset (&value); 639s # ret = TRUE; 639s # } 639s # return ret; 639s # } 639s # 639s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 639s # { 639s # _test_fdpassing_skeleton_handle_method_call, 639s # _test_fdpassing_skeleton_handle_get_property, 639s # _test_fdpassing_skeleton_handle_set_property, 639s # {NULL} 639s # }; 639s # 639s # static GDBusInterfaceInfo * 639s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 639s # { 639s # return test_fdpassing_interface_info (); 639s # } 639s # 639s # static GDBusInterfaceVTable * 639s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 639s # { 639s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 639s # } 639s # 639s # static GVariant * 639s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 639s # { 639s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 639s # 639s # GVariantBuilder builder; 639s # guint n; 639s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 639s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 639s # goto out; 639s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 639s # { 639s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 639s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 639s # { 639s # GVariant *value; 639s # 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); 639s # if (value != NULL) 639s # { 639s # g_variant_take_ref (value); 639s # g_variant_builder_add (&builder, "{sv}", info->name, value); 639s # g_variant_unref (value); 639s # } 639s # } 639s # } 639s # out: 639s # return g_variant_builder_end (&builder); 639s # } 639s # 639s # static void 639s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 639s # { 639s # } 639s # 639s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 639s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 639s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 639s # G_ADD_PRIVATE (TestFDPassingSkeleton) 639s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 639s # 639s # #else 639s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 639s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 639s # 639s # #endif 639s # static void 639s # test_fdpassing_skeleton_finalize (GObject *object) 639s # { 639s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 639s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 639s # if (skeleton->priv->changed_properties_idle_source != NULL) 639s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 639s # g_main_context_unref (skeleton->priv->context); 639s # g_mutex_clear (&skeleton->priv->lock); 639s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 639s # } 639s # 639s # static void 639s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 639s # { 639s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 639s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 639s # #else 639s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 639s # #endif 639s # 639s # g_mutex_init (&skeleton->priv->lock); 639s # skeleton->priv->context = g_main_context_ref_thread_default (); 639s # } 639s # 639s # static void 639s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 639s # { 639s # GObjectClass *gobject_class; 639s # GDBusInterfaceSkeletonClass *skeleton_class; 639s # 639s # gobject_class = G_OBJECT_CLASS (klass); 639s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 639s # 639s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 639s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 639s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 639s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 639s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 639s # 639s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 639s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 639s # #endif 639s # } 639s # 639s # static void 639s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 639s # { 639s # } 639s # 639s # /** 639s # * test_fdpassing_skeleton_new: 639s # * 639s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 639s # * 639s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 639s # */ 639s # TestFDPassing * 639s # test_fdpassing_skeleton_new (void) 639s # { 639s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 639s # } 639s ok 15 __main__.TestCodegen.test_generate_rst 639s # tmpdir: /tmp/tmplrwmfomt 639s # codegen: /usr/bin/gdbus-codegen 639s # /tmp/tmplrwmfomt/tmpnpuvu7cy.xml: 639s # 639s # 639s # 639s # 639s # 639s # 639s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplrwmfomt/tmpnpuvu7cy.xml', '--generate-rst', 'test'] 639s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 639s # Output: 639s ok 16 __main__.TestCodegen.test_generate_rst_method 639s # tmpdir: /tmp/tmpdv81fruv 639s # codegen: /usr/bin/gdbus-codegen 639s # /tmp/tmpdv81fruv/tmpflswiiht.xml: 639s # 639s # 639s # 639s # 639s # 639s # 639s # 639s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdv81fruv/tmpflswiiht.xml', '--generate-rst', 'test'] 639s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 639s # Output: 639s ok 17 __main__.TestCodegen.test_generate_rst_property 639s # tmpdir: /tmp/tmp4erdn7t1 639s # codegen: /usr/bin/gdbus-codegen 639s # /tmp/tmp4erdn7t1/tmp9h7l3phx.xml: 639s # 639s # 639s # 639s # 639s # 639s # 639s # 639s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4erdn7t1/tmp9h7l3phx.xml', '--generate-rst', 'test'] 639s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 639s # Output: 639s ok 18 __main__.TestCodegen.test_generate_rst_signal 639s # tmpdir: /tmp/tmppb2s2f2c 639s # codegen: /usr/bin/gdbus-codegen 639s # /tmp/tmppb2s2f2c/tmpzo9y1qvf.xml: 639s # 639s # 639s # 639s # 639s # 639s # 639s # 639s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppb2s2f2c/tmpzo9y1qvf.xml', '--generate-rst', 'test'] 639s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 639s # Output: 639s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 639s # tmpdir: /tmp/tmpyht7gidc 639s # codegen: /usr/bin/gdbus-codegen 639s # /tmp/tmpyht7gidc/tmpu8wkizr0.xml: 639s # 639s # 639s # 639s # 639s # 639s # 639s # 639s # 639s # 639s # 639s # 639s # 639s # 639s # 639s # 639s # 639s # 639s # 639s # 639s # 639s # 639s # 639s # 639s # 639s # 639s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyht7gidc/tmpu8wkizr0.xml', '--output', '-', '--body'] 639s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 639s # Output: /* 639s # * This file is generated by gdbus-codegen, do not modify it. 639s # * 639s # * The license of this code is the same as for the D-Bus interface description 639s # * it was derived from. Note that it links to GLib, so must comply with the 639s # * LGPL linking clauses. 639s # */ 639s # 639s # #ifdef HAVE_CONFIG_H 639s # # include "config.h" 639s # #endif 639s # 639s # #include 639s # #ifdef G_OS_UNIX 639s # # include 639s # #endif 639s # 639s # #ifdef G_ENABLE_DEBUG 639s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 639s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 639s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 639s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 639s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 639s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 639s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 639s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 639s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 639s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 639s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 639s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 639s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 639s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 639s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 639s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 639s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 639s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 639s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 639s # #else /* !G_ENABLE_DEBUG */ 639s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 639s # * Do not access GValues directly in your code. Instead, use the 639s # * g_value_get_*() functions 639s # */ 639s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 639s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 639s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 639s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 639s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 639s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 639s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 639s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 639s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 639s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 639s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 639s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 639s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 639s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 639s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 639s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 639s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 639s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 639s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 639s # #endif /* !G_ENABLE_DEBUG */ 639s # 639s # typedef struct 639s # { 639s # GDBusArgInfo parent_struct; 639s # gboolean use_gvariant; 639s # } _ExtendedGDBusArgInfo; 639s # 639s # typedef struct 639s # { 639s # GDBusMethodInfo parent_struct; 639s # const gchar *signal_name; 639s # gboolean pass_fdlist; 639s # } _ExtendedGDBusMethodInfo; 639s # 639s # typedef struct 639s # { 639s # GDBusSignalInfo parent_struct; 639s # const gchar *signal_name; 639s # } _ExtendedGDBusSignalInfo; 639s # 639s # typedef struct 639s # { 639s # GDBusPropertyInfo parent_struct; 639s # const gchar *hyphen_name; 639s # guint use_gvariant : 1; 639s # guint emits_changed_signal : 1; 639s # } _ExtendedGDBusPropertyInfo; 639s # 639s # typedef struct 639s # { 639s # GDBusInterfaceInfo parent_struct; 639s # const gchar *hyphen_name; 639s # } _ExtendedGDBusInterfaceInfo; 639s # 639s # typedef struct 639s # { 639s # const _ExtendedGDBusPropertyInfo *info; 639s # guint prop_id; 639s # GValue orig_value; /* the value before the change */ 639s # } ChangedProperty; 639s # 639s # static void 639s # _changed_property_free (ChangedProperty *data) 639s # { 639s # g_value_unset (&data->orig_value); 639s # g_free (data); 639s # } 639s # 639s # static gboolean 639s # _g_strv_equal0 (gchar **a, gchar **b) 639s # { 639s # gboolean ret = FALSE; 639s # guint n; 639s # if (a == NULL && b == NULL) 639s # { 639s # ret = TRUE; 639s # goto out; 639s # } 639s # if (a == NULL || b == NULL) 639s # goto out; 639s # if (g_strv_length (a) != g_strv_length (b)) 639s # goto out; 639s # for (n = 0; a[n] != NULL; n++) 639s # if (g_strcmp0 (a[n], b[n]) != 0) 639s # goto out; 639s # ret = TRUE; 639s # out: 639s # return ret; 639s # } 639s # 639s # static gboolean 639s # _g_variant_equal0 (GVariant *a, GVariant *b) 639s # { 639s # gboolean ret = FALSE; 639s # if (a == NULL && b == NULL) 639s # { 639s # ret = TRUE; 639s # goto out; 639s # } 639s # if (a == NULL || b == NULL) 639s # goto out; 639s # ret = g_variant_equal (a, b); 639s # out: 639s # return ret; 639s # } 639s # 639s # G_GNUC_UNUSED static gboolean 639s # _g_value_equal (const GValue *a, const GValue *b) 639s # { 639s # gboolean ret = FALSE; 639s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 639s # switch (G_VALUE_TYPE (a)) 639s # { 639s # case G_TYPE_BOOLEAN: 639s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 639s # break; 639s # case G_TYPE_UCHAR: 639s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 639s # break; 639s # case G_TYPE_INT: 639s # ret = (g_value_get_int (a) == g_value_get_int (b)); 639s # break; 639s # case G_TYPE_UINT: 639s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 639s # break; 639s # case G_TYPE_INT64: 639s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 639s # break; 639s # case G_TYPE_UINT64: 639s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 639s # break; 639s # case G_TYPE_DOUBLE: 639s # { 639s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 639s # gdouble da = g_value_get_double (a); 639s # gdouble db = g_value_get_double (b); 639s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 639s # } 639s # break; 639s # case G_TYPE_STRING: 639s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 639s # break; 639s # case G_TYPE_VARIANT: 639s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 639s # break; 639s # default: 639s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 639s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 639s # else 639s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 639s # break; 639s # } 639s # return ret; 639s # } 639s # 639s # static void 639s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 639s # GClosure *closure, 639s # GValue *return_value G_GNUC_UNUSED, 639s # unsigned int n_param_values, 639s # const GValue *param_values, 639s # void *invocation_hint G_GNUC_UNUSED, 639s # void *marshal_data) 639s # { 639s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 639s # (void *data1, 639s # gboolean arg_an_b, 639s # guchar arg_an_y, 639s # gint16 arg_an_n, 639s # guint16 arg_an_q, 639s # gint arg_an_i, 639s # guint arg_an_u, 639s # gint64 arg_an_x, 639s # guint64 arg_an_t, 639s # gdouble arg_an_d, 639s # const gchar *arg_an_s, 639s # const gchar *arg_an_o, 639s # const gchar *arg_an_g, 639s # GVariant *arg_an_h, 639s # const gchar *arg_an_ay, 639s # const gchar *const *arg_an_as, 639s # const gchar *const *arg_an_ao, 639s # const gchar *const *arg_an_aay, 639s # GVariant *arg_an_asv, 639s # void *data2); 639s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 639s # GCClosure *cc = (GCClosure*) closure; 639s # void *data1, *data2; 639s # 639s # g_return_if_fail (n_param_values == 19); 639s # 639s # if (G_CCLOSURE_SWAP_DATA (closure)) 639s # { 639s # data1 = closure->data; 639s # data2 = g_value_peek_pointer (param_values + 0); 639s # } 639s # else 639s # { 639s # data1 = g_value_peek_pointer (param_values + 0); 639s # data2 = closure->data; 639s # } 639s # 639s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 639s # (marshal_data ? marshal_data : cc->callback); 639s # 639s # callback (data1, 639s # g_marshal_value_peek_boolean (param_values + 1), 639s # g_marshal_value_peek_uchar (param_values + 2), 639s # g_marshal_value_peek_int (param_values + 3), 639s # g_marshal_value_peek_uint (param_values + 4), 639s # g_marshal_value_peek_int (param_values + 5), 639s # g_marshal_value_peek_uint (param_values + 6), 639s # g_marshal_value_peek_int64 (param_values + 7), 639s # g_marshal_value_peek_uint64 (param_values + 8), 639s # g_marshal_value_peek_double (param_values + 9), 639s # g_marshal_value_peek_string (param_values + 10), 639s # g_marshal_value_peek_string (param_values + 11), 639s # g_marshal_value_peek_string (param_values + 12), 639s # g_marshal_value_peek_variant (param_values + 13), 639s # g_marshal_value_peek_string (param_values + 14), 639s # g_marshal_value_peek_boxed (param_values + 15), 639s # g_marshal_value_peek_boxed (param_values + 16), 639s # g_marshal_value_peek_boxed (param_values + 17), 639s # g_marshal_value_peek_variant (param_values + 18), 639s # data2); 639s # } 639s # 639s # /* ------------------------------------------------------------------------ 639s # * Code for interface org.project.SignalingIface 639s # * ------------------------------------------------------------------------ 639s # */ 639s # 639s # /** 639s # * SECTION:OrgProjectSignalingIface 639s # * @title: OrgProjectSignalingIface 639s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 639s # * 639s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 639s # */ 639s # 639s # enum 639s # { 639s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 639s # }; 639s # 639s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 639s # 639s # /* ---- Introspection data for org.project.SignalingIface ---- */ 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_b", 639s # (gchar *) "b", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_y", 639s # (gchar *) "y", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_n", 639s # (gchar *) "n", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_q", 639s # (gchar *) "q", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_i", 639s # (gchar *) "i", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_u", 639s # (gchar *) "u", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_x", 639s # (gchar *) "x", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_t", 639s # (gchar *) "t", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_d", 639s # (gchar *) "d", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_s", 639s # (gchar *) "s", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_o", 639s # (gchar *) "o", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_g", 639s # (gchar *) "g", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_h", 639s # (gchar *) "h", 639s # NULL 639s # }, 639s # FALSE 639s # }; 639s # 639s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 639s # { 639s # { 639s # -1, 639s # (gchar *) "an_ay", 639s # (gchar *) "ay", 640s # NULL 640s # }, 640s # FALSE 640s # }; 640s # 640s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 640s # { 640s # { 640s # -1, 640s # (gchar *) "an_as", 640s # (gchar *) "as", 640s # NULL 640s # }, 640s # FALSE 640s # }; 640s # 640s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 640s # { 640s # { 640s # -1, 640s # (gchar *) "an_ao", 640s # (gchar *) "ao", 640s # NULL 640s # }, 640s # FALSE 640s # }; 640s # 640s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 640s # { 640s # { 640s # -1, 640s # (gchar *) "an_aay", 640s # (gchar *) "aay", 640s # NULL 640s # }, 640s # FALSE 640s # }; 640s # 640s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 640s # { 640s # { 640s # -1, 640s # (gchar *) "an_asv", 640s # (gchar *) "a{sv}", 640s # NULL 640s # }, 640s # FALSE 640s # }; 640s # 640s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 640s # { 640s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 640s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 640s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 640s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 640s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 640s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 640s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 640s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 640s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 640s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 640s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 640s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 640s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 640s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 640s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 640s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 640s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 640s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 640s # NULL 640s # }; 640s # 640s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 640s # { 640s # { 640s # -1, 640s # (gchar *) "SignalWithManyArgs", 640s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 640s # NULL 640s # }, 640s # "signal-with-many-args" 640s # }; 640s # 640s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 640s # { 640s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 640s # NULL 640s # }; 640s # 640s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 640s # { 640s # { 640s # -1, 640s # (gchar *) "org.project.SignalingIface", 640s # NULL, 640s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 640s # NULL, 640s # NULL 640s # }, 640s # "org-project-signaling-iface", 640s # }; 640s # 640s # 640s # /** 640s # * org_project_signaling_iface_interface_info: 640s # * 640s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 640s # * 640s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 640s # */ 640s # GDBusInterfaceInfo * 640s # org_project_signaling_iface_interface_info (void) 640s # { 640s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_override_properties: 640s # * @klass: The class structure for a #GObject derived class. 640s # * @property_id_begin: The property id to assign to the first overridden property. 640s # * 640s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 640s # * The properties are overridden in the order they are defined. 640s # * 640s # * Returns: The last property id. 640s # */ 640s # guint 640s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 640s # { 640s # return property_id_begin - 1; 640s # } 640s # 640s # 640s # inline static void 640s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 640s # GClosure *closure, 640s # GValue *return_value, 640s # unsigned int n_param_values, 640s # const GValue *param_values, 640s # void *invocation_hint, 640s # void *marshal_data) 640s # { 640s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 640s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 640s # } 640s # 640s # 640s # /** 640s # * OrgProjectSignalingIface: 640s # * 640s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 640s # */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceIface: 640s # * @parent_iface: The parent interface. 640s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 640s # * 640s # * Virtual table for the D-Bus interface org.project.SignalingIface. 640s # */ 640s # 640s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 640s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 640s # 640s # static void 640s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 640s # { 640s # /* GObject signals for received D-Bus signals: */ 640s # /** 640s # * OrgProjectSignalingIface::signal-with-many-args: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_an_b: Argument. 640s # * @arg_an_y: Argument. 640s # * @arg_an_n: Argument. 640s # * @arg_an_q: Argument. 640s # * @arg_an_i: Argument. 640s # * @arg_an_u: Argument. 640s # * @arg_an_x: Argument. 640s # * @arg_an_t: Argument. 640s # * @arg_an_d: Argument. 640s # * @arg_an_s: Argument. 640s # * @arg_an_o: Argument. 640s # * @arg_an_g: Argument. 640s # * @arg_an_h: Argument. 640s # * @arg_an_ay: Argument. 640s # * @arg_an_as: Argument. 640s # * @arg_an_ao: Argument. 640s # * @arg_an_aay: Argument. 640s # * @arg_an_asv: Argument. 640s # * 640s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 640s # * 640s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 640s # */ 640s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 640s # g_signal_new ("signal-with-many-args", 640s # G_TYPE_FROM_INTERFACE (iface), 640s # G_SIGNAL_RUN_LAST, 640s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 640s # NULL, 640s # NULL, 640s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 640s # G_TYPE_NONE, 640s # 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); 640s # 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_emit_signal_with_many_args: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_an_b: Argument to pass with the signal. 640s # * @arg_an_y: Argument to pass with the signal. 640s # * @arg_an_n: Argument to pass with the signal. 640s # * @arg_an_q: Argument to pass with the signal. 640s # * @arg_an_i: Argument to pass with the signal. 640s # * @arg_an_u: Argument to pass with the signal. 640s # * @arg_an_x: Argument to pass with the signal. 640s # * @arg_an_t: Argument to pass with the signal. 640s # * @arg_an_d: Argument to pass with the signal. 640s # * @arg_an_s: Argument to pass with the signal. 640s # * @arg_an_o: Argument to pass with the signal. 640s # * @arg_an_g: Argument to pass with the signal. 640s # * @arg_an_h: Argument to pass with the signal. 640s # * @arg_an_ay: Argument to pass with the signal. 640s # * @arg_an_as: Argument to pass with the signal. 640s # * @arg_an_ao: Argument to pass with the signal. 640s # * @arg_an_aay: Argument to pass with the signal. 640s # * @arg_an_asv: Argument to pass with the signal. 640s # * 640s # * Emits the "SignalWithManyArgs" D-Bus signal. 640s # */ 640s # void 640s # org_project_signaling_iface_emit_signal_with_many_args ( 640s # OrgProjectSignalingIface *object, 640s # gboolean arg_an_b, 640s # guchar arg_an_y, 640s # gint16 arg_an_n, 640s # guint16 arg_an_q, 640s # gint arg_an_i, 640s # guint arg_an_u, 640s # gint64 arg_an_x, 640s # guint64 arg_an_t, 640s # gdouble arg_an_d, 640s # const gchar *arg_an_s, 640s # const gchar *arg_an_o, 640s # const gchar *arg_an_g, 640s # GVariant *arg_an_h, 640s # const gchar *arg_an_ay, 640s # const gchar *const *arg_an_as, 640s # const gchar *const *arg_an_ao, 640s # const gchar *const *arg_an_aay, 640s # GVariant *arg_an_asv) 640s # { 640s # 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); 640s # } 640s # 640s # /* ------------------------------------------------------------------------ */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceProxy: 640s # * 640s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 640s # */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceProxyClass: 640s # * @parent_class: The parent class. 640s # * 640s # * Class structure for #OrgProjectSignalingIfaceProxy. 640s # */ 640s # 640s # struct _OrgProjectSignalingIfaceProxyPrivate 640s # { 640s # GData *qdata; 640s # }; 640s # 640s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 640s # 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 640s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 640s # 640s # #else 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 640s # 640s # #endif 640s # static void 640s # org_project_signaling_iface_proxy_finalize (GObject *object) 640s # { 640s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 640s # g_datalist_clear (&proxy->priv->qdata); 640s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 640s # guint prop_id G_GNUC_UNUSED, 640s # GValue *value G_GNUC_UNUSED, 640s # GParamSpec *pspec G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 640s # guint prop_id G_GNUC_UNUSED, 640s # const GValue *value G_GNUC_UNUSED, 640s # GParamSpec *pspec G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 640s # const gchar *sender_name G_GNUC_UNUSED, 640s # const gchar *signal_name, 640s # GVariant *parameters) 640s # { 640s # _ExtendedGDBusSignalInfo *info; 640s # GVariantIter iter; 640s # GVariant *child; 640s # GValue *paramv; 640s # gsize num_params; 640s # gsize n; 640s # guint signal_id; 640s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 640s # if (info == NULL) 640s # return; 640s # num_params = g_variant_n_children (parameters); 640s # paramv = g_new0 (GValue, num_params + 1); 640s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 640s # g_value_set_object (¶mv[0], proxy); 640s # g_variant_iter_init (&iter, parameters); 640s # n = 1; 640s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 640s # { 640s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 640s # if (arg_info->use_gvariant) 640s # { 640s # g_value_init (¶mv[n], G_TYPE_VARIANT); 640s # g_value_set_variant (¶mv[n], child); 640s # n++; 640s # } 640s # else 640s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 640s # g_variant_unref (child); 640s # } 640s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 640s # g_signal_emitv (paramv, signal_id, 0, NULL); 640s # for (n = 0; n < num_params + 1; n++) 640s # g_value_unset (¶mv[n]); 640s # g_free (paramv); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 640s # GVariant *changed_properties, 640s # const gchar *const *invalidated_properties) 640s # { 640s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 640s # guint n; 640s # const gchar *key; 640s # GVariantIter *iter; 640s # _ExtendedGDBusPropertyInfo *info; 640s # g_variant_get (changed_properties, "a{sv}", &iter); 640s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 640s # { 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 640s # g_datalist_remove_data (&proxy->priv->qdata, key); 640s # if (info != NULL) 640s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 640s # } 640s # g_variant_iter_free (iter); 640s # for (n = 0; invalidated_properties[n] != NULL; n++) 640s # { 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 640s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 640s # if (info != NULL) 640s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 640s # } 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 640s # { 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 640s # #else 640s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 640s # #endif 640s # 640s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 640s # { 640s # GObjectClass *gobject_class; 640s # GDBusProxyClass *proxy_class; 640s # 640s # gobject_class = G_OBJECT_CLASS (klass); 640s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 640s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 640s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 640s # 640s # proxy_class = G_DBUS_PROXY_CLASS (klass); 640s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 640s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 640s # 640s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 640s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 640s # #endif 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new: 640s # * @connection: A #GDBusConnection. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 640s # * @user_data: User data to pass to @callback. 640s # * 640s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 640s # * 640s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 640s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 640s # * 640s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 640s # */ 640s # void 640s # org_project_signaling_iface_proxy_new ( 640s # GDBusConnection *connection, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GAsyncReadyCallback callback, 640s # gpointer user_data) 640s # { 640s # 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); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_finish: 640s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 640s # * @error: Return location for error or %NULL 640s # * 640s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_proxy_new_finish ( 640s # GAsyncResult *res, 640s # GError **error) 640s # { 640s # GObject *ret; 640s # GObject *source_object; 640s # source_object = g_async_result_get_source_object (res); 640s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 640s # g_object_unref (source_object); 640s # if (ret != NULL) 640s # return ORG_PROJECT_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_sync: 640s # * @connection: A #GDBusConnection. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @error: Return location for error or %NULL 640s # * 640s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 640s # * 640s # * The calling thread is blocked until a reply is received. 640s # * 640s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_proxy_new_sync ( 640s # GDBusConnection *connection, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GError **error) 640s # { 640s # GInitable *ret; 640s # 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); 640s # if (ret != NULL) 640s # return ORG_PROJECT_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_for_bus: 640s # * @bus_type: A #GBusType. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: A bus name (well-known or unique). 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 640s # * @user_data: User data to pass to @callback. 640s # * 640s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 640s # * 640s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 640s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 640s # * 640s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 640s # */ 640s # void 640s # org_project_signaling_iface_proxy_new_for_bus ( 640s # GBusType bus_type, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GAsyncReadyCallback callback, 640s # gpointer user_data) 640s # { 640s # 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); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_for_bus_finish: 640s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 640s # * @error: Return location for error or %NULL 640s # * 640s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_proxy_new_for_bus_finish ( 640s # GAsyncResult *res, 640s # GError **error) 640s # { 640s # GObject *ret; 640s # GObject *source_object; 640s # source_object = g_async_result_get_source_object (res); 640s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 640s # g_object_unref (source_object); 640s # if (ret != NULL) 640s # return ORG_PROJECT_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_for_bus_sync: 640s # * @bus_type: A #GBusType. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: A bus name (well-known or unique). 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @error: Return location for error or %NULL 640s # * 640s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 640s # * 640s # * The calling thread is blocked until a reply is received. 640s # * 640s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_proxy_new_for_bus_sync ( 640s # GBusType bus_type, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GError **error) 640s # { 640s # GInitable *ret; 640s # 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); 640s # if (ret != NULL) 640s # return ORG_PROJECT_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # 640s # /* ------------------------------------------------------------------------ */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceSkeleton: 640s # * 640s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 640s # */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceSkeletonClass: 640s # * @parent_class: The parent class. 640s # * 640s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 640s # */ 640s # 640s # struct _OrgProjectSignalingIfaceSkeletonPrivate 640s # { 640s # GValue *properties; 640s # GList *changed_properties; 640s # GSource *changed_properties_idle_source; 640s # GMainContext *context; 640s # GMutex lock; 640s # }; 640s # 640s # static void 640s # _org_project_signaling_iface_skeleton_handle_method_call ( 640s # GDBusConnection *connection G_GNUC_UNUSED, 640s # const gchar *sender G_GNUC_UNUSED, 640s # const gchar *object_path G_GNUC_UNUSED, 640s # const gchar *interface_name, 640s # const gchar *method_name, 640s # GVariant *parameters, 640s # GDBusMethodInvocation *invocation, 640s # gpointer user_data) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 640s # _ExtendedGDBusMethodInfo *info; 640s # GVariantIter iter; 640s # GVariant *child; 640s # GValue *paramv; 640s # gsize num_params; 640s # guint num_extra; 640s # gsize n; 640s # guint signal_id; 640s # GValue return_value = G_VALUE_INIT; 640s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 640s # g_assert (info != NULL); 640s # num_params = g_variant_n_children (parameters); 640s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 640s # n = 0; 640s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 640s # g_value_set_object (¶mv[n++], skeleton); 640s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 640s # g_value_set_object (¶mv[n++], invocation); 640s # if (info->pass_fdlist) 640s # { 640s # #ifdef G_OS_UNIX 640s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 640s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 640s # #else 640s # g_assert_not_reached (); 640s # #endif 640s # } 640s # g_variant_iter_init (&iter, parameters); 640s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 640s # { 640s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 640s # if (arg_info->use_gvariant) 640s # { 640s # g_value_init (¶mv[n], G_TYPE_VARIANT); 640s # g_value_set_variant (¶mv[n], child); 640s # n++; 640s # } 640s # else 640s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 640s # g_variant_unref (child); 640s # } 640s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 640s # g_value_init (&return_value, G_TYPE_BOOLEAN); 640s # g_signal_emitv (paramv, signal_id, 0, &return_value); 640s # if (!g_value_get_boolean (&return_value)) 640s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 640s # g_value_unset (&return_value); 640s # for (n = 0; n < num_params + num_extra; n++) 640s # g_value_unset (¶mv[n]); 640s # g_free (paramv); 640s # } 640s # 640s # static GVariant * 640s # _org_project_signaling_iface_skeleton_handle_get_property ( 640s # GDBusConnection *connection G_GNUC_UNUSED, 640s # const gchar *sender G_GNUC_UNUSED, 640s # const gchar *object_path G_GNUC_UNUSED, 640s # const gchar *interface_name G_GNUC_UNUSED, 640s # const gchar *property_name, 640s # GError **error, 640s # gpointer user_data) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 640s # GValue value = G_VALUE_INIT; 640s # GParamSpec *pspec; 640s # _ExtendedGDBusPropertyInfo *info; 640s # GVariant *ret; 640s # ret = NULL; 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 640s # g_assert (info != NULL); 640s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 640s # if (pspec == NULL) 640s # { 640s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 640s # } 640s # else 640s # { 640s # g_value_init (&value, pspec->value_type); 640s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 640s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 640s # g_value_unset (&value); 640s # } 640s # return ret; 640s # } 640s # 640s # static gboolean 640s # _org_project_signaling_iface_skeleton_handle_set_property ( 640s # GDBusConnection *connection G_GNUC_UNUSED, 640s # const gchar *sender G_GNUC_UNUSED, 640s # const gchar *object_path G_GNUC_UNUSED, 640s # const gchar *interface_name G_GNUC_UNUSED, 640s # const gchar *property_name, 640s # GVariant *variant, 640s # GError **error, 640s # gpointer user_data) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 640s # GValue value = G_VALUE_INIT; 640s # GParamSpec *pspec; 640s # _ExtendedGDBusPropertyInfo *info; 640s # gboolean ret; 640s # ret = FALSE; 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 640s # g_assert (info != NULL); 640s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 640s # if (pspec == NULL) 640s # { 640s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 640s # } 640s # else 640s # { 640s # if (info->use_gvariant) 640s # g_value_set_variant (&value, variant); 640s # else 640s # g_dbus_gvariant_to_gvalue (variant, &value); 640s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 640s # g_value_unset (&value); 640s # ret = TRUE; 640s # } 640s # return ret; 640s # } 640s # 640s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 640s # { 640s # _org_project_signaling_iface_skeleton_handle_method_call, 640s # _org_project_signaling_iface_skeleton_handle_get_property, 640s # _org_project_signaling_iface_skeleton_handle_set_property, 640s # {NULL} 640s # }; 640s # 640s # static GDBusInterfaceInfo * 640s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 640s # { 640s # return org_project_signaling_iface_interface_info (); 640s # } 640s # 640s # static GDBusInterfaceVTable * 640s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 640s # { 640s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 640s # } 640s # 640s # static GVariant * 640s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 640s # 640s # GVariantBuilder builder; 640s # guint n; 640s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 640s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 640s # goto out; 640s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 640s # { 640s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 640s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 640s # { 640s # GVariant *value; 640s # 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); 640s # if (value != NULL) 640s # { 640s # g_variant_take_ref (value); 640s # g_variant_builder_add (&builder, "{sv}", info->name, value); 640s # g_variant_unref (value); 640s # } 640s # } 640s # } 640s # out: 640s # return g_variant_builder_end (&builder); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # static void 640s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 640s # OrgProjectSignalingIface *object, 640s # gboolean arg_an_b, 640s # guchar arg_an_y, 640s # gint16 arg_an_n, 640s # guint16 arg_an_q, 640s # gint arg_an_i, 640s # guint arg_an_u, 640s # gint64 arg_an_x, 640s # guint64 arg_an_t, 640s # gdouble arg_an_d, 640s # const gchar *arg_an_s, 640s # const gchar *arg_an_o, 640s # const gchar *arg_an_g, 640s # GVariant *arg_an_h, 640s # const gchar *arg_an_ay, 640s # const gchar *const *arg_an_as, 640s # const gchar *const *arg_an_ao, 640s # const gchar *const *arg_an_aay, 640s # GVariant *arg_an_asv) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # 640s # GList *connections, *l; 640s # GVariant *signal_variant; 640s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 640s # 640s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 640s # arg_an_b, 640s # arg_an_y, 640s # arg_an_n, 640s # arg_an_q, 640s # arg_an_i, 640s # arg_an_u, 640s # arg_an_x, 640s # arg_an_t, 640s # arg_an_d, 640s # arg_an_s, 640s # arg_an_o, 640s # arg_an_g, 640s # arg_an_h, 640s # arg_an_ay, 640s # arg_an_as, 640s # arg_an_ao, 640s # arg_an_aay, 640s # arg_an_asv)); 640s # for (l = connections; l != NULL; l = l->next) 640s # { 640s # GDBusConnection *connection = l->data; 640s # g_dbus_connection_emit_signal (connection, 640s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 640s # signal_variant, NULL); 640s # } 640s # g_variant_unref (signal_variant); 640s # g_list_free_full (connections, g_object_unref); 640s # } 640s # 640s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 640s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 640s # 640s # #else 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 640s # 640s # #endif 640s # static void 640s # org_project_signaling_iface_skeleton_finalize (GObject *object) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 640s # if (skeleton->priv->changed_properties_idle_source != NULL) 640s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 640s # g_main_context_unref (skeleton->priv->context); 640s # g_mutex_clear (&skeleton->priv->lock); 640s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 640s # { 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 640s # #else 640s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 640s # #endif 640s # 640s # g_mutex_init (&skeleton->priv->lock); 640s # skeleton->priv->context = g_main_context_ref_thread_default (); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 640s # { 640s # GObjectClass *gobject_class; 640s # GDBusInterfaceSkeletonClass *skeleton_class; 640s # 640s # gobject_class = G_OBJECT_CLASS (klass); 640s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 640s # 640s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 640s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 640s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 640s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 640s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 640s # 640s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 640s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 640s # #endif 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 640s # { 640s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_skeleton_new: 640s # * 640s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_skeleton_new (void) 640s # { 640s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 640s # } 640s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 640s # tmpdir: /tmp/tmpmhxn5ibc 640s # codegen: /usr/bin/gdbus-codegen 640s # /tmp/tmpmhxn5ibc/tmp2duqi75d.xml: 640s # 640s # 640s # 640s # 640s # 640s # 640s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmhxn5ibc/tmp2duqi75d.xml', '--output', '-', '--body'] 640s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 640s # Output: /* 640s # * This file is generated by gdbus-codegen, do not modify it. 640s # * 640s # * The license of this code is the same as for the D-Bus interface description 640s # * it was derived from. Note that it links to GLib, so must comply with the 640s # * LGPL linking clauses. 640s # */ 640s # 640s # #ifdef HAVE_CONFIG_H 640s # # include "config.h" 640s # #endif 640s # 640s # #include 640s # #ifdef G_OS_UNIX 640s # # include 640s # #endif 640s # 640s # #ifdef G_ENABLE_DEBUG 640s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 640s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 640s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 640s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 640s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 640s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 640s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 640s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 640s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 640s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 640s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 640s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 640s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 640s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 640s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 640s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 640s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 640s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 640s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 640s # #else /* !G_ENABLE_DEBUG */ 640s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 640s # * Do not access GValues directly in your code. Instead, use the 640s # * g_value_get_*() functions 640s # */ 640s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 640s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 640s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 640s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 640s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 640s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 640s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 640s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 640s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 640s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 640s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 640s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 640s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 640s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 640s # #endif /* !G_ENABLE_DEBUG */ 640s # 640s # typedef struct 640s # { 640s # GDBusArgInfo parent_struct; 640s # gboolean use_gvariant; 640s # } _ExtendedGDBusArgInfo; 640s # 640s # typedef struct 640s # { 640s # GDBusMethodInfo parent_struct; 640s # const gchar *signal_name; 640s # gboolean pass_fdlist; 640s # } _ExtendedGDBusMethodInfo; 640s # 640s # typedef struct 640s # { 640s # GDBusSignalInfo parent_struct; 640s # const gchar *signal_name; 640s # } _ExtendedGDBusSignalInfo; 640s # 640s # typedef struct 640s # { 640s # GDBusPropertyInfo parent_struct; 640s # const gchar *hyphen_name; 640s # guint use_gvariant : 1; 640s # guint emits_changed_signal : 1; 640s # } _ExtendedGDBusPropertyInfo; 640s # 640s # typedef struct 640s # { 640s # GDBusInterfaceInfo parent_struct; 640s # const gchar *hyphen_name; 640s # } _ExtendedGDBusInterfaceInfo; 640s # 640s # typedef struct 640s # { 640s # const _ExtendedGDBusPropertyInfo *info; 640s # guint prop_id; 640s # GValue orig_value; /* the value before the change */ 640s # } ChangedProperty; 640s # 640s # static void 640s # _changed_property_free (ChangedProperty *data) 640s # { 640s # g_value_unset (&data->orig_value); 640s # g_free (data); 640s # } 640s # 640s # static gboolean 640s # _g_strv_equal0 (gchar **a, gchar **b) 640s # { 640s # gboolean ret = FALSE; 640s # guint n; 640s # if (a == NULL && b == NULL) 640s # { 640s # ret = TRUE; 640s # goto out; 640s # } 640s # if (a == NULL || b == NULL) 640s # goto out; 640s # if (g_strv_length (a) != g_strv_length (b)) 640s # goto out; 640s # for (n = 0; a[n] != NULL; n++) 640s # if (g_strcmp0 (a[n], b[n]) != 0) 640s # goto out; 640s # ret = TRUE; 640s # out: 640s # return ret; 640s # } 640s # 640s # static gboolean 640s # _g_variant_equal0 (GVariant *a, GVariant *b) 640s # { 640s # gboolean ret = FALSE; 640s # if (a == NULL && b == NULL) 640s # { 640s # ret = TRUE; 640s # goto out; 640s # } 640s # if (a == NULL || b == NULL) 640s # goto out; 640s # ret = g_variant_equal (a, b); 640s # out: 640s # return ret; 640s # } 640s # 640s # G_GNUC_UNUSED static gboolean 640s # _g_value_equal (const GValue *a, const GValue *b) 640s # { 640s # gboolean ret = FALSE; 640s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 640s # switch (G_VALUE_TYPE (a)) 640s # { 640s # case G_TYPE_BOOLEAN: 640s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 640s # break; 640s # case G_TYPE_UCHAR: 640s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 640s # break; 640s # case G_TYPE_INT: 640s # ret = (g_value_get_int (a) == g_value_get_int (b)); 640s # break; 640s # case G_TYPE_UINT: 640s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 640s # break; 640s # case G_TYPE_INT64: 640s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 640s # break; 640s # case G_TYPE_UINT64: 640s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 640s # break; 640s # case G_TYPE_DOUBLE: 640s # { 640s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 640s # gdouble da = g_value_get_double (a); 640s # gdouble db = g_value_get_double (b); 640s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 640s # } 640s # break; 640s # case G_TYPE_STRING: 640s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 640s # break; 640s # case G_TYPE_VARIANT: 640s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 640s # break; 640s # default: 640s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 640s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 640s # else 640s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 640s # break; 640s # } 640s # return ret; 640s # } 640s # 640s # static void 640s # _g_dbus_codegen_marshal_VOID__INT64 ( 640s # GClosure *closure, 640s # GValue *return_value G_GNUC_UNUSED, 640s # unsigned int n_param_values, 640s # const GValue *param_values, 640s # void *invocation_hint G_GNUC_UNUSED, 640s # void *marshal_data) 640s # { 640s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 640s # (void *data1, 640s # gint64 arg_an_x, 640s # void *data2); 640s # _GDbusCodegenMarshalVoid_Int64Func callback; 640s # GCClosure *cc = (GCClosure*) closure; 640s # void *data1, *data2; 640s # 640s # g_return_if_fail (n_param_values == 2); 640s # 640s # if (G_CCLOSURE_SWAP_DATA (closure)) 640s # { 640s # data1 = closure->data; 640s # data2 = g_value_peek_pointer (param_values + 0); 640s # } 640s # else 640s # { 640s # data1 = g_value_peek_pointer (param_values + 0); 640s # data2 = closure->data; 640s # } 640s # 640s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 640s # (marshal_data ? marshal_data : cc->callback); 640s # 640s # callback (data1, 640s # g_marshal_value_peek_int64 (param_values + 1), 640s # data2); 640s # } 640s # 640s # static void 640s # _g_dbus_codegen_marshal_VOID__UINT64 ( 640s # GClosure *closure, 640s # GValue *return_value G_GNUC_UNUSED, 640s # unsigned int n_param_values, 640s # const GValue *param_values, 640s # void *invocation_hint G_GNUC_UNUSED, 640s # void *marshal_data) 640s # { 640s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 640s # (void *data1, 640s # guint64 arg_an_t, 640s # void *data2); 640s # _GDbusCodegenMarshalVoid_Uint64Func callback; 640s # GCClosure *cc = (GCClosure*) closure; 640s # void *data1, *data2; 640s # 640s # g_return_if_fail (n_param_values == 2); 640s # 640s # if (G_CCLOSURE_SWAP_DATA (closure)) 640s # { 640s # data1 = closure->data; 640s # data2 = g_value_peek_pointer (param_values + 0); 640s # } 640s # else 640s # { 640s # data1 = g_value_peek_pointer (param_values + 0); 640s # data2 = closure->data; 640s # } 640s # 640s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 640s # (marshal_data ? marshal_data : cc->callback); 640s # 640s # callback (data1, 640s # g_marshal_value_peek_uint64 (param_values + 1), 640s # data2); 640s # } 640s # 640s # /* ------------------------------------------------------------------------ 640s # * Code for interface org.project.SignalingIface 640s # * ------------------------------------------------------------------------ 640s # */ 640s # 640s # /** 640s # * SECTION:OrgProjectSignalingIface 640s # * @title: OrgProjectSignalingIface 640s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 640s # * 640s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 640s # */ 640s # 640s # enum 640s # { 640s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 640s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 640s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 640s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 640s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 640s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 640s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 640s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 640s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 640s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 640s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 640s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 640s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 640s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 640s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 640s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 640s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 640s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 640s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 640s # }; 640s # 640s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 640s # 640s # /* ---- Introspection data for org.project.SignalingIface ---- */ 640s # 640s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 640s # { 640s # { 640s # -1, 640s # (gchar *) "NoArgSignal", 640s # NULL, 640s # NULL 640s # }, 640s # "no-arg-signal" 640s # }; 640s # 640s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 640s # { 640s # { 640s # -1, 640s # (gchar *) "an_b", 640s # (gchar *) "b", 640s # NULL 640s # }, 640s # FALSE 640s # }; 640s # 640s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 640s # { 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 640s # NULL 640s # }; 640s # 640s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 640s # { 640s # { 640s # -1, 640s # (gchar *) "SingleArgSignalB", 640s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 640s # NULL 640s # }, 640s # "single-arg-signal-b" 640s # }; 640s # 640s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 640s # { 640s # { 640s # -1, 640s # (gchar *) "an_y", 640s # (gchar *) "y", 640s # NULL 640s # }, 640s # FALSE 640s # }; 640s # 640s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 640s # { 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 640s # NULL 640s # }; 640s # 640s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 640s # { 640s # { 640s # -1, 640s # (gchar *) "SingleArgSignalY", 640s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 640s # NULL 640s # }, 640s # "single-arg-signal-y" 640s # }; 640s # 640s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 640s # { 640s # { 640s # -1, 640s # (gchar *) "an_n", 640s # (gchar *) "n", 640s # NULL 640s # }, 640s # FALSE 640s # }; 640s # 640s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 640s # { 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 640s # NULL 640s # }; 640s # 640s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 640s # { 640s # { 640s # -1, 640s # (gchar *) "SingleArgSignalN", 640s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 640s # NULL 640s # }, 640s # "single-arg-signal-n" 640s # }; 640s # 640s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 640s # { 640s # { 640s # -1, 640s # (gchar *) "an_q", 640s # (gchar *) "q", 640s # NULL 640s # }, 640s # FALSE 640s # }; 640s # 640s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 640s # { 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 640s # NULL 640s # }; 640s # 640s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 640s # { 640s # { 640s # -1, 640s # (gchar *) "SingleArgSignalQ", 640s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 640s # NULL 640s # }, 640s # "single-arg-signal-q" 640s # }; 640s # 640s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 640s # { 640s # { 640s # -1, 640s # (gchar *) "an_i", 640s # (gchar *) "i", 640s # NULL 640s # }, 640s # FALSE 640s # }; 640s # 640s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 640s # { 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 640s # NULL 640s # }; 640s # 640s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 640s # { 640s # { 640s # -1, 640s # (gchar *) "SingleArgSignalI", 640s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 640s # NULL 640s # }, 640s # "single-arg-signal-i" 640s # }; 640s # 640s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 640s # { 640s # { 640s # -1, 640s # (gchar *) "an_u", 640s # (gchar *) "u", 640s # NULL 640s # }, 640s # FALSE 640s # }; 640s # 640s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 640s # { 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 640s # NULL 640s # }; 640s # 640s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 640s # { 640s # { 640s # -1, 640s # (gchar *) "SingleArgSignalU", 640s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 640s # NULL 640s # }, 640s # "single-arg-signal-u" 640s # }; 640s # 640s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 640s # { 640s # { 640s # -1, 640s # (gchar *) "an_x", 640s # (gchar *) "x", 640s # NULL 640s # }, 640s # FALSE 640s # }; 640s # 640s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 640s # { 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 640s # NULL 640s # }; 640s # 640s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 640s # { 640s # { 640s # -1, 640s # (gchar *) "SingleArgSignalX", 640s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 640s # NULL 640s # }, 640s # "single-arg-signal-x" 640s # }; 640s # 640s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 640s # { 640s # { 640s # -1, 640s # (gchar *) "an_t", 640s # (gchar *) "t", 640s # NULL 640s # }, 640s # FALSE 640s # }; 640s # 640s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 640s # { 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 640s # NULL 640s # }; 640s # 640s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 640s # { 640s # { 640s # -1, 640s # (gchar *) "SingleArgSignalT", 640s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 640s # NULL 640s # }, 640s # "single-arg-signal-t" 640s # }; 640s # 640s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 640s # { 640s # { 640s # -1, 640s # (gchar *) "an_d", 640s # (gchar *) "d", 640s # NULL 640s # }, 640s # FALSE 640s # }; 640s # 640s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 640s # { 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 640s # NULL 640s # }; 640s # 640s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 640s # { 640s # { 640s # -1, 640s # (gchar *) "SingleArgSignalD", 640s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 640s # NULL 640s # }, 640s # "single-arg-signal-d" 640s # }; 640s # 640s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 640s # { 640s # { 640s # -1, 640s # (gchar *) "an_s", 640s # (gchar *) "s", 640s # NULL 640s # }, 640s # FALSE 640s # }; 640s # 640s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 640s # { 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 640s # NULL 640s # }; 640s # 640s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 640s # { 640s # { 640s # -1, 640s # (gchar *) "SingleArgSignalS", 640s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 640s # NULL 640s # }, 640s # "single-arg-signal-s" 640s # }; 640s # 640s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 640s # { 640s # { 640s # -1, 640s # (gchar *) "an_o", 640s # (gchar *) "o", 640s # NULL 640s # }, 640s # FALSE 640s # }; 640s # 640s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 640s # { 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 640s # NULL 640s # }; 640s # 640s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 640s # { 640s # { 640s # -1, 640s # (gchar *) "SingleArgSignalO", 640s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 640s # NULL 640s # }, 640s # "single-arg-signal-o" 640s # }; 640s # 640s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 640s # { 640s # { 640s # -1, 640s # (gchar *) "an_g", 640s # (gchar *) "g", 640s # NULL 640s # }, 640s # FALSE 640s # }; 640s # 640s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 640s # { 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 640s # NULL 640s # }; 640s # 640s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 640s # { 640s # { 640s # -1, 640s # (gchar *) "SingleArgSignalG", 640s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 640s # NULL 640s # }, 640s # "single-arg-signal-g" 640s # }; 640s # 640s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 640s # { 640s # { 640s # -1, 640s # (gchar *) "an_h", 640s # (gchar *) "h", 640s # NULL 640s # }, 640s # FALSE 640s # }; 640s # 640s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 640s # { 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 640s # NULL 640s # }; 640s # 640s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 640s # { 640s # { 640s # -1, 640s # (gchar *) "SingleArgSignalH", 640s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 640s # NULL 640s # }, 640s # "single-arg-signal-h" 640s # }; 640s # 640s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 640s # { 640s # { 640s # -1, 640s # (gchar *) "an_ay", 640s # (gchar *) "ay", 640s # NULL 640s # }, 640s # FALSE 640s # }; 640s # 640s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 640s # { 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 640s # NULL 640s # }; 640s # 640s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 640s # { 640s # { 640s # -1, 640s # (gchar *) "SingleArgSignalAY", 640s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 640s # NULL 640s # }, 640s # "single-arg-signal-ay" 640s # }; 640s # 640s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 640s # { 640s # { 640s # -1, 640s # (gchar *) "an_as", 640s # (gchar *) "as", 640s # NULL 640s # }, 640s # FALSE 640s # }; 640s # 640s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 640s # { 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 640s # NULL 640s # }; 640s # 640s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 640s # { 640s # { 640s # -1, 640s # (gchar *) "SingleArgSignalAS", 640s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 640s # NULL 640s # }, 640s # "single-arg-signal-as" 640s # }; 640s # 640s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 640s # { 640s # { 640s # -1, 640s # (gchar *) "an_ao", 640s # (gchar *) "ao", 640s # NULL 640s # }, 640s # FALSE 640s # }; 640s # 640s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 640s # { 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 640s # NULL 640s # }; 640s # 640s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 640s # { 640s # { 640s # -1, 640s # (gchar *) "SingleArgSignalAO", 640s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 640s # NULL 640s # }, 640s # "single-arg-signal-ao" 640s # }; 640s # 640s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 640s # { 640s # { 640s # -1, 640s # (gchar *) "an_aay", 640s # (gchar *) "aay", 640s # NULL 640s # }, 640s # FALSE 640s # }; 640s # 640s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 640s # { 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 640s # NULL 640s # }; 640s # 640s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 640s # { 640s # { 640s # -1, 640s # (gchar *) "SingleArgSignalAAY", 640s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 640s # NULL 640s # }, 640s # "single-arg-signal-aay" 640s # }; 640s # 640s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 640s # { 640s # { 640s # -1, 640s # (gchar *) "an_asv", 640s # (gchar *) "a{sv}", 640s # NULL 640s # }, 640s # FALSE 640s # }; 640s # 640s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 640s # { 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 640s # NULL 640s # }; 640s # 640s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 640s # { 640s # { 640s # -1, 640s # (gchar *) "SingleArgSignalASV", 640s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 640s # NULL 640s # }, 640s # "single-arg-signal-asv" 640s # }; 640s # 640s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 640s # { 640s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 640s # NULL 640s # }; 640s # 640s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 640s # { 640s # { 640s # -1, 640s # (gchar *) "org.project.SignalingIface", 640s # NULL, 640s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 640s # NULL, 640s # NULL 640s # }, 640s # "org-project-signaling-iface", 640s # }; 640s # 640s # 640s # /** 640s # * org_project_signaling_iface_interface_info: 640s # * 640s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 640s # * 640s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 640s # */ 640s # GDBusInterfaceInfo * 640s # org_project_signaling_iface_interface_info (void) 640s # { 640s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_override_properties: 640s # * @klass: The class structure for a #GObject derived class. 640s # * @property_id_begin: The property id to assign to the first overridden property. 640s # * 640s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 640s # * The properties are overridden in the order they are defined. 640s # * 640s # * Returns: The last property id. 640s # */ 640s # guint 640s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 640s # { 640s # return property_id_begin - 1; 640s # } 640s # 640s # 640s # inline static void 640s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 640s # GClosure *closure, 640s # GValue *return_value, 640s # unsigned int n_param_values, 640s # const GValue *param_values, 640s # void *invocation_hint, 640s # void *marshal_data) 640s # { 640s # g_cclosure_marshal_VOID__VOID (closure, 640s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 640s # } 640s # 640s # inline static void 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 640s # GClosure *closure, 640s # GValue *return_value, 640s # unsigned int n_param_values, 640s # const GValue *param_values, 640s # void *invocation_hint, 640s # void *marshal_data) 640s # { 640s # g_cclosure_marshal_VOID__BOOLEAN (closure, 640s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 640s # } 640s # 640s # inline static void 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 640s # GClosure *closure, 640s # GValue *return_value, 640s # unsigned int n_param_values, 640s # const GValue *param_values, 640s # void *invocation_hint, 640s # void *marshal_data) 640s # { 640s # g_cclosure_marshal_VOID__UCHAR (closure, 640s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 640s # } 640s # 640s # inline static void 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 640s # GClosure *closure, 640s # GValue *return_value, 640s # unsigned int n_param_values, 640s # const GValue *param_values, 640s # void *invocation_hint, 640s # void *marshal_data) 640s # { 640s # g_cclosure_marshal_VOID__INT (closure, 640s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 640s # } 640s # 640s # inline static void 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 640s # GClosure *closure, 640s # GValue *return_value, 640s # unsigned int n_param_values, 640s # const GValue *param_values, 640s # void *invocation_hint, 640s # void *marshal_data) 640s # { 640s # g_cclosure_marshal_VOID__UINT (closure, 640s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 640s # } 640s # 640s # inline static void 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 640s # GClosure *closure, 640s # GValue *return_value, 640s # unsigned int n_param_values, 640s # const GValue *param_values, 640s # void *invocation_hint, 640s # void *marshal_data) 640s # { 640s # g_cclosure_marshal_VOID__INT (closure, 640s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 640s # } 640s # 640s # inline static void 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 640s # GClosure *closure, 640s # GValue *return_value, 640s # unsigned int n_param_values, 640s # const GValue *param_values, 640s # void *invocation_hint, 640s # void *marshal_data) 640s # { 640s # g_cclosure_marshal_VOID__UINT (closure, 640s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 640s # } 640s # 640s # inline static void 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 640s # GClosure *closure, 640s # GValue *return_value, 640s # unsigned int n_param_values, 640s # const GValue *param_values, 640s # void *invocation_hint, 640s # void *marshal_data) 640s # { 640s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 640s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 640s # } 640s # 640s # inline static void 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 640s # GClosure *closure, 640s # GValue *return_value, 640s # unsigned int n_param_values, 640s # const GValue *param_values, 640s # void *invocation_hint, 640s # void *marshal_data) 640s # { 640s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 640s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 640s # } 640s # 640s # inline static void 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 640s # GClosure *closure, 640s # GValue *return_value, 640s # unsigned int n_param_values, 640s # const GValue *param_values, 640s # void *invocation_hint, 640s # void *marshal_data) 640s # { 640s # g_cclosure_marshal_VOID__DOUBLE (closure, 640s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 640s # } 640s # 640s # inline static void 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 640s # GClosure *closure, 640s # GValue *return_value, 640s # unsigned int n_param_values, 640s # const GValue *param_values, 640s # void *invocation_hint, 640s # void *marshal_data) 640s # { 640s # g_cclosure_marshal_VOID__STRING (closure, 640s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 640s # } 640s # 640s # inline static void 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 640s # GClosure *closure, 640s # GValue *return_value, 640s # unsigned int n_param_values, 640s # const GValue *param_values, 640s # void *invocation_hint, 640s # void *marshal_data) 640s # { 640s # g_cclosure_marshal_VOID__STRING (closure, 640s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 640s # } 640s # 640s # inline static void 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 640s # GClosure *closure, 640s # GValue *return_value, 640s # unsigned int n_param_values, 640s # const GValue *param_values, 640s # void *invocation_hint, 640s # void *marshal_data) 640s # { 640s # g_cclosure_marshal_VOID__STRING (closure, 640s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 640s # } 640s # 640s # inline static void 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 640s # GClosure *closure, 640s # GValue *return_value, 640s # unsigned int n_param_values, 640s # const GValue *param_values, 640s # void *invocation_hint, 640s # void *marshal_data) 640s # { 640s # g_cclosure_marshal_VOID__VARIANT (closure, 640s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 640s # } 640s # 640s # inline static void 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 640s # GClosure *closure, 640s # GValue *return_value, 640s # unsigned int n_param_values, 640s # const GValue *param_values, 640s # void *invocation_hint, 640s # void *marshal_data) 640s # { 640s # g_cclosure_marshal_VOID__STRING (closure, 640s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 640s # } 640s # 640s # inline static void 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 640s # GClosure *closure, 640s # GValue *return_value, 640s # unsigned int n_param_values, 640s # const GValue *param_values, 640s # void *invocation_hint, 640s # void *marshal_data) 640s # { 640s # g_cclosure_marshal_VOID__BOXED (closure, 640s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 640s # } 640s # 640s # inline static void 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 640s # GClosure *closure, 640s # GValue *return_value, 640s # unsigned int n_param_values, 640s # const GValue *param_values, 640s # void *invocation_hint, 640s # void *marshal_data) 640s # { 640s # g_cclosure_marshal_VOID__BOXED (closure, 640s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 640s # } 640s # 640s # inline static void 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 640s # GClosure *closure, 640s # GValue *return_value, 640s # unsigned int n_param_values, 640s # const GValue *param_values, 640s # void *invocation_hint, 640s # void *marshal_data) 640s # { 640s # g_cclosure_marshal_VOID__BOXED (closure, 640s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 640s # } 640s # 640s # inline static void 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 640s # GClosure *closure, 640s # GValue *return_value, 640s # unsigned int n_param_values, 640s # const GValue *param_values, 640s # void *invocation_hint, 640s # void *marshal_data) 640s # { 640s # g_cclosure_marshal_VOID__VARIANT (closure, 640s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 640s # } 640s # 640s # 640s # /** 640s # * OrgProjectSignalingIface: 640s # * 640s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 640s # */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceIface: 640s # * @parent_iface: The parent interface. 640s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 640s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 640s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 640s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 640s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 640s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 640s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 640s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 640s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 640s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 640s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 640s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 640s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 640s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 640s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 640s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 640s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 640s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 640s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 640s # * 640s # * Virtual table for the D-Bus interface org.project.SignalingIface. 640s # */ 640s # 640s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 640s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 640s # 640s # static void 640s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 640s # { 640s # /* GObject signals for received D-Bus signals: */ 640s # /** 640s # * OrgProjectSignalingIface::no-arg-signal: 640s # * @object: A #OrgProjectSignalingIface. 640s # * 640s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 640s # * 640s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 640s # */ 640s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 640s # g_signal_new ("no-arg-signal", 640s # G_TYPE_FROM_INTERFACE (iface), 640s # G_SIGNAL_RUN_LAST, 640s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 640s # NULL, 640s # NULL, 640s # org_project_signaling_iface_signal_marshal_no_arg_signal, 640s # G_TYPE_NONE, 640s # 0); 640s # 640s # /** 640s # * OrgProjectSignalingIface::single-arg-signal-b: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_an_b: Argument. 640s # * 640s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 640s # * 640s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 640s # */ 640s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 640s # g_signal_new ("single-arg-signal-b", 640s # G_TYPE_FROM_INTERFACE (iface), 640s # G_SIGNAL_RUN_LAST, 640s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 640s # NULL, 640s # NULL, 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 640s # G_TYPE_NONE, 640s # 1, G_TYPE_BOOLEAN); 640s # 640s # /** 640s # * OrgProjectSignalingIface::single-arg-signal-y: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_an_y: Argument. 640s # * 640s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 640s # * 640s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 640s # */ 640s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 640s # g_signal_new ("single-arg-signal-y", 640s # G_TYPE_FROM_INTERFACE (iface), 640s # G_SIGNAL_RUN_LAST, 640s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 640s # NULL, 640s # NULL, 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 640s # G_TYPE_NONE, 640s # 1, G_TYPE_UCHAR); 640s # 640s # /** 640s # * OrgProjectSignalingIface::single-arg-signal-n: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_an_n: Argument. 640s # * 640s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 640s # * 640s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 640s # */ 640s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 640s # g_signal_new ("single-arg-signal-n", 640s # G_TYPE_FROM_INTERFACE (iface), 640s # G_SIGNAL_RUN_LAST, 640s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 640s # NULL, 640s # NULL, 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 640s # G_TYPE_NONE, 640s # 1, G_TYPE_INT); 640s # 640s # /** 640s # * OrgProjectSignalingIface::single-arg-signal-q: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_an_q: Argument. 640s # * 640s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 640s # * 640s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 640s # */ 640s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 640s # g_signal_new ("single-arg-signal-q", 640s # G_TYPE_FROM_INTERFACE (iface), 640s # G_SIGNAL_RUN_LAST, 640s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 640s # NULL, 640s # NULL, 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 640s # G_TYPE_NONE, 640s # 1, G_TYPE_UINT); 640s # 640s # /** 640s # * OrgProjectSignalingIface::single-arg-signal-i: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_an_i: Argument. 640s # * 640s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 640s # * 640s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 640s # */ 640s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 640s # g_signal_new ("single-arg-signal-i", 640s # G_TYPE_FROM_INTERFACE (iface), 640s # G_SIGNAL_RUN_LAST, 640s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 640s # NULL, 640s # NULL, 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 640s # G_TYPE_NONE, 640s # 1, G_TYPE_INT); 640s # 640s # /** 640s # * OrgProjectSignalingIface::single-arg-signal-u: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_an_u: Argument. 640s # * 640s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 640s # * 640s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 640s # */ 640s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 640s # g_signal_new ("single-arg-signal-u", 640s # G_TYPE_FROM_INTERFACE (iface), 640s # G_SIGNAL_RUN_LAST, 640s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 640s # NULL, 640s # NULL, 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 640s # G_TYPE_NONE, 640s # 1, G_TYPE_UINT); 640s # 640s # /** 640s # * OrgProjectSignalingIface::single-arg-signal-x: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_an_x: Argument. 640s # * 640s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 640s # * 640s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 640s # */ 640s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 640s # g_signal_new ("single-arg-signal-x", 640s # G_TYPE_FROM_INTERFACE (iface), 640s # G_SIGNAL_RUN_LAST, 640s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 640s # NULL, 640s # NULL, 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 640s # G_TYPE_NONE, 640s # 1, G_TYPE_INT64); 640s # 640s # /** 640s # * OrgProjectSignalingIface::single-arg-signal-t: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_an_t: Argument. 640s # * 640s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 640s # * 640s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 640s # */ 640s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 640s # g_signal_new ("single-arg-signal-t", 640s # G_TYPE_FROM_INTERFACE (iface), 640s # G_SIGNAL_RUN_LAST, 640s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 640s # NULL, 640s # NULL, 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 640s # G_TYPE_NONE, 640s # 1, G_TYPE_UINT64); 640s # 640s # /** 640s # * OrgProjectSignalingIface::single-arg-signal-d: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_an_d: Argument. 640s # * 640s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 640s # * 640s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 640s # */ 640s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 640s # g_signal_new ("single-arg-signal-d", 640s # G_TYPE_FROM_INTERFACE (iface), 640s # G_SIGNAL_RUN_LAST, 640s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 640s # NULL, 640s # NULL, 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 640s # G_TYPE_NONE, 640s # 1, G_TYPE_DOUBLE); 640s # 640s # /** 640s # * OrgProjectSignalingIface::single-arg-signal-s: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_an_s: Argument. 640s # * 640s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 640s # * 640s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 640s # */ 640s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 640s # g_signal_new ("single-arg-signal-s", 640s # G_TYPE_FROM_INTERFACE (iface), 640s # G_SIGNAL_RUN_LAST, 640s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 640s # NULL, 640s # NULL, 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 640s # G_TYPE_NONE, 640s # 1, G_TYPE_STRING); 640s # 640s # /** 640s # * OrgProjectSignalingIface::single-arg-signal-o: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_an_o: Argument. 640s # * 640s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 640s # * 640s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 640s # */ 640s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 640s # g_signal_new ("single-arg-signal-o", 640s # G_TYPE_FROM_INTERFACE (iface), 640s # G_SIGNAL_RUN_LAST, 640s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 640s # NULL, 640s # NULL, 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 640s # G_TYPE_NONE, 640s # 1, G_TYPE_STRING); 640s # 640s # /** 640s # * OrgProjectSignalingIface::single-arg-signal-g: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_an_g: Argument. 640s # * 640s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 640s # * 640s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 640s # */ 640s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 640s # g_signal_new ("single-arg-signal-g", 640s # G_TYPE_FROM_INTERFACE (iface), 640s # G_SIGNAL_RUN_LAST, 640s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 640s # NULL, 640s # NULL, 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 640s # G_TYPE_NONE, 640s # 1, G_TYPE_STRING); 640s # 640s # /** 640s # * OrgProjectSignalingIface::single-arg-signal-h: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_an_h: Argument. 640s # * 640s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 640s # * 640s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 640s # */ 640s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 640s # g_signal_new ("single-arg-signal-h", 640s # G_TYPE_FROM_INTERFACE (iface), 640s # G_SIGNAL_RUN_LAST, 640s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 640s # NULL, 640s # NULL, 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 640s # G_TYPE_NONE, 640s # 1, G_TYPE_VARIANT); 640s # 640s # /** 640s # * OrgProjectSignalingIface::single-arg-signal-ay: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_an_ay: Argument. 640s # * 640s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 640s # * 640s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 640s # */ 640s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 640s # g_signal_new ("single-arg-signal-ay", 640s # G_TYPE_FROM_INTERFACE (iface), 640s # G_SIGNAL_RUN_LAST, 640s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 640s # NULL, 640s # NULL, 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 640s # G_TYPE_NONE, 640s # 1, G_TYPE_STRING); 640s # 640s # /** 640s # * OrgProjectSignalingIface::single-arg-signal-as: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_an_as: Argument. 640s # * 640s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 640s # * 640s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 640s # */ 640s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 640s # g_signal_new ("single-arg-signal-as", 640s # G_TYPE_FROM_INTERFACE (iface), 640s # G_SIGNAL_RUN_LAST, 640s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 640s # NULL, 640s # NULL, 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 640s # G_TYPE_NONE, 640s # 1, G_TYPE_STRV); 640s # 640s # /** 640s # * OrgProjectSignalingIface::single-arg-signal-ao: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_an_ao: Argument. 640s # * 640s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 640s # * 640s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 640s # */ 640s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 640s # g_signal_new ("single-arg-signal-ao", 640s # G_TYPE_FROM_INTERFACE (iface), 640s # G_SIGNAL_RUN_LAST, 640s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 640s # NULL, 640s # NULL, 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 640s # G_TYPE_NONE, 640s # 1, G_TYPE_STRV); 640s # 640s # /** 640s # * OrgProjectSignalingIface::single-arg-signal-aay: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_an_aay: Argument. 640s # * 640s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 640s # * 640s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 640s # */ 640s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 640s # g_signal_new ("single-arg-signal-aay", 640s # G_TYPE_FROM_INTERFACE (iface), 640s # G_SIGNAL_RUN_LAST, 640s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 640s # NULL, 640s # NULL, 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 640s # G_TYPE_NONE, 640s # 1, G_TYPE_STRV); 640s # 640s # /** 640s # * OrgProjectSignalingIface::single-arg-signal-asv: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_an_asv: Argument. 640s # * 640s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 640s # * 640s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 640s # */ 640s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 640s # g_signal_new ("single-arg-signal-asv", 640s # G_TYPE_FROM_INTERFACE (iface), 640s # G_SIGNAL_RUN_LAST, 640s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 640s # NULL, 640s # NULL, 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 640s # G_TYPE_NONE, 640s # 1, G_TYPE_VARIANT); 640s # 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_emit_no_arg_signal: 640s # * @object: A #OrgProjectSignalingIface. 640s # * 640s # * Emits the "NoArgSignal" D-Bus signal. 640s # */ 640s # void 640s # org_project_signaling_iface_emit_no_arg_signal ( 640s # OrgProjectSignalingIface *object) 640s # { 640s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_emit_single_arg_signal_b: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_an_b: Argument to pass with the signal. 640s # * 640s # * Emits the "SingleArgSignalB" D-Bus signal. 640s # */ 640s # void 640s # org_project_signaling_iface_emit_single_arg_signal_b ( 640s # OrgProjectSignalingIface *object, 640s # gboolean arg_an_b) 640s # { 640s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_emit_single_arg_signal_y: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_an_y: Argument to pass with the signal. 640s # * 640s # * Emits the "SingleArgSignalY" D-Bus signal. 640s # */ 640s # void 640s # org_project_signaling_iface_emit_single_arg_signal_y ( 640s # OrgProjectSignalingIface *object, 640s # guchar arg_an_y) 640s # { 640s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_emit_single_arg_signal_n: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_an_n: Argument to pass with the signal. 640s # * 640s # * Emits the "SingleArgSignalN" D-Bus signal. 640s # */ 640s # void 640s # org_project_signaling_iface_emit_single_arg_signal_n ( 640s # OrgProjectSignalingIface *object, 640s # gint16 arg_an_n) 640s # { 640s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_emit_single_arg_signal_q: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_an_q: Argument to pass with the signal. 640s # * 640s # * Emits the "SingleArgSignalQ" D-Bus signal. 640s # */ 640s # void 640s # org_project_signaling_iface_emit_single_arg_signal_q ( 640s # OrgProjectSignalingIface *object, 640s # guint16 arg_an_q) 640s # { 640s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_emit_single_arg_signal_i: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_an_i: Argument to pass with the signal. 640s # * 640s # * Emits the "SingleArgSignalI" D-Bus signal. 640s # */ 640s # void 640s # org_project_signaling_iface_emit_single_arg_signal_i ( 640s # OrgProjectSignalingIface *object, 640s # gint arg_an_i) 640s # { 640s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_emit_single_arg_signal_u: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_an_u: Argument to pass with the signal. 640s # * 640s # * Emits the "SingleArgSignalU" D-Bus signal. 640s # */ 640s # void 640s # org_project_signaling_iface_emit_single_arg_signal_u ( 640s # OrgProjectSignalingIface *object, 640s # guint arg_an_u) 640s # { 640s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_emit_single_arg_signal_x: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_an_x: Argument to pass with the signal. 640s # * 640s # * Emits the "SingleArgSignalX" D-Bus signal. 640s # */ 640s # void 640s # org_project_signaling_iface_emit_single_arg_signal_x ( 640s # OrgProjectSignalingIface *object, 640s # gint64 arg_an_x) 640s # { 640s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_emit_single_arg_signal_t: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_an_t: Argument to pass with the signal. 640s # * 640s # * Emits the "SingleArgSignalT" D-Bus signal. 640s # */ 640s # void 640s # org_project_signaling_iface_emit_single_arg_signal_t ( 640s # OrgProjectSignalingIface *object, 640s # guint64 arg_an_t) 640s # { 640s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_emit_single_arg_signal_d: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_an_d: Argument to pass with the signal. 640s # * 640s # * Emits the "SingleArgSignalD" D-Bus signal. 640s # */ 640s # void 640s # org_project_signaling_iface_emit_single_arg_signal_d ( 640s # OrgProjectSignalingIface *object, 640s # gdouble arg_an_d) 640s # { 640s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_emit_single_arg_signal_s: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_an_s: Argument to pass with the signal. 640s # * 640s # * Emits the "SingleArgSignalS" D-Bus signal. 640s # */ 640s # void 640s # org_project_signaling_iface_emit_single_arg_signal_s ( 640s # OrgProjectSignalingIface *object, 640s # const gchar *arg_an_s) 640s # { 640s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_emit_single_arg_signal_o: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_an_o: Argument to pass with the signal. 640s # * 640s # * Emits the "SingleArgSignalO" D-Bus signal. 640s # */ 640s # void 640s # org_project_signaling_iface_emit_single_arg_signal_o ( 640s # OrgProjectSignalingIface *object, 640s # const gchar *arg_an_o) 640s # { 640s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_emit_single_arg_signal_g: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_an_g: Argument to pass with the signal. 640s # * 640s # * Emits the "SingleArgSignalG" D-Bus signal. 640s # */ 640s # void 640s # org_project_signaling_iface_emit_single_arg_signal_g ( 640s # OrgProjectSignalingIface *object, 640s # const gchar *arg_an_g) 640s # { 640s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_emit_single_arg_signal_h: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_an_h: Argument to pass with the signal. 640s # * 640s # * Emits the "SingleArgSignalH" D-Bus signal. 640s # */ 640s # void 640s # org_project_signaling_iface_emit_single_arg_signal_h ( 640s # OrgProjectSignalingIface *object, 640s # GVariant *arg_an_h) 640s # { 640s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_emit_single_arg_signal_ay: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_an_ay: Argument to pass with the signal. 640s # * 640s # * Emits the "SingleArgSignalAY" D-Bus signal. 640s # */ 640s # void 640s # org_project_signaling_iface_emit_single_arg_signal_ay ( 640s # OrgProjectSignalingIface *object, 640s # const gchar *arg_an_ay) 640s # { 640s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_emit_single_arg_signal_as: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_an_as: Argument to pass with the signal. 640s # * 640s # * Emits the "SingleArgSignalAS" D-Bus signal. 640s # */ 640s # void 640s # org_project_signaling_iface_emit_single_arg_signal_as ( 640s # OrgProjectSignalingIface *object, 640s # const gchar *const *arg_an_as) 640s # { 640s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_emit_single_arg_signal_ao: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_an_ao: Argument to pass with the signal. 640s # * 640s # * Emits the "SingleArgSignalAO" D-Bus signal. 640s # */ 640s # void 640s # org_project_signaling_iface_emit_single_arg_signal_ao ( 640s # OrgProjectSignalingIface *object, 640s # const gchar *const *arg_an_ao) 640s # { 640s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_emit_single_arg_signal_aay: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_an_aay: Argument to pass with the signal. 640s # * 640s # * Emits the "SingleArgSignalAAY" D-Bus signal. 640s # */ 640s # void 640s # org_project_signaling_iface_emit_single_arg_signal_aay ( 640s # OrgProjectSignalingIface *object, 640s # const gchar *const *arg_an_aay) 640s # { 640s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_emit_single_arg_signal_asv: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_an_asv: Argument to pass with the signal. 640s # * 640s # * Emits the "SingleArgSignalASV" D-Bus signal. 640s # */ 640s # void 640s # org_project_signaling_iface_emit_single_arg_signal_asv ( 640s # OrgProjectSignalingIface *object, 640s # GVariant *arg_an_asv) 640s # { 640s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 640s # } 640s # 640s # /* ------------------------------------------------------------------------ */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceProxy: 640s # * 640s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 640s # */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceProxyClass: 640s # * @parent_class: The parent class. 640s # * 640s # * Class structure for #OrgProjectSignalingIfaceProxy. 640s # */ 640s # 640s # struct _OrgProjectSignalingIfaceProxyPrivate 640s # { 640s # GData *qdata; 640s # }; 640s # 640s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 640s # 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 640s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 640s # 640s # #else 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 640s # 640s # #endif 640s # static void 640s # org_project_signaling_iface_proxy_finalize (GObject *object) 640s # { 640s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 640s # g_datalist_clear (&proxy->priv->qdata); 640s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 640s # guint prop_id G_GNUC_UNUSED, 640s # GValue *value G_GNUC_UNUSED, 640s # GParamSpec *pspec G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 640s # guint prop_id G_GNUC_UNUSED, 640s # const GValue *value G_GNUC_UNUSED, 640s # GParamSpec *pspec G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 640s # const gchar *sender_name G_GNUC_UNUSED, 640s # const gchar *signal_name, 640s # GVariant *parameters) 640s # { 640s # _ExtendedGDBusSignalInfo *info; 640s # GVariantIter iter; 640s # GVariant *child; 640s # GValue *paramv; 640s # gsize num_params; 640s # gsize n; 640s # guint signal_id; 640s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 640s # if (info == NULL) 640s # return; 640s # num_params = g_variant_n_children (parameters); 640s # paramv = g_new0 (GValue, num_params + 1); 640s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 640s # g_value_set_object (¶mv[0], proxy); 640s # g_variant_iter_init (&iter, parameters); 640s # n = 1; 640s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 640s # { 640s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 640s # if (arg_info->use_gvariant) 640s # { 640s # g_value_init (¶mv[n], G_TYPE_VARIANT); 640s # g_value_set_variant (¶mv[n], child); 640s # n++; 640s # } 640s # else 640s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 640s # g_variant_unref (child); 640s # } 640s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 640s # g_signal_emitv (paramv, signal_id, 0, NULL); 640s # for (n = 0; n < num_params + 1; n++) 640s # g_value_unset (¶mv[n]); 640s # g_free (paramv); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 640s # GVariant *changed_properties, 640s # const gchar *const *invalidated_properties) 640s # { 640s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 640s # guint n; 640s # const gchar *key; 640s # GVariantIter *iter; 640s # _ExtendedGDBusPropertyInfo *info; 640s # g_variant_get (changed_properties, "a{sv}", &iter); 640s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 640s # { 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 640s # g_datalist_remove_data (&proxy->priv->qdata, key); 640s # if (info != NULL) 640s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 640s # } 640s # g_variant_iter_free (iter); 640s # for (n = 0; invalidated_properties[n] != NULL; n++) 640s # { 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 640s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 640s # if (info != NULL) 640s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 640s # } 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 640s # { 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 640s # #else 640s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 640s # #endif 640s # 640s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 640s # { 640s # GObjectClass *gobject_class; 640s # GDBusProxyClass *proxy_class; 640s # 640s # gobject_class = G_OBJECT_CLASS (klass); 640s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 640s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 640s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 640s # 640s # proxy_class = G_DBUS_PROXY_CLASS (klass); 640s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 640s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 640s # 640s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 640s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 640s # #endif 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new: 640s # * @connection: A #GDBusConnection. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 640s # * @user_data: User data to pass to @callback. 640s # * 640s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 640s # * 640s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 640s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 640s # * 640s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 640s # */ 640s # void 640s # org_project_signaling_iface_proxy_new ( 640s # GDBusConnection *connection, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GAsyncReadyCallback callback, 640s # gpointer user_data) 640s # { 640s # 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); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_finish: 640s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 640s # * @error: Return location for error or %NULL 640s # * 640s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_proxy_new_finish ( 640s # GAsyncResult *res, 640s # GError **error) 640s # { 640s # GObject *ret; 640s # GObject *source_object; 640s # source_object = g_async_result_get_source_object (res); 640s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 640s # g_object_unref (source_object); 640s # if (ret != NULL) 640s # return ORG_PROJECT_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_sync: 640s # * @connection: A #GDBusConnection. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @error: Return location for error or %NULL 640s # * 640s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 640s # * 640s # * The calling thread is blocked until a reply is received. 640s # * 640s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_proxy_new_sync ( 640s # GDBusConnection *connection, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GError **error) 640s # { 640s # GInitable *ret; 640s # 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); 640s # if (ret != NULL) 640s # return ORG_PROJECT_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_for_bus: 640s # * @bus_type: A #GBusType. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: A bus name (well-known or unique). 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 640s # * @user_data: User data to pass to @callback. 640s # * 640s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 640s # * 640s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 640s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 640s # * 640s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 640s # */ 640s # void 640s # org_project_signaling_iface_proxy_new_for_bus ( 640s # GBusType bus_type, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GAsyncReadyCallback callback, 640s # gpointer user_data) 640s # { 640s # 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); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_for_bus_finish: 640s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 640s # * @error: Return location for error or %NULL 640s # * 640s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_proxy_new_for_bus_finish ( 640s # GAsyncResult *res, 640s # GError **error) 640s # { 640s # GObject *ret; 640s # GObject *source_object; 640s # source_object = g_async_result_get_source_object (res); 640s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 640s # g_object_unref (source_object); 640s # if (ret != NULL) 640s # return ORG_PROJECT_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_for_bus_sync: 640s # * @bus_type: A #GBusType. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: A bus name (well-known or unique). 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @error: Return location for error or %NULL 640s # * 640s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 640s # * 640s # * The calling thread is blocked until a reply is received. 640s # * 640s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_proxy_new_for_bus_sync ( 640s # GBusType bus_type, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GError **error) 640s # { 640s # GInitable *ret; 640s # 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); 640s # if (ret != NULL) 640s # return ORG_PROJECT_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # 640s # /* ------------------------------------------------------------------------ */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceSkeleton: 640s # * 640s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 640s # */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceSkeletonClass: 640s # * @parent_class: The parent class. 640s # * 640s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 640s # */ 640s # 640s # struct _OrgProjectSignalingIfaceSkeletonPrivate 640s # { 640s # GValue *properties; 640s # GList *changed_properties; 640s # GSource *changed_properties_idle_source; 640s # GMainContext *context; 640s # GMutex lock; 640s # }; 640s # 640s # static void 640s # _org_project_signaling_iface_skeleton_handle_method_call ( 640s # GDBusConnection *connection G_GNUC_UNUSED, 640s # const gchar *sender G_GNUC_UNUSED, 640s # const gchar *object_path G_GNUC_UNUSED, 640s # const gchar *interface_name, 640s # const gchar *method_name, 640s # GVariant *parameters, 640s # GDBusMethodInvocation *invocation, 640s # gpointer user_data) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 640s # _ExtendedGDBusMethodInfo *info; 640s # GVariantIter iter; 640s # GVariant *child; 640s # GValue *paramv; 640s # gsize num_params; 640s # guint num_extra; 640s # gsize n; 640s # guint signal_id; 640s # GValue return_value = G_VALUE_INIT; 640s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 640s # g_assert (info != NULL); 640s # num_params = g_variant_n_children (parameters); 640s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 640s # n = 0; 640s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 640s # g_value_set_object (¶mv[n++], skeleton); 640s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 640s # g_value_set_object (¶mv[n++], invocation); 640s # if (info->pass_fdlist) 640s # { 640s # #ifdef G_OS_UNIX 640s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 640s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 640s # #else 640s # g_assert_not_reached (); 640s # #endif 640s # } 640s # g_variant_iter_init (&iter, parameters); 640s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 640s # { 640s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 640s # if (arg_info->use_gvariant) 640s # { 640s # g_value_init (¶mv[n], G_TYPE_VARIANT); 640s # g_value_set_variant (¶mv[n], child); 640s # n++; 640s # } 640s # else 640s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 640s # g_variant_unref (child); 640s # } 640s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 640s # g_value_init (&return_value, G_TYPE_BOOLEAN); 640s # g_signal_emitv (paramv, signal_id, 0, &return_value); 640s # if (!g_value_get_boolean (&return_value)) 640s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 640s # g_value_unset (&return_value); 640s # for (n = 0; n < num_params + num_extra; n++) 640s # g_value_unset (¶mv[n]); 640s # g_free (paramv); 640s # } 640s # 640s # static GVariant * 640s # _org_project_signaling_iface_skeleton_handle_get_property ( 640s # GDBusConnection *connection G_GNUC_UNUSED, 640s # const gchar *sender G_GNUC_UNUSED, 640s # const gchar *object_path G_GNUC_UNUSED, 640s # const gchar *interface_name G_GNUC_UNUSED, 640s # const gchar *property_name, 640s # GError **error, 640s # gpointer user_data) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 640s # GValue value = G_VALUE_INIT; 640s # GParamSpec *pspec; 640s # _ExtendedGDBusPropertyInfo *info; 640s # GVariant *ret; 640s # ret = NULL; 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 640s # g_assert (info != NULL); 640s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 640s # if (pspec == NULL) 640s # { 640s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 640s # } 640s # else 640s # { 640s # g_value_init (&value, pspec->value_type); 640s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 640s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 640s # g_value_unset (&value); 640s # } 640s # return ret; 640s # } 640s # 640s # static gboolean 640s # _org_project_signaling_iface_skeleton_handle_set_property ( 640s # GDBusConnection *connection G_GNUC_UNUSED, 640s # const gchar *sender G_GNUC_UNUSED, 640s # const gchar *object_path G_GNUC_UNUSED, 640s # const gchar *interface_name G_GNUC_UNUSED, 640s # const gchar *property_name, 640s # GVariant *variant, 640s # GError **error, 640s # gpointer user_data) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 640s # GValue value = G_VALUE_INIT; 640s # GParamSpec *pspec; 640s # _ExtendedGDBusPropertyInfo *info; 640s # gboolean ret; 640s # ret = FALSE; 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 640s # g_assert (info != NULL); 640s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 640s # if (pspec == NULL) 640s # { 640s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 640s # } 640s # else 640s # { 640s # if (info->use_gvariant) 640s # g_value_set_variant (&value, variant); 640s # else 640s # g_dbus_gvariant_to_gvalue (variant, &value); 640s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 640s # g_value_unset (&value); 640s # ret = TRUE; 640s # } 640s # return ret; 640s # } 640s # 640s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 640s # { 640s # _org_project_signaling_iface_skeleton_handle_method_call, 640s # _org_project_signaling_iface_skeleton_handle_get_property, 640s # _org_project_signaling_iface_skeleton_handle_set_property, 640s # {NULL} 640s # }; 640s # 640s # static GDBusInterfaceInfo * 640s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 640s # { 640s # return org_project_signaling_iface_interface_info (); 640s # } 640s # 640s # static GDBusInterfaceVTable * 640s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 640s # { 640s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 640s # } 640s # 640s # static GVariant * 640s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 640s # 640s # GVariantBuilder builder; 640s # guint n; 640s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 640s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 640s # goto out; 640s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 640s # { 640s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 640s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 640s # { 640s # GVariant *value; 640s # 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); 640s # if (value != NULL) 640s # { 640s # g_variant_take_ref (value); 640s # g_variant_builder_add (&builder, "{sv}", info->name, value); 640s # g_variant_unref (value); 640s # } 640s # } 640s # } 640s # out: 640s # return g_variant_builder_end (&builder); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # static void 640s # _org_project_signaling_iface_on_signal_no_arg_signal ( 640s # OrgProjectSignalingIface *object) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # 640s # GList *connections, *l; 640s # GVariant *signal_variant; 640s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 640s # 640s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 640s # for (l = connections; l != NULL; l = l->next) 640s # { 640s # GDBusConnection *connection = l->data; 640s # g_dbus_connection_emit_signal (connection, 640s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 640s # signal_variant, NULL); 640s # } 640s # g_variant_unref (signal_variant); 640s # g_list_free_full (connections, g_object_unref); 640s # } 640s # 640s # static void 640s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 640s # OrgProjectSignalingIface *object, 640s # gboolean arg_an_b) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # 640s # GList *connections, *l; 640s # GVariant *signal_variant; 640s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 640s # 640s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 640s # arg_an_b)); 640s # for (l = connections; l != NULL; l = l->next) 640s # { 640s # GDBusConnection *connection = l->data; 640s # g_dbus_connection_emit_signal (connection, 640s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 640s # signal_variant, NULL); 640s # } 640s # g_variant_unref (signal_variant); 640s # g_list_free_full (connections, g_object_unref); 640s # } 640s # 640s # static void 640s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 640s # OrgProjectSignalingIface *object, 640s # guchar arg_an_y) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # 640s # GList *connections, *l; 640s # GVariant *signal_variant; 640s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 640s # 640s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 640s # arg_an_y)); 640s # for (l = connections; l != NULL; l = l->next) 640s # { 640s # GDBusConnection *connection = l->data; 640s # g_dbus_connection_emit_signal (connection, 640s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 640s # signal_variant, NULL); 640s # } 640s # g_variant_unref (signal_variant); 640s # g_list_free_full (connections, g_object_unref); 640s # } 640s # 640s # static void 640s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 640s # OrgProjectSignalingIface *object, 640s # gint16 arg_an_n) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # 640s # GList *connections, *l; 640s # GVariant *signal_variant; 640s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 640s # 640s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 640s # arg_an_n)); 640s # for (l = connections; l != NULL; l = l->next) 640s # { 640s # GDBusConnection *connection = l->data; 640s # g_dbus_connection_emit_signal (connection, 640s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 640s # signal_variant, NULL); 640s # } 640s # g_variant_unref (signal_variant); 640s # g_list_free_full (connections, g_object_unref); 640s # } 640s # 640s # static void 640s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 640s # OrgProjectSignalingIface *object, 640s # guint16 arg_an_q) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # 640s # GList *connections, *l; 640s # GVariant *signal_variant; 640s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 640s # 640s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 640s # arg_an_q)); 640s # for (l = connections; l != NULL; l = l->next) 640s # { 640s # GDBusConnection *connection = l->data; 640s # g_dbus_connection_emit_signal (connection, 640s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 640s # signal_variant, NULL); 640s # } 640s # g_variant_unref (signal_variant); 640s # g_list_free_full (connections, g_object_unref); 640s # } 640s # 640s # static void 640s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 640s # OrgProjectSignalingIface *object, 640s # gint arg_an_i) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # 640s # GList *connections, *l; 640s # GVariant *signal_variant; 640s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 640s # 640s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 640s # arg_an_i)); 640s # for (l = connections; l != NULL; l = l->next) 640s # { 640s # GDBusConnection *connection = l->data; 640s # g_dbus_connection_emit_signal (connection, 640s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 640s # signal_variant, NULL); 640s # } 640s # g_variant_unref (signal_variant); 640s # g_list_free_full (connections, g_object_unref); 640s # } 640s # 640s # static void 640s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 640s # OrgProjectSignalingIface *object, 640s # guint arg_an_u) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # 640s # GList *connections, *l; 640s # GVariant *signal_variant; 640s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 640s # 640s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 640s # arg_an_u)); 640s # for (l = connections; l != NULL; l = l->next) 640s # { 640s # GDBusConnection *connection = l->data; 640s # g_dbus_connection_emit_signal (connection, 640s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 640s # signal_variant, NULL); 640s # } 640s # g_variant_unref (signal_variant); 640s # g_list_free_full (connections, g_object_unref); 640s # } 640s # 640s # static void 640s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 640s # OrgProjectSignalingIface *object, 640s # gint64 arg_an_x) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # 640s # GList *connections, *l; 640s # GVariant *signal_variant; 640s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 640s # 640s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 640s # arg_an_x)); 640s # for (l = connections; l != NULL; l = l->next) 640s # { 640s # GDBusConnection *connection = l->data; 640s # g_dbus_connection_emit_signal (connection, 640s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 640s # signal_variant, NULL); 640s # } 640s # g_variant_unref (signal_variant); 640s # g_list_free_full (connections, g_object_unref); 640s # } 640s # 640s # static void 640s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 640s # OrgProjectSignalingIface *object, 640s # guint64 arg_an_t) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # 640s # GList *connections, *l; 640s # GVariant *signal_variant; 640s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 640s # 640s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 640s # arg_an_t)); 640s # for (l = connections; l != NULL; l = l->next) 640s # { 640s # GDBusConnection *connection = l->data; 640s # g_dbus_connection_emit_signal (connection, 640s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 640s # signal_variant, NULL); 640s # } 640s # g_variant_unref (signal_variant); 640s # g_list_free_full (connections, g_object_unref); 640s # } 640s # 640s # static void 640s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 640s # OrgProjectSignalingIface *object, 640s # gdouble arg_an_d) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # 640s # GList *connections, *l; 640s # GVariant *signal_variant; 640s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 640s # 640s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 640s # arg_an_d)); 640s # for (l = connections; l != NULL; l = l->next) 640s # { 640s # GDBusConnection *connection = l->data; 640s # g_dbus_connection_emit_signal (connection, 640s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 640s # signal_variant, NULL); 640s # } 640s # g_variant_unref (signal_variant); 640s # g_list_free_full (connections, g_object_unref); 640s # } 640s # 640s # static void 640s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 640s # OrgProjectSignalingIface *object, 640s # const gchar *arg_an_s) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # 640s # GList *connections, *l; 640s # GVariant *signal_variant; 640s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 640s # 640s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 640s # arg_an_s)); 640s # for (l = connections; l != NULL; l = l->next) 640s # { 640s # GDBusConnection *connection = l->data; 640s # g_dbus_connection_emit_signal (connection, 640s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 640s # signal_variant, NULL); 640s # } 640s # g_variant_unref (signal_variant); 640s # g_list_free_full (connections, g_object_unref); 640s # } 640s # 640s # static void 640s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 640s # OrgProjectSignalingIface *object, 640s # const gchar *arg_an_o) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # 640s # GList *connections, *l; 640s # GVariant *signal_variant; 640s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 640s # 640s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 640s # arg_an_o)); 640s # for (l = connections; l != NULL; l = l->next) 640s # { 640s # GDBusConnection *connection = l->data; 640s # g_dbus_connection_emit_signal (connection, 640s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 640s # signal_variant, NULL); 640s # } 640s # g_variant_unref (signal_variant); 640s # g_list_free_full (connections, g_object_unref); 640s # } 640s # 640s # static void 640s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 640s # OrgProjectSignalingIface *object, 640s # const gchar *arg_an_g) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # 640s # GList *connections, *l; 640s # GVariant *signal_variant; 640s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 640s # 640s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 640s # arg_an_g)); 640s # for (l = connections; l != NULL; l = l->next) 640s # { 640s # GDBusConnection *connection = l->data; 640s # g_dbus_connection_emit_signal (connection, 640s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 640s # signal_variant, NULL); 640s # } 640s # g_variant_unref (signal_variant); 640s # g_list_free_full (connections, g_object_unref); 640s # } 640s # 640s # static void 640s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 640s # OrgProjectSignalingIface *object, 640s # GVariant *arg_an_h) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # 640s # GList *connections, *l; 640s # GVariant *signal_variant; 640s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 640s # 640s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 640s # arg_an_h)); 640s # for (l = connections; l != NULL; l = l->next) 640s # { 640s # GDBusConnection *connection = l->data; 640s # g_dbus_connection_emit_signal (connection, 640s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 640s # signal_variant, NULL); 640s # } 640s # g_variant_unref (signal_variant); 640s # g_list_free_full (connections, g_object_unref); 640s # } 640s # 640s # static void 640s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 640s # OrgProjectSignalingIface *object, 640s # const gchar *arg_an_ay) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # 640s # GList *connections, *l; 640s # GVariant *signal_variant; 640s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 640s # 640s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 640s # arg_an_ay)); 640s # for (l = connections; l != NULL; l = l->next) 640s # { 640s # GDBusConnection *connection = l->data; 640s # g_dbus_connection_emit_signal (connection, 640s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 640s # signal_variant, NULL); 640s # } 640s # g_variant_unref (signal_variant); 640s # g_list_free_full (connections, g_object_unref); 640s # } 640s # 640s # static void 640s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 640s # OrgProjectSignalingIface *object, 640s # const gchar *const *arg_an_as) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # 640s # GList *connections, *l; 640s # GVariant *signal_variant; 640s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 640s # 640s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 640s # arg_an_as)); 640s # for (l = connections; l != NULL; l = l->next) 640s # { 640s # GDBusConnection *connection = l->data; 640s # g_dbus_connection_emit_signal (connection, 640s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 640s # signal_variant, NULL); 640s # } 640s # g_variant_unref (signal_variant); 640s # g_list_free_full (connections, g_object_unref); 640s # } 640s # 640s # static void 640s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 640s # OrgProjectSignalingIface *object, 640s # const gchar *const *arg_an_ao) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # 640s # GList *connections, *l; 640s # GVariant *signal_variant; 640s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 640s # 640s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 640s # arg_an_ao)); 640s # for (l = connections; l != NULL; l = l->next) 640s # { 640s # GDBusConnection *connection = l->data; 640s # g_dbus_connection_emit_signal (connection, 640s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 640s # signal_variant, NULL); 640s # } 640s # g_variant_unref (signal_variant); 640s # g_list_free_full (connections, g_object_unref); 640s # } 640s # 640s # static void 640s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 640s # OrgProjectSignalingIface *object, 640s # const gchar *const *arg_an_aay) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # 640s # GList *connections, *l; 640s # GVariant *signal_variant; 640s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 640s # 640s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 640s # arg_an_aay)); 640s # for (l = connections; l != NULL; l = l->next) 640s # { 640s # GDBusConnection *connection = l->data; 640s # g_dbus_connection_emit_signal (connection, 640s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 640s # signal_variant, NULL); 640s # } 640s # g_variant_unref (signal_variant); 640s # g_list_free_full (connections, g_object_unref); 640s # } 640s # 640s # static void 640s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 640s # OrgProjectSignalingIface *object, 640s # GVariant *arg_an_asv) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # 640s # GList *connections, *l; 640s # GVariant *signal_variant; 640s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 640s # 640s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 640s # arg_an_asv)); 640s # for (l = connections; l != NULL; l = l->next) 640s # { 640s # GDBusConnection *connection = l->data; 640s # g_dbus_connection_emit_signal (connection, 640s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 640s # signal_variant, NULL); 640s # } 640s # g_variant_unref (signal_variant); 640s # g_list_free_full (connections, g_object_unref); 640s # } 640s # 640s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 640s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 640s # 640s # #else 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 640s # 640s # #endif 640s # static void 640s # org_project_signaling_iface_skeleton_finalize (GObject *object) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 640s # if (skeleton->priv->changed_properties_idle_source != NULL) 640s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 640s # g_main_context_unref (skeleton->priv->context); 640s # g_mutex_clear (&skeleton->priv->lock); 640s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 640s # { 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 640s # #else 640s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 640s # #endif 640s # 640s # g_mutex_init (&skeleton->priv->lock); 640s # skeleton->priv->context = g_main_context_ref_thread_default (); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 640s # { 640s # GObjectClass *gobject_class; 640s # GDBusInterfaceSkeletonClass *skeleton_class; 640s # 640s # gobject_class = G_OBJECT_CLASS (klass); 640s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 640s # 640s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 640s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 640s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 640s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 640s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 640s # 640s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 640s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 640s # #endif 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 640s # { 640s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 640s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 640s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 640s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 640s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 640s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 640s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 640s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 640s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 640s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 640s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 640s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 640s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 640s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 640s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 640s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 640s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 640s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 640s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_skeleton_new: 640s # * 640s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_skeleton_new (void) 640s # { 640s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 640s # } 640s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 640s # tmpdir: /tmp/tmpl4w07e8r 640s # codegen: /usr/bin/gdbus-codegen 640s # /tmp/tmpl4w07e8r/tmp4k0twyfj.xml: 640s # 640s # 640s # 640s # 640s # 640s # 640s # 640s # 640s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpl4w07e8r/tmp4k0twyfj.xml', '--output', '-', '--body'] 640s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 640s # Output: /* 640s # * This file is generated by gdbus-codegen, do not modify it. 640s # * 640s # * The license of this code is the same as for the D-Bus interface description 640s # * it was derived from. Note that it links to GLib, so must comply with the 640s # * LGPL linking clauses. 640s # */ 640s # 640s # #ifdef HAVE_CONFIG_H 640s # # include "config.h" 640s # #endif 640s # 640s # #include 640s # #ifdef G_OS_UNIX 640s # # include 640s # #endif 640s # 640s # #ifdef G_ENABLE_DEBUG 640s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 640s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 640s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 640s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 640s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 640s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 640s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 640s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 640s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 640s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 640s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 640s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 640s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 640s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 640s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 640s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 640s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 640s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 640s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 640s # #else /* !G_ENABLE_DEBUG */ 640s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 640s # * Do not access GValues directly in your code. Instead, use the 640s # * g_value_get_*() functions 640s # */ 640s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 640s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 640s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 640s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 640s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 640s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 640s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 640s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 640s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 640s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 640s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 640s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 640s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 640s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 640s # #endif /* !G_ENABLE_DEBUG */ 640s # 640s # typedef struct 640s # { 640s # GDBusArgInfo parent_struct; 640s # gboolean use_gvariant; 640s # } _ExtendedGDBusArgInfo; 640s # 640s # typedef struct 640s # { 640s # GDBusMethodInfo parent_struct; 640s # const gchar *signal_name; 640s # gboolean pass_fdlist; 640s # } _ExtendedGDBusMethodInfo; 640s # 640s # typedef struct 640s # { 640s # GDBusSignalInfo parent_struct; 640s # const gchar *signal_name; 640s # } _ExtendedGDBusSignalInfo; 640s # 640s # typedef struct 640s # { 640s # GDBusPropertyInfo parent_struct; 640s # const gchar *hyphen_name; 640s # guint use_gvariant : 1; 640s # guint emits_changed_signal : 1; 640s # } _ExtendedGDBusPropertyInfo; 640s # 640s # typedef struct 640s # { 640s # GDBusInterfaceInfo parent_struct; 640s # const gchar *hyphen_name; 640s # } _ExtendedGDBusInterfaceInfo; 640s # 640s # typedef struct 640s # { 640s # const _ExtendedGDBusPropertyInfo *info; 640s # guint prop_id; 640s # GValue orig_value; /* the value before the change */ 640s # } ChangedProperty; 640s # 640s # static void 640s # _changed_property_free (ChangedProperty *data) 640s # { 640s # g_value_unset (&data->orig_value); 640s # g_free (data); 640s # } 640s # 640s # static gboolean 640s # _g_strv_equal0 (gchar **a, gchar **b) 640s # { 640s # gboolean ret = FALSE; 640s # guint n; 640s # if (a == NULL && b == NULL) 640s # { 640s # ret = TRUE; 640s # goto out; 640s # } 640s # if (a == NULL || b == NULL) 640s # goto out; 640s # if (g_strv_length (a) != g_strv_length (b)) 640s # goto out; 640s # for (n = 0; a[n] != NULL; n++) 640s # if (g_strcmp0 (a[n], b[n]) != 0) 640s # goto out; 640s # ret = TRUE; 640s # out: 640s # return ret; 640s # } 640s # 640s # static gboolean 640s # _g_variant_equal0 (GVariant *a, GVariant *b) 640s # { 640s # gboolean ret = FALSE; 640s # if (a == NULL && b == NULL) 640s # { 640s # ret = TRUE; 640s # goto out; 640s # } 640s # if (a == NULL || b == NULL) 640s # goto out; 640s # ret = g_variant_equal (a, b); 640s # out: 640s # return ret; 640s # } 640s # 640s # G_GNUC_UNUSED static gboolean 640s # _g_value_equal (const GValue *a, const GValue *b) 640s # { 640s # gboolean ret = FALSE; 640s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 640s # switch (G_VALUE_TYPE (a)) 640s # { 640s # case G_TYPE_BOOLEAN: 640s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 640s # break; 640s # case G_TYPE_UCHAR: 640s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 640s # break; 640s # case G_TYPE_INT: 640s # ret = (g_value_get_int (a) == g_value_get_int (b)); 640s # break; 640s # case G_TYPE_UINT: 640s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 640s # break; 640s # case G_TYPE_INT64: 640s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 640s # break; 640s # case G_TYPE_UINT64: 640s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 640s # break; 640s # case G_TYPE_DOUBLE: 640s # { 640s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 640s # gdouble da = g_value_get_double (a); 640s # gdouble db = g_value_get_double (b); 640s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 640s # } 640s # break; 640s # case G_TYPE_STRING: 640s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 640s # break; 640s # case G_TYPE_VARIANT: 640s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 640s # break; 640s # default: 640s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 640s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 640s # else 640s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 640s # break; 640s # } 640s # return ret; 640s # } 640s # 640s # /* ------------------------------------------------------------------------ 640s # * Code for interface org.project.UsefulInterface 640s # * ------------------------------------------------------------------------ 640s # */ 640s # 640s # /** 640s # * SECTION:OrgProjectUsefulInterface 640s # * @title: OrgProjectUsefulInterface 640s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 640s # * 640s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 640s # */ 640s # 640s # enum 640s # { 640s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 640s # }; 640s # 640s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 640s # 640s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 640s # 640s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 640s # { 640s # { 640s # -1, 640s # (gchar *) "SimpleSignal", 640s # NULL, 640s # NULL 640s # }, 640s # "simple-signal" 640s # }; 640s # 640s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 640s # { 640s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 640s # NULL 640s # }; 640s # 640s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 640s # { 640s # { 640s # -1, 640s # (gchar *) "org.project.UsefulInterface", 640s # NULL, 640s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 640s # NULL, 640s # NULL 640s # }, 640s # "org-project-useful-interface", 640s # }; 640s # 640s # 640s # /** 640s # * org_project_useful_interface_interface_info: 640s # * 640s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 640s # * 640s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 640s # */ 640s # GDBusInterfaceInfo * 640s # org_project_useful_interface_interface_info (void) 640s # { 640s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 640s # } 640s # 640s # /** 640s # * org_project_useful_interface_override_properties: 640s # * @klass: The class structure for a #GObject derived class. 640s # * @property_id_begin: The property id to assign to the first overridden property. 640s # * 640s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 640s # * The properties are overridden in the order they are defined. 640s # * 640s # * Returns: The last property id. 640s # */ 640s # guint 640s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 640s # { 640s # return property_id_begin - 1; 640s # } 640s # 640s # 640s # inline static void 640s # org_project_useful_interface_signal_marshal_simple_signal ( 640s # GClosure *closure, 640s # GValue *return_value, 640s # unsigned int n_param_values, 640s # const GValue *param_values, 640s # void *invocation_hint, 640s # void *marshal_data) 640s # { 640s # g_cclosure_marshal_VOID__VOID (closure, 640s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 640s # } 640s # 640s # 640s # /** 640s # * OrgProjectUsefulInterface: 640s # * 640s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 640s # */ 640s # 640s # /** 640s # * OrgProjectUsefulInterfaceIface: 640s # * @parent_iface: The parent interface. 640s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 640s # * 640s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 640s # */ 640s # 640s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 640s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 640s # 640s # static void 640s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 640s # { 640s # /* GObject signals for received D-Bus signals: */ 640s # /** 640s # * OrgProjectUsefulInterface::simple-signal: 640s # * @object: A #OrgProjectUsefulInterface. 640s # * 640s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 640s # * 640s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 640s # */ 640s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 640s # g_signal_new ("simple-signal", 640s # G_TYPE_FROM_INTERFACE (iface), 640s # G_SIGNAL_RUN_LAST, 640s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 640s # NULL, 640s # NULL, 640s # org_project_useful_interface_signal_marshal_simple_signal, 640s # G_TYPE_NONE, 640s # 0); 640s # 640s # } 640s # 640s # /** 640s # * org_project_useful_interface_emit_simple_signal: 640s # * @object: A #OrgProjectUsefulInterface. 640s # * 640s # * Emits the "SimpleSignal" D-Bus signal. 640s # */ 640s # void 640s # org_project_useful_interface_emit_simple_signal ( 640s # OrgProjectUsefulInterface *object) 640s # { 640s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 640s # } 640s # 640s # /* ------------------------------------------------------------------------ */ 640s # 640s # /** 640s # * OrgProjectUsefulInterfaceProxy: 640s # * 640s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 640s # */ 640s # 640s # /** 640s # * OrgProjectUsefulInterfaceProxyClass: 640s # * @parent_class: The parent class. 640s # * 640s # * Class structure for #OrgProjectUsefulInterfaceProxy. 640s # */ 640s # 640s # struct _OrgProjectUsefulInterfaceProxyPrivate 640s # { 640s # GData *qdata; 640s # }; 640s # 640s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 640s # 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 640s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 640s # 640s # #else 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 640s # 640s # #endif 640s # static void 640s # org_project_useful_interface_proxy_finalize (GObject *object) 640s # { 640s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 640s # g_datalist_clear (&proxy->priv->qdata); 640s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 640s # } 640s # 640s # static void 640s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 640s # guint prop_id G_GNUC_UNUSED, 640s # GValue *value G_GNUC_UNUSED, 640s # GParamSpec *pspec G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # static void 640s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 640s # guint prop_id G_GNUC_UNUSED, 640s # const GValue *value G_GNUC_UNUSED, 640s # GParamSpec *pspec G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # static void 640s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 640s # const gchar *sender_name G_GNUC_UNUSED, 640s # const gchar *signal_name, 640s # GVariant *parameters) 640s # { 640s # _ExtendedGDBusSignalInfo *info; 640s # GVariantIter iter; 640s # GVariant *child; 640s # GValue *paramv; 640s # gsize num_params; 640s # gsize n; 640s # guint signal_id; 640s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 640s # if (info == NULL) 640s # return; 640s # num_params = g_variant_n_children (parameters); 640s # paramv = g_new0 (GValue, num_params + 1); 640s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 640s # g_value_set_object (¶mv[0], proxy); 640s # g_variant_iter_init (&iter, parameters); 640s # n = 1; 640s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 640s # { 640s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 640s # if (arg_info->use_gvariant) 640s # { 640s # g_value_init (¶mv[n], G_TYPE_VARIANT); 640s # g_value_set_variant (¶mv[n], child); 640s # n++; 640s # } 640s # else 640s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 640s # g_variant_unref (child); 640s # } 640s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 640s # g_signal_emitv (paramv, signal_id, 0, NULL); 640s # for (n = 0; n < num_params + 1; n++) 640s # g_value_unset (¶mv[n]); 640s # g_free (paramv); 640s # } 640s # 640s # static void 640s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 640s # GVariant *changed_properties, 640s # const gchar *const *invalidated_properties) 640s # { 640s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 640s # guint n; 640s # const gchar *key; 640s # GVariantIter *iter; 640s # _ExtendedGDBusPropertyInfo *info; 640s # g_variant_get (changed_properties, "a{sv}", &iter); 640s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 640s # { 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 640s # g_datalist_remove_data (&proxy->priv->qdata, key); 640s # if (info != NULL) 640s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 640s # } 640s # g_variant_iter_free (iter); 640s # for (n = 0; invalidated_properties[n] != NULL; n++) 640s # { 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 640s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 640s # if (info != NULL) 640s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 640s # } 640s # } 640s # 640s # static void 640s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 640s # { 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 640s # #else 640s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 640s # #endif 640s # 640s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 640s # } 640s # 640s # static void 640s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 640s # { 640s # GObjectClass *gobject_class; 640s # GDBusProxyClass *proxy_class; 640s # 640s # gobject_class = G_OBJECT_CLASS (klass); 640s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 640s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 640s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 640s # 640s # proxy_class = G_DBUS_PROXY_CLASS (klass); 640s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 640s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 640s # 640s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 640s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 640s # #endif 640s # } 640s # 640s # static void 640s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # /** 640s # * org_project_useful_interface_proxy_new: 640s # * @connection: A #GDBusConnection. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 640s # * @user_data: User data to pass to @callback. 640s # * 640s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 640s # * 640s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 640s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 640s # * 640s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 640s # */ 640s # void 640s # org_project_useful_interface_proxy_new ( 640s # GDBusConnection *connection, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GAsyncReadyCallback callback, 640s # gpointer user_data) 640s # { 640s # g_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); 640s # } 640s # 640s # /** 640s # * org_project_useful_interface_proxy_new_finish: 640s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 640s # * @error: Return location for error or %NULL 640s # * 640s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 640s # * 640s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectUsefulInterface * 640s # org_project_useful_interface_proxy_new_finish ( 640s # GAsyncResult *res, 640s # GError **error) 640s # { 640s # GObject *ret; 640s # GObject *source_object; 640s # source_object = g_async_result_get_source_object (res); 640s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 640s # g_object_unref (source_object); 640s # if (ret != NULL) 640s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # /** 640s # * org_project_useful_interface_proxy_new_sync: 640s # * @connection: A #GDBusConnection. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @error: Return location for error or %NULL 640s # * 640s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 640s # * 640s # * The calling thread is blocked until a reply is received. 640s # * 640s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 640s # * 640s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectUsefulInterface * 640s # org_project_useful_interface_proxy_new_sync ( 640s # GDBusConnection *connection, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GError **error) 640s # { 640s # GInitable *ret; 640s # 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); 640s # if (ret != NULL) 640s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # 640s # /** 640s # * org_project_useful_interface_proxy_new_for_bus: 640s # * @bus_type: A #GBusType. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: A bus name (well-known or unique). 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 640s # * @user_data: User data to pass to @callback. 640s # * 640s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 640s # * 640s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 640s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 640s # * 640s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 640s # */ 640s # void 640s # org_project_useful_interface_proxy_new_for_bus ( 640s # GBusType bus_type, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GAsyncReadyCallback callback, 640s # gpointer user_data) 640s # { 640s # g_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); 640s # } 640s # 640s # /** 640s # * org_project_useful_interface_proxy_new_for_bus_finish: 640s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 640s # * @error: Return location for error or %NULL 640s # * 640s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 640s # * 640s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectUsefulInterface * 640s # org_project_useful_interface_proxy_new_for_bus_finish ( 640s # GAsyncResult *res, 640s # GError **error) 640s # { 640s # GObject *ret; 640s # GObject *source_object; 640s # source_object = g_async_result_get_source_object (res); 640s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 640s # g_object_unref (source_object); 640s # if (ret != NULL) 640s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # /** 640s # * org_project_useful_interface_proxy_new_for_bus_sync: 640s # * @bus_type: A #GBusType. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: A bus name (well-known or unique). 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @error: Return location for error or %NULL 640s # * 640s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 640s # * 640s # * The calling thread is blocked until a reply is received. 640s # * 640s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 640s # * 640s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectUsefulInterface * 640s # org_project_useful_interface_proxy_new_for_bus_sync ( 640s # GBusType bus_type, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GError **error) 640s # { 640s # GInitable *ret; 640s # 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); 640s # if (ret != NULL) 640s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # 640s # /* ------------------------------------------------------------------------ */ 640s # 640s # /** 640s # * OrgProjectUsefulInterfaceSkeleton: 640s # * 640s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 640s # */ 640s # 640s # /** 640s # * OrgProjectUsefulInterfaceSkeletonClass: 640s # * @parent_class: The parent class. 640s # * 640s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 640s # */ 640s # 640s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 640s # { 640s # GValue *properties; 640s # GList *changed_properties; 640s # GSource *changed_properties_idle_source; 640s # GMainContext *context; 640s # GMutex lock; 640s # }; 640s # 640s # static void 640s # _org_project_useful_interface_skeleton_handle_method_call ( 640s # GDBusConnection *connection G_GNUC_UNUSED, 640s # const gchar *sender G_GNUC_UNUSED, 640s # const gchar *object_path G_GNUC_UNUSED, 640s # const gchar *interface_name, 640s # const gchar *method_name, 640s # GVariant *parameters, 640s # GDBusMethodInvocation *invocation, 640s # gpointer user_data) 640s # { 640s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 640s # _ExtendedGDBusMethodInfo *info; 640s # GVariantIter iter; 640s # GVariant *child; 640s # GValue *paramv; 640s # gsize num_params; 640s # guint num_extra; 640s # gsize n; 640s # guint signal_id; 640s # GValue return_value = G_VALUE_INIT; 640s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 640s # g_assert (info != NULL); 640s # num_params = g_variant_n_children (parameters); 640s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 640s # n = 0; 640s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 640s # g_value_set_object (¶mv[n++], skeleton); 640s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 640s # g_value_set_object (¶mv[n++], invocation); 640s # if (info->pass_fdlist) 640s # { 640s # #ifdef G_OS_UNIX 640s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 640s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 640s # #else 640s # g_assert_not_reached (); 640s # #endif 640s # } 640s # g_variant_iter_init (&iter, parameters); 640s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 640s # { 640s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 640s # if (arg_info->use_gvariant) 640s # { 640s # g_value_init (¶mv[n], G_TYPE_VARIANT); 640s # g_value_set_variant (¶mv[n], child); 640s # n++; 640s # } 640s # else 640s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 640s # g_variant_unref (child); 640s # } 640s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 640s # g_value_init (&return_value, G_TYPE_BOOLEAN); 640s # g_signal_emitv (paramv, signal_id, 0, &return_value); 640s # if (!g_value_get_boolean (&return_value)) 640s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 640s # g_value_unset (&return_value); 640s # for (n = 0; n < num_params + num_extra; n++) 640s # g_value_unset (¶mv[n]); 640s # g_free (paramv); 640s # } 640s # 640s # static GVariant * 640s # _org_project_useful_interface_skeleton_handle_get_property ( 640s # GDBusConnection *connection G_GNUC_UNUSED, 640s # const gchar *sender G_GNUC_UNUSED, 640s # const gchar *object_path G_GNUC_UNUSED, 640s # const gchar *interface_name G_GNUC_UNUSED, 640s # const gchar *property_name, 640s # GError **error, 640s # gpointer user_data) 640s # { 640s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 640s # GValue value = G_VALUE_INIT; 640s # GParamSpec *pspec; 640s # _ExtendedGDBusPropertyInfo *info; 640s # GVariant *ret; 640s # ret = NULL; 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 640s # g_assert (info != NULL); 640s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 640s # if (pspec == NULL) 640s # { 640s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 640s # } 640s # else 640s # { 640s # g_value_init (&value, pspec->value_type); 640s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 640s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 640s # g_value_unset (&value); 640s # } 640s # return ret; 640s # } 640s # 640s # static gboolean 640s # _org_project_useful_interface_skeleton_handle_set_property ( 640s # GDBusConnection *connection G_GNUC_UNUSED, 640s # const gchar *sender G_GNUC_UNUSED, 640s # const gchar *object_path G_GNUC_UNUSED, 640s # const gchar *interface_name G_GNUC_UNUSED, 640s # const gchar *property_name, 640s # GVariant *variant, 640s # GError **error, 640s # gpointer user_data) 640s # { 640s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 640s # GValue value = G_VALUE_INIT; 640s # GParamSpec *pspec; 640s # _ExtendedGDBusPropertyInfo *info; 640s # gboolean ret; 640s # ret = FALSE; 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 640s # g_assert (info != NULL); 640s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 640s # if (pspec == NULL) 640s # { 640s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 640s # } 640s # else 640s # { 640s # if (info->use_gvariant) 640s # g_value_set_variant (&value, variant); 640s # else 640s # g_dbus_gvariant_to_gvalue (variant, &value); 640s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 640s # g_value_unset (&value); 640s # ret = TRUE; 640s # } 640s # return ret; 640s # } 640s # 640s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 640s # { 640s # _org_project_useful_interface_skeleton_handle_method_call, 640s # _org_project_useful_interface_skeleton_handle_get_property, 640s # _org_project_useful_interface_skeleton_handle_set_property, 640s # {NULL} 640s # }; 640s # 640s # static GDBusInterfaceInfo * 640s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 640s # { 640s # return org_project_useful_interface_interface_info (); 640s # } 640s # 640s # static GDBusInterfaceVTable * 640s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 640s # { 640s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 640s # } 640s # 640s # static GVariant * 640s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 640s # { 640s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 640s # 640s # GVariantBuilder builder; 640s # guint n; 640s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 640s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 640s # goto out; 640s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 640s # { 640s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 640s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 640s # { 640s # GVariant *value; 640s # 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); 640s # if (value != NULL) 640s # { 640s # g_variant_take_ref (value); 640s # g_variant_builder_add (&builder, "{sv}", info->name, value); 640s # g_variant_unref (value); 640s # } 640s # } 640s # } 640s # out: 640s # return g_variant_builder_end (&builder); 640s # } 640s # 640s # static void 640s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # static void 640s # _org_project_useful_interface_on_signal_simple_signal ( 640s # OrgProjectUsefulInterface *object) 640s # { 640s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 640s # 640s # GList *connections, *l; 640s # GVariant *signal_variant; 640s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 640s # 640s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 640s # for (l = connections; l != NULL; l = l->next) 640s # { 640s # GDBusConnection *connection = l->data; 640s # g_dbus_connection_emit_signal (connection, 640s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 640s # signal_variant, NULL); 640s # } 640s # g_variant_unref (signal_variant); 640s # g_list_free_full (connections, g_object_unref); 640s # } 640s # 640s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 640s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 640s # 640s # #else 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 640s # 640s # #endif 640s # static void 640s # org_project_useful_interface_skeleton_finalize (GObject *object) 640s # { 640s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 640s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 640s # if (skeleton->priv->changed_properties_idle_source != NULL) 640s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 640s # g_main_context_unref (skeleton->priv->context); 640s # g_mutex_clear (&skeleton->priv->lock); 640s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 640s # } 640s # 640s # static void 640s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 640s # { 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 640s # #else 640s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 640s # #endif 640s # 640s # g_mutex_init (&skeleton->priv->lock); 640s # skeleton->priv->context = g_main_context_ref_thread_default (); 640s # } 640s # 640s # static void 640s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 640s # { 640s # GObjectClass *gobject_class; 640s # GDBusInterfaceSkeletonClass *skeleton_class; 640s # 640s # gobject_class = G_OBJECT_CLASS (klass); 640s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 640s # 640s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 640s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 640s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 640s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 640s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 640s # 640s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 640s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 640s # #endif 640s # } 640s # 640s # static void 640s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 640s # { 640s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 640s # } 640s # 640s # /** 640s # * org_project_useful_interface_skeleton_new: 640s # * 640s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 640s # * 640s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 640s # */ 640s # OrgProjectUsefulInterface * 640s # org_project_useful_interface_skeleton_new (void) 640s # { 640s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 640s # } 640s # 640s # /* ------------------------------------------------------------------------ 640s # * Code for interface org.project.OtherIface 640s # * ------------------------------------------------------------------------ 640s # */ 640s # 640s # /** 640s # * SECTION:OrgProjectOtherIface 640s # * @title: OrgProjectOtherIface 640s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 640s # * 640s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 640s # */ 640s # 640s # enum 640s # { 640s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 640s # }; 640s # 640s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 640s # 640s # /* ---- Introspection data for org.project.OtherIface ---- */ 640s # 640s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 640s # { 640s # { 640s # -1, 640s # (gchar *) "SimpleSignal", 640s # NULL, 640s # NULL 640s # }, 640s # "simple-signal" 640s # }; 640s # 640s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 640s # { 640s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 640s # NULL 640s # }; 640s # 640s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 640s # { 640s # { 640s # -1, 640s # (gchar *) "org.project.OtherIface", 640s # NULL, 640s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 640s # NULL, 640s # NULL 640s # }, 640s # "org-project-other-iface", 640s # }; 640s # 640s # 640s # /** 640s # * org_project_other_iface_interface_info: 640s # * 640s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 640s # * 640s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 640s # */ 640s # GDBusInterfaceInfo * 640s # org_project_other_iface_interface_info (void) 640s # { 640s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 640s # } 640s # 640s # /** 640s # * org_project_other_iface_override_properties: 640s # * @klass: The class structure for a #GObject derived class. 640s # * @property_id_begin: The property id to assign to the first overridden property. 640s # * 640s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 640s # * The properties are overridden in the order they are defined. 640s # * 640s # * Returns: The last property id. 640s # */ 640s # guint 640s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 640s # { 640s # return property_id_begin - 1; 640s # } 640s # 640s # 640s # inline static void 640s # org_project_other_iface_signal_marshal_simple_signal ( 640s # GClosure *closure, 640s # GValue *return_value, 640s # unsigned int n_param_values, 640s # const GValue *param_values, 640s # void *invocation_hint, 640s # void *marshal_data) 640s # { 640s # g_cclosure_marshal_VOID__VOID (closure, 640s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 640s # } 640s # 640s # 640s # /** 640s # * OrgProjectOtherIface: 640s # * 640s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 640s # */ 640s # 640s # /** 640s # * OrgProjectOtherIfaceIface: 640s # * @parent_iface: The parent interface. 640s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 640s # * 640s # * Virtual table for the D-Bus interface org.project.OtherIface. 640s # */ 640s # 640s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 640s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 640s # 640s # static void 640s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 640s # { 640s # /* GObject signals for received D-Bus signals: */ 640s # /** 640s # * OrgProjectOtherIface::simple-signal: 640s # * @object: A #OrgProjectOtherIface. 640s # * 640s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 640s # * 640s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 640s # */ 640s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 640s # g_signal_new ("simple-signal", 640s # G_TYPE_FROM_INTERFACE (iface), 640s # G_SIGNAL_RUN_LAST, 640s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 640s # NULL, 640s # NULL, 640s # org_project_other_iface_signal_marshal_simple_signal, 640s # G_TYPE_NONE, 640s # 0); 640s # 640s # } 640s # 640s # /** 640s # * org_project_other_iface_emit_simple_signal: 640s # * @object: A #OrgProjectOtherIface. 640s # * 640s # * Emits the "SimpleSignal" D-Bus signal. 640s # */ 640s # void 640s # org_project_other_iface_emit_simple_signal ( 640s # OrgProjectOtherIface *object) 640s # { 640s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 640s # } 640s # 640s # /* ------------------------------------------------------------------------ */ 640s # 640s # /** 640s # * OrgProjectOtherIfaceProxy: 640s # * 640s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 640s # */ 640s # 640s # /** 640s # * OrgProjectOtherIfaceProxyClass: 640s # * @parent_class: The parent class. 640s # * 640s # * Class structure for #OrgProjectOtherIfaceProxy. 640s # */ 640s # 640s # struct _OrgProjectOtherIfaceProxyPrivate 640s # { 640s # GData *qdata; 640s # }; 640s # 640s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 640s # 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 640s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 640s # 640s # #else 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 640s # 640s # #endif 640s # static void 640s # org_project_other_iface_proxy_finalize (GObject *object) 640s # { 640s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 640s # g_datalist_clear (&proxy->priv->qdata); 640s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 640s # } 640s # 640s # static void 640s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 640s # guint prop_id G_GNUC_UNUSED, 640s # GValue *value G_GNUC_UNUSED, 640s # GParamSpec *pspec G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # static void 640s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 640s # guint prop_id G_GNUC_UNUSED, 640s # const GValue *value G_GNUC_UNUSED, 640s # GParamSpec *pspec G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # static void 640s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 640s # const gchar *sender_name G_GNUC_UNUSED, 640s # const gchar *signal_name, 640s # GVariant *parameters) 640s # { 640s # _ExtendedGDBusSignalInfo *info; 640s # GVariantIter iter; 640s # GVariant *child; 640s # GValue *paramv; 640s # gsize num_params; 640s # gsize n; 640s # guint signal_id; 640s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 640s # if (info == NULL) 640s # return; 640s # num_params = g_variant_n_children (parameters); 640s # paramv = g_new0 (GValue, num_params + 1); 640s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 640s # g_value_set_object (¶mv[0], proxy); 640s # g_variant_iter_init (&iter, parameters); 640s # n = 1; 640s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 640s # { 640s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 640s # if (arg_info->use_gvariant) 640s # { 640s # g_value_init (¶mv[n], G_TYPE_VARIANT); 640s # g_value_set_variant (¶mv[n], child); 640s # n++; 640s # } 640s # else 640s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 640s # g_variant_unref (child); 640s # } 640s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 640s # g_signal_emitv (paramv, signal_id, 0, NULL); 640s # for (n = 0; n < num_params + 1; n++) 640s # g_value_unset (¶mv[n]); 640s # g_free (paramv); 640s # } 640s # 640s # static void 640s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 640s # GVariant *changed_properties, 640s # const gchar *const *invalidated_properties) 640s # { 640s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 640s # guint n; 640s # const gchar *key; 640s # GVariantIter *iter; 640s # _ExtendedGDBusPropertyInfo *info; 640s # g_variant_get (changed_properties, "a{sv}", &iter); 640s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 640s # { 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 640s # g_datalist_remove_data (&proxy->priv->qdata, key); 640s # if (info != NULL) 640s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 640s # } 640s # g_variant_iter_free (iter); 640s # for (n = 0; invalidated_properties[n] != NULL; n++) 640s # { 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 640s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 640s # if (info != NULL) 640s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 640s # } 640s # } 640s # 640s # static void 640s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 640s # { 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 640s # #else 640s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 640s # #endif 640s # 640s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 640s # } 640s # 640s # static void 640s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 640s # { 640s # GObjectClass *gobject_class; 640s # GDBusProxyClass *proxy_class; 640s # 640s # gobject_class = G_OBJECT_CLASS (klass); 640s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 640s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 640s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 640s # 640s # proxy_class = G_DBUS_PROXY_CLASS (klass); 640s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 640s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 640s # 640s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 640s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 640s # #endif 640s # } 640s # 640s # static void 640s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # /** 640s # * org_project_other_iface_proxy_new: 640s # * @connection: A #GDBusConnection. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 640s # * @user_data: User data to pass to @callback. 640s # * 640s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 640s # * 640s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 640s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 640s # * 640s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 640s # */ 640s # void 640s # org_project_other_iface_proxy_new ( 640s # GDBusConnection *connection, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GAsyncReadyCallback callback, 640s # gpointer user_data) 640s # { 640s # 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); 640s # } 640s # 640s # /** 640s # * org_project_other_iface_proxy_new_finish: 640s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 640s # * @error: Return location for error or %NULL 640s # * 640s # * Finishes an operation started with org_project_other_iface_proxy_new(). 640s # * 640s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectOtherIface * 640s # org_project_other_iface_proxy_new_finish ( 640s # GAsyncResult *res, 640s # GError **error) 640s # { 640s # GObject *ret; 640s # GObject *source_object; 640s # source_object = g_async_result_get_source_object (res); 640s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 640s # g_object_unref (source_object); 640s # if (ret != NULL) 640s # return ORG_PROJECT_OTHER_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # /** 640s # * org_project_other_iface_proxy_new_sync: 640s # * @connection: A #GDBusConnection. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @error: Return location for error or %NULL 640s # * 640s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 640s # * 640s # * The calling thread is blocked until a reply is received. 640s # * 640s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 640s # * 640s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectOtherIface * 640s # org_project_other_iface_proxy_new_sync ( 640s # GDBusConnection *connection, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GError **error) 640s # { 640s # GInitable *ret; 640s # 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); 640s # if (ret != NULL) 640s # return ORG_PROJECT_OTHER_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # 640s # /** 640s # * org_project_other_iface_proxy_new_for_bus: 640s # * @bus_type: A #GBusType. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: A bus name (well-known or unique). 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 640s # * @user_data: User data to pass to @callback. 640s # * 640s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 640s # * 640s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 640s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 640s # * 640s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 640s # */ 640s # void 640s # org_project_other_iface_proxy_new_for_bus ( 640s # GBusType bus_type, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GAsyncReadyCallback callback, 640s # gpointer user_data) 640s # { 640s # 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); 640s # } 640s # 640s # /** 640s # * org_project_other_iface_proxy_new_for_bus_finish: 640s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 640s # * @error: Return location for error or %NULL 640s # * 640s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 640s # * 640s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectOtherIface * 640s # org_project_other_iface_proxy_new_for_bus_finish ( 640s # GAsyncResult *res, 640s # GError **error) 640s # { 640s # GObject *ret; 640s # GObject *source_object; 640s # source_object = g_async_result_get_source_object (res); 640s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 640s # g_object_unref (source_object); 640s # if (ret != NULL) 640s # return ORG_PROJECT_OTHER_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # /** 640s # * org_project_other_iface_proxy_new_for_bus_sync: 640s # * @bus_type: A #GBusType. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: A bus name (well-known or unique). 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @error: Return location for error or %NULL 640s # * 640s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 640s # * 640s # * The calling thread is blocked until a reply is received. 640s # * 640s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 640s # * 640s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectOtherIface * 640s # org_project_other_iface_proxy_new_for_bus_sync ( 640s # GBusType bus_type, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GError **error) 640s # { 640s # GInitable *ret; 640s # 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); 640s # if (ret != NULL) 640s # return ORG_PROJECT_OTHER_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # 640s # /* ------------------------------------------------------------------------ */ 640s # 640s # /** 640s # * OrgProjectOtherIfaceSkeleton: 640s # * 640s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 640s # */ 640s # 640s # /** 640s # * OrgProjectOtherIfaceSkeletonClass: 640s # * @parent_class: The parent class. 640s # * 640s # * Class structure for #OrgProjectOtherIfaceSkeleton. 640s # */ 640s # 640s # struct _OrgProjectOtherIfaceSkeletonPrivate 640s # { 640s # GValue *properties; 640s # GList *changed_properties; 640s # GSource *changed_properties_idle_source; 640s # GMainContext *context; 640s # GMutex lock; 640s # }; 640s # 640s # static void 640s # _org_project_other_iface_skeleton_handle_method_call ( 640s # GDBusConnection *connection G_GNUC_UNUSED, 640s # const gchar *sender G_GNUC_UNUSED, 640s # const gchar *object_path G_GNUC_UNUSED, 640s # const gchar *interface_name, 640s # const gchar *method_name, 640s # GVariant *parameters, 640s # GDBusMethodInvocation *invocation, 640s # gpointer user_data) 640s # { 640s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 640s # _ExtendedGDBusMethodInfo *info; 640s # GVariantIter iter; 640s # GVariant *child; 640s # GValue *paramv; 640s # gsize num_params; 640s # guint num_extra; 640s # gsize n; 640s # guint signal_id; 640s # GValue return_value = G_VALUE_INIT; 640s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 640s # g_assert (info != NULL); 640s # num_params = g_variant_n_children (parameters); 640s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 640s # n = 0; 640s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 640s # g_value_set_object (¶mv[n++], skeleton); 640s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 640s # g_value_set_object (¶mv[n++], invocation); 640s # if (info->pass_fdlist) 640s # { 640s # #ifdef G_OS_UNIX 640s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 640s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 640s # #else 640s # g_assert_not_reached (); 640s # #endif 640s # } 640s # g_variant_iter_init (&iter, parameters); 640s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 640s # { 640s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 640s # if (arg_info->use_gvariant) 640s # { 640s # g_value_init (¶mv[n], G_TYPE_VARIANT); 640s # g_value_set_variant (¶mv[n], child); 640s # n++; 640s # } 640s # else 640s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 640s # g_variant_unref (child); 640s # } 640s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 640s # g_value_init (&return_value, G_TYPE_BOOLEAN); 640s # g_signal_emitv (paramv, signal_id, 0, &return_value); 640s # if (!g_value_get_boolean (&return_value)) 640s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 640s # g_value_unset (&return_value); 640s # for (n = 0; n < num_params + num_extra; n++) 640s # g_value_unset (¶mv[n]); 640s # g_free (paramv); 640s # } 640s # 640s # static GVariant * 640s # _org_project_other_iface_skeleton_handle_get_property ( 640s # GDBusConnection *connection G_GNUC_UNUSED, 640s # const gchar *sender G_GNUC_UNUSED, 640s # const gchar *object_path G_GNUC_UNUSED, 640s # const gchar *interface_name G_GNUC_UNUSED, 640s # const gchar *property_name, 640s # GError **error, 640s # gpointer user_data) 640s # { 640s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 640s # GValue value = G_VALUE_INIT; 640s # GParamSpec *pspec; 640s # _ExtendedGDBusPropertyInfo *info; 640s # GVariant *ret; 640s # ret = NULL; 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 640s # g_assert (info != NULL); 640s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 640s # if (pspec == NULL) 640s # { 640s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 640s # } 640s # else 640s # { 640s # g_value_init (&value, pspec->value_type); 640s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 640s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 640s # g_value_unset (&value); 640s # } 640s # return ret; 640s # } 640s # 640s # static gboolean 640s # _org_project_other_iface_skeleton_handle_set_property ( 640s # GDBusConnection *connection G_GNUC_UNUSED, 640s # const gchar *sender G_GNUC_UNUSED, 640s # const gchar *object_path G_GNUC_UNUSED, 640s # const gchar *interface_name G_GNUC_UNUSED, 640s # const gchar *property_name, 640s # GVariant *variant, 640s # GError **error, 640s # gpointer user_data) 640s # { 640s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 640s # GValue value = G_VALUE_INIT; 640s # GParamSpec *pspec; 640s # _ExtendedGDBusPropertyInfo *info; 640s # gboolean ret; 640s # ret = FALSE; 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 640s # g_assert (info != NULL); 640s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 640s # if (pspec == NULL) 640s # { 640s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 640s # } 640s # else 640s # { 640s # if (info->use_gvariant) 640s # g_value_set_variant (&value, variant); 640s # else 640s # g_dbus_gvariant_to_gvalue (variant, &value); 640s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 640s # g_value_unset (&value); 640s # ret = TRUE; 640s # } 640s # return ret; 640s # } 640s # 640s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 640s # { 640s # _org_project_other_iface_skeleton_handle_method_call, 640s # _org_project_other_iface_skeleton_handle_get_property, 640s # _org_project_other_iface_skeleton_handle_set_property, 640s # {NULL} 640s # }; 640s # 640s # static GDBusInterfaceInfo * 640s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 640s # { 640s # return org_project_other_iface_interface_info (); 640s # } 640s # 640s # static GDBusInterfaceVTable * 640s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 640s # { 640s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 640s # } 640s # 640s # static GVariant * 640s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 640s # { 640s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 640s # 640s # GVariantBuilder builder; 640s # guint n; 640s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 640s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 640s # goto out; 640s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 640s # { 640s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 640s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 640s # { 640s # GVariant *value; 640s # 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); 640s # if (value != NULL) 640s # { 640s # g_variant_take_ref (value); 640s # g_variant_builder_add (&builder, "{sv}", info->name, value); 640s # g_variant_unref (value); 640s # } 640s # } 640s # } 640s # out: 640s # return g_variant_builder_end (&builder); 640s # } 640s # 640s # static void 640s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # static void 640s # _org_project_other_iface_on_signal_simple_signal ( 640s # OrgProjectOtherIface *object) 640s # { 640s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 640s # 640s # GList *connections, *l; 640s # GVariant *signal_variant; 640s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 640s # 640s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 640s # for (l = connections; l != NULL; l = l->next) 640s # { 640s # GDBusConnection *connection = l->data; 640s # g_dbus_connection_emit_signal (connection, 640s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 640s # signal_variant, NULL); 640s # } 640s # g_variant_unref (signal_variant); 640s # g_list_free_full (connections, g_object_unref); 640s # } 640s # 640s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 640s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 640s # 640s # #else 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 640s # 640s # #endif 640s # static void 640s # org_project_other_iface_skeleton_finalize (GObject *object) 640s # { 640s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 640s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 640s # if (skeleton->priv->changed_properties_idle_source != NULL) 640s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 640s # g_main_context_unref (skeleton->priv->context); 640s # g_mutex_clear (&skeleton->priv->lock); 640s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 640s # } 640s # 640s # static void 640s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 640s # { 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 640s # #else 640s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 640s # #endif 640s # 640s # g_mutex_init (&skeleton->priv->lock); 640s # skeleton->priv->context = g_main_context_ref_thread_default (); 640s # } 640s # 640s # static void 640s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 640s # { 640s # GObjectClass *gobject_class; 640s # GDBusInterfaceSkeletonClass *skeleton_class; 640s # 640s # gobject_class = G_OBJECT_CLASS (klass); 640s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 640s # 640s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 640s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 640s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 640s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 640s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 640s # 640s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 640s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 640s # #endif 640s # } 640s # 640s # static void 640s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 640s # { 640s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 640s # } 640s # 640s # /** 640s # * org_project_other_iface_skeleton_new: 640s # * 640s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 640s # * 640s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 640s # */ 640s # OrgProjectOtherIface * 640s # org_project_other_iface_skeleton_new (void) 640s # { 640s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 640s # } 640s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 640s # tmpdir: /tmp/tmpbkhks1cu 640s # codegen: /usr/bin/gdbus-codegen 640s # /tmp/tmpbkhks1cu/tmp58xus04o.xml: 640s # 640s # 640s # 640s # 640s # 640s # 640s # 640s # 640s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbkhks1cu/tmp58xus04o.xml', '--output', '-', '--body'] 640s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 640s # Output: /* 640s # * This file is generated by gdbus-codegen, do not modify it. 640s # * 640s # * The license of this code is the same as for the D-Bus interface description 640s # * it was derived from. Note that it links to GLib, so must comply with the 640s # * LGPL linking clauses. 640s # */ 640s # 640s # #ifdef HAVE_CONFIG_H 640s # # include "config.h" 640s # #endif 640s # 640s # #include 640s # #ifdef G_OS_UNIX 640s # # include 640s # #endif 640s # 640s # #ifdef G_ENABLE_DEBUG 640s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 640s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 640s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 640s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 640s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 640s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 640s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 640s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 640s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 640s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 640s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 640s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 640s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 640s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 640s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 640s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 640s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 640s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 640s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 640s # #else /* !G_ENABLE_DEBUG */ 640s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 640s # * Do not access GValues directly in your code. Instead, use the 640s # * g_value_get_*() functions 640s # */ 640s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 640s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 640s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 640s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 640s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 640s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 640s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 640s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 640s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 640s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 640s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 640s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 640s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 640s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 640s # #endif /* !G_ENABLE_DEBUG */ 640s # 640s # typedef struct 640s # { 640s # GDBusArgInfo parent_struct; 640s # gboolean use_gvariant; 640s # } _ExtendedGDBusArgInfo; 640s # 640s # typedef struct 640s # { 640s # GDBusMethodInfo parent_struct; 640s # const gchar *signal_name; 640s # gboolean pass_fdlist; 640s # } _ExtendedGDBusMethodInfo; 640s # 640s # typedef struct 640s # { 640s # GDBusSignalInfo parent_struct; 640s # const gchar *signal_name; 640s # } _ExtendedGDBusSignalInfo; 640s # 640s # typedef struct 640s # { 640s # GDBusPropertyInfo parent_struct; 640s # const gchar *hyphen_name; 640s # guint use_gvariant : 1; 640s # guint emits_changed_signal : 1; 640s # } _ExtendedGDBusPropertyInfo; 640s # 640s # typedef struct 640s # { 640s # GDBusInterfaceInfo parent_struct; 640s # const gchar *hyphen_name; 640s # } _ExtendedGDBusInterfaceInfo; 640s # 640s # typedef struct 640s # { 640s # const _ExtendedGDBusPropertyInfo *info; 640s # guint prop_id; 640s # GValue orig_value; /* the value before the change */ 640s # } ChangedProperty; 640s # 640s # static void 640s # _changed_property_free (ChangedProperty *data) 640s # { 640s # g_value_unset (&data->orig_value); 640s # g_free (data); 640s # } 640s # 640s # static gboolean 640s # _g_strv_equal0 (gchar **a, gchar **b) 640s # { 640s # gboolean ret = FALSE; 640s # guint n; 640s # if (a == NULL && b == NULL) 640s # { 640s # ret = TRUE; 640s # goto out; 640s # } 640s # if (a == NULL || b == NULL) 640s # goto out; 640s # if (g_strv_length (a) != g_strv_length (b)) 640s # goto out; 640s # for (n = 0; a[n] != NULL; n++) 640s # if (g_strcmp0 (a[n], b[n]) != 0) 640s # goto out; 640s # ret = TRUE; 640s # out: 640s # return ret; 640s # } 640s # 640s # static gboolean 640s # _g_variant_equal0 (GVariant *a, GVariant *b) 640s # { 640s # gboolean ret = FALSE; 640s # if (a == NULL && b == NULL) 640s # { 640s # ret = TRUE; 640s # goto out; 640s # } 640s # if (a == NULL || b == NULL) 640s # goto out; 640s # ret = g_variant_equal (a, b); 640s # out: 640s # return ret; 640s # } 640s # 640s # G_GNUC_UNUSED static gboolean 640s # _g_value_equal (const GValue *a, const GValue *b) 640s # { 640s # gboolean ret = FALSE; 640s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 640s # switch (G_VALUE_TYPE (a)) 640s # { 640s # case G_TYPE_BOOLEAN: 640s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 640s # break; 640s # case G_TYPE_UCHAR: 640s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 640s # break; 640s # case G_TYPE_INT: 640s # ret = (g_value_get_int (a) == g_value_get_int (b)); 640s # break; 640s # case G_TYPE_UINT: 640s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 640s # break; 640s # case G_TYPE_INT64: 640s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 640s # break; 640s # case G_TYPE_UINT64: 640s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 640s # break; 640s # case G_TYPE_DOUBLE: 640s # { 640s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 640s # gdouble da = g_value_get_double (a); 640s # gdouble db = g_value_get_double (b); 640s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 640s # } 640s # break; 640s # case G_TYPE_STRING: 640s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 640s # break; 640s # case G_TYPE_VARIANT: 640s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 640s # break; 640s # default: 640s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 640s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 640s # else 640s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 640s # break; 640s # } 640s # return ret; 640s # } 640s # 640s # /* ------------------------------------------------------------------------ 640s # * Code for interface org.project.SignalingIface 640s # * ------------------------------------------------------------------------ 640s # */ 640s # 640s # /** 640s # * SECTION:OrgProjectSignalingIface 640s # * @title: OrgProjectSignalingIface 640s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 640s # * 640s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 640s # */ 640s # 640s # enum 640s # { 640s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 640s # }; 640s # 640s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 640s # 640s # /* ---- Introspection data for org.project.SignalingIface ---- */ 640s # 640s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 640s # { 640s # { 640s # -1, 640s # (gchar *) "SimpleSignal", 640s # NULL, 640s # NULL 640s # }, 640s # "simple-signal" 640s # }; 640s # 640s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 640s # { 640s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 640s # NULL 640s # }; 640s # 640s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 640s # { 640s # { 640s # -1, 640s # (gchar *) "org.project.SignalingIface", 640s # NULL, 640s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 640s # NULL, 640s # NULL 640s # }, 640s # "org-project-signaling-iface", 640s # }; 640s # 640s # 640s # /** 640s # * org_project_signaling_iface_interface_info: 640s # * 640s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 640s # * 640s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 640s # */ 640s # GDBusInterfaceInfo * 640s # org_project_signaling_iface_interface_info (void) 640s # { 640s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_override_properties: 640s # * @klass: The class structure for a #GObject derived class. 640s # * @property_id_begin: The property id to assign to the first overridden property. 640s # * 640s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 640s # * The properties are overridden in the order they are defined. 640s # * 640s # * Returns: The last property id. 640s # */ 640s # guint 640s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 640s # { 640s # return property_id_begin - 1; 640s # } 640s # 640s # 640s # inline static void 640s # org_project_signaling_iface_signal_marshal_simple_signal ( 640s # GClosure *closure, 640s # GValue *return_value, 640s # unsigned int n_param_values, 640s # const GValue *param_values, 640s # void *invocation_hint, 640s # void *marshal_data) 640s # { 640s # g_cclosure_marshal_VOID__VOID (closure, 640s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 640s # } 640s # 640s # 640s # /** 640s # * OrgProjectSignalingIface: 640s # * 640s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 640s # */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceIface: 640s # * @parent_iface: The parent interface. 640s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 640s # * 640s # * Virtual table for the D-Bus interface org.project.SignalingIface. 640s # */ 640s # 640s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 640s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 640s # 640s # static void 640s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 640s # { 640s # /* GObject signals for received D-Bus signals: */ 640s # /** 640s # * OrgProjectSignalingIface::simple-signal: 640s # * @object: A #OrgProjectSignalingIface. 640s # * 640s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 640s # * 640s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 640s # */ 640s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 640s # g_signal_new ("simple-signal", 640s # G_TYPE_FROM_INTERFACE (iface), 640s # G_SIGNAL_RUN_LAST, 640s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 640s # NULL, 640s # NULL, 640s # org_project_signaling_iface_signal_marshal_simple_signal, 640s # G_TYPE_NONE, 640s # 0); 640s # 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_emit_simple_signal: 640s # * @object: A #OrgProjectSignalingIface. 640s # * 640s # * Emits the "SimpleSignal" D-Bus signal. 640s # */ 640s # void 640s # org_project_signaling_iface_emit_simple_signal ( 640s # OrgProjectSignalingIface *object) 640s # { 640s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 640s # } 640s # 640s # /* ------------------------------------------------------------------------ */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceProxy: 640s # * 640s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 640s # */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceProxyClass: 640s # * @parent_class: The parent class. 640s # * 640s # * Class structure for #OrgProjectSignalingIfaceProxy. 640s # */ 640s # 640s # struct _OrgProjectSignalingIfaceProxyPrivate 640s # { 640s # GData *qdata; 640s # }; 640s # 640s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 640s # 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 640s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 640s # 640s # #else 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 640s # 640s # #endif 640s # static void 640s # org_project_signaling_iface_proxy_finalize (GObject *object) 640s # { 640s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 640s # g_datalist_clear (&proxy->priv->qdata); 640s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 640s # guint prop_id G_GNUC_UNUSED, 640s # GValue *value G_GNUC_UNUSED, 640s # GParamSpec *pspec G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 640s # guint prop_id G_GNUC_UNUSED, 640s # const GValue *value G_GNUC_UNUSED, 640s # GParamSpec *pspec G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 640s # const gchar *sender_name G_GNUC_UNUSED, 640s # const gchar *signal_name, 640s # GVariant *parameters) 640s # { 640s # _ExtendedGDBusSignalInfo *info; 640s # GVariantIter iter; 640s # GVariant *child; 640s # GValue *paramv; 640s # gsize num_params; 640s # gsize n; 640s # guint signal_id; 640s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 640s # if (info == NULL) 640s # return; 640s # num_params = g_variant_n_children (parameters); 640s # paramv = g_new0 (GValue, num_params + 1); 640s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 640s # g_value_set_object (¶mv[0], proxy); 640s # g_variant_iter_init (&iter, parameters); 640s # n = 1; 640s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 640s # { 640s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 640s # if (arg_info->use_gvariant) 640s # { 640s # g_value_init (¶mv[n], G_TYPE_VARIANT); 640s # g_value_set_variant (¶mv[n], child); 640s # n++; 640s # } 640s # else 640s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 640s # g_variant_unref (child); 640s # } 640s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 640s # g_signal_emitv (paramv, signal_id, 0, NULL); 640s # for (n = 0; n < num_params + 1; n++) 640s # g_value_unset (¶mv[n]); 640s # g_free (paramv); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 640s # GVariant *changed_properties, 640s # const gchar *const *invalidated_properties) 640s # { 640s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 640s # guint n; 640s # const gchar *key; 640s # GVariantIter *iter; 640s # _ExtendedGDBusPropertyInfo *info; 640s # g_variant_get (changed_properties, "a{sv}", &iter); 640s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 640s # { 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 640s # g_datalist_remove_data (&proxy->priv->qdata, key); 640s # if (info != NULL) 640s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 640s # } 640s # g_variant_iter_free (iter); 640s # for (n = 0; invalidated_properties[n] != NULL; n++) 640s # { 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 640s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 640s # if (info != NULL) 640s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 640s # } 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 640s # { 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 640s # #else 640s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 640s # #endif 640s # 640s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 640s # { 640s # GObjectClass *gobject_class; 640s # GDBusProxyClass *proxy_class; 640s # 640s # gobject_class = G_OBJECT_CLASS (klass); 640s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 640s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 640s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 640s # 640s # proxy_class = G_DBUS_PROXY_CLASS (klass); 640s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 640s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 640s # 640s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 640s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 640s # #endif 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new: 640s # * @connection: A #GDBusConnection. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 640s # * @user_data: User data to pass to @callback. 640s # * 640s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 640s # * 640s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 640s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 640s # * 640s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 640s # */ 640s # void 640s # org_project_signaling_iface_proxy_new ( 640s # GDBusConnection *connection, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GAsyncReadyCallback callback, 640s # gpointer user_data) 640s # { 640s # 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); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_finish: 640s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 640s # * @error: Return location for error or %NULL 640s # * 640s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_proxy_new_finish ( 640s # GAsyncResult *res, 640s # GError **error) 640s # { 640s # GObject *ret; 640s # GObject *source_object; 640s # source_object = g_async_result_get_source_object (res); 640s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 640s # g_object_unref (source_object); 640s # if (ret != NULL) 640s # return ORG_PROJECT_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_sync: 640s # * @connection: A #GDBusConnection. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @error: Return location for error or %NULL 640s # * 640s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 640s # * 640s # * The calling thread is blocked until a reply is received. 640s # * 640s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_proxy_new_sync ( 640s # GDBusConnection *connection, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GError **error) 640s # { 640s # GInitable *ret; 640s # 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); 640s # if (ret != NULL) 640s # return ORG_PROJECT_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_for_bus: 640s # * @bus_type: A #GBusType. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: A bus name (well-known or unique). 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 640s # * @user_data: User data to pass to @callback. 640s # * 640s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 640s # * 640s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 640s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 640s # * 640s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 640s # */ 640s # void 640s # org_project_signaling_iface_proxy_new_for_bus ( 640s # GBusType bus_type, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GAsyncReadyCallback callback, 640s # gpointer user_data) 640s # { 640s # 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); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_for_bus_finish: 640s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 640s # * @error: Return location for error or %NULL 640s # * 640s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_proxy_new_for_bus_finish ( 640s # GAsyncResult *res, 640s # GError **error) 640s # { 640s # GObject *ret; 640s # GObject *source_object; 640s # source_object = g_async_result_get_source_object (res); 640s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 640s # g_object_unref (source_object); 640s # if (ret != NULL) 640s # return ORG_PROJECT_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_for_bus_sync: 640s # * @bus_type: A #GBusType. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: A bus name (well-known or unique). 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @error: Return location for error or %NULL 640s # * 640s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 640s # * 640s # * The calling thread is blocked until a reply is received. 640s # * 640s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_proxy_new_for_bus_sync ( 640s # GBusType bus_type, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GError **error) 640s # { 640s # GInitable *ret; 640s # 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); 640s # if (ret != NULL) 640s # return ORG_PROJECT_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # 640s # /* ------------------------------------------------------------------------ */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceSkeleton: 640s # * 640s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 640s # */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceSkeletonClass: 640s # * @parent_class: The parent class. 640s # * 640s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 640s # */ 640s # 640s # struct _OrgProjectSignalingIfaceSkeletonPrivate 640s # { 640s # GValue *properties; 640s # GList *changed_properties; 640s # GSource *changed_properties_idle_source; 640s # GMainContext *context; 640s # GMutex lock; 640s # }; 640s # 640s # static void 640s # _org_project_signaling_iface_skeleton_handle_method_call ( 640s # GDBusConnection *connection G_GNUC_UNUSED, 640s # const gchar *sender G_GNUC_UNUSED, 640s # const gchar *object_path G_GNUC_UNUSED, 640s # const gchar *interface_name, 640s # const gchar *method_name, 640s # GVariant *parameters, 640s # GDBusMethodInvocation *invocation, 640s # gpointer user_data) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 640s # _ExtendedGDBusMethodInfo *info; 640s # GVariantIter iter; 640s # GVariant *child; 640s # GValue *paramv; 640s # gsize num_params; 640s # guint num_extra; 640s # gsize n; 640s # guint signal_id; 640s # GValue return_value = G_VALUE_INIT; 640s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 640s # g_assert (info != NULL); 640s # num_params = g_variant_n_children (parameters); 640s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 640s # n = 0; 640s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 640s # g_value_set_object (¶mv[n++], skeleton); 640s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 640s # g_value_set_object (¶mv[n++], invocation); 640s # if (info->pass_fdlist) 640s # { 640s # #ifdef G_OS_UNIX 640s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 640s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 640s # #else 640s # g_assert_not_reached (); 640s # #endif 640s # } 640s # g_variant_iter_init (&iter, parameters); 640s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 640s # { 640s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 640s # if (arg_info->use_gvariant) 640s # { 640s # g_value_init (¶mv[n], G_TYPE_VARIANT); 640s # g_value_set_variant (¶mv[n], child); 640s # n++; 640s # } 640s # else 640s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 640s # g_variant_unref (child); 640s # } 640s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 640s # g_value_init (&return_value, G_TYPE_BOOLEAN); 640s # g_signal_emitv (paramv, signal_id, 0, &return_value); 640s # if (!g_value_get_boolean (&return_value)) 640s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 640s # g_value_unset (&return_value); 640s # for (n = 0; n < num_params + num_extra; n++) 640s # g_value_unset (¶mv[n]); 640s # g_free (paramv); 640s # } 640s # 640s # static GVariant * 640s # _org_project_signaling_iface_skeleton_handle_get_property ( 640s # GDBusConnection *connection G_GNUC_UNUSED, 640s # const gchar *sender G_GNUC_UNUSED, 640s # const gchar *object_path G_GNUC_UNUSED, 640s # const gchar *interface_name G_GNUC_UNUSED, 640s # const gchar *property_name, 640s # GError **error, 640s # gpointer user_data) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 640s # GValue value = G_VALUE_INIT; 640s # GParamSpec *pspec; 640s # _ExtendedGDBusPropertyInfo *info; 640s # GVariant *ret; 640s # ret = NULL; 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 640s # g_assert (info != NULL); 640s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 640s # if (pspec == NULL) 640s # { 640s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 640s # } 640s # else 640s # { 640s # g_value_init (&value, pspec->value_type); 640s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 640s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 640s # g_value_unset (&value); 640s # } 640s # return ret; 640s # } 640s # 640s # static gboolean 640s # _org_project_signaling_iface_skeleton_handle_set_property ( 640s # GDBusConnection *connection G_GNUC_UNUSED, 640s # const gchar *sender G_GNUC_UNUSED, 640s # const gchar *object_path G_GNUC_UNUSED, 640s # const gchar *interface_name G_GNUC_UNUSED, 640s # const gchar *property_name, 640s # GVariant *variant, 640s # GError **error, 640s # gpointer user_data) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 640s # GValue value = G_VALUE_INIT; 640s # GParamSpec *pspec; 640s # _ExtendedGDBusPropertyInfo *info; 640s # gboolean ret; 640s # ret = FALSE; 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 640s # g_assert (info != NULL); 640s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 640s # if (pspec == NULL) 640s # { 640s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 640s # } 640s # else 640s # { 640s # if (info->use_gvariant) 640s # g_value_set_variant (&value, variant); 640s # else 640s # g_dbus_gvariant_to_gvalue (variant, &value); 640s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 640s # g_value_unset (&value); 640s # ret = TRUE; 640s # } 640s # return ret; 640s # } 640s # 640s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 640s # { 640s # _org_project_signaling_iface_skeleton_handle_method_call, 640s # _org_project_signaling_iface_skeleton_handle_get_property, 640s # _org_project_signaling_iface_skeleton_handle_set_property, 640s # {NULL} 640s # }; 640s # 640s # static GDBusInterfaceInfo * 640s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 640s # { 640s # return org_project_signaling_iface_interface_info (); 640s # } 640s # 640s # static GDBusInterfaceVTable * 640s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 640s # { 640s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 640s # } 640s # 640s # static GVariant * 640s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 640s # 640s # GVariantBuilder builder; 640s # guint n; 640s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 640s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 640s # goto out; 640s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 640s # { 640s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 640s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 640s # { 640s # GVariant *value; 640s # 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); 640s # if (value != NULL) 640s # { 640s # g_variant_take_ref (value); 640s # g_variant_builder_add (&builder, "{sv}", info->name, value); 640s # g_variant_unref (value); 640s # } 640s # } 640s # } 640s # out: 640s # return g_variant_builder_end (&builder); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # static void 640s # _org_project_signaling_iface_on_signal_simple_signal ( 640s # OrgProjectSignalingIface *object) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # 640s # GList *connections, *l; 640s # GVariant *signal_variant; 640s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 640s # 640s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 640s # for (l = connections; l != NULL; l = l->next) 640s # { 640s # GDBusConnection *connection = l->data; 640s # g_dbus_connection_emit_signal (connection, 640s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 640s # signal_variant, NULL); 640s # } 640s # g_variant_unref (signal_variant); 640s # g_list_free_full (connections, g_object_unref); 640s # } 640s # 640s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 640s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 640s # 640s # #else 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 640s # 640s # #endif 640s # static void 640s # org_project_signaling_iface_skeleton_finalize (GObject *object) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 640s # if (skeleton->priv->changed_properties_idle_source != NULL) 640s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 640s # g_main_context_unref (skeleton->priv->context); 640s # g_mutex_clear (&skeleton->priv->lock); 640s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 640s # { 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 640s # #else 640s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 640s # #endif 640s # 640s # g_mutex_init (&skeleton->priv->lock); 640s # skeleton->priv->context = g_main_context_ref_thread_default (); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 640s # { 640s # GObjectClass *gobject_class; 640s # GDBusInterfaceSkeletonClass *skeleton_class; 640s # 640s # gobject_class = G_OBJECT_CLASS (klass); 640s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 640s # 640s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 640s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 640s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 640s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 640s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 640s # 640s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 640s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 640s # #endif 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 640s # { 640s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_skeleton_new: 640s # * 640s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_skeleton_new (void) 640s # { 640s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 640s # } 640s # 640s # /* ------------------------------------------------------------------------ 640s # * Code for interface org.project.OtherSignalingIface 640s # * ------------------------------------------------------------------------ 640s # */ 640s # 640s # /** 640s # * SECTION:OrgProjectOtherSignalingIface 640s # * @title: OrgProjectOtherSignalingIface 640s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 640s # * 640s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 640s # */ 640s # 640s # enum 640s # { 640s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 640s # }; 640s # 640s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 640s # 640s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 640s # 640s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 640s # { 640s # { 640s # -1, 640s # (gchar *) "SimpleSignal", 640s # NULL, 640s # NULL 640s # }, 640s # "simple-signal" 640s # }; 640s # 640s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 640s # { 640s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 640s # NULL 640s # }; 640s # 640s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 640s # { 640s # { 640s # -1, 640s # (gchar *) "org.project.OtherSignalingIface", 640s # NULL, 640s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 640s # NULL, 640s # NULL 640s # }, 640s # "org-project-other-signaling-iface", 640s # }; 640s # 640s # 640s # /** 640s # * org_project_other_signaling_iface_interface_info: 640s # * 640s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 640s # * 640s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 640s # */ 640s # GDBusInterfaceInfo * 640s # org_project_other_signaling_iface_interface_info (void) 640s # { 640s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 640s # } 640s # 640s # /** 640s # * org_project_other_signaling_iface_override_properties: 640s # * @klass: The class structure for a #GObject derived class. 640s # * @property_id_begin: The property id to assign to the first overridden property. 640s # * 640s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 640s # * The properties are overridden in the order they are defined. 640s # * 640s # * Returns: The last property id. 640s # */ 640s # guint 640s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 640s # { 640s # return property_id_begin - 1; 640s # } 640s # 640s # 640s # inline static void 640s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 640s # GClosure *closure, 640s # GValue *return_value, 640s # unsigned int n_param_values, 640s # const GValue *param_values, 640s # void *invocation_hint, 640s # void *marshal_data) 640s # { 640s # g_cclosure_marshal_VOID__VOID (closure, 640s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 640s # } 640s # 640s # 640s # /** 640s # * OrgProjectOtherSignalingIface: 640s # * 640s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 640s # */ 640s # 640s # /** 640s # * OrgProjectOtherSignalingIfaceIface: 640s # * @parent_iface: The parent interface. 640s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 640s # * 640s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 640s # */ 640s # 640s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 640s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 640s # 640s # static void 640s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 640s # { 640s # /* GObject signals for received D-Bus signals: */ 640s # /** 640s # * OrgProjectOtherSignalingIface::simple-signal: 640s # * @object: A #OrgProjectOtherSignalingIface. 640s # * 640s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 640s # * 640s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 640s # */ 640s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 640s # g_signal_new ("simple-signal", 640s # G_TYPE_FROM_INTERFACE (iface), 640s # G_SIGNAL_RUN_LAST, 640s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 640s # NULL, 640s # NULL, 640s # org_project_other_signaling_iface_signal_marshal_simple_signal, 640s # G_TYPE_NONE, 640s # 0); 640s # 640s # } 640s # 640s # /** 640s # * org_project_other_signaling_iface_emit_simple_signal: 640s # * @object: A #OrgProjectOtherSignalingIface. 640s # * 640s # * Emits the "SimpleSignal" D-Bus signal. 640s # */ 640s # void 640s # org_project_other_signaling_iface_emit_simple_signal ( 640s # OrgProjectOtherSignalingIface *object) 640s # { 640s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 640s # } 640s # 640s # /* ------------------------------------------------------------------------ */ 640s # 640s # /** 640s # * OrgProjectOtherSignalingIfaceProxy: 640s # * 640s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 640s # */ 640s # 640s # /** 640s # * OrgProjectOtherSignalingIfaceProxyClass: 640s # * @parent_class: The parent class. 640s # * 640s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 640s # */ 640s # 640s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 640s # { 640s # GData *qdata; 640s # }; 640s # 640s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 640s # 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 640s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 640s # 640s # #else 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 640s # 640s # #endif 640s # static void 640s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 640s # { 640s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 640s # g_datalist_clear (&proxy->priv->qdata); 640s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 640s # } 640s # 640s # static void 640s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 640s # guint prop_id G_GNUC_UNUSED, 640s # GValue *value G_GNUC_UNUSED, 640s # GParamSpec *pspec G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # static void 640s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 640s # guint prop_id G_GNUC_UNUSED, 640s # const GValue *value G_GNUC_UNUSED, 640s # GParamSpec *pspec G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # static void 640s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 640s # const gchar *sender_name G_GNUC_UNUSED, 640s # const gchar *signal_name, 640s # GVariant *parameters) 640s # { 640s # _ExtendedGDBusSignalInfo *info; 640s # GVariantIter iter; 640s # GVariant *child; 640s # GValue *paramv; 640s # gsize num_params; 640s # gsize n; 640s # guint signal_id; 640s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 640s # if (info == NULL) 640s # return; 640s # num_params = g_variant_n_children (parameters); 640s # paramv = g_new0 (GValue, num_params + 1); 640s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 640s # g_value_set_object (¶mv[0], proxy); 640s # g_variant_iter_init (&iter, parameters); 640s # n = 1; 640s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 640s # { 640s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 640s # if (arg_info->use_gvariant) 640s # { 640s # g_value_init (¶mv[n], G_TYPE_VARIANT); 640s # g_value_set_variant (¶mv[n], child); 640s # n++; 640s # } 640s # else 640s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 640s # g_variant_unref (child); 640s # } 640s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 640s # g_signal_emitv (paramv, signal_id, 0, NULL); 640s # for (n = 0; n < num_params + 1; n++) 640s # g_value_unset (¶mv[n]); 640s # g_free (paramv); 640s # } 640s # 640s # static void 640s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 640s # GVariant *changed_properties, 640s # const gchar *const *invalidated_properties) 640s # { 640s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 640s # guint n; 640s # const gchar *key; 640s # GVariantIter *iter; 640s # _ExtendedGDBusPropertyInfo *info; 640s # g_variant_get (changed_properties, "a{sv}", &iter); 640s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 640s # { 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 640s # g_datalist_remove_data (&proxy->priv->qdata, key); 640s # if (info != NULL) 640s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 640s # } 640s # g_variant_iter_free (iter); 640s # for (n = 0; invalidated_properties[n] != NULL; n++) 640s # { 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 640s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 640s # if (info != NULL) 640s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 640s # } 640s # } 640s # 640s # static void 640s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 640s # { 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 640s # #else 640s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 640s # #endif 640s # 640s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 640s # } 640s # 640s # static void 640s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 640s # { 640s # GObjectClass *gobject_class; 640s # GDBusProxyClass *proxy_class; 640s # 640s # gobject_class = G_OBJECT_CLASS (klass); 640s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 640s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 640s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 640s # 640s # proxy_class = G_DBUS_PROXY_CLASS (klass); 640s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 640s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 640s # 640s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 640s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 640s # #endif 640s # } 640s # 640s # static void 640s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # /** 640s # * org_project_other_signaling_iface_proxy_new: 640s # * @connection: A #GDBusConnection. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 640s # * @user_data: User data to pass to @callback. 640s # * 640s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 640s # * 640s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 640s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 640s # * 640s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 640s # */ 640s # void 640s # org_project_other_signaling_iface_proxy_new ( 640s # GDBusConnection *connection, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GAsyncReadyCallback callback, 640s # gpointer user_data) 640s # { 640s # 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); 640s # } 640s # 640s # /** 640s # * org_project_other_signaling_iface_proxy_new_finish: 640s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 640s # * @error: Return location for error or %NULL 640s # * 640s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 640s # * 640s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectOtherSignalingIface * 640s # org_project_other_signaling_iface_proxy_new_finish ( 640s # GAsyncResult *res, 640s # GError **error) 640s # { 640s # GObject *ret; 640s # GObject *source_object; 640s # source_object = g_async_result_get_source_object (res); 640s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 640s # g_object_unref (source_object); 640s # if (ret != NULL) 640s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # /** 640s # * org_project_other_signaling_iface_proxy_new_sync: 640s # * @connection: A #GDBusConnection. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @error: Return location for error or %NULL 640s # * 640s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 640s # * 640s # * The calling thread is blocked until a reply is received. 640s # * 640s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 640s # * 640s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectOtherSignalingIface * 640s # org_project_other_signaling_iface_proxy_new_sync ( 640s # GDBusConnection *connection, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GError **error) 640s # { 640s # GInitable *ret; 640s # 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); 640s # if (ret != NULL) 640s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # 640s # /** 640s # * org_project_other_signaling_iface_proxy_new_for_bus: 640s # * @bus_type: A #GBusType. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: A bus name (well-known or unique). 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 640s # * @user_data: User data to pass to @callback. 640s # * 640s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 640s # * 640s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 640s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 640s # * 640s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 640s # */ 640s # void 640s # org_project_other_signaling_iface_proxy_new_for_bus ( 640s # GBusType bus_type, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GAsyncReadyCallback callback, 640s # gpointer user_data) 640s # { 640s # 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); 640s # } 640s # 640s # /** 640s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 640s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 640s # * @error: Return location for error or %NULL 640s # * 640s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 640s # * 640s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectOtherSignalingIface * 640s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 640s # GAsyncResult *res, 640s # GError **error) 640s # { 640s # GObject *ret; 640s # GObject *source_object; 640s # source_object = g_async_result_get_source_object (res); 640s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 640s # g_object_unref (source_object); 640s # if (ret != NULL) 640s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # /** 640s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 640s # * @bus_type: A #GBusType. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: A bus name (well-known or unique). 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @error: Return location for error or %NULL 640s # * 640s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 640s # * 640s # * The calling thread is blocked until a reply is received. 640s # * 640s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 640s # * 640s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectOtherSignalingIface * 640s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 640s # GBusType bus_type, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GError **error) 640s # { 640s # GInitable *ret; 640s # 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); 640s # if (ret != NULL) 640s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # 640s # /* ------------------------------------------------------------------------ */ 640s # 640s # /** 640s # * OrgProjectOtherSignalingIfaceSkeleton: 640s # * 640s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 640s # */ 640s # 640s # /** 640s # * OrgProjectOtherSignalingIfaceSkeletonClass: 640s # * @parent_class: The parent class. 640s # * 640s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 640s # */ 640s # 640s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 640s # { 640s # GValue *properties; 640s # GList *changed_properties; 640s # GSource *changed_properties_idle_source; 640s # GMainContext *context; 640s # GMutex lock; 640s # }; 640s # 640s # static void 640s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 640s # GDBusConnection *connection G_GNUC_UNUSED, 640s # const gchar *sender G_GNUC_UNUSED, 640s # const gchar *object_path G_GNUC_UNUSED, 640s # const gchar *interface_name, 640s # const gchar *method_name, 640s # GVariant *parameters, 640s # GDBusMethodInvocation *invocation, 640s # gpointer user_data) 640s # { 640s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 640s # _ExtendedGDBusMethodInfo *info; 640s # GVariantIter iter; 640s # GVariant *child; 640s # GValue *paramv; 640s # gsize num_params; 640s # guint num_extra; 640s # gsize n; 640s # guint signal_id; 640s # GValue return_value = G_VALUE_INIT; 640s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 640s # g_assert (info != NULL); 640s # num_params = g_variant_n_children (parameters); 640s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 640s # n = 0; 640s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 640s # g_value_set_object (¶mv[n++], skeleton); 640s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 640s # g_value_set_object (¶mv[n++], invocation); 640s # if (info->pass_fdlist) 640s # { 640s # #ifdef G_OS_UNIX 640s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 640s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 640s # #else 640s # g_assert_not_reached (); 640s # #endif 640s # } 640s # g_variant_iter_init (&iter, parameters); 640s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 640s # { 640s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 640s # if (arg_info->use_gvariant) 640s # { 640s # g_value_init (¶mv[n], G_TYPE_VARIANT); 640s # g_value_set_variant (¶mv[n], child); 640s # n++; 640s # } 640s # else 640s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 640s # g_variant_unref (child); 640s # } 640s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 640s # g_value_init (&return_value, G_TYPE_BOOLEAN); 640s # g_signal_emitv (paramv, signal_id, 0, &return_value); 640s # if (!g_value_get_boolean (&return_value)) 640s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 640s # g_value_unset (&return_value); 640s # for (n = 0; n < num_params + num_extra; n++) 640s # g_value_unset (¶mv[n]); 640s # g_free (paramv); 640s # } 640s # 640s # static GVariant * 640s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 640s # GDBusConnection *connection G_GNUC_UNUSED, 640s # const gchar *sender G_GNUC_UNUSED, 640s # const gchar *object_path G_GNUC_UNUSED, 640s # const gchar *interface_name G_GNUC_UNUSED, 640s # const gchar *property_name, 640s # GError **error, 640s # gpointer user_data) 640s # { 640s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 640s # GValue value = G_VALUE_INIT; 640s # GParamSpec *pspec; 640s # _ExtendedGDBusPropertyInfo *info; 640s # GVariant *ret; 640s # ret = NULL; 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 640s # g_assert (info != NULL); 640s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 640s # if (pspec == NULL) 640s # { 640s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 640s # } 640s # else 640s # { 640s # g_value_init (&value, pspec->value_type); 640s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 640s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 640s # g_value_unset (&value); 640s # } 640s # return ret; 640s # } 640s # 640s # static gboolean 640s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 640s # GDBusConnection *connection G_GNUC_UNUSED, 640s # const gchar *sender G_GNUC_UNUSED, 640s # const gchar *object_path G_GNUC_UNUSED, 640s # const gchar *interface_name G_GNUC_UNUSED, 640s # const gchar *property_name, 640s # GVariant *variant, 640s # GError **error, 640s # gpointer user_data) 640s # { 640s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 640s # GValue value = G_VALUE_INIT; 640s # GParamSpec *pspec; 640s # _ExtendedGDBusPropertyInfo *info; 640s # gboolean ret; 640s # ret = FALSE; 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 640s # g_assert (info != NULL); 640s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 640s # if (pspec == NULL) 640s # { 640s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 640s # } 640s # else 640s # { 640s # if (info->use_gvariant) 640s # g_value_set_variant (&value, variant); 640s # else 640s # g_dbus_gvariant_to_gvalue (variant, &value); 640s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 640s # g_value_unset (&value); 640s # ret = TRUE; 640s # } 640s # return ret; 640s # } 640s # 640s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 640s # { 640s # _org_project_other_signaling_iface_skeleton_handle_method_call, 640s # _org_project_other_signaling_iface_skeleton_handle_get_property, 640s # _org_project_other_signaling_iface_skeleton_handle_set_property, 640s # {NULL} 640s # }; 640s # 640s # static GDBusInterfaceInfo * 640s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 640s # { 640s # return org_project_other_signaling_iface_interface_info (); 640s # } 640s # 640s # static GDBusInterfaceVTable * 640s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 640s # { 640s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 640s # } 640s # 640s # static GVariant * 640s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 640s # { 640s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 640s # 640s # GVariantBuilder builder; 640s # guint n; 640s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 640s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 640s # goto out; 640s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 640s # { 640s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 640s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 640s # { 640s # GVariant *value; 640s # 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); 640s # if (value != NULL) 640s # { 640s # g_variant_take_ref (value); 640s # g_variant_builder_add (&builder, "{sv}", info->name, value); 640s # g_variant_unref (value); 640s # } 640s # } 640s # } 640s # out: 640s # return g_variant_builder_end (&builder); 640s # } 640s # 640s # static void 640s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # static void 640s # _org_project_other_signaling_iface_on_signal_simple_signal ( 640s # OrgProjectOtherSignalingIface *object) 640s # { 640s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 640s # 640s # GList *connections, *l; 640s # GVariant *signal_variant; 640s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 640s # 640s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 640s # for (l = connections; l != NULL; l = l->next) 640s # { 640s # GDBusConnection *connection = l->data; 640s # g_dbus_connection_emit_signal (connection, 640s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 640s # signal_variant, NULL); 640s # } 640s # g_variant_unref (signal_variant); 640s # g_list_free_full (connections, g_object_unref); 640s # } 640s # 640s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 640s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 640s # 640s # #else 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 640s # 640s # #endif 640s # static void 640s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 640s # { 640s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 640s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 640s # if (skeleton->priv->changed_properties_idle_source != NULL) 640s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 640s # g_main_context_unref (skeleton->priv->context); 640s # g_mutex_clear (&skeleton->priv->lock); 640s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 640s # } 640s # 640s # static void 640s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 640s # { 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 640s # #else 640s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 640s # #endif 640s # 640s # g_mutex_init (&skeleton->priv->lock); 640s # skeleton->priv->context = g_main_context_ref_thread_default (); 640s # } 640s # 640s # static void 640s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 640s # { 640s # GObjectClass *gobject_class; 640s # GDBusInterfaceSkeletonClass *skeleton_class; 640s # 640s # gobject_class = G_OBJECT_CLASS (klass); 640s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 640s # 640s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 640s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 640s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 640s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 640s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 640s # 640s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 640s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 640s # #endif 640s # } 640s # 640s # static void 640s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 640s # { 640s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 640s # } 640s # 640s # /** 640s # * org_project_other_signaling_iface_skeleton_new: 640s # * 640s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 640s # * 640s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 640s # */ 640s # OrgProjectOtherSignalingIface * 640s # org_project_other_signaling_iface_skeleton_new (void) 640s # { 640s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 640s # } 640s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 640s # tmpdir: /tmp/tmpjj2jdxte 640s # codegen: /usr/bin/gdbus-codegen 640s # /tmp/tmpjj2jdxte/tmpf_81rb27.xml: 640s # 640s # 640s # 640s # 640s # 640s # 640s # 640s # 640s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjj2jdxte/tmpf_81rb27.xml', '--output', '-', '--body'] 640s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 640s # Output: /* 640s # * This file is generated by gdbus-codegen, do not modify it. 640s # * 640s # * The license of this code is the same as for the D-Bus interface description 640s # * it was derived from. Note that it links to GLib, so must comply with the 640s # * LGPL linking clauses. 640s # */ 640s # 640s # #ifdef HAVE_CONFIG_H 640s # # include "config.h" 640s # #endif 640s # 640s # #include 640s # #ifdef G_OS_UNIX 640s # # include 640s # #endif 640s # 640s # #ifdef G_ENABLE_DEBUG 640s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 640s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 640s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 640s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 640s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 640s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 640s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 640s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 640s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 640s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 640s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 640s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 640s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 640s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 640s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 640s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 640s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 640s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 640s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 640s # #else /* !G_ENABLE_DEBUG */ 640s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 640s # * Do not access GValues directly in your code. Instead, use the 640s # * g_value_get_*() functions 640s # */ 640s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 640s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 640s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 640s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 640s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 640s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 640s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 640s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 640s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 640s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 640s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 640s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 640s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 640s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 640s # #endif /* !G_ENABLE_DEBUG */ 640s # 640s # typedef struct 640s # { 640s # GDBusArgInfo parent_struct; 640s # gboolean use_gvariant; 640s # } _ExtendedGDBusArgInfo; 640s # 640s # typedef struct 640s # { 640s # GDBusMethodInfo parent_struct; 640s # const gchar *signal_name; 640s # gboolean pass_fdlist; 640s # } _ExtendedGDBusMethodInfo; 640s # 640s # typedef struct 640s # { 640s # GDBusSignalInfo parent_struct; 640s # const gchar *signal_name; 640s # } _ExtendedGDBusSignalInfo; 640s # 640s # typedef struct 640s # { 640s # GDBusPropertyInfo parent_struct; 640s # const gchar *hyphen_name; 640s # guint use_gvariant : 1; 640s # guint emits_changed_signal : 1; 640s # } _ExtendedGDBusPropertyInfo; 640s # 640s # typedef struct 640s # { 640s # GDBusInterfaceInfo parent_struct; 640s # const gchar *hyphen_name; 640s # } _ExtendedGDBusInterfaceInfo; 640s # 640s # typedef struct 640s # { 640s # const _ExtendedGDBusPropertyInfo *info; 640s # guint prop_id; 640s # GValue orig_value; /* the value before the change */ 640s # } ChangedProperty; 640s # 640s # static void 640s # _changed_property_free (ChangedProperty *data) 640s # { 640s # g_value_unset (&data->orig_value); 640s # g_free (data); 640s # } 640s # 640s # static gboolean 640s # _g_strv_equal0 (gchar **a, gchar **b) 640s # { 640s # gboolean ret = FALSE; 640s # guint n; 640s # if (a == NULL && b == NULL) 640s # { 640s # ret = TRUE; 640s # goto out; 640s # } 640s # if (a == NULL || b == NULL) 640s # goto out; 640s # if (g_strv_length (a) != g_strv_length (b)) 640s # goto out; 640s # for (n = 0; a[n] != NULL; n++) 640s # if (g_strcmp0 (a[n], b[n]) != 0) 640s # goto out; 640s # ret = TRUE; 640s # out: 640s # return ret; 640s # } 640s # 640s # static gboolean 640s # _g_variant_equal0 (GVariant *a, GVariant *b) 640s # { 640s # gboolean ret = FALSE; 640s # if (a == NULL && b == NULL) 640s # { 640s # ret = TRUE; 640s # goto out; 640s # } 640s # if (a == NULL || b == NULL) 640s # goto out; 640s # ret = g_variant_equal (a, b); 640s # out: 640s # return ret; 640s # } 640s # 640s # G_GNUC_UNUSED static gboolean 640s # _g_value_equal (const GValue *a, const GValue *b) 640s # { 640s # gboolean ret = FALSE; 640s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 640s # switch (G_VALUE_TYPE (a)) 640s # { 640s # case G_TYPE_BOOLEAN: 640s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 640s # break; 640s # case G_TYPE_UCHAR: 640s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 640s # break; 640s # case G_TYPE_INT: 640s # ret = (g_value_get_int (a) == g_value_get_int (b)); 640s # break; 640s # case G_TYPE_UINT: 640s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 640s # break; 640s # case G_TYPE_INT64: 640s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 640s # break; 640s # case G_TYPE_UINT64: 640s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 640s # break; 640s # case G_TYPE_DOUBLE: 640s # { 640s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 640s # gdouble da = g_value_get_double (a); 640s # gdouble db = g_value_get_double (b); 640s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 640s # } 640s # break; 640s # case G_TYPE_STRING: 640s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 640s # break; 640s # case G_TYPE_VARIANT: 640s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 640s # break; 640s # default: 640s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 640s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 640s # else 640s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 640s # break; 640s # } 640s # return ret; 640s # } 640s # 640s # /* ------------------------------------------------------------------------ 640s # * Code for interface org.project.SignalingIface 640s # * ------------------------------------------------------------------------ 640s # */ 640s # 640s # /** 640s # * SECTION:OrgProjectSignalingIface 640s # * @title: OrgProjectSignalingIface 640s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 640s # * 640s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 640s # */ 640s # 640s # enum 640s # { 640s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 640s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 640s # }; 640s # 640s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 640s # 640s # /* ---- Introspection data for org.project.SignalingIface ---- */ 640s # 640s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 640s # { 640s # { 640s # -1, 640s # (gchar *) "SimpleSignal", 640s # NULL, 640s # NULL 640s # }, 640s # "simple-signal" 640s # }; 640s # 640s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 640s # { 640s # { 640s # -1, 640s # (gchar *) "arg_b", 640s # (gchar *) "b", 640s # NULL 640s # }, 640s # FALSE 640s # }; 640s # 640s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 640s # { 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 640s # NULL 640s # }; 640s # 640s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 640s # { 640s # { 640s # -1, 640s # (gchar *) "SingleArgSignalB", 640s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 640s # NULL 640s # }, 640s # "single-arg-signal-b" 640s # }; 640s # 640s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 640s # { 640s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 640s # NULL 640s # }; 640s # 640s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 640s # { 640s # { 640s # -1, 640s # (gchar *) "org.project.SignalingIface", 640s # NULL, 640s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 640s # NULL, 640s # NULL 640s # }, 640s # "org-project-signaling-iface", 640s # }; 640s # 640s # 640s # /** 640s # * org_project_signaling_iface_interface_info: 640s # * 640s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 640s # * 640s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 640s # */ 640s # GDBusInterfaceInfo * 640s # org_project_signaling_iface_interface_info (void) 640s # { 640s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_override_properties: 640s # * @klass: The class structure for a #GObject derived class. 640s # * @property_id_begin: The property id to assign to the first overridden property. 640s # * 640s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 640s # * The properties are overridden in the order they are defined. 640s # * 640s # * Returns: The last property id. 640s # */ 640s # guint 640s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 640s # { 640s # return property_id_begin - 1; 640s # } 640s # 640s # 640s # inline static void 640s # org_project_signaling_iface_signal_marshal_simple_signal ( 640s # GClosure *closure, 640s # GValue *return_value, 640s # unsigned int n_param_values, 640s # const GValue *param_values, 640s # void *invocation_hint, 640s # void *marshal_data) 640s # { 640s # g_cclosure_marshal_VOID__VOID (closure, 640s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 640s # } 640s # 640s # inline static void 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 640s # GClosure *closure, 640s # GValue *return_value, 640s # unsigned int n_param_values, 640s # const GValue *param_values, 640s # void *invocation_hint, 640s # void *marshal_data) 640s # { 640s # g_cclosure_marshal_VOID__BOOLEAN (closure, 640s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 640s # } 640s # 640s # 640s # /** 640s # * OrgProjectSignalingIface: 640s # * 640s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 640s # */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceIface: 640s # * @parent_iface: The parent interface. 640s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 640s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 640s # * 640s # * Virtual table for the D-Bus interface org.project.SignalingIface. 640s # */ 640s # 640s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 640s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 640s # 640s # static void 640s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 640s # { 640s # /* GObject signals for received D-Bus signals: */ 640s # /** 640s # * OrgProjectSignalingIface::simple-signal: 640s # * @object: A #OrgProjectSignalingIface. 640s # * 640s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 640s # * 640s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 640s # */ 640s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 640s # g_signal_new ("simple-signal", 640s # G_TYPE_FROM_INTERFACE (iface), 640s # G_SIGNAL_RUN_LAST, 640s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 640s # NULL, 640s # NULL, 640s # org_project_signaling_iface_signal_marshal_simple_signal, 640s # G_TYPE_NONE, 640s # 0); 640s # 640s # /** 640s # * OrgProjectSignalingIface::single-arg-signal-b: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_arg_b: Argument. 640s # * 640s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 640s # * 640s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 640s # */ 640s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 640s # g_signal_new ("single-arg-signal-b", 640s # G_TYPE_FROM_INTERFACE (iface), 640s # G_SIGNAL_RUN_LAST, 640s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 640s # NULL, 640s # NULL, 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 640s # G_TYPE_NONE, 640s # 1, G_TYPE_BOOLEAN); 640s # 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_emit_simple_signal: 640s # * @object: A #OrgProjectSignalingIface. 640s # * 640s # * Emits the "SimpleSignal" D-Bus signal. 640s # */ 640s # void 640s # org_project_signaling_iface_emit_simple_signal ( 640s # OrgProjectSignalingIface *object) 640s # { 640s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_emit_single_arg_signal_b: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_arg_b: Argument to pass with the signal. 640s # * 640s # * Emits the "SingleArgSignalB" D-Bus signal. 640s # */ 640s # void 640s # org_project_signaling_iface_emit_single_arg_signal_b ( 640s # OrgProjectSignalingIface *object, 640s # gboolean arg_arg_b) 640s # { 640s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 640s # } 640s # 640s # /* ------------------------------------------------------------------------ */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceProxy: 640s # * 640s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 640s # */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceProxyClass: 640s # * @parent_class: The parent class. 640s # * 640s # * Class structure for #OrgProjectSignalingIfaceProxy. 640s # */ 640s # 640s # struct _OrgProjectSignalingIfaceProxyPrivate 640s # { 640s # GData *qdata; 640s # }; 640s # 640s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 640s # 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 640s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 640s # 640s # #else 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 640s # 640s # #endif 640s # static void 640s # org_project_signaling_iface_proxy_finalize (GObject *object) 640s # { 640s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 640s # g_datalist_clear (&proxy->priv->qdata); 640s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 640s # guint prop_id G_GNUC_UNUSED, 640s # GValue *value G_GNUC_UNUSED, 640s # GParamSpec *pspec G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 640s # guint prop_id G_GNUC_UNUSED, 640s # const GValue *value G_GNUC_UNUSED, 640s # GParamSpec *pspec G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 640s # const gchar *sender_name G_GNUC_UNUSED, 640s # const gchar *signal_name, 640s # GVariant *parameters) 640s # { 640s # _ExtendedGDBusSignalInfo *info; 640s # GVariantIter iter; 640s # GVariant *child; 640s # GValue *paramv; 640s # gsize num_params; 640s # gsize n; 640s # guint signal_id; 640s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 640s # if (info == NULL) 640s # return; 640s # num_params = g_variant_n_children (parameters); 640s # paramv = g_new0 (GValue, num_params + 1); 640s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 640s # g_value_set_object (¶mv[0], proxy); 640s # g_variant_iter_init (&iter, parameters); 640s # n = 1; 640s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 640s # { 640s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 640s # if (arg_info->use_gvariant) 640s # { 640s # g_value_init (¶mv[n], G_TYPE_VARIANT); 640s # g_value_set_variant (¶mv[n], child); 640s # n++; 640s # } 640s # else 640s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 640s # g_variant_unref (child); 640s # } 640s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 640s # g_signal_emitv (paramv, signal_id, 0, NULL); 640s # for (n = 0; n < num_params + 1; n++) 640s # g_value_unset (¶mv[n]); 640s # g_free (paramv); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 640s # GVariant *changed_properties, 640s # const gchar *const *invalidated_properties) 640s # { 640s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 640s # guint n; 640s # const gchar *key; 640s # GVariantIter *iter; 640s # _ExtendedGDBusPropertyInfo *info; 640s # g_variant_get (changed_properties, "a{sv}", &iter); 640s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 640s # { 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 640s # g_datalist_remove_data (&proxy->priv->qdata, key); 640s # if (info != NULL) 640s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 640s # } 640s # g_variant_iter_free (iter); 640s # for (n = 0; invalidated_properties[n] != NULL; n++) 640s # { 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 640s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 640s # if (info != NULL) 640s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 640s # } 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 640s # { 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 640s # #else 640s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 640s # #endif 640s # 640s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 640s # { 640s # GObjectClass *gobject_class; 640s # GDBusProxyClass *proxy_class; 640s # 640s # gobject_class = G_OBJECT_CLASS (klass); 640s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 640s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 640s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 640s # 640s # proxy_class = G_DBUS_PROXY_CLASS (klass); 640s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 640s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 640s # 640s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 640s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 640s # #endif 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new: 640s # * @connection: A #GDBusConnection. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 640s # * @user_data: User data to pass to @callback. 640s # * 640s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 640s # * 640s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 640s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 640s # * 640s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 640s # */ 640s # void 640s # org_project_signaling_iface_proxy_new ( 640s # GDBusConnection *connection, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GAsyncReadyCallback callback, 640s # gpointer user_data) 640s # { 640s # 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); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_finish: 640s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 640s # * @error: Return location for error or %NULL 640s # * 640s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_proxy_new_finish ( 640s # GAsyncResult *res, 640s # GError **error) 640s # { 640s # GObject *ret; 640s # GObject *source_object; 640s # source_object = g_async_result_get_source_object (res); 640s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 640s # g_object_unref (source_object); 640s # if (ret != NULL) 640s # return ORG_PROJECT_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_sync: 640s # * @connection: A #GDBusConnection. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @error: Return location for error or %NULL 640s # * 640s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 640s # * 640s # * The calling thread is blocked until a reply is received. 640s # * 640s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_proxy_new_sync ( 640s # GDBusConnection *connection, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GError **error) 640s # { 640s # GInitable *ret; 640s # 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); 640s # if (ret != NULL) 640s # return ORG_PROJECT_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_for_bus: 640s # * @bus_type: A #GBusType. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: A bus name (well-known or unique). 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 640s # * @user_data: User data to pass to @callback. 640s # * 640s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 640s # * 640s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 640s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 640s # * 640s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 640s # */ 640s # void 640s # org_project_signaling_iface_proxy_new_for_bus ( 640s # GBusType bus_type, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GAsyncReadyCallback callback, 640s # gpointer user_data) 640s # { 640s # 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); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_for_bus_finish: 640s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 640s # * @error: Return location for error or %NULL 640s # * 640s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_proxy_new_for_bus_finish ( 640s # GAsyncResult *res, 640s # GError **error) 640s # { 640s # GObject *ret; 640s # GObject *source_object; 640s # source_object = g_async_result_get_source_object (res); 640s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 640s # g_object_unref (source_object); 640s # if (ret != NULL) 640s # return ORG_PROJECT_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_for_bus_sync: 640s # * @bus_type: A #GBusType. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: A bus name (well-known or unique). 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @error: Return location for error or %NULL 640s # * 640s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 640s # * 640s # * The calling thread is blocked until a reply is received. 640s # * 640s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_proxy_new_for_bus_sync ( 640s # GBusType bus_type, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GError **error) 640s # { 640s # GInitable *ret; 640s # 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); 640s # if (ret != NULL) 640s # return ORG_PROJECT_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # 640s # /* ------------------------------------------------------------------------ */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceSkeleton: 640s # * 640s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 640s # */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceSkeletonClass: 640s # * @parent_class: The parent class. 640s # * 640s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 640s # */ 640s # 640s # struct _OrgProjectSignalingIfaceSkeletonPrivate 640s # { 640s # GValue *properties; 640s # GList *changed_properties; 640s # GSource *changed_properties_idle_source; 640s # GMainContext *context; 640s # GMutex lock; 640s # }; 640s # 640s # static void 640s # _org_project_signaling_iface_skeleton_handle_method_call ( 640s # GDBusConnection *connection G_GNUC_UNUSED, 640s # const gchar *sender G_GNUC_UNUSED, 640s # const gchar *object_path G_GNUC_UNUSED, 640s # const gchar *interface_name, 640s # const gchar *method_name, 640s # GVariant *parameters, 640s # GDBusMethodInvocation *invocation, 640s # gpointer user_data) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 640s # _ExtendedGDBusMethodInfo *info; 640s # GVariantIter iter; 640s # GVariant *child; 640s # GValue *paramv; 640s # gsize num_params; 640s # guint num_extra; 640s # gsize n; 640s # guint signal_id; 640s # GValue return_value = G_VALUE_INIT; 640s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 640s # g_assert (info != NULL); 640s # num_params = g_variant_n_children (parameters); 640s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 640s # n = 0; 640s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 640s # g_value_set_object (¶mv[n++], skeleton); 640s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 640s # g_value_set_object (¶mv[n++], invocation); 640s # if (info->pass_fdlist) 640s # { 640s # #ifdef G_OS_UNIX 640s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 640s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 640s # #else 640s # g_assert_not_reached (); 640s # #endif 640s # } 640s # g_variant_iter_init (&iter, parameters); 640s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 640s # { 640s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 640s # if (arg_info->use_gvariant) 640s # { 640s # g_value_init (¶mv[n], G_TYPE_VARIANT); 640s # g_value_set_variant (¶mv[n], child); 640s # n++; 640s # } 640s # else 640s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 640s # g_variant_unref (child); 640s # } 640s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 640s # g_value_init (&return_value, G_TYPE_BOOLEAN); 640s # g_signal_emitv (paramv, signal_id, 0, &return_value); 640s # if (!g_value_get_boolean (&return_value)) 640s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 640s # g_value_unset (&return_value); 640s # for (n = 0; n < num_params + num_extra; n++) 640s # g_value_unset (¶mv[n]); 640s # g_free (paramv); 640s # } 640s # 640s # static GVariant * 640s # _org_project_signaling_iface_skeleton_handle_get_property ( 640s # GDBusConnection *connection G_GNUC_UNUSED, 640s # const gchar *sender G_GNUC_UNUSED, 640s # const gchar *object_path G_GNUC_UNUSED, 640s # const gchar *interface_name G_GNUC_UNUSED, 640s # const gchar *property_name, 640s # GError **error, 640s # gpointer user_data) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 640s # GValue value = G_VALUE_INIT; 640s # GParamSpec *pspec; 640s # _ExtendedGDBusPropertyInfo *info; 640s # GVariant *ret; 640s # ret = NULL; 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 640s # g_assert (info != NULL); 640s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 640s # if (pspec == NULL) 640s # { 640s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 640s # } 640s # else 640s # { 640s # g_value_init (&value, pspec->value_type); 640s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 640s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 640s # g_value_unset (&value); 640s # } 640s # return ret; 640s # } 640s # 640s # static gboolean 640s # _org_project_signaling_iface_skeleton_handle_set_property ( 640s # GDBusConnection *connection G_GNUC_UNUSED, 640s # const gchar *sender G_GNUC_UNUSED, 640s # const gchar *object_path G_GNUC_UNUSED, 640s # const gchar *interface_name G_GNUC_UNUSED, 640s # const gchar *property_name, 640s # GVariant *variant, 640s # GError **error, 640s # gpointer user_data) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 640s # GValue value = G_VALUE_INIT; 640s # GParamSpec *pspec; 640s # _ExtendedGDBusPropertyInfo *info; 640s # gboolean ret; 640s # ret = FALSE; 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 640s # g_assert (info != NULL); 640s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 640s # if (pspec == NULL) 640s # { 640s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 640s # } 640s # else 640s # { 640s # if (info->use_gvariant) 640s # g_value_set_variant (&value, variant); 640s # else 640s # g_dbus_gvariant_to_gvalue (variant, &value); 640s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 640s # g_value_unset (&value); 640s # ret = TRUE; 640s # } 640s # return ret; 640s # } 640s # 640s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 640s # { 640s # _org_project_signaling_iface_skeleton_handle_method_call, 640s # _org_project_signaling_iface_skeleton_handle_get_property, 640s # _org_project_signaling_iface_skeleton_handle_set_property, 640s # {NULL} 640s # }; 640s # 640s # static GDBusInterfaceInfo * 640s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 640s # { 640s # return org_project_signaling_iface_interface_info (); 640s # } 640s # 640s # static GDBusInterfaceVTable * 640s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 640s # { 640s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 640s # } 640s # 640s # static GVariant * 640s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 640s # 640s # GVariantBuilder builder; 640s # guint n; 640s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 640s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 640s # goto out; 640s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 640s # { 640s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 640s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 640s # { 640s # GVariant *value; 640s # 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); 640s # if (value != NULL) 640s # { 640s # g_variant_take_ref (value); 640s # g_variant_builder_add (&builder, "{sv}", info->name, value); 640s # g_variant_unref (value); 640s # } 640s # } 640s # } 640s # out: 640s # return g_variant_builder_end (&builder); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # static void 640s # _org_project_signaling_iface_on_signal_simple_signal ( 640s # OrgProjectSignalingIface *object) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # 640s # GList *connections, *l; 640s # GVariant *signal_variant; 640s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 640s # 640s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 640s # for (l = connections; l != NULL; l = l->next) 640s # { 640s # GDBusConnection *connection = l->data; 640s # g_dbus_connection_emit_signal (connection, 640s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 640s # signal_variant, NULL); 640s # } 640s # g_variant_unref (signal_variant); 640s # g_list_free_full (connections, g_object_unref); 640s # } 640s # 640s # static void 640s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 640s # OrgProjectSignalingIface *object, 640s # gboolean arg_arg_b) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # 640s # GList *connections, *l; 640s # GVariant *signal_variant; 640s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 640s # 640s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 640s # arg_arg_b)); 640s # for (l = connections; l != NULL; l = l->next) 640s # { 640s # GDBusConnection *connection = l->data; 640s # g_dbus_connection_emit_signal (connection, 640s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 640s # signal_variant, NULL); 640s # } 640s # g_variant_unref (signal_variant); 640s # g_list_free_full (connections, g_object_unref); 640s # } 640s # 640s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 640s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 640s # 640s # #else 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 640s # 640s # #endif 640s # static void 640s # org_project_signaling_iface_skeleton_finalize (GObject *object) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 640s # if (skeleton->priv->changed_properties_idle_source != NULL) 640s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 640s # g_main_context_unref (skeleton->priv->context); 640s # g_mutex_clear (&skeleton->priv->lock); 640s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 640s # { 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 640s # #else 640s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 640s # #endif 640s # 640s # g_mutex_init (&skeleton->priv->lock); 640s # skeleton->priv->context = g_main_context_ref_thread_default (); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 640s # { 640s # GObjectClass *gobject_class; 640s # GDBusInterfaceSkeletonClass *skeleton_class; 640s # 640s # gobject_class = G_OBJECT_CLASS (klass); 640s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 640s # 640s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 640s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 640s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 640s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 640s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 640s # 640s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 640s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 640s # #endif 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 640s # { 640s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 640s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_skeleton_new: 640s # * 640s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_skeleton_new (void) 640s # { 640s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 640s # } 640s # /tmp/tmpjj2jdxte/tmpixt7cva_.xml: 640s # 640s # 640s # 640s # 640s # 640s # 640s # 640s # 640s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjj2jdxte/tmpixt7cva_.xml', '--output', '-', '--body'] 640s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 640s # Output: /* 640s # * This file is generated by gdbus-codegen, do not modify it. 640s # * 640s # * The license of this code is the same as for the D-Bus interface description 640s # * it was derived from. Note that it links to GLib, so must comply with the 640s # * LGPL linking clauses. 640s # */ 640s # 640s # #ifdef HAVE_CONFIG_H 640s # # include "config.h" 640s # #endif 640s # 640s # #include 640s # #ifdef G_OS_UNIX 640s # # include 640s # #endif 640s # 640s # #ifdef G_ENABLE_DEBUG 640s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 640s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 640s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 640s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 640s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 640s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 640s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 640s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 640s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 640s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 640s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 640s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 640s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 640s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 640s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 640s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 640s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 640s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 640s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 640s # #else /* !G_ENABLE_DEBUG */ 640s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 640s # * Do not access GValues directly in your code. Instead, use the 640s # * g_value_get_*() functions 640s # */ 640s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 640s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 640s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 640s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 640s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 640s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 640s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 640s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 640s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 640s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 640s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 640s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 640s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 640s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 640s # #endif /* !G_ENABLE_DEBUG */ 640s # 640s # typedef struct 640s # { 640s # GDBusArgInfo parent_struct; 640s # gboolean use_gvariant; 640s # } _ExtendedGDBusArgInfo; 640s # 640s # typedef struct 640s # { 640s # GDBusMethodInfo parent_struct; 640s # const gchar *signal_name; 640s # gboolean pass_fdlist; 640s # } _ExtendedGDBusMethodInfo; 640s # 640s # typedef struct 640s # { 640s # GDBusSignalInfo parent_struct; 640s # const gchar *signal_name; 640s # } _ExtendedGDBusSignalInfo; 640s # 640s # typedef struct 640s # { 640s # GDBusPropertyInfo parent_struct; 640s # const gchar *hyphen_name; 640s # guint use_gvariant : 1; 640s # guint emits_changed_signal : 1; 640s # } _ExtendedGDBusPropertyInfo; 640s # 640s # typedef struct 640s # { 640s # GDBusInterfaceInfo parent_struct; 640s # const gchar *hyphen_name; 640s # } _ExtendedGDBusInterfaceInfo; 640s # 640s # typedef struct 640s # { 640s # const _ExtendedGDBusPropertyInfo *info; 640s # guint prop_id; 640s # GValue orig_value; /* the value before the change */ 640s # } ChangedProperty; 640s # 640s # static void 640s # _changed_property_free (ChangedProperty *data) 640s # { 640s # g_value_unset (&data->orig_value); 640s # g_free (data); 640s # } 640s # 640s # static gboolean 640s # _g_strv_equal0 (gchar **a, gchar **b) 640s # { 640s # gboolean ret = FALSE; 640s # guint n; 640s # if (a == NULL && b == NULL) 640s # { 640s # ret = TRUE; 640s # goto out; 640s # } 640s # if (a == NULL || b == NULL) 640s # goto out; 640s # if (g_strv_length (a) != g_strv_length (b)) 640s # goto out; 640s # for (n = 0; a[n] != NULL; n++) 640s # if (g_strcmp0 (a[n], b[n]) != 0) 640s # goto out; 640s # ret = TRUE; 640s # out: 640s # return ret; 640s # } 640s # 640s # static gboolean 640s # _g_variant_equal0 (GVariant *a, GVariant *b) 640s # { 640s # gboolean ret = FALSE; 640s # if (a == NULL && b == NULL) 640s # { 640s # ret = TRUE; 640s # goto out; 640s # } 640s # if (a == NULL || b == NULL) 640s # goto out; 640s # ret = g_variant_equal (a, b); 640s # out: 640s # return ret; 640s # } 640s # 640s # G_GNUC_UNUSED static gboolean 640s # _g_value_equal (const GValue *a, const GValue *b) 640s # { 640s # gboolean ret = FALSE; 640s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 640s # switch (G_VALUE_TYPE (a)) 640s # { 640s # case G_TYPE_BOOLEAN: 640s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 640s # break; 640s # case G_TYPE_UCHAR: 640s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 640s # break; 640s # case G_TYPE_INT: 640s # ret = (g_value_get_int (a) == g_value_get_int (b)); 640s # break; 640s # case G_TYPE_UINT: 640s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 640s # break; 640s # case G_TYPE_INT64: 640s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 640s # break; 640s # case G_TYPE_UINT64: 640s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 640s # break; 640s # case G_TYPE_DOUBLE: 640s # { 640s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 640s # gdouble da = g_value_get_double (a); 640s # gdouble db = g_value_get_double (b); 640s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 640s # } 640s # break; 640s # case G_TYPE_STRING: 640s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 640s # break; 640s # case G_TYPE_VARIANT: 640s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 640s # break; 640s # default: 640s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 640s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 640s # else 640s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 640s # break; 640s # } 640s # return ret; 640s # } 640s # 640s # /* ------------------------------------------------------------------------ 640s # * Code for interface org.project.SignalingIface 640s # * ------------------------------------------------------------------------ 640s # */ 640s # 640s # /** 640s # * SECTION:OrgProjectSignalingIface 640s # * @title: OrgProjectSignalingIface 640s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 640s # * 640s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 640s # */ 640s # 640s # enum 640s # { 640s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 640s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 640s # }; 640s # 640s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 640s # 640s # /* ---- Introspection data for org.project.SignalingIface ---- */ 640s # 640s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 640s # { 640s # { 640s # -1, 640s # (gchar *) "SimpleSignal", 640s # NULL, 640s # NULL 640s # }, 640s # "simple-signal" 640s # }; 640s # 640s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 640s # { 640s # { 640s # -1, 640s # (gchar *) "arg_y", 640s # (gchar *) "y", 640s # NULL 640s # }, 640s # FALSE 640s # }; 640s # 640s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 640s # { 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 640s # NULL 640s # }; 640s # 640s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 640s # { 640s # { 640s # -1, 640s # (gchar *) "SingleArgSignalY", 640s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 640s # NULL 640s # }, 640s # "single-arg-signal-y" 640s # }; 640s # 640s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 640s # { 640s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 640s # NULL 640s # }; 640s # 640s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 640s # { 640s # { 640s # -1, 640s # (gchar *) "org.project.SignalingIface", 640s # NULL, 640s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 640s # NULL, 640s # NULL 640s # }, 640s # "org-project-signaling-iface", 640s # }; 640s # 640s # 640s # /** 640s # * org_project_signaling_iface_interface_info: 640s # * 640s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 640s # * 640s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 640s # */ 640s # GDBusInterfaceInfo * 640s # org_project_signaling_iface_interface_info (void) 640s # { 640s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_override_properties: 640s # * @klass: The class structure for a #GObject derived class. 640s # * @property_id_begin: The property id to assign to the first overridden property. 640s # * 640s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 640s # * The properties are overridden in the order they are defined. 640s # * 640s # * Returns: The last property id. 640s # */ 640s # guint 640s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 640s # { 640s # return property_id_begin - 1; 640s # } 640s # 640s # 640s # inline static void 640s # org_project_signaling_iface_signal_marshal_simple_signal ( 640s # GClosure *closure, 640s # GValue *return_value, 640s # unsigned int n_param_values, 640s # const GValue *param_values, 640s # void *invocation_hint, 640s # void *marshal_data) 640s # { 640s # g_cclosure_marshal_VOID__VOID (closure, 640s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 640s # } 640s # 640s # inline static void 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 640s # GClosure *closure, 640s # GValue *return_value, 640s # unsigned int n_param_values, 640s # const GValue *param_values, 640s # void *invocation_hint, 640s # void *marshal_data) 640s # { 640s # g_cclosure_marshal_VOID__UCHAR (closure, 640s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 640s # } 640s # 640s # 640s # /** 640s # * OrgProjectSignalingIface: 640s # * 640s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 640s # */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceIface: 640s # * @parent_iface: The parent interface. 640s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 640s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 640s # * 640s # * Virtual table for the D-Bus interface org.project.SignalingIface. 640s # */ 640s # 640s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 640s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 640s # 640s # static void 640s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 640s # { 640s # /* GObject signals for received D-Bus signals: */ 640s # /** 640s # * OrgProjectSignalingIface::simple-signal: 640s # * @object: A #OrgProjectSignalingIface. 640s # * 640s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 640s # * 640s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 640s # */ 640s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 640s # g_signal_new ("simple-signal", 640s # G_TYPE_FROM_INTERFACE (iface), 640s # G_SIGNAL_RUN_LAST, 640s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 640s # NULL, 640s # NULL, 640s # org_project_signaling_iface_signal_marshal_simple_signal, 640s # G_TYPE_NONE, 640s # 0); 640s # 640s # /** 640s # * OrgProjectSignalingIface::single-arg-signal-y: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_arg_y: Argument. 640s # * 640s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 640s # * 640s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 640s # */ 640s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 640s # g_signal_new ("single-arg-signal-y", 640s # G_TYPE_FROM_INTERFACE (iface), 640s # G_SIGNAL_RUN_LAST, 640s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 640s # NULL, 640s # NULL, 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 640s # G_TYPE_NONE, 640s # 1, G_TYPE_UCHAR); 640s # 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_emit_simple_signal: 640s # * @object: A #OrgProjectSignalingIface. 640s # * 640s # * Emits the "SimpleSignal" D-Bus signal. 640s # */ 640s # void 640s # org_project_signaling_iface_emit_simple_signal ( 640s # OrgProjectSignalingIface *object) 640s # { 640s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_emit_single_arg_signal_y: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_arg_y: Argument to pass with the signal. 640s # * 640s # * Emits the "SingleArgSignalY" D-Bus signal. 640s # */ 640s # void 640s # org_project_signaling_iface_emit_single_arg_signal_y ( 640s # OrgProjectSignalingIface *object, 640s # guchar arg_arg_y) 640s # { 640s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 640s # } 640s # 640s # /* ------------------------------------------------------------------------ */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceProxy: 640s # * 640s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 640s # */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceProxyClass: 640s # * @parent_class: The parent class. 640s # * 640s # * Class structure for #OrgProjectSignalingIfaceProxy. 640s # */ 640s # 640s # struct _OrgProjectSignalingIfaceProxyPrivate 640s # { 640s # GData *qdata; 640s # }; 640s # 640s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 640s # 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 640s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 640s # 640s # #else 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 640s # 640s # #endif 640s # static void 640s # org_project_signaling_iface_proxy_finalize (GObject *object) 640s # { 640s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 640s # g_datalist_clear (&proxy->priv->qdata); 640s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 640s # guint prop_id G_GNUC_UNUSED, 640s # GValue *value G_GNUC_UNUSED, 640s # GParamSpec *pspec G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 640s # guint prop_id G_GNUC_UNUSED, 640s # const GValue *value G_GNUC_UNUSED, 640s # GParamSpec *pspec G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 640s # const gchar *sender_name G_GNUC_UNUSED, 640s # const gchar *signal_name, 640s # GVariant *parameters) 640s # { 640s # _ExtendedGDBusSignalInfo *info; 640s # GVariantIter iter; 640s # GVariant *child; 640s # GValue *paramv; 640s # gsize num_params; 640s # gsize n; 640s # guint signal_id; 640s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 640s # if (info == NULL) 640s # return; 640s # num_params = g_variant_n_children (parameters); 640s # paramv = g_new0 (GValue, num_params + 1); 640s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 640s # g_value_set_object (¶mv[0], proxy); 640s # g_variant_iter_init (&iter, parameters); 640s # n = 1; 640s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 640s # { 640s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 640s # if (arg_info->use_gvariant) 640s # { 640s # g_value_init (¶mv[n], G_TYPE_VARIANT); 640s # g_value_set_variant (¶mv[n], child); 640s # n++; 640s # } 640s # else 640s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 640s # g_variant_unref (child); 640s # } 640s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 640s # g_signal_emitv (paramv, signal_id, 0, NULL); 640s # for (n = 0; n < num_params + 1; n++) 640s # g_value_unset (¶mv[n]); 640s # g_free (paramv); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 640s # GVariant *changed_properties, 640s # const gchar *const *invalidated_properties) 640s # { 640s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 640s # guint n; 640s # const gchar *key; 640s # GVariantIter *iter; 640s # _ExtendedGDBusPropertyInfo *info; 640s # g_variant_get (changed_properties, "a{sv}", &iter); 640s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 640s # { 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 640s # g_datalist_remove_data (&proxy->priv->qdata, key); 640s # if (info != NULL) 640s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 640s # } 640s # g_variant_iter_free (iter); 640s # for (n = 0; invalidated_properties[n] != NULL; n++) 640s # { 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 640s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 640s # if (info != NULL) 640s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 640s # } 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 640s # { 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 640s # #else 640s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 640s # #endif 640s # 640s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 640s # { 640s # GObjectClass *gobject_class; 640s # GDBusProxyClass *proxy_class; 640s # 640s # gobject_class = G_OBJECT_CLASS (klass); 640s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 640s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 640s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 640s # 640s # proxy_class = G_DBUS_PROXY_CLASS (klass); 640s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 640s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 640s # 640s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 640s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 640s # #endif 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new: 640s # * @connection: A #GDBusConnection. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 640s # * @user_data: User data to pass to @callback. 640s # * 640s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 640s # * 640s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 640s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 640s # * 640s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 640s # */ 640s # void 640s # org_project_signaling_iface_proxy_new ( 640s # GDBusConnection *connection, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GAsyncReadyCallback callback, 640s # gpointer user_data) 640s # { 640s # 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); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_finish: 640s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 640s # * @error: Return location for error or %NULL 640s # * 640s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_proxy_new_finish ( 640s # GAsyncResult *res, 640s # GError **error) 640s # { 640s # GObject *ret; 640s # GObject *source_object; 640s # source_object = g_async_result_get_source_object (res); 640s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 640s # g_object_unref (source_object); 640s # if (ret != NULL) 640s # return ORG_PROJECT_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_sync: 640s # * @connection: A #GDBusConnection. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @error: Return location for error or %NULL 640s # * 640s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 640s # * 640s # * The calling thread is blocked until a reply is received. 640s # * 640s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_proxy_new_sync ( 640s # GDBusConnection *connection, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GError **error) 640s # { 640s # GInitable *ret; 640s # 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); 640s # if (ret != NULL) 640s # return ORG_PROJECT_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_for_bus: 640s # * @bus_type: A #GBusType. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: A bus name (well-known or unique). 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 640s # * @user_data: User data to pass to @callback. 640s # * 640s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 640s # * 640s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 640s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 640s # * 640s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 640s # */ 640s # void 640s # org_project_signaling_iface_proxy_new_for_bus ( 640s # GBusType bus_type, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GAsyncReadyCallback callback, 640s # gpointer user_data) 640s # { 640s # 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); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_for_bus_finish: 640s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 640s # * @error: Return location for error or %NULL 640s # * 640s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_proxy_new_for_bus_finish ( 640s # GAsyncResult *res, 640s # GError **error) 640s # { 640s # GObject *ret; 640s # GObject *source_object; 640s # source_object = g_async_result_get_source_object (res); 640s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 640s # g_object_unref (source_object); 640s # if (ret != NULL) 640s # return ORG_PROJECT_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_for_bus_sync: 640s # * @bus_type: A #GBusType. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: A bus name (well-known or unique). 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @error: Return location for error or %NULL 640s # * 640s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 640s # * 640s # * The calling thread is blocked until a reply is received. 640s # * 640s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_proxy_new_for_bus_sync ( 640s # GBusType bus_type, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GError **error) 640s # { 640s # GInitable *ret; 640s # 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); 640s # if (ret != NULL) 640s # return ORG_PROJECT_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # 640s # /* ------------------------------------------------------------------------ */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceSkeleton: 640s # * 640s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 640s # */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceSkeletonClass: 640s # * @parent_class: The parent class. 640s # * 640s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 640s # */ 640s # 640s # struct _OrgProjectSignalingIfaceSkeletonPrivate 640s # { 640s # GValue *properties; 640s # GList *changed_properties; 640s # GSource *changed_properties_idle_source; 640s # GMainContext *context; 640s # GMutex lock; 640s # }; 640s # 640s # static void 640s # _org_project_signaling_iface_skeleton_handle_method_call ( 640s # GDBusConnection *connection G_GNUC_UNUSED, 640s # const gchar *sender G_GNUC_UNUSED, 640s # const gchar *object_path G_GNUC_UNUSED, 640s # const gchar *interface_name, 640s # const gchar *method_name, 640s # GVariant *parameters, 640s # GDBusMethodInvocation *invocation, 640s # gpointer user_data) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 640s # _ExtendedGDBusMethodInfo *info; 640s # GVariantIter iter; 640s # GVariant *child; 640s # GValue *paramv; 640s # gsize num_params; 640s # guint num_extra; 640s # gsize n; 640s # guint signal_id; 640s # GValue return_value = G_VALUE_INIT; 640s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 640s # g_assert (info != NULL); 640s # num_params = g_variant_n_children (parameters); 640s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 640s # n = 0; 640s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 640s # g_value_set_object (¶mv[n++], skeleton); 640s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 640s # g_value_set_object (¶mv[n++], invocation); 640s # if (info->pass_fdlist) 640s # { 640s # #ifdef G_OS_UNIX 640s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 640s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 640s # #else 640s # g_assert_not_reached (); 640s # #endif 640s # } 640s # g_variant_iter_init (&iter, parameters); 640s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 640s # { 640s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 640s # if (arg_info->use_gvariant) 640s # { 640s # g_value_init (¶mv[n], G_TYPE_VARIANT); 640s # g_value_set_variant (¶mv[n], child); 640s # n++; 640s # } 640s # else 640s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 640s # g_variant_unref (child); 640s # } 640s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 640s # g_value_init (&return_value, G_TYPE_BOOLEAN); 640s # g_signal_emitv (paramv, signal_id, 0, &return_value); 640s # if (!g_value_get_boolean (&return_value)) 640s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 640s # g_value_unset (&return_value); 640s # for (n = 0; n < num_params + num_extra; n++) 640s # g_value_unset (¶mv[n]); 640s # g_free (paramv); 640s # } 640s # 640s # static GVariant * 640s # _org_project_signaling_iface_skeleton_handle_get_property ( 640s # GDBusConnection *connection G_GNUC_UNUSED, 640s # const gchar *sender G_GNUC_UNUSED, 640s # const gchar *object_path G_GNUC_UNUSED, 640s # const gchar *interface_name G_GNUC_UNUSED, 640s # const gchar *property_name, 640s # GError **error, 640s # gpointer user_data) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 640s # GValue value = G_VALUE_INIT; 640s # GParamSpec *pspec; 640s # _ExtendedGDBusPropertyInfo *info; 640s # GVariant *ret; 640s # ret = NULL; 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 640s # g_assert (info != NULL); 640s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 640s # if (pspec == NULL) 640s # { 640s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 640s # } 640s # else 640s # { 640s # g_value_init (&value, pspec->value_type); 640s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 640s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 640s # g_value_unset (&value); 640s # } 640s # return ret; 640s # } 640s # 640s # static gboolean 640s # _org_project_signaling_iface_skeleton_handle_set_property ( 640s # GDBusConnection *connection G_GNUC_UNUSED, 640s # const gchar *sender G_GNUC_UNUSED, 640s # const gchar *object_path G_GNUC_UNUSED, 640s # const gchar *interface_name G_GNUC_UNUSED, 640s # const gchar *property_name, 640s # GVariant *variant, 640s # GError **error, 640s # gpointer user_data) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 640s # GValue value = G_VALUE_INIT; 640s # GParamSpec *pspec; 640s # _ExtendedGDBusPropertyInfo *info; 640s # gboolean ret; 640s # ret = FALSE; 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 640s # g_assert (info != NULL); 640s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 640s # if (pspec == NULL) 640s # { 640s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 640s # } 640s # else 640s # { 640s # if (info->use_gvariant) 640s # g_value_set_variant (&value, variant); 640s # else 640s # g_dbus_gvariant_to_gvalue (variant, &value); 640s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 640s # g_value_unset (&value); 640s # ret = TRUE; 640s # } 640s # return ret; 640s # } 640s # 640s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 640s # { 640s # _org_project_signaling_iface_skeleton_handle_method_call, 640s # _org_project_signaling_iface_skeleton_handle_get_property, 640s # _org_project_signaling_iface_skeleton_handle_set_property, 640s # {NULL} 640s # }; 640s # 640s # static GDBusInterfaceInfo * 640s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 640s # { 640s # return org_project_signaling_iface_interface_info (); 640s # } 640s # 640s # static GDBusInterfaceVTable * 640s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 640s # { 640s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 640s # } 640s # 640s # static GVariant * 640s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 640s # 640s # GVariantBuilder builder; 640s # guint n; 640s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 640s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 640s # goto out; 640s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 640s # { 640s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 640s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 640s # { 640s # GVariant *value; 640s # 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); 640s # if (value != NULL) 640s # { 640s # g_variant_take_ref (value); 640s # g_variant_builder_add (&builder, "{sv}", info->name, value); 640s # g_variant_unref (value); 640s # } 640s # } 640s # } 640s # out: 640s # return g_variant_builder_end (&builder); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # static void 640s # _org_project_signaling_iface_on_signal_simple_signal ( 640s # OrgProjectSignalingIface *object) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # 640s # GList *connections, *l; 640s # GVariant *signal_variant; 640s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 640s # 640s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 640s # for (l = connections; l != NULL; l = l->next) 640s # { 640s # GDBusConnection *connection = l->data; 640s # g_dbus_connection_emit_signal (connection, 640s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 640s # signal_variant, NULL); 640s # } 640s # g_variant_unref (signal_variant); 640s # g_list_free_full (connections, g_object_unref); 640s # } 640s # 640s # static void 640s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 640s # OrgProjectSignalingIface *object, 640s # guchar arg_arg_y) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # 640s # GList *connections, *l; 640s # GVariant *signal_variant; 640s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 640s # 640s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 640s # arg_arg_y)); 640s # for (l = connections; l != NULL; l = l->next) 640s # { 640s # GDBusConnection *connection = l->data; 640s # g_dbus_connection_emit_signal (connection, 640s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 640s # signal_variant, NULL); 640s # } 640s # g_variant_unref (signal_variant); 640s # g_list_free_full (connections, g_object_unref); 640s # } 640s # 640s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 640s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 640s # 640s # #else 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 640s # 640s # #endif 640s # static void 640s # org_project_signaling_iface_skeleton_finalize (GObject *object) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 640s # if (skeleton->priv->changed_properties_idle_source != NULL) 640s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 640s # g_main_context_unref (skeleton->priv->context); 640s # g_mutex_clear (&skeleton->priv->lock); 640s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 640s # { 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 640s # #else 640s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 640s # #endif 640s # 640s # g_mutex_init (&skeleton->priv->lock); 640s # skeleton->priv->context = g_main_context_ref_thread_default (); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 640s # { 640s # GObjectClass *gobject_class; 640s # GDBusInterfaceSkeletonClass *skeleton_class; 640s # 640s # gobject_class = G_OBJECT_CLASS (klass); 640s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 640s # 640s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 640s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 640s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 640s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 640s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 640s # 640s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 640s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 640s # #endif 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 640s # { 640s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 640s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_skeleton_new: 640s # * 640s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_skeleton_new (void) 640s # { 640s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 640s # } 640s # /tmp/tmpjj2jdxte/tmpwwrh5j2h.xml: 640s # 640s # 640s # 640s # 640s # 640s # 640s # 640s # 640s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjj2jdxte/tmpwwrh5j2h.xml', '--output', '-', '--body'] 640s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 640s # Output: /* 640s # * This file is generated by gdbus-codegen, do not modify it. 640s # * 640s # * The license of this code is the same as for the D-Bus interface description 640s # * it was derived from. Note that it links to GLib, so must comply with the 640s # * LGPL linking clauses. 640s # */ 640s # 640s # #ifdef HAVE_CONFIG_H 640s # # include "config.h" 640s # #endif 640s # 640s # #include 640s # #ifdef G_OS_UNIX 640s # # include 640s # #endif 640s # 640s # #ifdef G_ENABLE_DEBUG 640s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 640s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 640s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 640s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 640s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 640s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 640s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 640s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 640s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 640s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 640s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 640s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 640s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 640s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 640s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 640s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 640s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 640s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 640s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 640s # #else /* !G_ENABLE_DEBUG */ 640s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 640s # * Do not access GValues directly in your code. Instead, use the 640s # * g_value_get_*() functions 640s # */ 640s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 640s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 640s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 640s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 640s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 640s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 640s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 640s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 640s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 640s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 640s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 640s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 640s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 640s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 640s # #endif /* !G_ENABLE_DEBUG */ 640s # 640s # typedef struct 640s # { 640s # GDBusArgInfo parent_struct; 640s # gboolean use_gvariant; 640s # } _ExtendedGDBusArgInfo; 640s # 640s # typedef struct 640s # { 640s # GDBusMethodInfo parent_struct; 640s # const gchar *signal_name; 640s # gboolean pass_fdlist; 640s # } _ExtendedGDBusMethodInfo; 640s # 640s # typedef struct 640s # { 640s # GDBusSignalInfo parent_struct; 640s # const gchar *signal_name; 640s # } _ExtendedGDBusSignalInfo; 640s # 640s # typedef struct 640s # { 640s # GDBusPropertyInfo parent_struct; 640s # const gchar *hyphen_name; 640s # guint use_gvariant : 1; 640s # guint emits_changed_signal : 1; 640s # } _ExtendedGDBusPropertyInfo; 640s # 640s # typedef struct 640s # { 640s # GDBusInterfaceInfo parent_struct; 640s # const gchar *hyphen_name; 640s # } _ExtendedGDBusInterfaceInfo; 640s # 640s # typedef struct 640s # { 640s # const _ExtendedGDBusPropertyInfo *info; 640s # guint prop_id; 640s # GValue orig_value; /* the value before the change */ 640s # } ChangedProperty; 640s # 640s # static void 640s # _changed_property_free (ChangedProperty *data) 640s # { 640s # g_value_unset (&data->orig_value); 640s # g_free (data); 640s # } 640s # 640s # static gboolean 640s # _g_strv_equal0 (gchar **a, gchar **b) 640s # { 640s # gboolean ret = FALSE; 640s # guint n; 640s # if (a == NULL && b == NULL) 640s # { 640s # ret = TRUE; 640s # goto out; 640s # } 640s # if (a == NULL || b == NULL) 640s # goto out; 640s # if (g_strv_length (a) != g_strv_length (b)) 640s # goto out; 640s # for (n = 0; a[n] != NULL; n++) 640s # if (g_strcmp0 (a[n], b[n]) != 0) 640s # goto out; 640s # ret = TRUE; 640s # out: 640s # return ret; 640s # } 640s # 640s # static gboolean 640s # _g_variant_equal0 (GVariant *a, GVariant *b) 640s # { 640s # gboolean ret = FALSE; 640s # if (a == NULL && b == NULL) 640s # { 640s # ret = TRUE; 640s # goto out; 640s # } 640s # if (a == NULL || b == NULL) 640s # goto out; 640s # ret = g_variant_equal (a, b); 640s # out: 640s # return ret; 640s # } 640s # 640s # G_GNUC_UNUSED static gboolean 640s # _g_value_equal (const GValue *a, const GValue *b) 640s # { 640s # gboolean ret = FALSE; 640s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 640s # switch (G_VALUE_TYPE (a)) 640s # { 640s # case G_TYPE_BOOLEAN: 640s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 640s # break; 640s # case G_TYPE_UCHAR: 640s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 640s # break; 640s # case G_TYPE_INT: 640s # ret = (g_value_get_int (a) == g_value_get_int (b)); 640s # break; 640s # case G_TYPE_UINT: 640s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 640s # break; 640s # case G_TYPE_INT64: 640s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 640s # break; 640s # case G_TYPE_UINT64: 640s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 640s # break; 640s # case G_TYPE_DOUBLE: 640s # { 640s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 640s # gdouble da = g_value_get_double (a); 640s # gdouble db = g_value_get_double (b); 640s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 640s # } 640s # break; 640s # case G_TYPE_STRING: 640s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 640s # break; 640s # case G_TYPE_VARIANT: 640s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 640s # break; 640s # default: 640s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 640s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 640s # else 640s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 640s # break; 640s # } 640s # return ret; 640s # } 640s # 640s # /* ------------------------------------------------------------------------ 640s # * Code for interface org.project.SignalingIface 640s # * ------------------------------------------------------------------------ 640s # */ 640s # 640s # /** 640s # * SECTION:OrgProjectSignalingIface 640s # * @title: OrgProjectSignalingIface 640s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 640s # * 640s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 640s # */ 640s # 640s # enum 640s # { 640s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 640s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 640s # }; 640s # 640s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 640s # 640s # /* ---- Introspection data for org.project.SignalingIface ---- */ 640s # 640s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 640s # { 640s # { 640s # -1, 640s # (gchar *) "SimpleSignal", 640s # NULL, 640s # NULL 640s # }, 640s # "simple-signal" 640s # }; 640s # 640s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 640s # { 640s # { 640s # -1, 640s # (gchar *) "arg_n", 640s # (gchar *) "n", 640s # NULL 640s # }, 640s # FALSE 640s # }; 640s # 640s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 640s # { 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 640s # NULL 640s # }; 640s # 640s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 640s # { 640s # { 640s # -1, 640s # (gchar *) "SingleArgSignalN", 640s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 640s # NULL 640s # }, 640s # "single-arg-signal-n" 640s # }; 640s # 640s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 640s # { 640s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 640s # NULL 640s # }; 640s # 640s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 640s # { 640s # { 640s # -1, 640s # (gchar *) "org.project.SignalingIface", 640s # NULL, 640s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 640s # NULL, 640s # NULL 640s # }, 640s # "org-project-signaling-iface", 640s # }; 640s # 640s # 640s # /** 640s # * org_project_signaling_iface_interface_info: 640s # * 640s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 640s # * 640s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 640s # */ 640s # GDBusInterfaceInfo * 640s # org_project_signaling_iface_interface_info (void) 640s # { 640s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_override_properties: 640s # * @klass: The class structure for a #GObject derived class. 640s # * @property_id_begin: The property id to assign to the first overridden property. 640s # * 640s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 640s # * The properties are overridden in the order they are defined. 640s # * 640s # * Returns: The last property id. 640s # */ 640s # guint 640s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 640s # { 640s # return property_id_begin - 1; 640s # } 640s # 640s # 640s # inline static void 640s # org_project_signaling_iface_signal_marshal_simple_signal ( 640s # GClosure *closure, 640s # GValue *return_value, 640s # unsigned int n_param_values, 640s # const GValue *param_values, 640s # void *invocation_hint, 640s # void *marshal_data) 640s # { 640s # g_cclosure_marshal_VOID__VOID (closure, 640s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 640s # } 640s # 640s # inline static void 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 640s # GClosure *closure, 640s # GValue *return_value, 640s # unsigned int n_param_values, 640s # const GValue *param_values, 640s # void *invocation_hint, 640s # void *marshal_data) 640s # { 640s # g_cclosure_marshal_VOID__INT (closure, 640s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 640s # } 640s # 640s # 640s # /** 640s # * OrgProjectSignalingIface: 640s # * 640s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 640s # */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceIface: 640s # * @parent_iface: The parent interface. 640s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 640s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 640s # * 640s # * Virtual table for the D-Bus interface org.project.SignalingIface. 640s # */ 640s # 640s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 640s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 640s # 640s # static void 640s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 640s # { 640s # /* GObject signals for received D-Bus signals: */ 640s # /** 640s # * OrgProjectSignalingIface::simple-signal: 640s # * @object: A #OrgProjectSignalingIface. 640s # * 640s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 640s # * 640s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 640s # */ 640s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 640s # g_signal_new ("simple-signal", 640s # G_TYPE_FROM_INTERFACE (iface), 640s # G_SIGNAL_RUN_LAST, 640s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 640s # NULL, 640s # NULL, 640s # org_project_signaling_iface_signal_marshal_simple_signal, 640s # G_TYPE_NONE, 640s # 0); 640s # 640s # /** 640s # * OrgProjectSignalingIface::single-arg-signal-n: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_arg_n: Argument. 640s # * 640s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 640s # * 640s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 640s # */ 640s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 640s # g_signal_new ("single-arg-signal-n", 640s # G_TYPE_FROM_INTERFACE (iface), 640s # G_SIGNAL_RUN_LAST, 640s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 640s # NULL, 640s # NULL, 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 640s # G_TYPE_NONE, 640s # 1, G_TYPE_INT); 640s # 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_emit_simple_signal: 640s # * @object: A #OrgProjectSignalingIface. 640s # * 640s # * Emits the "SimpleSignal" D-Bus signal. 640s # */ 640s # void 640s # org_project_signaling_iface_emit_simple_signal ( 640s # OrgProjectSignalingIface *object) 640s # { 640s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_emit_single_arg_signal_n: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_arg_n: Argument to pass with the signal. 640s # * 640s # * Emits the "SingleArgSignalN" D-Bus signal. 640s # */ 640s # void 640s # org_project_signaling_iface_emit_single_arg_signal_n ( 640s # OrgProjectSignalingIface *object, 640s # gint16 arg_arg_n) 640s # { 640s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 640s # } 640s # 640s # /* ------------------------------------------------------------------------ */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceProxy: 640s # * 640s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 640s # */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceProxyClass: 640s # * @parent_class: The parent class. 640s # * 640s # * Class structure for #OrgProjectSignalingIfaceProxy. 640s # */ 640s # 640s # struct _OrgProjectSignalingIfaceProxyPrivate 640s # { 640s # GData *qdata; 640s # }; 640s # 640s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 640s # 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 640s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 640s # 640s # #else 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 640s # 640s # #endif 640s # static void 640s # org_project_signaling_iface_proxy_finalize (GObject *object) 640s # { 640s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 640s # g_datalist_clear (&proxy->priv->qdata); 640s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 640s # guint prop_id G_GNUC_UNUSED, 640s # GValue *value G_GNUC_UNUSED, 640s # GParamSpec *pspec G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 640s # guint prop_id G_GNUC_UNUSED, 640s # const GValue *value G_GNUC_UNUSED, 640s # GParamSpec *pspec G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 640s # const gchar *sender_name G_GNUC_UNUSED, 640s # const gchar *signal_name, 640s # GVariant *parameters) 640s # { 640s # _ExtendedGDBusSignalInfo *info; 640s # GVariantIter iter; 640s # GVariant *child; 640s # GValue *paramv; 640s # gsize num_params; 640s # gsize n; 640s # guint signal_id; 640s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 640s # if (info == NULL) 640s # return; 640s # num_params = g_variant_n_children (parameters); 640s # paramv = g_new0 (GValue, num_params + 1); 640s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 640s # g_value_set_object (¶mv[0], proxy); 640s # g_variant_iter_init (&iter, parameters); 640s # n = 1; 640s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 640s # { 640s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 640s # if (arg_info->use_gvariant) 640s # { 640s # g_value_init (¶mv[n], G_TYPE_VARIANT); 640s # g_value_set_variant (¶mv[n], child); 640s # n++; 640s # } 640s # else 640s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 640s # g_variant_unref (child); 640s # } 640s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 640s # g_signal_emitv (paramv, signal_id, 0, NULL); 640s # for (n = 0; n < num_params + 1; n++) 640s # g_value_unset (¶mv[n]); 640s # g_free (paramv); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 640s # GVariant *changed_properties, 640s # const gchar *const *invalidated_properties) 640s # { 640s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 640s # guint n; 640s # const gchar *key; 640s # GVariantIter *iter; 640s # _ExtendedGDBusPropertyInfo *info; 640s # g_variant_get (changed_properties, "a{sv}", &iter); 640s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 640s # { 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 640s # g_datalist_remove_data (&proxy->priv->qdata, key); 640s # if (info != NULL) 640s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 640s # } 640s # g_variant_iter_free (iter); 640s # for (n = 0; invalidated_properties[n] != NULL; n++) 640s # { 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 640s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 640s # if (info != NULL) 640s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 640s # } 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 640s # { 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 640s # #else 640s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 640s # #endif 640s # 640s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 640s # { 640s # GObjectClass *gobject_class; 640s # GDBusProxyClass *proxy_class; 640s # 640s # gobject_class = G_OBJECT_CLASS (klass); 640s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 640s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 640s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 640s # 640s # proxy_class = G_DBUS_PROXY_CLASS (klass); 640s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 640s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 640s # 640s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 640s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 640s # #endif 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new: 640s # * @connection: A #GDBusConnection. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 640s # * @user_data: User data to pass to @callback. 640s # * 640s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 640s # * 640s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 640s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 640s # * 640s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 640s # */ 640s # void 640s # org_project_signaling_iface_proxy_new ( 640s # GDBusConnection *connection, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GAsyncReadyCallback callback, 640s # gpointer user_data) 640s # { 640s # 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); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_finish: 640s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 640s # * @error: Return location for error or %NULL 640s # * 640s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_proxy_new_finish ( 640s # GAsyncResult *res, 640s # GError **error) 640s # { 640s # GObject *ret; 640s # GObject *source_object; 640s # source_object = g_async_result_get_source_object (res); 640s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 640s # g_object_unref (source_object); 640s # if (ret != NULL) 640s # return ORG_PROJECT_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_sync: 640s # * @connection: A #GDBusConnection. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @error: Return location for error or %NULL 640s # * 640s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 640s # * 640s # * The calling thread is blocked until a reply is received. 640s # * 640s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_proxy_new_sync ( 640s # GDBusConnection *connection, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GError **error) 640s # { 640s # GInitable *ret; 640s # 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); 640s # if (ret != NULL) 640s # return ORG_PROJECT_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_for_bus: 640s # * @bus_type: A #GBusType. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: A bus name (well-known or unique). 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 640s # * @user_data: User data to pass to @callback. 640s # * 640s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 640s # * 640s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 640s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 640s # * 640s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 640s # */ 640s # void 640s # org_project_signaling_iface_proxy_new_for_bus ( 640s # GBusType bus_type, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GAsyncReadyCallback callback, 640s # gpointer user_data) 640s # { 640s # 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); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_for_bus_finish: 640s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 640s # * @error: Return location for error or %NULL 640s # * 640s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_proxy_new_for_bus_finish ( 640s # GAsyncResult *res, 640s # GError **error) 640s # { 640s # GObject *ret; 640s # GObject *source_object; 640s # source_object = g_async_result_get_source_object (res); 640s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 640s # g_object_unref (source_object); 640s # if (ret != NULL) 640s # return ORG_PROJECT_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_for_bus_sync: 640s # * @bus_type: A #GBusType. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: A bus name (well-known or unique). 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @error: Return location for error or %NULL 640s # * 640s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 640s # * 640s # * The calling thread is blocked until a reply is received. 640s # * 640s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_proxy_new_for_bus_sync ( 640s # GBusType bus_type, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GError **error) 640s # { 640s # GInitable *ret; 640s # 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); 640s # if (ret != NULL) 640s # return ORG_PROJECT_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # 640s # /* ------------------------------------------------------------------------ */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceSkeleton: 640s # * 640s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 640s # */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceSkeletonClass: 640s # * @parent_class: The parent class. 640s # * 640s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 640s # */ 640s # 640s # struct _OrgProjectSignalingIfaceSkeletonPrivate 640s # { 640s # GValue *properties; 640s # GList *changed_properties; 640s # GSource *changed_properties_idle_source; 640s # GMainContext *context; 640s # GMutex lock; 640s # }; 640s # 640s # static void 640s # _org_project_signaling_iface_skeleton_handle_method_call ( 640s # GDBusConnection *connection G_GNUC_UNUSED, 640s # const gchar *sender G_GNUC_UNUSED, 640s # const gchar *object_path G_GNUC_UNUSED, 640s # const gchar *interface_name, 640s # const gchar *method_name, 640s # GVariant *parameters, 640s # GDBusMethodInvocation *invocation, 640s # gpointer user_data) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 640s # _ExtendedGDBusMethodInfo *info; 640s # GVariantIter iter; 640s # GVariant *child; 640s # GValue *paramv; 640s # gsize num_params; 640s # guint num_extra; 640s # gsize n; 640s # guint signal_id; 640s # GValue return_value = G_VALUE_INIT; 640s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 640s # g_assert (info != NULL); 640s # num_params = g_variant_n_children (parameters); 640s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 640s # n = 0; 640s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 640s # g_value_set_object (¶mv[n++], skeleton); 640s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 640s # g_value_set_object (¶mv[n++], invocation); 640s # if (info->pass_fdlist) 640s # { 640s # #ifdef G_OS_UNIX 640s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 640s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 640s # #else 640s # g_assert_not_reached (); 640s # #endif 640s # } 640s # g_variant_iter_init (&iter, parameters); 640s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 640s # { 640s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 640s # if (arg_info->use_gvariant) 640s # { 640s # g_value_init (¶mv[n], G_TYPE_VARIANT); 640s # g_value_set_variant (¶mv[n], child); 640s # n++; 640s # } 640s # else 640s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 640s # g_variant_unref (child); 640s # } 640s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 640s # g_value_init (&return_value, G_TYPE_BOOLEAN); 640s # g_signal_emitv (paramv, signal_id, 0, &return_value); 640s # if (!g_value_get_boolean (&return_value)) 640s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 640s # g_value_unset (&return_value); 640s # for (n = 0; n < num_params + num_extra; n++) 640s # g_value_unset (¶mv[n]); 640s # g_free (paramv); 640s # } 640s # 640s # static GVariant * 640s # _org_project_signaling_iface_skeleton_handle_get_property ( 640s # GDBusConnection *connection G_GNUC_UNUSED, 640s # const gchar *sender G_GNUC_UNUSED, 640s # const gchar *object_path G_GNUC_UNUSED, 640s # const gchar *interface_name G_GNUC_UNUSED, 640s # const gchar *property_name, 640s # GError **error, 640s # gpointer user_data) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 640s # GValue value = G_VALUE_INIT; 640s # GParamSpec *pspec; 640s # _ExtendedGDBusPropertyInfo *info; 640s # GVariant *ret; 640s # ret = NULL; 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 640s # g_assert (info != NULL); 640s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 640s # if (pspec == NULL) 640s # { 640s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 640s # } 640s # else 640s # { 640s # g_value_init (&value, pspec->value_type); 640s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 640s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 640s # g_value_unset (&value); 640s # } 640s # return ret; 640s # } 640s # 640s # static gboolean 640s # _org_project_signaling_iface_skeleton_handle_set_property ( 640s # GDBusConnection *connection G_GNUC_UNUSED, 640s # const gchar *sender G_GNUC_UNUSED, 640s # const gchar *object_path G_GNUC_UNUSED, 640s # const gchar *interface_name G_GNUC_UNUSED, 640s # const gchar *property_name, 640s # GVariant *variant, 640s # GError **error, 640s # gpointer user_data) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 640s # GValue value = G_VALUE_INIT; 640s # GParamSpec *pspec; 640s # _ExtendedGDBusPropertyInfo *info; 640s # gboolean ret; 640s # ret = FALSE; 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 640s # g_assert (info != NULL); 640s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 640s # if (pspec == NULL) 640s # { 640s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 640s # } 640s # else 640s # { 640s # if (info->use_gvariant) 640s # g_value_set_variant (&value, variant); 640s # else 640s # g_dbus_gvariant_to_gvalue (variant, &value); 640s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 640s # g_value_unset (&value); 640s # ret = TRUE; 640s # } 640s # return ret; 640s # } 640s # 640s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 640s # { 640s # _org_project_signaling_iface_skeleton_handle_method_call, 640s # _org_project_signaling_iface_skeleton_handle_get_property, 640s # _org_project_signaling_iface_skeleton_handle_set_property, 640s # {NULL} 640s # }; 640s # 640s # static GDBusInterfaceInfo * 640s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 640s # { 640s # return org_project_signaling_iface_interface_info (); 640s # } 640s # 640s # static GDBusInterfaceVTable * 640s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 640s # { 640s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 640s # } 640s # 640s # static GVariant * 640s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 640s # 640s # GVariantBuilder builder; 640s # guint n; 640s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 640s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 640s # goto out; 640s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 640s # { 640s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 640s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 640s # { 640s # GVariant *value; 640s # 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); 640s # if (value != NULL) 640s # { 640s # g_variant_take_ref (value); 640s # g_variant_builder_add (&builder, "{sv}", info->name, value); 640s # g_variant_unref (value); 640s # } 640s # } 640s # } 640s # out: 640s # return g_variant_builder_end (&builder); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # static void 640s # _org_project_signaling_iface_on_signal_simple_signal ( 640s # OrgProjectSignalingIface *object) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # 640s # GList *connections, *l; 640s # GVariant *signal_variant; 640s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 640s # 640s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 640s # for (l = connections; l != NULL; l = l->next) 640s # { 640s # GDBusConnection *connection = l->data; 640s # g_dbus_connection_emit_signal (connection, 640s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 640s # signal_variant, NULL); 640s # } 640s # g_variant_unref (signal_variant); 640s # g_list_free_full (connections, g_object_unref); 640s # } 640s # 640s # static void 640s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 640s # OrgProjectSignalingIface *object, 640s # gint16 arg_arg_n) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # 640s # GList *connections, *l; 640s # GVariant *signal_variant; 640s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 640s # 640s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 640s # arg_arg_n)); 640s # for (l = connections; l != NULL; l = l->next) 640s # { 640s # GDBusConnection *connection = l->data; 640s # g_dbus_connection_emit_signal (connection, 640s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 640s # signal_variant, NULL); 640s # } 640s # g_variant_unref (signal_variant); 640s # g_list_free_full (connections, g_object_unref); 640s # } 640s # 640s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 640s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 640s # 640s # #else 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 640s # 640s # #endif 640s # static void 640s # org_project_signaling_iface_skeleton_finalize (GObject *object) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 640s # if (skeleton->priv->changed_properties_idle_source != NULL) 640s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 640s # g_main_context_unref (skeleton->priv->context); 640s # g_mutex_clear (&skeleton->priv->lock); 640s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 640s # { 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 640s # #else 640s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 640s # #endif 640s # 640s # g_mutex_init (&skeleton->priv->lock); 640s # skeleton->priv->context = g_main_context_ref_thread_default (); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 640s # { 640s # GObjectClass *gobject_class; 640s # GDBusInterfaceSkeletonClass *skeleton_class; 640s # 640s # gobject_class = G_OBJECT_CLASS (klass); 640s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 640s # 640s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 640s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 640s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 640s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 640s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 640s # 640s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 640s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 640s # #endif 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 640s # { 640s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 640s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_skeleton_new: 640s # * 640s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_skeleton_new (void) 640s # { 640s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 640s # } 640s # /tmp/tmpjj2jdxte/tmpudg9hwd1.xml: 640s # 640s # 640s # 640s # 640s # 640s # 640s # 640s # 640s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjj2jdxte/tmpudg9hwd1.xml', '--output', '-', '--body'] 640s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 640s # Output: /* 640s # * This file is generated by gdbus-codegen, do not modify it. 640s # * 640s # * The license of this code is the same as for the D-Bus interface description 640s # * it was derived from. Note that it links to GLib, so must comply with the 640s # * LGPL linking clauses. 640s # */ 640s # 640s # #ifdef HAVE_CONFIG_H 640s # # include "config.h" 640s # #endif 640s # 640s # #include 640s # #ifdef G_OS_UNIX 640s # # include 640s # #endif 640s # 640s # #ifdef G_ENABLE_DEBUG 640s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 640s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 640s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 640s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 640s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 640s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 640s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 640s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 640s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 640s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 640s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 640s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 640s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 640s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 640s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 640s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 640s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 640s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 640s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 640s # #else /* !G_ENABLE_DEBUG */ 640s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 640s # * Do not access GValues directly in your code. Instead, use the 640s # * g_value_get_*() functions 640s # */ 640s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 640s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 640s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 640s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 640s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 640s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 640s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 640s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 640s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 640s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 640s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 640s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 640s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 640s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 640s # #endif /* !G_ENABLE_DEBUG */ 640s # 640s # typedef struct 640s # { 640s # GDBusArgInfo parent_struct; 640s # gboolean use_gvariant; 640s # } _ExtendedGDBusArgInfo; 640s # 640s # typedef struct 640s # { 640s # GDBusMethodInfo parent_struct; 640s # const gchar *signal_name; 640s # gboolean pass_fdlist; 640s # } _ExtendedGDBusMethodInfo; 640s # 640s # typedef struct 640s # { 640s # GDBusSignalInfo parent_struct; 640s # const gchar *signal_name; 640s # } _ExtendedGDBusSignalInfo; 640s # 640s # typedef struct 640s # { 640s # GDBusPropertyInfo parent_struct; 640s # const gchar *hyphen_name; 640s # guint use_gvariant : 1; 640s # guint emits_changed_signal : 1; 640s # } _ExtendedGDBusPropertyInfo; 640s # 640s # typedef struct 640s # { 640s # GDBusInterfaceInfo parent_struct; 640s # const gchar *hyphen_name; 640s # } _ExtendedGDBusInterfaceInfo; 640s # 640s # typedef struct 640s # { 640s # const _ExtendedGDBusPropertyInfo *info; 640s # guint prop_id; 640s # GValue orig_value; /* the value before the change */ 640s # } ChangedProperty; 640s # 640s # static void 640s # _changed_property_free (ChangedProperty *data) 640s # { 640s # g_value_unset (&data->orig_value); 640s # g_free (data); 640s # } 640s # 640s # static gboolean 640s # _g_strv_equal0 (gchar **a, gchar **b) 640s # { 640s # gboolean ret = FALSE; 640s # guint n; 640s # if (a == NULL && b == NULL) 640s # { 640s # ret = TRUE; 640s # goto out; 640s # } 640s # if (a == NULL || b == NULL) 640s # goto out; 640s # if (g_strv_length (a) != g_strv_length (b)) 640s # goto out; 640s # for (n = 0; a[n] != NULL; n++) 640s # if (g_strcmp0 (a[n], b[n]) != 0) 640s # goto out; 640s # ret = TRUE; 640s # out: 640s # return ret; 640s # } 640s # 640s # static gboolean 640s # _g_variant_equal0 (GVariant *a, GVariant *b) 640s # { 640s # gboolean ret = FALSE; 640s # if (a == NULL && b == NULL) 640s # { 640s # ret = TRUE; 640s # goto out; 640s # } 640s # if (a == NULL || b == NULL) 640s # goto out; 640s # ret = g_variant_equal (a, b); 640s # out: 640s # return ret; 640s # } 640s # 640s # G_GNUC_UNUSED static gboolean 640s # _g_value_equal (const GValue *a, const GValue *b) 640s # { 640s # gboolean ret = FALSE; 640s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 640s # switch (G_VALUE_TYPE (a)) 640s # { 640s # case G_TYPE_BOOLEAN: 640s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 640s # break; 640s # case G_TYPE_UCHAR: 640s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 640s # break; 640s # case G_TYPE_INT: 640s # ret = (g_value_get_int (a) == g_value_get_int (b)); 640s # break; 640s # case G_TYPE_UINT: 640s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 640s # break; 640s # case G_TYPE_INT64: 640s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 640s # break; 640s # case G_TYPE_UINT64: 640s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 640s # break; 640s # case G_TYPE_DOUBLE: 640s # { 640s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 640s # gdouble da = g_value_get_double (a); 640s # gdouble db = g_value_get_double (b); 640s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 640s # } 640s # break; 640s # case G_TYPE_STRING: 640s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 640s # break; 640s # case G_TYPE_VARIANT: 640s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 640s # break; 640s # default: 640s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 640s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 640s # else 640s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 640s # break; 640s # } 640s # return ret; 640s # } 640s # 640s # /* ------------------------------------------------------------------------ 640s # * Code for interface org.project.SignalingIface 640s # * ------------------------------------------------------------------------ 640s # */ 640s # 640s # /** 640s # * SECTION:OrgProjectSignalingIface 640s # * @title: OrgProjectSignalingIface 640s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 640s # * 640s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 640s # */ 640s # 640s # enum 640s # { 640s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 640s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 640s # }; 640s # 640s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 640s # 640s # /* ---- Introspection data for org.project.SignalingIface ---- */ 640s # 640s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 640s # { 640s # { 640s # -1, 640s # (gchar *) "SimpleSignal", 640s # NULL, 640s # NULL 640s # }, 640s # "simple-signal" 640s # }; 640s # 640s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 640s # { 640s # { 640s # -1, 640s # (gchar *) "arg_q", 640s # (gchar *) "q", 640s # NULL 640s # }, 640s # FALSE 640s # }; 640s # 640s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 640s # { 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 640s # NULL 640s # }; 640s # 640s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 640s # { 640s # { 640s # -1, 640s # (gchar *) "SingleArgSignalQ", 640s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 640s # NULL 640s # }, 640s # "single-arg-signal-q" 640s # }; 640s # 640s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 640s # { 640s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 640s # NULL 640s # }; 640s # 640s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 640s # { 640s # { 640s # -1, 640s # (gchar *) "org.project.SignalingIface", 640s # NULL, 640s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 640s # NULL, 640s # NULL 640s # }, 640s # "org-project-signaling-iface", 640s # }; 640s # 640s # 640s # /** 640s # * org_project_signaling_iface_interface_info: 640s # * 640s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 640s # * 640s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 640s # */ 640s # GDBusInterfaceInfo * 640s # org_project_signaling_iface_interface_info (void) 640s # { 640s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_override_properties: 640s # * @klass: The class structure for a #GObject derived class. 640s # * @property_id_begin: The property id to assign to the first overridden property. 640s # * 640s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 640s # * The properties are overridden in the order they are defined. 640s # * 640s # * Returns: The last property id. 640s # */ 640s # guint 640s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 640s # { 640s # return property_id_begin - 1; 640s # } 640s # 640s # 640s # inline static void 640s # org_project_signaling_iface_signal_marshal_simple_signal ( 640s # GClosure *closure, 640s # GValue *return_value, 640s # unsigned int n_param_values, 640s # const GValue *param_values, 640s # void *invocation_hint, 640s # void *marshal_data) 640s # { 640s # g_cclosure_marshal_VOID__VOID (closure, 640s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 640s # } 640s # 640s # inline static void 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 640s # GClosure *closure, 640s # GValue *return_value, 640s # unsigned int n_param_values, 640s # const GValue *param_values, 640s # void *invocation_hint, 640s # void *marshal_data) 640s # { 640s # g_cclosure_marshal_VOID__UINT (closure, 640s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 640s # } 640s # 640s # 640s # /** 640s # * OrgProjectSignalingIface: 640s # * 640s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 640s # */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceIface: 640s # * @parent_iface: The parent interface. 640s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 640s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 640s # * 640s # * Virtual table for the D-Bus interface org.project.SignalingIface. 640s # */ 640s # 640s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 640s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 640s # 640s # static void 640s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 640s # { 640s # /* GObject signals for received D-Bus signals: */ 640s # /** 640s # * OrgProjectSignalingIface::simple-signal: 640s # * @object: A #OrgProjectSignalingIface. 640s # * 640s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 640s # * 640s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 640s # */ 640s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 640s # g_signal_new ("simple-signal", 640s # G_TYPE_FROM_INTERFACE (iface), 640s # G_SIGNAL_RUN_LAST, 640s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 640s # NULL, 640s # NULL, 640s # org_project_signaling_iface_signal_marshal_simple_signal, 640s # G_TYPE_NONE, 640s # 0); 640s # 640s # /** 640s # * OrgProjectSignalingIface::single-arg-signal-q: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_arg_q: Argument. 640s # * 640s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 640s # * 640s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 640s # */ 640s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 640s # g_signal_new ("single-arg-signal-q", 640s # G_TYPE_FROM_INTERFACE (iface), 640s # G_SIGNAL_RUN_LAST, 640s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 640s # NULL, 640s # NULL, 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 640s # G_TYPE_NONE, 640s # 1, G_TYPE_UINT); 640s # 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_emit_simple_signal: 640s # * @object: A #OrgProjectSignalingIface. 640s # * 640s # * Emits the "SimpleSignal" D-Bus signal. 640s # */ 640s # void 640s # org_project_signaling_iface_emit_simple_signal ( 640s # OrgProjectSignalingIface *object) 640s # { 640s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_emit_single_arg_signal_q: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_arg_q: Argument to pass with the signal. 640s # * 640s # * Emits the "SingleArgSignalQ" D-Bus signal. 640s # */ 640s # void 640s # org_project_signaling_iface_emit_single_arg_signal_q ( 640s # OrgProjectSignalingIface *object, 640s # guint16 arg_arg_q) 640s # { 640s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 640s # } 640s # 640s # /* ------------------------------------------------------------------------ */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceProxy: 640s # * 640s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 640s # */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceProxyClass: 640s # * @parent_class: The parent class. 640s # * 640s # * Class structure for #OrgProjectSignalingIfaceProxy. 640s # */ 640s # 640s # struct _OrgProjectSignalingIfaceProxyPrivate 640s # { 640s # GData *qdata; 640s # }; 640s # 640s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 640s # 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 640s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 640s # 640s # #else 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 640s # 640s # #endif 640s # static void 640s # org_project_signaling_iface_proxy_finalize (GObject *object) 640s # { 640s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 640s # g_datalist_clear (&proxy->priv->qdata); 640s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 640s # guint prop_id G_GNUC_UNUSED, 640s # GValue *value G_GNUC_UNUSED, 640s # GParamSpec *pspec G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 640s # guint prop_id G_GNUC_UNUSED, 640s # const GValue *value G_GNUC_UNUSED, 640s # GParamSpec *pspec G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 640s # const gchar *sender_name G_GNUC_UNUSED, 640s # const gchar *signal_name, 640s # GVariant *parameters) 640s # { 640s # _ExtendedGDBusSignalInfo *info; 640s # GVariantIter iter; 640s # GVariant *child; 640s # GValue *paramv; 640s # gsize num_params; 640s # gsize n; 640s # guint signal_id; 640s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 640s # if (info == NULL) 640s # return; 640s # num_params = g_variant_n_children (parameters); 640s # paramv = g_new0 (GValue, num_params + 1); 640s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 640s # g_value_set_object (¶mv[0], proxy); 640s # g_variant_iter_init (&iter, parameters); 640s # n = 1; 640s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 640s # { 640s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 640s # if (arg_info->use_gvariant) 640s # { 640s # g_value_init (¶mv[n], G_TYPE_VARIANT); 640s # g_value_set_variant (¶mv[n], child); 640s # n++; 640s # } 640s # else 640s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 640s # g_variant_unref (child); 640s # } 640s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 640s # g_signal_emitv (paramv, signal_id, 0, NULL); 640s # for (n = 0; n < num_params + 1; n++) 640s # g_value_unset (¶mv[n]); 640s # g_free (paramv); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 640s # GVariant *changed_properties, 640s # const gchar *const *invalidated_properties) 640s # { 640s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 640s # guint n; 640s # const gchar *key; 640s # GVariantIter *iter; 640s # _ExtendedGDBusPropertyInfo *info; 640s # g_variant_get (changed_properties, "a{sv}", &iter); 640s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 640s # { 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 640s # g_datalist_remove_data (&proxy->priv->qdata, key); 640s # if (info != NULL) 640s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 640s # } 640s # g_variant_iter_free (iter); 640s # for (n = 0; invalidated_properties[n] != NULL; n++) 640s # { 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 640s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 640s # if (info != NULL) 640s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 640s # } 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 640s # { 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 640s # #else 640s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 640s # #endif 640s # 640s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 640s # { 640s # GObjectClass *gobject_class; 640s # GDBusProxyClass *proxy_class; 640s # 640s # gobject_class = G_OBJECT_CLASS (klass); 640s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 640s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 640s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 640s # 640s # proxy_class = G_DBUS_PROXY_CLASS (klass); 640s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 640s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 640s # 640s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 640s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 640s # #endif 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new: 640s # * @connection: A #GDBusConnection. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 640s # * @user_data: User data to pass to @callback. 640s # * 640s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 640s # * 640s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 640s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 640s # * 640s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 640s # */ 640s # void 640s # org_project_signaling_iface_proxy_new ( 640s # GDBusConnection *connection, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GAsyncReadyCallback callback, 640s # gpointer user_data) 640s # { 640s # 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); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_finish: 640s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 640s # * @error: Return location for error or %NULL 640s # * 640s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_proxy_new_finish ( 640s # GAsyncResult *res, 640s # GError **error) 640s # { 640s # GObject *ret; 640s # GObject *source_object; 640s # source_object = g_async_result_get_source_object (res); 640s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 640s # g_object_unref (source_object); 640s # if (ret != NULL) 640s # return ORG_PROJECT_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_sync: 640s # * @connection: A #GDBusConnection. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @error: Return location for error or %NULL 640s # * 640s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 640s # * 640s # * The calling thread is blocked until a reply is received. 640s # * 640s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_proxy_new_sync ( 640s # GDBusConnection *connection, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GError **error) 640s # { 640s # GInitable *ret; 640s # 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); 640s # if (ret != NULL) 640s # return ORG_PROJECT_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_for_bus: 640s # * @bus_type: A #GBusType. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: A bus name (well-known or unique). 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 640s # * @user_data: User data to pass to @callback. 640s # * 640s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 640s # * 640s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 640s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 640s # * 640s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 640s # */ 640s # void 640s # org_project_signaling_iface_proxy_new_for_bus ( 640s # GBusType bus_type, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GAsyncReadyCallback callback, 640s # gpointer user_data) 640s # { 640s # 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); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_for_bus_finish: 640s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 640s # * @error: Return location for error or %NULL 640s # * 640s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_proxy_new_for_bus_finish ( 640s # GAsyncResult *res, 640s # GError **error) 640s # { 640s # GObject *ret; 640s # GObject *source_object; 640s # source_object = g_async_result_get_source_object (res); 640s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 640s # g_object_unref (source_object); 640s # if (ret != NULL) 640s # return ORG_PROJECT_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_for_bus_sync: 640s # * @bus_type: A #GBusType. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: A bus name (well-known or unique). 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @error: Return location for error or %NULL 640s # * 640s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 640s # * 640s # * The calling thread is blocked until a reply is received. 640s # * 640s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_proxy_new_for_bus_sync ( 640s # GBusType bus_type, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GError **error) 640s # { 640s # GInitable *ret; 640s # 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); 640s # if (ret != NULL) 640s # return ORG_PROJECT_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # 640s # /* ------------------------------------------------------------------------ */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceSkeleton: 640s # * 640s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 640s # */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceSkeletonClass: 640s # * @parent_class: The parent class. 640s # * 640s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 640s # */ 640s # 640s # struct _OrgProjectSignalingIfaceSkeletonPrivate 640s # { 640s # GValue *properties; 640s # GList *changed_properties; 640s # GSource *changed_properties_idle_source; 640s # GMainContext *context; 640s # GMutex lock; 640s # }; 640s # 640s # static void 640s # _org_project_signaling_iface_skeleton_handle_method_call ( 640s # GDBusConnection *connection G_GNUC_UNUSED, 640s # const gchar *sender G_GNUC_UNUSED, 640s # const gchar *object_path G_GNUC_UNUSED, 640s # const gchar *interface_name, 640s # const gchar *method_name, 640s # GVariant *parameters, 640s # GDBusMethodInvocation *invocation, 640s # gpointer user_data) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 640s # _ExtendedGDBusMethodInfo *info; 640s # GVariantIter iter; 640s # GVariant *child; 640s # GValue *paramv; 640s # gsize num_params; 640s # guint num_extra; 640s # gsize n; 640s # guint signal_id; 640s # GValue return_value = G_VALUE_INIT; 640s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 640s # g_assert (info != NULL); 640s # num_params = g_variant_n_children (parameters); 640s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 640s # n = 0; 640s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 640s # g_value_set_object (¶mv[n++], skeleton); 640s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 640s # g_value_set_object (¶mv[n++], invocation); 640s # if (info->pass_fdlist) 640s # { 640s # #ifdef G_OS_UNIX 640s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 640s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 640s # #else 640s # g_assert_not_reached (); 640s # #endif 640s # } 640s # g_variant_iter_init (&iter, parameters); 640s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 640s # { 640s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 640s # if (arg_info->use_gvariant) 640s # { 640s # g_value_init (¶mv[n], G_TYPE_VARIANT); 640s # g_value_set_variant (¶mv[n], child); 640s # n++; 640s # } 640s # else 640s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 640s # g_variant_unref (child); 640s # } 640s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 640s # g_value_init (&return_value, G_TYPE_BOOLEAN); 640s # g_signal_emitv (paramv, signal_id, 0, &return_value); 640s # if (!g_value_get_boolean (&return_value)) 640s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 640s # g_value_unset (&return_value); 640s # for (n = 0; n < num_params + num_extra; n++) 640s # g_value_unset (¶mv[n]); 640s # g_free (paramv); 640s # } 640s # 640s # static GVariant * 640s # _org_project_signaling_iface_skeleton_handle_get_property ( 640s # GDBusConnection *connection G_GNUC_UNUSED, 640s # const gchar *sender G_GNUC_UNUSED, 640s # const gchar *object_path G_GNUC_UNUSED, 640s # const gchar *interface_name G_GNUC_UNUSED, 640s # const gchar *property_name, 640s # GError **error, 640s # gpointer user_data) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 640s # GValue value = G_VALUE_INIT; 640s # GParamSpec *pspec; 640s # _ExtendedGDBusPropertyInfo *info; 640s # GVariant *ret; 640s # ret = NULL; 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 640s # g_assert (info != NULL); 640s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 640s # if (pspec == NULL) 640s # { 640s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 640s # } 640s # else 640s # { 640s # g_value_init (&value, pspec->value_type); 640s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 640s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 640s # g_value_unset (&value); 640s # } 640s # return ret; 640s # } 640s # 640s # static gboolean 640s # _org_project_signaling_iface_skeleton_handle_set_property ( 640s # GDBusConnection *connection G_GNUC_UNUSED, 640s # const gchar *sender G_GNUC_UNUSED, 640s # const gchar *object_path G_GNUC_UNUSED, 640s # const gchar *interface_name G_GNUC_UNUSED, 640s # const gchar *property_name, 640s # GVariant *variant, 640s # GError **error, 640s # gpointer user_data) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 640s # GValue value = G_VALUE_INIT; 640s # GParamSpec *pspec; 640s # _ExtendedGDBusPropertyInfo *info; 640s # gboolean ret; 640s # ret = FALSE; 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 640s # g_assert (info != NULL); 640s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 640s # if (pspec == NULL) 640s # { 640s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 640s # } 640s # else 640s # { 640s # if (info->use_gvariant) 640s # g_value_set_variant (&value, variant); 640s # else 640s # g_dbus_gvariant_to_gvalue (variant, &value); 640s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 640s # g_value_unset (&value); 640s # ret = TRUE; 640s # } 640s # return ret; 640s # } 640s # 640s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 640s # { 640s # _org_project_signaling_iface_skeleton_handle_method_call, 640s # _org_project_signaling_iface_skeleton_handle_get_property, 640s # _org_project_signaling_iface_skeleton_handle_set_property, 640s # {NULL} 640s # }; 640s # 640s # static GDBusInterfaceInfo * 640s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 640s # { 640s # return org_project_signaling_iface_interface_info (); 640s # } 640s # 640s # static GDBusInterfaceVTable * 640s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 640s # { 640s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 640s # } 640s # 640s # static GVariant * 640s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 640s # 640s # GVariantBuilder builder; 640s # guint n; 640s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 640s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 640s # goto out; 640s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 640s # { 640s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 640s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 640s # { 640s # GVariant *value; 640s # 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); 640s # if (value != NULL) 640s # { 640s # g_variant_take_ref (value); 640s # g_variant_builder_add (&builder, "{sv}", info->name, value); 640s # g_variant_unref (value); 640s # } 640s # } 640s # } 640s # out: 640s # return g_variant_builder_end (&builder); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # static void 640s # _org_project_signaling_iface_on_signal_simple_signal ( 640s # OrgProjectSignalingIface *object) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # 640s # GList *connections, *l; 640s # GVariant *signal_variant; 640s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 640s # 640s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 640s # for (l = connections; l != NULL; l = l->next) 640s # { 640s # GDBusConnection *connection = l->data; 640s # g_dbus_connection_emit_signal (connection, 640s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 640s # signal_variant, NULL); 640s # } 640s # g_variant_unref (signal_variant); 640s # g_list_free_full (connections, g_object_unref); 640s # } 640s # 640s # static void 640s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 640s # OrgProjectSignalingIface *object, 640s # guint16 arg_arg_q) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # 640s # GList *connections, *l; 640s # GVariant *signal_variant; 640s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 640s # 640s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 640s # arg_arg_q)); 640s # for (l = connections; l != NULL; l = l->next) 640s # { 640s # GDBusConnection *connection = l->data; 640s # g_dbus_connection_emit_signal (connection, 640s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 640s # signal_variant, NULL); 640s # } 640s # g_variant_unref (signal_variant); 640s # g_list_free_full (connections, g_object_unref); 640s # } 640s # 640s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 640s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 640s # 640s # #else 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 640s # 640s # #endif 640s # static void 640s # org_project_signaling_iface_skeleton_finalize (GObject *object) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 640s # if (skeleton->priv->changed_properties_idle_source != NULL) 640s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 640s # g_main_context_unref (skeleton->priv->context); 640s # g_mutex_clear (&skeleton->priv->lock); 640s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 640s # { 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 640s # #else 640s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 640s # #endif 640s # 640s # g_mutex_init (&skeleton->priv->lock); 640s # skeleton->priv->context = g_main_context_ref_thread_default (); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 640s # { 640s # GObjectClass *gobject_class; 640s # GDBusInterfaceSkeletonClass *skeleton_class; 640s # 640s # gobject_class = G_OBJECT_CLASS (klass); 640s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 640s # 640s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 640s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 640s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 640s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 640s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 640s # 640s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 640s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 640s # #endif 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 640s # { 640s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 640s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_skeleton_new: 640s # * 640s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_skeleton_new (void) 640s # { 640s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 640s # } 640s # /tmp/tmpjj2jdxte/tmp0d2msqah.xml: 640s # 640s # 640s # 640s # 640s # 640s # 640s # 640s # 640s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjj2jdxte/tmp0d2msqah.xml', '--output', '-', '--body'] 640s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 640s # Output: /* 640s # * This file is generated by gdbus-codegen, do not modify it. 640s # * 640s # * The license of this code is the same as for the D-Bus interface description 640s # * it was derived from. Note that it links to GLib, so must comply with the 640s # * LGPL linking clauses. 640s # */ 640s # 640s # #ifdef HAVE_CONFIG_H 640s # # include "config.h" 640s # #endif 640s # 640s # #include 640s # #ifdef G_OS_UNIX 640s # # include 640s # #endif 640s # 640s # #ifdef G_ENABLE_DEBUG 640s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 640s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 640s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 640s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 640s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 640s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 640s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 640s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 640s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 640s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 640s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 640s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 640s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 640s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 640s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 640s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 640s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 640s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 640s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 640s # #else /* !G_ENABLE_DEBUG */ 640s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 640s # * Do not access GValues directly in your code. Instead, use the 640s # * g_value_get_*() functions 640s # */ 640s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 640s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 640s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 640s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 640s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 640s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 640s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 640s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 640s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 640s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 640s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 640s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 640s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 640s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 640s # #endif /* !G_ENABLE_DEBUG */ 640s # 640s # typedef struct 640s # { 640s # GDBusArgInfo parent_struct; 640s # gboolean use_gvariant; 640s # } _ExtendedGDBusArgInfo; 640s # 640s # typedef struct 640s # { 640s # GDBusMethodInfo parent_struct; 640s # const gchar *signal_name; 640s # gboolean pass_fdlist; 640s # } _ExtendedGDBusMethodInfo; 640s # 640s # typedef struct 640s # { 640s # GDBusSignalInfo parent_struct; 640s # const gchar *signal_name; 640s # } _ExtendedGDBusSignalInfo; 640s # 640s # typedef struct 640s # { 640s # GDBusPropertyInfo parent_struct; 640s # const gchar *hyphen_name; 640s # guint use_gvariant : 1; 640s # guint emits_changed_signal : 1; 640s # } _ExtendedGDBusPropertyInfo; 640s # 640s # typedef struct 640s # { 640s # GDBusInterfaceInfo parent_struct; 640s # const gchar *hyphen_name; 640s # } _ExtendedGDBusInterfaceInfo; 640s # 640s # typedef struct 640s # { 640s # const _ExtendedGDBusPropertyInfo *info; 640s # guint prop_id; 640s # GValue orig_value; /* the value before the change */ 640s # } ChangedProperty; 640s # 640s # static void 640s # _changed_property_free (ChangedProperty *data) 640s # { 640s # g_value_unset (&data->orig_value); 640s # g_free (data); 640s # } 640s # 640s # static gboolean 640s # _g_strv_equal0 (gchar **a, gchar **b) 640s # { 640s # gboolean ret = FALSE; 640s # guint n; 640s # if (a == NULL && b == NULL) 640s # { 640s # ret = TRUE; 640s # goto out; 640s # } 640s # if (a == NULL || b == NULL) 640s # goto out; 640s # if (g_strv_length (a) != g_strv_length (b)) 640s # goto out; 640s # for (n = 0; a[n] != NULL; n++) 640s # if (g_strcmp0 (a[n], b[n]) != 0) 640s # goto out; 640s # ret = TRUE; 640s # out: 640s # return ret; 640s # } 640s # 640s # static gboolean 640s # _g_variant_equal0 (GVariant *a, GVariant *b) 640s # { 640s # gboolean ret = FALSE; 640s # if (a == NULL && b == NULL) 640s # { 640s # ret = TRUE; 640s # goto out; 640s # } 640s # if (a == NULL || b == NULL) 640s # goto out; 640s # ret = g_variant_equal (a, b); 640s # out: 640s # return ret; 640s # } 640s # 640s # G_GNUC_UNUSED static gboolean 640s # _g_value_equal (const GValue *a, const GValue *b) 640s # { 640s # gboolean ret = FALSE; 640s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 640s # switch (G_VALUE_TYPE (a)) 640s # { 640s # case G_TYPE_BOOLEAN: 640s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 640s # break; 640s # case G_TYPE_UCHAR: 640s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 640s # break; 640s # case G_TYPE_INT: 640s # ret = (g_value_get_int (a) == g_value_get_int (b)); 640s # break; 640s # case G_TYPE_UINT: 640s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 640s # break; 640s # case G_TYPE_INT64: 640s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 640s # break; 640s # case G_TYPE_UINT64: 640s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 640s # break; 640s # case G_TYPE_DOUBLE: 640s # { 640s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 640s # gdouble da = g_value_get_double (a); 640s # gdouble db = g_value_get_double (b); 640s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 640s # } 640s # break; 640s # case G_TYPE_STRING: 640s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 640s # break; 640s # case G_TYPE_VARIANT: 640s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 640s # break; 640s # default: 640s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 640s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 640s # else 640s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 640s # break; 640s # } 640s # return ret; 640s # } 640s # 640s # /* ------------------------------------------------------------------------ 640s # * Code for interface org.project.SignalingIface 640s # * ------------------------------------------------------------------------ 640s # */ 640s # 640s # /** 640s # * SECTION:OrgProjectSignalingIface 640s # * @title: OrgProjectSignalingIface 640s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 640s # * 640s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 640s # */ 640s # 640s # enum 640s # { 640s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 640s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 640s # }; 640s # 640s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 640s # 640s # /* ---- Introspection data for org.project.SignalingIface ---- */ 640s # 640s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 640s # { 640s # { 640s # -1, 640s # (gchar *) "SimpleSignal", 640s # NULL, 640s # NULL 640s # }, 640s # "simple-signal" 640s # }; 640s # 640s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 640s # { 640s # { 640s # -1, 640s # (gchar *) "arg_i", 640s # (gchar *) "i", 640s # NULL 640s # }, 640s # FALSE 640s # }; 640s # 640s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 640s # { 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 640s # NULL 640s # }; 640s # 640s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 640s # { 640s # { 640s # -1, 640s # (gchar *) "SingleArgSignalI", 640s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 640s # NULL 640s # }, 640s # "single-arg-signal-i" 640s # }; 640s # 640s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 640s # { 640s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 640s # NULL 640s # }; 640s # 640s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 640s # { 640s # { 640s # -1, 640s # (gchar *) "org.project.SignalingIface", 640s # NULL, 640s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 640s # NULL, 640s # NULL 640s # }, 640s # "org-project-signaling-iface", 640s # }; 640s # 640s # 640s # /** 640s # * org_project_signaling_iface_interface_info: 640s # * 640s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 640s # * 640s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 640s # */ 640s # GDBusInterfaceInfo * 640s # org_project_signaling_iface_interface_info (void) 640s # { 640s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_override_properties: 640s # * @klass: The class structure for a #GObject derived class. 640s # * @property_id_begin: The property id to assign to the first overridden property. 640s # * 640s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 640s # * The properties are overridden in the order they are defined. 640s # * 640s # * Returns: The last property id. 640s # */ 640s # guint 640s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 640s # { 640s # return property_id_begin - 1; 640s # } 640s # 640s # 640s # inline static void 640s # org_project_signaling_iface_signal_marshal_simple_signal ( 640s # GClosure *closure, 640s # GValue *return_value, 640s # unsigned int n_param_values, 640s # const GValue *param_values, 640s # void *invocation_hint, 640s # void *marshal_data) 640s # { 640s # g_cclosure_marshal_VOID__VOID (closure, 640s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 640s # } 640s # 640s # inline static void 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 640s # GClosure *closure, 640s # GValue *return_value, 640s # unsigned int n_param_values, 640s # const GValue *param_values, 640s # void *invocation_hint, 640s # void *marshal_data) 640s # { 640s # g_cclosure_marshal_VOID__INT (closure, 640s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 640s # } 640s # 640s # 640s # /** 640s # * OrgProjectSignalingIface: 640s # * 640s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 640s # */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceIface: 640s # * @parent_iface: The parent interface. 640s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 640s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 640s # * 640s # * Virtual table for the D-Bus interface org.project.SignalingIface. 640s # */ 640s # 640s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 640s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 640s # 640s # static void 640s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 640s # { 640s # /* GObject signals for received D-Bus signals: */ 640s # /** 640s # * OrgProjectSignalingIface::simple-signal: 640s # * @object: A #OrgProjectSignalingIface. 640s # * 640s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 640s # * 640s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 640s # */ 640s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 640s # g_signal_new ("simple-signal", 640s # G_TYPE_FROM_INTERFACE (iface), 640s # G_SIGNAL_RUN_LAST, 640s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 640s # NULL, 640s # NULL, 640s # org_project_signaling_iface_signal_marshal_simple_signal, 640s # G_TYPE_NONE, 640s # 0); 640s # 640s # /** 640s # * OrgProjectSignalingIface::single-arg-signal-i: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_arg_i: Argument. 640s # * 640s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 640s # * 640s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 640s # */ 640s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 640s # g_signal_new ("single-arg-signal-i", 640s # G_TYPE_FROM_INTERFACE (iface), 640s # G_SIGNAL_RUN_LAST, 640s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 640s # NULL, 640s # NULL, 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 640s # G_TYPE_NONE, 640s # 1, G_TYPE_INT); 640s # 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_emit_simple_signal: 640s # * @object: A #OrgProjectSignalingIface. 640s # * 640s # * Emits the "SimpleSignal" D-Bus signal. 640s # */ 640s # void 640s # org_project_signaling_iface_emit_simple_signal ( 640s # OrgProjectSignalingIface *object) 640s # { 640s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_emit_single_arg_signal_i: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_arg_i: Argument to pass with the signal. 640s # * 640s # * Emits the "SingleArgSignalI" D-Bus signal. 640s # */ 640s # void 640s # org_project_signaling_iface_emit_single_arg_signal_i ( 640s # OrgProjectSignalingIface *object, 640s # gint arg_arg_i) 640s # { 640s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 640s # } 640s # 640s # /* ------------------------------------------------------------------------ */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceProxy: 640s # * 640s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 640s # */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceProxyClass: 640s # * @parent_class: The parent class. 640s # * 640s # * Class structure for #OrgProjectSignalingIfaceProxy. 640s # */ 640s # 640s # struct _OrgProjectSignalingIfaceProxyPrivate 640s # { 640s # GData *qdata; 640s # }; 640s # 640s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 640s # 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 640s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 640s # 640s # #else 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 640s # 640s # #endif 640s # static void 640s # org_project_signaling_iface_proxy_finalize (GObject *object) 640s # { 640s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 640s # g_datalist_clear (&proxy->priv->qdata); 640s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 640s # guint prop_id G_GNUC_UNUSED, 640s # GValue *value G_GNUC_UNUSED, 640s # GParamSpec *pspec G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 640s # guint prop_id G_GNUC_UNUSED, 640s # const GValue *value G_GNUC_UNUSED, 640s # GParamSpec *pspec G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 640s # const gchar *sender_name G_GNUC_UNUSED, 640s # const gchar *signal_name, 640s # GVariant *parameters) 640s # { 640s # _ExtendedGDBusSignalInfo *info; 640s # GVariantIter iter; 640s # GVariant *child; 640s # GValue *paramv; 640s # gsize num_params; 640s # gsize n; 640s # guint signal_id; 640s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 640s # if (info == NULL) 640s # return; 640s # num_params = g_variant_n_children (parameters); 640s # paramv = g_new0 (GValue, num_params + 1); 640s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 640s # g_value_set_object (¶mv[0], proxy); 640s # g_variant_iter_init (&iter, parameters); 640s # n = 1; 640s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 640s # { 640s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 640s # if (arg_info->use_gvariant) 640s # { 640s # g_value_init (¶mv[n], G_TYPE_VARIANT); 640s # g_value_set_variant (¶mv[n], child); 640s # n++; 640s # } 640s # else 640s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 640s # g_variant_unref (child); 640s # } 640s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 640s # g_signal_emitv (paramv, signal_id, 0, NULL); 640s # for (n = 0; n < num_params + 1; n++) 640s # g_value_unset (¶mv[n]); 640s # g_free (paramv); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 640s # GVariant *changed_properties, 640s # const gchar *const *invalidated_properties) 640s # { 640s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 640s # guint n; 640s # const gchar *key; 640s # GVariantIter *iter; 640s # _ExtendedGDBusPropertyInfo *info; 640s # g_variant_get (changed_properties, "a{sv}", &iter); 640s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 640s # { 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 640s # g_datalist_remove_data (&proxy->priv->qdata, key); 640s # if (info != NULL) 640s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 640s # } 640s # g_variant_iter_free (iter); 640s # for (n = 0; invalidated_properties[n] != NULL; n++) 640s # { 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 640s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 640s # if (info != NULL) 640s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 640s # } 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 640s # { 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 640s # #else 640s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 640s # #endif 640s # 640s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 640s # { 640s # GObjectClass *gobject_class; 640s # GDBusProxyClass *proxy_class; 640s # 640s # gobject_class = G_OBJECT_CLASS (klass); 640s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 640s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 640s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 640s # 640s # proxy_class = G_DBUS_PROXY_CLASS (klass); 640s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 640s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 640s # 640s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 640s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 640s # #endif 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new: 640s # * @connection: A #GDBusConnection. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 640s # * @user_data: User data to pass to @callback. 640s # * 640s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 640s # * 640s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 640s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 640s # * 640s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 640s # */ 640s # void 640s # org_project_signaling_iface_proxy_new ( 640s # GDBusConnection *connection, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GAsyncReadyCallback callback, 640s # gpointer user_data) 640s # { 640s # 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); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_finish: 640s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 640s # * @error: Return location for error or %NULL 640s # * 640s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_proxy_new_finish ( 640s # GAsyncResult *res, 640s # GError **error) 640s # { 640s # GObject *ret; 640s # GObject *source_object; 640s # source_object = g_async_result_get_source_object (res); 640s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 640s # g_object_unref (source_object); 640s # if (ret != NULL) 640s # return ORG_PROJECT_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_sync: 640s # * @connection: A #GDBusConnection. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @error: Return location for error or %NULL 640s # * 640s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 640s # * 640s # * The calling thread is blocked until a reply is received. 640s # * 640s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_proxy_new_sync ( 640s # GDBusConnection *connection, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GError **error) 640s # { 640s # GInitable *ret; 640s # 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); 640s # if (ret != NULL) 640s # return ORG_PROJECT_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_for_bus: 640s # * @bus_type: A #GBusType. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: A bus name (well-known or unique). 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 640s # * @user_data: User data to pass to @callback. 640s # * 640s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 640s # * 640s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 640s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 640s # * 640s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 640s # */ 640s # void 640s # org_project_signaling_iface_proxy_new_for_bus ( 640s # GBusType bus_type, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GAsyncReadyCallback callback, 640s # gpointer user_data) 640s # { 640s # 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); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_for_bus_finish: 640s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 640s # * @error: Return location for error or %NULL 640s # * 640s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_proxy_new_for_bus_finish ( 640s # GAsyncResult *res, 640s # GError **error) 640s # { 640s # GObject *ret; 640s # GObject *source_object; 640s # source_object = g_async_result_get_source_object (res); 640s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 640s # g_object_unref (source_object); 640s # if (ret != NULL) 640s # return ORG_PROJECT_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_for_bus_sync: 640s # * @bus_type: A #GBusType. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: A bus name (well-known or unique). 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @error: Return location for error or %NULL 640s # * 640s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 640s # * 640s # * The calling thread is blocked until a reply is received. 640s # * 640s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_proxy_new_for_bus_sync ( 640s # GBusType bus_type, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GError **error) 640s # { 640s # GInitable *ret; 640s # 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); 640s # if (ret != NULL) 640s # return ORG_PROJECT_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # 640s # /* ------------------------------------------------------------------------ */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceSkeleton: 640s # * 640s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 640s # */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceSkeletonClass: 640s # * @parent_class: The parent class. 640s # * 640s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 640s # */ 640s # 640s # struct _OrgProjectSignalingIfaceSkeletonPrivate 640s # { 640s # GValue *properties; 640s # GList *changed_properties; 640s # GSource *changed_properties_idle_source; 640s # GMainContext *context; 640s # GMutex lock; 640s # }; 640s # 640s # static void 640s # _org_project_signaling_iface_skeleton_handle_method_call ( 640s # GDBusConnection *connection G_GNUC_UNUSED, 640s # const gchar *sender G_GNUC_UNUSED, 640s # const gchar *object_path G_GNUC_UNUSED, 640s # const gchar *interface_name, 640s # const gchar *method_name, 640s # GVariant *parameters, 640s # GDBusMethodInvocation *invocation, 640s # gpointer user_data) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 640s # _ExtendedGDBusMethodInfo *info; 640s # GVariantIter iter; 640s # GVariant *child; 640s # GValue *paramv; 640s # gsize num_params; 640s # guint num_extra; 640s # gsize n; 640s # guint signal_id; 640s # GValue return_value = G_VALUE_INIT; 640s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 640s # g_assert (info != NULL); 640s # num_params = g_variant_n_children (parameters); 640s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 640s # n = 0; 640s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 640s # g_value_set_object (¶mv[n++], skeleton); 640s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 640s # g_value_set_object (¶mv[n++], invocation); 640s # if (info->pass_fdlist) 640s # { 640s # #ifdef G_OS_UNIX 640s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 640s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 640s # #else 640s # g_assert_not_reached (); 640s # #endif 640s # } 640s # g_variant_iter_init (&iter, parameters); 640s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 640s # { 640s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 640s # if (arg_info->use_gvariant) 640s # { 640s # g_value_init (¶mv[n], G_TYPE_VARIANT); 640s # g_value_set_variant (¶mv[n], child); 640s # n++; 640s # } 640s # else 640s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 640s # g_variant_unref (child); 640s # } 640s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 640s # g_value_init (&return_value, G_TYPE_BOOLEAN); 640s # g_signal_emitv (paramv, signal_id, 0, &return_value); 640s # if (!g_value_get_boolean (&return_value)) 640s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 640s # g_value_unset (&return_value); 640s # for (n = 0; n < num_params + num_extra; n++) 640s # g_value_unset (¶mv[n]); 640s # g_free (paramv); 640s # } 640s # 640s # static GVariant * 640s # _org_project_signaling_iface_skeleton_handle_get_property ( 640s # GDBusConnection *connection G_GNUC_UNUSED, 640s # const gchar *sender G_GNUC_UNUSED, 640s # const gchar *object_path G_GNUC_UNUSED, 640s # const gchar *interface_name G_GNUC_UNUSED, 640s # const gchar *property_name, 640s # GError **error, 640s # gpointer user_data) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 640s # GValue value = G_VALUE_INIT; 640s # GParamSpec *pspec; 640s # _ExtendedGDBusPropertyInfo *info; 640s # GVariant *ret; 640s # ret = NULL; 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 640s # g_assert (info != NULL); 640s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 640s # if (pspec == NULL) 640s # { 640s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 640s # } 640s # else 640s # { 640s # g_value_init (&value, pspec->value_type); 640s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 640s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 640s # g_value_unset (&value); 640s # } 640s # return ret; 640s # } 640s # 640s # static gboolean 640s # _org_project_signaling_iface_skeleton_handle_set_property ( 640s # GDBusConnection *connection G_GNUC_UNUSED, 640s # const gchar *sender G_GNUC_UNUSED, 640s # const gchar *object_path G_GNUC_UNUSED, 640s # const gchar *interface_name G_GNUC_UNUSED, 640s # const gchar *property_name, 640s # GVariant *variant, 640s # GError **error, 640s # gpointer user_data) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 640s # GValue value = G_VALUE_INIT; 640s # GParamSpec *pspec; 640s # _ExtendedGDBusPropertyInfo *info; 640s # gboolean ret; 640s # ret = FALSE; 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 640s # g_assert (info != NULL); 640s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 640s # if (pspec == NULL) 640s # { 640s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 640s # } 640s # else 640s # { 640s # if (info->use_gvariant) 640s # g_value_set_variant (&value, variant); 640s # else 640s # g_dbus_gvariant_to_gvalue (variant, &value); 640s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 640s # g_value_unset (&value); 640s # ret = TRUE; 640s # } 640s # return ret; 640s # } 640s # 640s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 640s # { 640s # _org_project_signaling_iface_skeleton_handle_method_call, 640s # _org_project_signaling_iface_skeleton_handle_get_property, 640s # _org_project_signaling_iface_skeleton_handle_set_property, 640s # {NULL} 640s # }; 640s # 640s # static GDBusInterfaceInfo * 640s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 640s # { 640s # return org_project_signaling_iface_interface_info (); 640s # } 640s # 640s # static GDBusInterfaceVTable * 640s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 640s # { 640s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 640s # } 640s # 640s # static GVariant * 640s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 640s # 640s # GVariantBuilder builder; 640s # guint n; 640s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 640s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 640s # goto out; 640s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 640s # { 640s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 640s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 640s # { 640s # GVariant *value; 640s # 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); 640s # if (value != NULL) 640s # { 640s # g_variant_take_ref (value); 640s # g_variant_builder_add (&builder, "{sv}", info->name, value); 640s # g_variant_unref (value); 640s # } 640s # } 640s # } 640s # out: 640s # return g_variant_builder_end (&builder); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # static void 640s # _org_project_signaling_iface_on_signal_simple_signal ( 640s # OrgProjectSignalingIface *object) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # 640s # GList *connections, *l; 640s # GVariant *signal_variant; 640s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 640s # 640s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 640s # for (l = connections; l != NULL; l = l->next) 640s # { 640s # GDBusConnection *connection = l->data; 640s # g_dbus_connection_emit_signal (connection, 640s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 640s # signal_variant, NULL); 640s # } 640s # g_variant_unref (signal_variant); 640s # g_list_free_full (connections, g_object_unref); 640s # } 640s # 640s # static void 640s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 640s # OrgProjectSignalingIface *object, 640s # gint arg_arg_i) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # 640s # GList *connections, *l; 640s # GVariant *signal_variant; 640s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 640s # 640s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 640s # arg_arg_i)); 640s # for (l = connections; l != NULL; l = l->next) 640s # { 640s # GDBusConnection *connection = l->data; 640s # g_dbus_connection_emit_signal (connection, 640s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 640s # signal_variant, NULL); 640s # } 640s # g_variant_unref (signal_variant); 640s # g_list_free_full (connections, g_object_unref); 640s # } 640s # 640s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 640s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 640s # 640s # #else 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 640s # 640s # #endif 640s # static void 640s # org_project_signaling_iface_skeleton_finalize (GObject *object) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 640s # if (skeleton->priv->changed_properties_idle_source != NULL) 640s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 640s # g_main_context_unref (skeleton->priv->context); 640s # g_mutex_clear (&skeleton->priv->lock); 640s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 640s # { 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 640s # #else 640s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 640s # #endif 640s # 640s # g_mutex_init (&skeleton->priv->lock); 640s # skeleton->priv->context = g_main_context_ref_thread_default (); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 640s # { 640s # GObjectClass *gobject_class; 640s # GDBusInterfaceSkeletonClass *skeleton_class; 640s # 640s # gobject_class = G_OBJECT_CLASS (klass); 640s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 640s # 640s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 640s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 640s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 640s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 640s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 640s # 640s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 640s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 640s # #endif 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 640s # { 640s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 640s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_skeleton_new: 640s # * 640s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_skeleton_new (void) 640s # { 640s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 640s # } 640s # /tmp/tmpjj2jdxte/tmp2rwysr0a.xml: 640s # 640s # 640s # 640s # 640s # 640s # 640s # 640s # 640s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjj2jdxte/tmp2rwysr0a.xml', '--output', '-', '--body'] 640s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 640s # Output: /* 640s # * This file is generated by gdbus-codegen, do not modify it. 640s # * 640s # * The license of this code is the same as for the D-Bus interface description 640s # * it was derived from. Note that it links to GLib, so must comply with the 640s # * LGPL linking clauses. 640s # */ 640s # 640s # #ifdef HAVE_CONFIG_H 640s # # include "config.h" 640s # #endif 640s # 640s # #include 640s # #ifdef G_OS_UNIX 640s # # include 640s # #endif 640s # 640s # #ifdef G_ENABLE_DEBUG 640s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 640s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 640s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 640s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 640s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 640s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 640s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 640s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 640s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 640s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 640s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 640s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 640s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 640s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 640s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 640s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 640s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 640s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 640s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 640s # #else /* !G_ENABLE_DEBUG */ 640s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 640s # * Do not access GValues directly in your code. Instead, use the 640s # * g_value_get_*() functions 640s # */ 640s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 640s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 640s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 640s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 640s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 640s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 640s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 640s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 640s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 640s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 640s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 640s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 640s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 640s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 640s # #endif /* !G_ENABLE_DEBUG */ 640s # 640s # typedef struct 640s # { 640s # GDBusArgInfo parent_struct; 640s # gboolean use_gvariant; 640s # } _ExtendedGDBusArgInfo; 640s # 640s # typedef struct 640s # { 640s # GDBusMethodInfo parent_struct; 640s # const gchar *signal_name; 640s # gboolean pass_fdlist; 640s # } _ExtendedGDBusMethodInfo; 640s # 640s # typedef struct 640s # { 640s # GDBusSignalInfo parent_struct; 640s # const gchar *signal_name; 640s # } _ExtendedGDBusSignalInfo; 640s # 640s # typedef struct 640s # { 640s # GDBusPropertyInfo parent_struct; 640s # const gchar *hyphen_name; 640s # guint use_gvariant : 1; 640s # guint emits_changed_signal : 1; 640s # } _ExtendedGDBusPropertyInfo; 640s # 640s # typedef struct 640s # { 640s # GDBusInterfaceInfo parent_struct; 640s # const gchar *hyphen_name; 640s # } _ExtendedGDBusInterfaceInfo; 640s # 640s # typedef struct 640s # { 640s # const _ExtendedGDBusPropertyInfo *info; 640s # guint prop_id; 640s # GValue orig_value; /* the value before the change */ 640s # } ChangedProperty; 640s # 640s # static void 640s # _changed_property_free (ChangedProperty *data) 640s # { 640s # g_value_unset (&data->orig_value); 640s # g_free (data); 640s # } 640s # 640s # static gboolean 640s # _g_strv_equal0 (gchar **a, gchar **b) 640s # { 640s # gboolean ret = FALSE; 640s # guint n; 640s # if (a == NULL && b == NULL) 640s # { 640s # ret = TRUE; 640s # goto out; 640s # } 640s # if (a == NULL || b == NULL) 640s # goto out; 640s # if (g_strv_length (a) != g_strv_length (b)) 640s # goto out; 640s # for (n = 0; a[n] != NULL; n++) 640s # if (g_strcmp0 (a[n], b[n]) != 0) 640s # goto out; 640s # ret = TRUE; 640s # out: 640s # return ret; 640s # } 640s # 640s # static gboolean 640s # _g_variant_equal0 (GVariant *a, GVariant *b) 640s # { 640s # gboolean ret = FALSE; 640s # if (a == NULL && b == NULL) 640s # { 640s # ret = TRUE; 640s # goto out; 640s # } 640s # if (a == NULL || b == NULL) 640s # goto out; 640s # ret = g_variant_equal (a, b); 640s # out: 640s # return ret; 640s # } 640s # 640s # G_GNUC_UNUSED static gboolean 640s # _g_value_equal (const GValue *a, const GValue *b) 640s # { 640s # gboolean ret = FALSE; 640s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 640s # switch (G_VALUE_TYPE (a)) 640s # { 640s # case G_TYPE_BOOLEAN: 640s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 640s # break; 640s # case G_TYPE_UCHAR: 640s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 640s # break; 640s # case G_TYPE_INT: 640s # ret = (g_value_get_int (a) == g_value_get_int (b)); 640s # break; 640s # case G_TYPE_UINT: 640s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 640s # break; 640s # case G_TYPE_INT64: 640s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 640s # break; 640s # case G_TYPE_UINT64: 640s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 640s # break; 640s # case G_TYPE_DOUBLE: 640s # { 640s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 640s # gdouble da = g_value_get_double (a); 640s # gdouble db = g_value_get_double (b); 640s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 640s # } 640s # break; 640s # case G_TYPE_STRING: 640s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 640s # break; 640s # case G_TYPE_VARIANT: 640s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 640s # break; 640s # default: 640s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 640s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 640s # else 640s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 640s # break; 640s # } 640s # return ret; 640s # } 640s # 640s # /* ------------------------------------------------------------------------ 640s # * Code for interface org.project.SignalingIface 640s # * ------------------------------------------------------------------------ 640s # */ 640s # 640s # /** 640s # * SECTION:OrgProjectSignalingIface 640s # * @title: OrgProjectSignalingIface 640s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 640s # * 640s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 640s # */ 640s # 640s # enum 640s # { 640s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 640s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 640s # }; 640s # 640s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 640s # 640s # /* ---- Introspection data for org.project.SignalingIface ---- */ 640s # 640s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 640s # { 640s # { 640s # -1, 640s # (gchar *) "SimpleSignal", 640s # NULL, 640s # NULL 640s # }, 640s # "simple-signal" 640s # }; 640s # 640s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 640s # { 640s # { 640s # -1, 640s # (gchar *) "arg_u", 640s # (gchar *) "u", 640s # NULL 640s # }, 640s # FALSE 640s # }; 640s # 640s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 640s # { 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 640s # NULL 640s # }; 640s # 640s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 640s # { 640s # { 640s # -1, 640s # (gchar *) "SingleArgSignalU", 640s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 640s # NULL 640s # }, 640s # "single-arg-signal-u" 640s # }; 640s # 640s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 640s # { 640s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 640s # NULL 640s # }; 640s # 640s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 640s # { 640s # { 640s # -1, 640s # (gchar *) "org.project.SignalingIface", 640s # NULL, 640s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 640s # NULL, 640s # NULL 640s # }, 640s # "org-project-signaling-iface", 640s # }; 640s # 640s # 640s # /** 640s # * org_project_signaling_iface_interface_info: 640s # * 640s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 640s # * 640s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 640s # */ 640s # GDBusInterfaceInfo * 640s # org_project_signaling_iface_interface_info (void) 640s # { 640s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_override_properties: 640s # * @klass: The class structure for a #GObject derived class. 640s # * @property_id_begin: The property id to assign to the first overridden property. 640s # * 640s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 640s # * The properties are overridden in the order they are defined. 640s # * 640s # * Returns: The last property id. 640s # */ 640s # guint 640s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 640s # { 640s # return property_id_begin - 1; 640s # } 640s # 640s # 640s # inline static void 640s # org_project_signaling_iface_signal_marshal_simple_signal ( 640s # GClosure *closure, 640s # GValue *return_value, 640s # unsigned int n_param_values, 640s # const GValue *param_values, 640s # void *invocation_hint, 640s # void *marshal_data) 640s # { 640s # g_cclosure_marshal_VOID__VOID (closure, 640s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 640s # } 640s # 640s # inline static void 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 640s # GClosure *closure, 640s # GValue *return_value, 640s # unsigned int n_param_values, 640s # const GValue *param_values, 640s # void *invocation_hint, 640s # void *marshal_data) 640s # { 640s # g_cclosure_marshal_VOID__UINT (closure, 640s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 640s # } 640s # 640s # 640s # /** 640s # * OrgProjectSignalingIface: 640s # * 640s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 640s # */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceIface: 640s # * @parent_iface: The parent interface. 640s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 640s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 640s # * 640s # * Virtual table for the D-Bus interface org.project.SignalingIface. 640s # */ 640s # 640s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 640s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 640s # 640s # static void 640s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 640s # { 640s # /* GObject signals for received D-Bus signals: */ 640s # /** 640s # * OrgProjectSignalingIface::simple-signal: 640s # * @object: A #OrgProjectSignalingIface. 640s # * 640s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 640s # * 640s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 640s # */ 640s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 640s # g_signal_new ("simple-signal", 640s # G_TYPE_FROM_INTERFACE (iface), 640s # G_SIGNAL_RUN_LAST, 640s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 640s # NULL, 640s # NULL, 640s # org_project_signaling_iface_signal_marshal_simple_signal, 640s # G_TYPE_NONE, 640s # 0); 640s # 640s # /** 640s # * OrgProjectSignalingIface::single-arg-signal-u: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_arg_u: Argument. 640s # * 640s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 640s # * 640s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 640s # */ 640s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 640s # g_signal_new ("single-arg-signal-u", 640s # G_TYPE_FROM_INTERFACE (iface), 640s # G_SIGNAL_RUN_LAST, 640s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 640s # NULL, 640s # NULL, 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 640s # G_TYPE_NONE, 640s # 1, G_TYPE_UINT); 640s # 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_emit_simple_signal: 640s # * @object: A #OrgProjectSignalingIface. 640s # * 640s # * Emits the "SimpleSignal" D-Bus signal. 640s # */ 640s # void 640s # org_project_signaling_iface_emit_simple_signal ( 640s # OrgProjectSignalingIface *object) 640s # { 640s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_emit_single_arg_signal_u: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_arg_u: Argument to pass with the signal. 640s # * 640s # * Emits the "SingleArgSignalU" D-Bus signal. 640s # */ 640s # void 640s # org_project_signaling_iface_emit_single_arg_signal_u ( 640s # OrgProjectSignalingIface *object, 640s # guint arg_arg_u) 640s # { 640s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 640s # } 640s # 640s # /* ------------------------------------------------------------------------ */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceProxy: 640s # * 640s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 640s # */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceProxyClass: 640s # * @parent_class: The parent class. 640s # * 640s # * Class structure for #OrgProjectSignalingIfaceProxy. 640s # */ 640s # 640s # struct _OrgProjectSignalingIfaceProxyPrivate 640s # { 640s # GData *qdata; 640s # }; 640s # 640s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 640s # 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 640s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 640s # 640s # #else 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 640s # 640s # #endif 640s # static void 640s # org_project_signaling_iface_proxy_finalize (GObject *object) 640s # { 640s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 640s # g_datalist_clear (&proxy->priv->qdata); 640s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 640s # guint prop_id G_GNUC_UNUSED, 640s # GValue *value G_GNUC_UNUSED, 640s # GParamSpec *pspec G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 640s # guint prop_id G_GNUC_UNUSED, 640s # const GValue *value G_GNUC_UNUSED, 640s # GParamSpec *pspec G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 640s # const gchar *sender_name G_GNUC_UNUSED, 640s # const gchar *signal_name, 640s # GVariant *parameters) 640s # { 640s # _ExtendedGDBusSignalInfo *info; 640s # GVariantIter iter; 640s # GVariant *child; 640s # GValue *paramv; 640s # gsize num_params; 640s # gsize n; 640s # guint signal_id; 640s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 640s # if (info == NULL) 640s # return; 640s # num_params = g_variant_n_children (parameters); 640s # paramv = g_new0 (GValue, num_params + 1); 640s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 640s # g_value_set_object (¶mv[0], proxy); 640s # g_variant_iter_init (&iter, parameters); 640s # n = 1; 640s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 640s # { 640s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 640s # if (arg_info->use_gvariant) 640s # { 640s # g_value_init (¶mv[n], G_TYPE_VARIANT); 640s # g_value_set_variant (¶mv[n], child); 640s # n++; 640s # } 640s # else 640s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 640s # g_variant_unref (child); 640s # } 640s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 640s # g_signal_emitv (paramv, signal_id, 0, NULL); 640s # for (n = 0; n < num_params + 1; n++) 640s # g_value_unset (¶mv[n]); 640s # g_free (paramv); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 640s # GVariant *changed_properties, 640s # const gchar *const *invalidated_properties) 640s # { 640s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 640s # guint n; 640s # const gchar *key; 640s # GVariantIter *iter; 640s # _ExtendedGDBusPropertyInfo *info; 640s # g_variant_get (changed_properties, "a{sv}", &iter); 640s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 640s # { 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 640s # g_datalist_remove_data (&proxy->priv->qdata, key); 640s # if (info != NULL) 640s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 640s # } 640s # g_variant_iter_free (iter); 640s # for (n = 0; invalidated_properties[n] != NULL; n++) 640s # { 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 640s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 640s # if (info != NULL) 640s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 640s # } 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 640s # { 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 640s # #else 640s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 640s # #endif 640s # 640s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 640s # { 640s # GObjectClass *gobject_class; 640s # GDBusProxyClass *proxy_class; 640s # 640s # gobject_class = G_OBJECT_CLASS (klass); 640s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 640s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 640s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 640s # 640s # proxy_class = G_DBUS_PROXY_CLASS (klass); 640s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 640s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 640s # 640s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 640s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 640s # #endif 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new: 640s # * @connection: A #GDBusConnection. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 640s # * @user_data: User data to pass to @callback. 640s # * 640s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 640s # * 640s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 640s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 640s # * 640s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 640s # */ 640s # void 640s # org_project_signaling_iface_proxy_new ( 640s # GDBusConnection *connection, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GAsyncReadyCallback callback, 640s # gpointer user_data) 640s # { 640s # 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); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_finish: 640s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 640s # * @error: Return location for error or %NULL 640s # * 640s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_proxy_new_finish ( 640s # GAsyncResult *res, 640s # GError **error) 640s # { 640s # GObject *ret; 640s # GObject *source_object; 640s # source_object = g_async_result_get_source_object (res); 640s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 640s # g_object_unref (source_object); 640s # if (ret != NULL) 640s # return ORG_PROJECT_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_sync: 640s # * @connection: A #GDBusConnection. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @error: Return location for error or %NULL 640s # * 640s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 640s # * 640s # * The calling thread is blocked until a reply is received. 640s # * 640s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_proxy_new_sync ( 640s # GDBusConnection *connection, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GError **error) 640s # { 640s # GInitable *ret; 640s # 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); 640s # if (ret != NULL) 640s # return ORG_PROJECT_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_for_bus: 640s # * @bus_type: A #GBusType. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: A bus name (well-known or unique). 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 640s # * @user_data: User data to pass to @callback. 640s # * 640s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 640s # * 640s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 640s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 640s # * 640s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 640s # */ 640s # void 640s # org_project_signaling_iface_proxy_new_for_bus ( 640s # GBusType bus_type, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GAsyncReadyCallback callback, 640s # gpointer user_data) 640s # { 640s # 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); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_for_bus_finish: 640s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 640s # * @error: Return location for error or %NULL 640s # * 640s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_proxy_new_for_bus_finish ( 640s # GAsyncResult *res, 640s # GError **error) 640s # { 640s # GObject *ret; 640s # GObject *source_object; 640s # source_object = g_async_result_get_source_object (res); 640s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 640s # g_object_unref (source_object); 640s # if (ret != NULL) 640s # return ORG_PROJECT_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_for_bus_sync: 640s # * @bus_type: A #GBusType. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: A bus name (well-known or unique). 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @error: Return location for error or %NULL 640s # * 640s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 640s # * 640s # * The calling thread is blocked until a reply is received. 640s # * 640s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_proxy_new_for_bus_sync ( 640s # GBusType bus_type, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GError **error) 640s # { 640s # GInitable *ret; 640s # 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); 640s # if (ret != NULL) 640s # return ORG_PROJECT_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # 640s # /* ------------------------------------------------------------------------ */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceSkeleton: 640s # * 640s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 640s # */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceSkeletonClass: 640s # * @parent_class: The parent class. 640s # * 640s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 640s # */ 640s # 640s # struct _OrgProjectSignalingIfaceSkeletonPrivate 640s # { 640s # GValue *properties; 640s # GList *changed_properties; 640s # GSource *changed_properties_idle_source; 640s # GMainContext *context; 640s # GMutex lock; 640s # }; 640s # 640s # static void 640s # _org_project_signaling_iface_skeleton_handle_method_call ( 640s # GDBusConnection *connection G_GNUC_UNUSED, 640s # const gchar *sender G_GNUC_UNUSED, 640s # const gchar *object_path G_GNUC_UNUSED, 640s # const gchar *interface_name, 640s # const gchar *method_name, 640s # GVariant *parameters, 640s # GDBusMethodInvocation *invocation, 640s # gpointer user_data) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 640s # _ExtendedGDBusMethodInfo *info; 640s # GVariantIter iter; 640s # GVariant *child; 640s # GValue *paramv; 640s # gsize num_params; 640s # guint num_extra; 640s # gsize n; 640s # guint signal_id; 640s # GValue return_value = G_VALUE_INIT; 640s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 640s # g_assert (info != NULL); 640s # num_params = g_variant_n_children (parameters); 640s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 640s # n = 0; 640s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 640s # g_value_set_object (¶mv[n++], skeleton); 640s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 640s # g_value_set_object (¶mv[n++], invocation); 640s # if (info->pass_fdlist) 640s # { 640s # #ifdef G_OS_UNIX 640s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 640s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 640s # #else 640s # g_assert_not_reached (); 640s # #endif 640s # } 640s # g_variant_iter_init (&iter, parameters); 640s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 640s # { 640s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 640s # if (arg_info->use_gvariant) 640s # { 640s # g_value_init (¶mv[n], G_TYPE_VARIANT); 640s # g_value_set_variant (¶mv[n], child); 640s # n++; 640s # } 640s # else 640s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 640s # g_variant_unref (child); 640s # } 640s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 640s # g_value_init (&return_value, G_TYPE_BOOLEAN); 640s # g_signal_emitv (paramv, signal_id, 0, &return_value); 640s # if (!g_value_get_boolean (&return_value)) 640s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 640s # g_value_unset (&return_value); 640s # for (n = 0; n < num_params + num_extra; n++) 640s # g_value_unset (¶mv[n]); 640s # g_free (paramv); 640s # } 640s # 640s # static GVariant * 640s # _org_project_signaling_iface_skeleton_handle_get_property ( 640s # GDBusConnection *connection G_GNUC_UNUSED, 640s # const gchar *sender G_GNUC_UNUSED, 640s # const gchar *object_path G_GNUC_UNUSED, 640s # const gchar *interface_name G_GNUC_UNUSED, 640s # const gchar *property_name, 640s # GError **error, 640s # gpointer user_data) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 640s # GValue value = G_VALUE_INIT; 640s # GParamSpec *pspec; 640s # _ExtendedGDBusPropertyInfo *info; 640s # GVariant *ret; 640s # ret = NULL; 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 640s # g_assert (info != NULL); 640s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 640s # if (pspec == NULL) 640s # { 640s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 640s # } 640s # else 640s # { 640s # g_value_init (&value, pspec->value_type); 640s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 640s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 640s # g_value_unset (&value); 640s # } 640s # return ret; 640s # } 640s # 640s # static gboolean 640s # _org_project_signaling_iface_skeleton_handle_set_property ( 640s # GDBusConnection *connection G_GNUC_UNUSED, 640s # const gchar *sender G_GNUC_UNUSED, 640s # const gchar *object_path G_GNUC_UNUSED, 640s # const gchar *interface_name G_GNUC_UNUSED, 640s # const gchar *property_name, 640s # GVariant *variant, 640s # GError **error, 640s # gpointer user_data) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 640s # GValue value = G_VALUE_INIT; 640s # GParamSpec *pspec; 640s # _ExtendedGDBusPropertyInfo *info; 640s # gboolean ret; 640s # ret = FALSE; 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 640s # g_assert (info != NULL); 640s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 640s # if (pspec == NULL) 640s # { 640s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 640s # } 640s # else 640s # { 640s # if (info->use_gvariant) 640s # g_value_set_variant (&value, variant); 640s # else 640s # g_dbus_gvariant_to_gvalue (variant, &value); 640s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 640s # g_value_unset (&value); 640s # ret = TRUE; 640s # } 640s # return ret; 640s # } 640s # 640s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 640s # { 640s # _org_project_signaling_iface_skeleton_handle_method_call, 640s # _org_project_signaling_iface_skeleton_handle_get_property, 640s # _org_project_signaling_iface_skeleton_handle_set_property, 640s # {NULL} 640s # }; 640s # 640s # static GDBusInterfaceInfo * 640s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 640s # { 640s # return org_project_signaling_iface_interface_info (); 640s # } 640s # 640s # static GDBusInterfaceVTable * 640s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 640s # { 640s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 640s # } 640s # 640s # static GVariant * 640s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 640s # 640s # GVariantBuilder builder; 640s # guint n; 640s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 640s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 640s # goto out; 640s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 640s # { 640s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 640s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 640s # { 640s # GVariant *value; 640s # 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); 640s # if (value != NULL) 640s # { 640s # g_variant_take_ref (value); 640s # g_variant_builder_add (&builder, "{sv}", info->name, value); 640s # g_variant_unref (value); 640s # } 640s # } 640s # } 640s # out: 640s # return g_variant_builder_end (&builder); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # static void 640s # _org_project_signaling_iface_on_signal_simple_signal ( 640s # OrgProjectSignalingIface *object) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # 640s # GList *connections, *l; 640s # GVariant *signal_variant; 640s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 640s # 640s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 640s # for (l = connections; l != NULL; l = l->next) 640s # { 640s # GDBusConnection *connection = l->data; 640s # g_dbus_connection_emit_signal (connection, 640s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 640s # signal_variant, NULL); 640s # } 640s # g_variant_unref (signal_variant); 640s # g_list_free_full (connections, g_object_unref); 640s # } 640s # 640s # static void 640s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 640s # OrgProjectSignalingIface *object, 640s # guint arg_arg_u) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # 640s # GList *connections, *l; 640s # GVariant *signal_variant; 640s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 640s # 640s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 640s # arg_arg_u)); 640s # for (l = connections; l != NULL; l = l->next) 640s # { 640s # GDBusConnection *connection = l->data; 640s # g_dbus_connection_emit_signal (connection, 640s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 640s # signal_variant, NULL); 640s # } 640s # g_variant_unref (signal_variant); 640s # g_list_free_full (connections, g_object_unref); 640s # } 640s # 640s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 640s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 640s # 640s # #else 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 640s # 640s # #endif 640s # static void 640s # org_project_signaling_iface_skeleton_finalize (GObject *object) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 640s # if (skeleton->priv->changed_properties_idle_source != NULL) 640s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 640s # g_main_context_unref (skeleton->priv->context); 640s # g_mutex_clear (&skeleton->priv->lock); 640s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 640s # { 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 640s # #else 640s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 640s # #endif 640s # 640s # g_mutex_init (&skeleton->priv->lock); 640s # skeleton->priv->context = g_main_context_ref_thread_default (); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 640s # { 640s # GObjectClass *gobject_class; 640s # GDBusInterfaceSkeletonClass *skeleton_class; 640s # 640s # gobject_class = G_OBJECT_CLASS (klass); 640s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 640s # 640s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 640s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 640s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 640s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 640s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 640s # 640s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 640s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 640s # #endif 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 640s # { 640s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 640s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_skeleton_new: 640s # * 640s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_skeleton_new (void) 640s # { 640s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 640s # } 640s # /tmp/tmpjj2jdxte/tmpu0wr2ei_.xml: 640s # 640s # 640s # 640s # 640s # 640s # 640s # 640s # 640s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjj2jdxte/tmpu0wr2ei_.xml', '--output', '-', '--body'] 640s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 640s # Output: /* 640s # * This file is generated by gdbus-codegen, do not modify it. 640s # * 640s # * The license of this code is the same as for the D-Bus interface description 640s # * it was derived from. Note that it links to GLib, so must comply with the 640s # * LGPL linking clauses. 640s # */ 640s # 640s # #ifdef HAVE_CONFIG_H 640s # # include "config.h" 640s # #endif 640s # 640s # #include 640s # #ifdef G_OS_UNIX 640s # # include 640s # #endif 640s # 640s # #ifdef G_ENABLE_DEBUG 640s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 640s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 640s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 640s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 640s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 640s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 640s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 640s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 640s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 640s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 640s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 640s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 640s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 640s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 640s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 640s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 640s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 640s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 640s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 640s # #else /* !G_ENABLE_DEBUG */ 640s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 640s # * Do not access GValues directly in your code. Instead, use the 640s # * g_value_get_*() functions 640s # */ 640s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 640s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 640s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 640s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 640s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 640s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 640s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 640s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 640s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 640s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 640s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 640s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 640s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 640s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 640s # #endif /* !G_ENABLE_DEBUG */ 640s # 640s # typedef struct 640s # { 640s # GDBusArgInfo parent_struct; 640s # gboolean use_gvariant; 640s # } _ExtendedGDBusArgInfo; 640s # 640s # typedef struct 640s # { 640s # GDBusMethodInfo parent_struct; 640s # const gchar *signal_name; 640s # gboolean pass_fdlist; 640s # } _ExtendedGDBusMethodInfo; 640s # 640s # typedef struct 640s # { 640s # GDBusSignalInfo parent_struct; 640s # const gchar *signal_name; 640s # } _ExtendedGDBusSignalInfo; 640s # 640s # typedef struct 640s # { 640s # GDBusPropertyInfo parent_struct; 640s # const gchar *hyphen_name; 640s # guint use_gvariant : 1; 640s # guint emits_changed_signal : 1; 640s # } _ExtendedGDBusPropertyInfo; 640s # 640s # typedef struct 640s # { 640s # GDBusInterfaceInfo parent_struct; 640s # const gchar *hyphen_name; 640s # } _ExtendedGDBusInterfaceInfo; 640s # 640s # typedef struct 640s # { 640s # const _ExtendedGDBusPropertyInfo *info; 640s # guint prop_id; 640s # GValue orig_value; /* the value before the change */ 640s # } ChangedProperty; 640s # 640s # static void 640s # _changed_property_free (ChangedProperty *data) 640s # { 640s # g_value_unset (&data->orig_value); 640s # g_free (data); 640s # } 640s # 640s # static gboolean 640s # _g_strv_equal0 (gchar **a, gchar **b) 640s # { 640s # gboolean ret = FALSE; 640s # guint n; 640s # if (a == NULL && b == NULL) 640s # { 640s # ret = TRUE; 640s # goto out; 640s # } 640s # if (a == NULL || b == NULL) 640s # goto out; 640s # if (g_strv_length (a) != g_strv_length (b)) 640s # goto out; 640s # for (n = 0; a[n] != NULL; n++) 640s # if (g_strcmp0 (a[n], b[n]) != 0) 640s # goto out; 640s # ret = TRUE; 640s # out: 640s # return ret; 640s # } 640s # 640s # static gboolean 640s # _g_variant_equal0 (GVariant *a, GVariant *b) 640s # { 640s # gboolean ret = FALSE; 640s # if (a == NULL && b == NULL) 640s # { 640s # ret = TRUE; 640s # goto out; 640s # } 640s # if (a == NULL || b == NULL) 640s # goto out; 640s # ret = g_variant_equal (a, b); 640s # out: 640s # return ret; 640s # } 640s # 640s # G_GNUC_UNUSED static gboolean 640s # _g_value_equal (const GValue *a, const GValue *b) 640s # { 640s # gboolean ret = FALSE; 640s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 640s # switch (G_VALUE_TYPE (a)) 640s # { 640s # case G_TYPE_BOOLEAN: 640s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 640s # break; 640s # case G_TYPE_UCHAR: 640s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 640s # break; 640s # case G_TYPE_INT: 640s # ret = (g_value_get_int (a) == g_value_get_int (b)); 640s # break; 640s # case G_TYPE_UINT: 640s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 640s # break; 640s # case G_TYPE_INT64: 640s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 640s # break; 640s # case G_TYPE_UINT64: 640s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 640s # break; 640s # case G_TYPE_DOUBLE: 640s # { 640s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 640s # gdouble da = g_value_get_double (a); 640s # gdouble db = g_value_get_double (b); 640s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 640s # } 640s # break; 640s # case G_TYPE_STRING: 640s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 640s # break; 640s # case G_TYPE_VARIANT: 640s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 640s # break; 640s # default: 640s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 640s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 640s # else 640s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 640s # break; 640s # } 640s # return ret; 640s # } 640s # 640s # static void 640s # _g_dbus_codegen_marshal_VOID__INT64 ( 640s # GClosure *closure, 640s # GValue *return_value G_GNUC_UNUSED, 640s # unsigned int n_param_values, 640s # const GValue *param_values, 640s # void *invocation_hint G_GNUC_UNUSED, 640s # void *marshal_data) 640s # { 640s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 640s # (void *data1, 640s # gint64 arg_arg_x, 640s # void *data2); 640s # _GDbusCodegenMarshalVoid_Int64Func callback; 640s # GCClosure *cc = (GCClosure*) closure; 640s # void *data1, *data2; 640s # 640s # g_return_if_fail (n_param_values == 2); 640s # 640s # if (G_CCLOSURE_SWAP_DATA (closure)) 640s # { 640s # data1 = closure->data; 640s # data2 = g_value_peek_pointer (param_values + 0); 640s # } 640s # else 640s # { 640s # data1 = g_value_peek_pointer (param_values + 0); 640s # data2 = closure->data; 640s # } 640s # 640s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 640s # (marshal_data ? marshal_data : cc->callback); 640s # 640s # callback (data1, 640s # g_marshal_value_peek_int64 (param_values + 1), 640s # data2); 640s # } 640s # 640s # /* ------------------------------------------------------------------------ 640s # * Code for interface org.project.SignalingIface 640s # * ------------------------------------------------------------------------ 640s # */ 640s # 640s # /** 640s # * SECTION:OrgProjectSignalingIface 640s # * @title: OrgProjectSignalingIface 640s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 640s # * 640s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 640s # */ 640s # 640s # enum 640s # { 640s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 640s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 640s # }; 640s # 640s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 640s # 640s # /* ---- Introspection data for org.project.SignalingIface ---- */ 640s # 640s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 640s # { 640s # { 640s # -1, 640s # (gchar *) "SimpleSignal", 640s # NULL, 640s # NULL 640s # }, 640s # "simple-signal" 640s # }; 640s # 640s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 640s # { 640s # { 640s # -1, 640s # (gchar *) "arg_x", 640s # (gchar *) "x", 640s # NULL 640s # }, 640s # FALSE 640s # }; 640s # 640s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 640s # { 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 640s # NULL 640s # }; 640s # 640s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 640s # { 640s # { 640s # -1, 640s # (gchar *) "SingleArgSignalX", 640s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 640s # NULL 640s # }, 640s # "single-arg-signal-x" 640s # }; 640s # 640s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 640s # { 640s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 640s # NULL 640s # }; 640s # 640s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 640s # { 640s # { 640s # -1, 640s # (gchar *) "org.project.SignalingIface", 640s # NULL, 640s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 640s # NULL, 640s # NULL 640s # }, 640s # "org-project-signaling-iface", 640s # }; 640s # 640s # 640s # /** 640s # * org_project_signaling_iface_interface_info: 640s # * 640s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 640s # * 640s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 640s # */ 640s # GDBusInterfaceInfo * 640s # org_project_signaling_iface_interface_info (void) 640s # { 640s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_override_properties: 640s # * @klass: The class structure for a #GObject derived class. 640s # * @property_id_begin: The property id to assign to the first overridden property. 640s # * 640s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 640s # * The properties are overridden in the order they are defined. 640s # * 640s # * Returns: The last property id. 640s # */ 640s # guint 640s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 640s # { 640s # return property_id_begin - 1; 640s # } 640s # 640s # 640s # inline static void 640s # org_project_signaling_iface_signal_marshal_simple_signal ( 640s # GClosure *closure, 640s # GValue *return_value, 640s # unsigned int n_param_values, 640s # const GValue *param_values, 640s # void *invocation_hint, 640s # void *marshal_data) 640s # { 640s # g_cclosure_marshal_VOID__VOID (closure, 640s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 640s # } 640s # 640s # inline static void 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 640s # GClosure *closure, 640s # GValue *return_value, 640s # unsigned int n_param_values, 640s # const GValue *param_values, 640s # void *invocation_hint, 640s # void *marshal_data) 640s # { 640s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 640s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 640s # } 640s # 640s # 640s # /** 640s # * OrgProjectSignalingIface: 640s # * 640s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 640s # */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceIface: 640s # * @parent_iface: The parent interface. 640s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 640s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 640s # * 640s # * Virtual table for the D-Bus interface org.project.SignalingIface. 640s # */ 640s # 640s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 640s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 640s # 640s # static void 640s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 640s # { 640s # /* GObject signals for received D-Bus signals: */ 640s # /** 640s # * OrgProjectSignalingIface::simple-signal: 640s # * @object: A #OrgProjectSignalingIface. 640s # * 640s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 640s # * 640s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 640s # */ 640s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 640s # g_signal_new ("simple-signal", 640s # G_TYPE_FROM_INTERFACE (iface), 640s # G_SIGNAL_RUN_LAST, 640s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 640s # NULL, 640s # NULL, 640s # org_project_signaling_iface_signal_marshal_simple_signal, 640s # G_TYPE_NONE, 640s # 0); 640s # 640s # /** 640s # * OrgProjectSignalingIface::single-arg-signal-x: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_arg_x: Argument. 640s # * 640s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 640s # * 640s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 640s # */ 640s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 640s # g_signal_new ("single-arg-signal-x", 640s # G_TYPE_FROM_INTERFACE (iface), 640s # G_SIGNAL_RUN_LAST, 640s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 640s # NULL, 640s # NULL, 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 640s # G_TYPE_NONE, 640s # 1, G_TYPE_INT64); 640s # 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_emit_simple_signal: 640s # * @object: A #OrgProjectSignalingIface. 640s # * 640s # * Emits the "SimpleSignal" D-Bus signal. 640s # */ 640s # void 640s # org_project_signaling_iface_emit_simple_signal ( 640s # OrgProjectSignalingIface *object) 640s # { 640s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_emit_single_arg_signal_x: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_arg_x: Argument to pass with the signal. 640s # * 640s # * Emits the "SingleArgSignalX" D-Bus signal. 640s # */ 640s # void 640s # org_project_signaling_iface_emit_single_arg_signal_x ( 640s # OrgProjectSignalingIface *object, 640s # gint64 arg_arg_x) 640s # { 640s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 640s # } 640s # 640s # /* ------------------------------------------------------------------------ */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceProxy: 640s # * 640s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 640s # */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceProxyClass: 640s # * @parent_class: The parent class. 640s # * 640s # * Class structure for #OrgProjectSignalingIfaceProxy. 640s # */ 640s # 640s # struct _OrgProjectSignalingIfaceProxyPrivate 640s # { 640s # GData *qdata; 640s # }; 640s # 640s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 640s # 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 640s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 640s # 640s # #else 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 640s # 640s # #endif 640s # static void 640s # org_project_signaling_iface_proxy_finalize (GObject *object) 640s # { 640s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 640s # g_datalist_clear (&proxy->priv->qdata); 640s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 640s # guint prop_id G_GNUC_UNUSED, 640s # GValue *value G_GNUC_UNUSED, 640s # GParamSpec *pspec G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 640s # guint prop_id G_GNUC_UNUSED, 640s # const GValue *value G_GNUC_UNUSED, 640s # GParamSpec *pspec G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 640s # const gchar *sender_name G_GNUC_UNUSED, 640s # const gchar *signal_name, 640s # GVariant *parameters) 640s # { 640s # _ExtendedGDBusSignalInfo *info; 640s # GVariantIter iter; 640s # GVariant *child; 640s # GValue *paramv; 640s # gsize num_params; 640s # gsize n; 640s # guint signal_id; 640s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 640s # if (info == NULL) 640s # return; 640s # num_params = g_variant_n_children (parameters); 640s # paramv = g_new0 (GValue, num_params + 1); 640s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 640s # g_value_set_object (¶mv[0], proxy); 640s # g_variant_iter_init (&iter, parameters); 640s # n = 1; 640s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 640s # { 640s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 640s # if (arg_info->use_gvariant) 640s # { 640s # g_value_init (¶mv[n], G_TYPE_VARIANT); 640s # g_value_set_variant (¶mv[n], child); 640s # n++; 640s # } 640s # else 640s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 640s # g_variant_unref (child); 640s # } 640s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 640s # g_signal_emitv (paramv, signal_id, 0, NULL); 640s # for (n = 0; n < num_params + 1; n++) 640s # g_value_unset (¶mv[n]); 640s # g_free (paramv); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 640s # GVariant *changed_properties, 640s # const gchar *const *invalidated_properties) 640s # { 640s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 640s # guint n; 640s # const gchar *key; 640s # GVariantIter *iter; 640s # _ExtendedGDBusPropertyInfo *info; 640s # g_variant_get (changed_properties, "a{sv}", &iter); 640s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 640s # { 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 640s # g_datalist_remove_data (&proxy->priv->qdata, key); 640s # if (info != NULL) 640s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 640s # } 640s # g_variant_iter_free (iter); 640s # for (n = 0; invalidated_properties[n] != NULL; n++) 640s # { 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 640s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 640s # if (info != NULL) 640s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 640s # } 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 640s # { 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 640s # #else 640s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 640s # #endif 640s # 640s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 640s # { 640s # GObjectClass *gobject_class; 640s # GDBusProxyClass *proxy_class; 640s # 640s # gobject_class = G_OBJECT_CLASS (klass); 640s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 640s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 640s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 640s # 640s # proxy_class = G_DBUS_PROXY_CLASS (klass); 640s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 640s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 640s # 640s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 640s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 640s # #endif 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new: 640s # * @connection: A #GDBusConnection. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 640s # * @user_data: User data to pass to @callback. 640s # * 640s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 640s # * 640s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 640s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 640s # * 640s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 640s # */ 640s # void 640s # org_project_signaling_iface_proxy_new ( 640s # GDBusConnection *connection, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GAsyncReadyCallback callback, 640s # gpointer user_data) 640s # { 640s # 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); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_finish: 640s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 640s # * @error: Return location for error or %NULL 640s # * 640s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_proxy_new_finish ( 640s # GAsyncResult *res, 640s # GError **error) 640s # { 640s # GObject *ret; 640s # GObject *source_object; 640s # source_object = g_async_result_get_source_object (res); 640s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 640s # g_object_unref (source_object); 640s # if (ret != NULL) 640s # return ORG_PROJECT_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_sync: 640s # * @connection: A #GDBusConnection. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @error: Return location for error or %NULL 640s # * 640s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 640s # * 640s # * The calling thread is blocked until a reply is received. 640s # * 640s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_proxy_new_sync ( 640s # GDBusConnection *connection, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GError **error) 640s # { 640s # GInitable *ret; 640s # 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); 640s # if (ret != NULL) 640s # return ORG_PROJECT_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_for_bus: 640s # * @bus_type: A #GBusType. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: A bus name (well-known or unique). 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 640s # * @user_data: User data to pass to @callback. 640s # * 640s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 640s # * 640s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 640s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 640s # * 640s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 640s # */ 640s # void 640s # org_project_signaling_iface_proxy_new_for_bus ( 640s # GBusType bus_type, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GAsyncReadyCallback callback, 640s # gpointer user_data) 640s # { 640s # 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); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_for_bus_finish: 640s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 640s # * @error: Return location for error or %NULL 640s # * 640s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_proxy_new_for_bus_finish ( 640s # GAsyncResult *res, 640s # GError **error) 640s # { 640s # GObject *ret; 640s # GObject *source_object; 640s # source_object = g_async_result_get_source_object (res); 640s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 640s # g_object_unref (source_object); 640s # if (ret != NULL) 640s # return ORG_PROJECT_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_for_bus_sync: 640s # * @bus_type: A #GBusType. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: A bus name (well-known or unique). 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @error: Return location for error or %NULL 640s # * 640s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 640s # * 640s # * The calling thread is blocked until a reply is received. 640s # * 640s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_proxy_new_for_bus_sync ( 640s # GBusType bus_type, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GError **error) 640s # { 640s # GInitable *ret; 640s # 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); 640s # if (ret != NULL) 640s # return ORG_PROJECT_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # 640s # /* ------------------------------------------------------------------------ */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceSkeleton: 640s # * 640s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 640s # */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceSkeletonClass: 640s # * @parent_class: The parent class. 640s # * 640s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 640s # */ 640s # 640s # struct _OrgProjectSignalingIfaceSkeletonPrivate 640s # { 640s # GValue *properties; 640s # GList *changed_properties; 640s # GSource *changed_properties_idle_source; 640s # GMainContext *context; 640s # GMutex lock; 640s # }; 640s # 640s # static void 640s # _org_project_signaling_iface_skeleton_handle_method_call ( 640s # GDBusConnection *connection G_GNUC_UNUSED, 640s # const gchar *sender G_GNUC_UNUSED, 640s # const gchar *object_path G_GNUC_UNUSED, 640s # const gchar *interface_name, 640s # const gchar *method_name, 640s # GVariant *parameters, 640s # GDBusMethodInvocation *invocation, 640s # gpointer user_data) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 640s # _ExtendedGDBusMethodInfo *info; 640s # GVariantIter iter; 640s # GVariant *child; 640s # GValue *paramv; 640s # gsize num_params; 640s # guint num_extra; 640s # gsize n; 640s # guint signal_id; 640s # GValue return_value = G_VALUE_INIT; 640s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 640s # g_assert (info != NULL); 640s # num_params = g_variant_n_children (parameters); 640s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 640s # n = 0; 640s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 640s # g_value_set_object (¶mv[n++], skeleton); 640s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 640s # g_value_set_object (¶mv[n++], invocation); 640s # if (info->pass_fdlist) 640s # { 640s # #ifdef G_OS_UNIX 640s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 640s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 640s # #else 640s # g_assert_not_reached (); 640s # #endif 640s # } 640s # g_variant_iter_init (&iter, parameters); 640s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 640s # { 640s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 640s # if (arg_info->use_gvariant) 640s # { 640s # g_value_init (¶mv[n], G_TYPE_VARIANT); 640s # g_value_set_variant (¶mv[n], child); 640s # n++; 640s # } 640s # else 640s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 640s # g_variant_unref (child); 640s # } 640s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 640s # g_value_init (&return_value, G_TYPE_BOOLEAN); 640s # g_signal_emitv (paramv, signal_id, 0, &return_value); 640s # if (!g_value_get_boolean (&return_value)) 640s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 640s # g_value_unset (&return_value); 640s # for (n = 0; n < num_params + num_extra; n++) 640s # g_value_unset (¶mv[n]); 640s # g_free (paramv); 640s # } 640s # 640s # static GVariant * 640s # _org_project_signaling_iface_skeleton_handle_get_property ( 640s # GDBusConnection *connection G_GNUC_UNUSED, 640s # const gchar *sender G_GNUC_UNUSED, 640s # const gchar *object_path G_GNUC_UNUSED, 640s # const gchar *interface_name G_GNUC_UNUSED, 640s # const gchar *property_name, 640s # GError **error, 640s # gpointer user_data) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 640s # GValue value = G_VALUE_INIT; 640s # GParamSpec *pspec; 640s # _ExtendedGDBusPropertyInfo *info; 640s # GVariant *ret; 640s # ret = NULL; 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 640s # g_assert (info != NULL); 640s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 640s # if (pspec == NULL) 640s # { 640s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 640s # } 640s # else 640s # { 640s # g_value_init (&value, pspec->value_type); 640s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 640s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 640s # g_value_unset (&value); 640s # } 640s # return ret; 640s # } 640s # 640s # static gboolean 640s # _org_project_signaling_iface_skeleton_handle_set_property ( 640s # GDBusConnection *connection G_GNUC_UNUSED, 640s # const gchar *sender G_GNUC_UNUSED, 640s # const gchar *object_path G_GNUC_UNUSED, 640s # const gchar *interface_name G_GNUC_UNUSED, 640s # const gchar *property_name, 640s # GVariant *variant, 640s # GError **error, 640s # gpointer user_data) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 640s # GValue value = G_VALUE_INIT; 640s # GParamSpec *pspec; 640s # _ExtendedGDBusPropertyInfo *info; 640s # gboolean ret; 640s # ret = FALSE; 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 640s # g_assert (info != NULL); 640s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 640s # if (pspec == NULL) 640s # { 640s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 640s # } 640s # else 640s # { 640s # if (info->use_gvariant) 640s # g_value_set_variant (&value, variant); 640s # else 640s # g_dbus_gvariant_to_gvalue (variant, &value); 640s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 640s # g_value_unset (&value); 640s # ret = TRUE; 640s # } 640s # return ret; 640s # } 640s # 640s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 640s # { 640s # _org_project_signaling_iface_skeleton_handle_method_call, 640s # _org_project_signaling_iface_skeleton_handle_get_property, 640s # _org_project_signaling_iface_skeleton_handle_set_property, 640s # {NULL} 640s # }; 640s # 640s # static GDBusInterfaceInfo * 640s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 640s # { 640s # return org_project_signaling_iface_interface_info (); 640s # } 640s # 640s # static GDBusInterfaceVTable * 640s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 640s # { 640s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 640s # } 640s # 640s # static GVariant * 640s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 640s # 640s # GVariantBuilder builder; 640s # guint n; 640s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 640s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 640s # goto out; 640s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 640s # { 640s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 640s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 640s # { 640s # GVariant *value; 640s # 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); 640s # if (value != NULL) 640s # { 640s # g_variant_take_ref (value); 640s # g_variant_builder_add (&builder, "{sv}", info->name, value); 640s # g_variant_unref (value); 640s # } 640s # } 640s # } 640s # out: 640s # return g_variant_builder_end (&builder); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # static void 640s # _org_project_signaling_iface_on_signal_simple_signal ( 640s # OrgProjectSignalingIface *object) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # 640s # GList *connections, *l; 640s # GVariant *signal_variant; 640s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 640s # 640s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 640s # for (l = connections; l != NULL; l = l->next) 640s # { 640s # GDBusConnection *connection = l->data; 640s # g_dbus_connection_emit_signal (connection, 640s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 640s # signal_variant, NULL); 640s # } 640s # g_variant_unref (signal_variant); 640s # g_list_free_full (connections, g_object_unref); 640s # } 640s # 640s # static void 640s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 640s # OrgProjectSignalingIface *object, 640s # gint64 arg_arg_x) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # 640s # GList *connections, *l; 640s # GVariant *signal_variant; 640s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 640s # 640s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 640s # arg_arg_x)); 640s # for (l = connections; l != NULL; l = l->next) 640s # { 640s # GDBusConnection *connection = l->data; 640s # g_dbus_connection_emit_signal (connection, 640s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 640s # signal_variant, NULL); 640s # } 640s # g_variant_unref (signal_variant); 640s # g_list_free_full (connections, g_object_unref); 640s # } 640s # 640s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 640s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 640s # 640s # #else 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 640s # 640s # #endif 640s # static void 640s # org_project_signaling_iface_skeleton_finalize (GObject *object) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 640s # if (skeleton->priv->changed_properties_idle_source != NULL) 640s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 640s # g_main_context_unref (skeleton->priv->context); 640s # g_mutex_clear (&skeleton->priv->lock); 640s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 640s # { 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 640s # #else 640s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 640s # #endif 640s # 640s # g_mutex_init (&skeleton->priv->lock); 640s # skeleton->priv->context = g_main_context_ref_thread_default (); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 640s # { 640s # GObjectClass *gobject_class; 640s # GDBusInterfaceSkeletonClass *skeleton_class; 640s # 640s # gobject_class = G_OBJECT_CLASS (klass); 640s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 640s # 640s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 640s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 640s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 640s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 640s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 640s # 640s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 640s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 640s # #endif 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 640s # { 640s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 640s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_skeleton_new: 640s # * 640s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_skeleton_new (void) 640s # { 640s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 640s # } 640s # /tmp/tmpjj2jdxte/tmpd3rl6pak.xml: 640s # 640s # 640s # 640s # 640s # 640s # 640s # 640s # 640s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjj2jdxte/tmpd3rl6pak.xml', '--output', '-', '--body'] 640s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 640s # Output: /* 640s # * This file is generated by gdbus-codegen, do not modify it. 640s # * 640s # * The license of this code is the same as for the D-Bus interface description 640s # * it was derived from. Note that it links to GLib, so must comply with the 640s # * LGPL linking clauses. 640s # */ 640s # 640s # #ifdef HAVE_CONFIG_H 640s # # include "config.h" 640s # #endif 640s # 640s # #include 640s # #ifdef G_OS_UNIX 640s # # include 640s # #endif 640s # 640s # #ifdef G_ENABLE_DEBUG 640s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 640s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 640s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 640s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 640s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 640s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 640s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 640s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 640s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 640s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 640s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 640s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 640s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 640s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 640s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 640s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 640s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 640s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 640s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 640s # #else /* !G_ENABLE_DEBUG */ 640s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 640s # * Do not access GValues directly in your code. Instead, use the 640s # * g_value_get_*() functions 640s # */ 640s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 640s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 640s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 640s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 640s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 640s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 640s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 640s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 640s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 640s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 640s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 640s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 640s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 640s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 640s # #endif /* !G_ENABLE_DEBUG */ 640s # 640s # typedef struct 640s # { 640s # GDBusArgInfo parent_struct; 640s # gboolean use_gvariant; 640s # } _ExtendedGDBusArgInfo; 640s # 640s # typedef struct 640s # { 640s # GDBusMethodInfo parent_struct; 640s # const gchar *signal_name; 640s # gboolean pass_fdlist; 640s # } _ExtendedGDBusMethodInfo; 640s # 640s # typedef struct 640s # { 640s # GDBusSignalInfo parent_struct; 640s # const gchar *signal_name; 640s # } _ExtendedGDBusSignalInfo; 640s # 640s # typedef struct 640s # { 640s # GDBusPropertyInfo parent_struct; 640s # const gchar *hyphen_name; 640s # guint use_gvariant : 1; 640s # guint emits_changed_signal : 1; 640s # } _ExtendedGDBusPropertyInfo; 640s # 640s # typedef struct 640s # { 640s # GDBusInterfaceInfo parent_struct; 640s # const gchar *hyphen_name; 640s # } _ExtendedGDBusInterfaceInfo; 640s # 640s # typedef struct 640s # { 640s # const _ExtendedGDBusPropertyInfo *info; 640s # guint prop_id; 640s # GValue orig_value; /* the value before the change */ 640s # } ChangedProperty; 640s # 640s # static void 640s # _changed_property_free (ChangedProperty *data) 640s # { 640s # g_value_unset (&data->orig_value); 640s # g_free (data); 640s # } 640s # 640s # static gboolean 640s # _g_strv_equal0 (gchar **a, gchar **b) 640s # { 640s # gboolean ret = FALSE; 640s # guint n; 640s # if (a == NULL && b == NULL) 640s # { 640s # ret = TRUE; 640s # goto out; 640s # } 640s # if (a == NULL || b == NULL) 640s # goto out; 640s # if (g_strv_length (a) != g_strv_length (b)) 640s # goto out; 640s # for (n = 0; a[n] != NULL; n++) 640s # if (g_strcmp0 (a[n], b[n]) != 0) 640s # goto out; 640s # ret = TRUE; 640s # out: 640s # return ret; 640s # } 640s # 640s # static gboolean 640s # _g_variant_equal0 (GVariant *a, GVariant *b) 640s # { 640s # gboolean ret = FALSE; 640s # if (a == NULL && b == NULL) 640s # { 640s # ret = TRUE; 640s # goto out; 640s # } 640s # if (a == NULL || b == NULL) 640s # goto out; 640s # ret = g_variant_equal (a, b); 640s # out: 640s # return ret; 640s # } 640s # 640s # G_GNUC_UNUSED static gboolean 640s # _g_value_equal (const GValue *a, const GValue *b) 640s # { 640s # gboolean ret = FALSE; 640s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 640s # switch (G_VALUE_TYPE (a)) 640s # { 640s # case G_TYPE_BOOLEAN: 640s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 640s # break; 640s # case G_TYPE_UCHAR: 640s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 640s # break; 640s # case G_TYPE_INT: 640s # ret = (g_value_get_int (a) == g_value_get_int (b)); 640s # break; 640s # case G_TYPE_UINT: 640s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 640s # break; 640s # case G_TYPE_INT64: 640s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 640s # break; 640s # case G_TYPE_UINT64: 640s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 640s # break; 640s # case G_TYPE_DOUBLE: 640s # { 640s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 640s # gdouble da = g_value_get_double (a); 640s # gdouble db = g_value_get_double (b); 640s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 640s # } 640s # break; 640s # case G_TYPE_STRING: 640s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 640s # break; 640s # case G_TYPE_VARIANT: 640s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 640s # break; 640s # default: 640s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 640s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 640s # else 640s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 640s # break; 640s # } 640s # return ret; 640s # } 640s # 640s # static void 640s # _g_dbus_codegen_marshal_VOID__UINT64 ( 640s # GClosure *closure, 640s # GValue *return_value G_GNUC_UNUSED, 640s # unsigned int n_param_values, 640s # const GValue *param_values, 640s # void *invocation_hint G_GNUC_UNUSED, 640s # void *marshal_data) 640s # { 640s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 640s # (void *data1, 640s # guint64 arg_arg_t, 640s # void *data2); 640s # _GDbusCodegenMarshalVoid_Uint64Func callback; 640s # GCClosure *cc = (GCClosure*) closure; 640s # void *data1, *data2; 640s # 640s # g_return_if_fail (n_param_values == 2); 640s # 640s # if (G_CCLOSURE_SWAP_DATA (closure)) 640s # { 640s # data1 = closure->data; 640s # data2 = g_value_peek_pointer (param_values + 0); 640s # } 640s # else 640s # { 640s # data1 = g_value_peek_pointer (param_values + 0); 640s # data2 = closure->data; 640s # } 640s # 640s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 640s # (marshal_data ? marshal_data : cc->callback); 640s # 640s # callback (data1, 640s # g_marshal_value_peek_uint64 (param_values + 1), 640s # data2); 640s # } 640s # 640s # /* ------------------------------------------------------------------------ 640s # * Code for interface org.project.SignalingIface 640s # * ------------------------------------------------------------------------ 640s # */ 640s # 640s # /** 640s # * SECTION:OrgProjectSignalingIface 640s # * @title: OrgProjectSignalingIface 640s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 640s # * 640s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 640s # */ 640s # 640s # enum 640s # { 640s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 640s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 640s # }; 640s # 640s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 640s # 640s # /* ---- Introspection data for org.project.SignalingIface ---- */ 640s # 640s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 640s # { 640s # { 640s # -1, 640s # (gchar *) "SimpleSignal", 640s # NULL, 640s # NULL 640s # }, 640s # "simple-signal" 640s # }; 640s # 640s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 640s # { 640s # { 640s # -1, 640s # (gchar *) "arg_t", 640s # (gchar *) "t", 640s # NULL 640s # }, 640s # FALSE 640s # }; 640s # 640s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 640s # { 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 640s # NULL 640s # }; 640s # 640s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 640s # { 640s # { 640s # -1, 640s # (gchar *) "SingleArgSignalT", 640s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 640s # NULL 640s # }, 640s # "single-arg-signal-t" 640s # }; 640s # 640s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 640s # { 640s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 640s # NULL 640s # }; 640s # 640s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 640s # { 640s # { 640s # -1, 640s # (gchar *) "org.project.SignalingIface", 640s # NULL, 640s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 640s # NULL, 640s # NULL 640s # }, 640s # "org-project-signaling-iface", 640s # }; 640s # 640s # 640s # /** 640s # * org_project_signaling_iface_interface_info: 640s # * 640s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 640s # * 640s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 640s # */ 640s # GDBusInterfaceInfo * 640s # org_project_signaling_iface_interface_info (void) 640s # { 640s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_override_properties: 640s # * @klass: The class structure for a #GObject derived class. 640s # * @property_id_begin: The property id to assign to the first overridden property. 640s # * 640s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 640s # * The properties are overridden in the order they are defined. 640s # * 640s # * Returns: The last property id. 640s # */ 640s # guint 640s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 640s # { 640s # return property_id_begin - 1; 640s # } 640s # 640s # 640s # inline static void 640s # org_project_signaling_iface_signal_marshal_simple_signal ( 640s # GClosure *closure, 640s # GValue *return_value, 640s # unsigned int n_param_values, 640s # const GValue *param_values, 640s # void *invocation_hint, 640s # void *marshal_data) 640s # { 640s # g_cclosure_marshal_VOID__VOID (closure, 640s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 640s # } 640s # 640s # inline static void 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 640s # GClosure *closure, 640s # GValue *return_value, 640s # unsigned int n_param_values, 640s # const GValue *param_values, 640s # void *invocation_hint, 640s # void *marshal_data) 640s # { 640s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 640s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 640s # } 640s # 640s # 640s # /** 640s # * OrgProjectSignalingIface: 640s # * 640s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 640s # */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceIface: 640s # * @parent_iface: The parent interface. 640s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 640s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 640s # * 640s # * Virtual table for the D-Bus interface org.project.SignalingIface. 640s # */ 640s # 640s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 640s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 640s # 640s # static void 640s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 640s # { 640s # /* GObject signals for received D-Bus signals: */ 640s # /** 640s # * OrgProjectSignalingIface::simple-signal: 640s # * @object: A #OrgProjectSignalingIface. 640s # * 640s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 640s # * 640s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 640s # */ 640s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 640s # g_signal_new ("simple-signal", 640s # G_TYPE_FROM_INTERFACE (iface), 640s # G_SIGNAL_RUN_LAST, 640s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 640s # NULL, 640s # NULL, 640s # org_project_signaling_iface_signal_marshal_simple_signal, 640s # G_TYPE_NONE, 640s # 0); 640s # 640s # /** 640s # * OrgProjectSignalingIface::single-arg-signal-t: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_arg_t: Argument. 640s # * 640s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 640s # * 640s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 640s # */ 640s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 640s # g_signal_new ("single-arg-signal-t", 640s # G_TYPE_FROM_INTERFACE (iface), 640s # G_SIGNAL_RUN_LAST, 640s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 640s # NULL, 640s # NULL, 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 640s # G_TYPE_NONE, 640s # 1, G_TYPE_UINT64); 640s # 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_emit_simple_signal: 640s # * @object: A #OrgProjectSignalingIface. 640s # * 640s # * Emits the "SimpleSignal" D-Bus signal. 640s # */ 640s # void 640s # org_project_signaling_iface_emit_simple_signal ( 640s # OrgProjectSignalingIface *object) 640s # { 640s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_emit_single_arg_signal_t: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_arg_t: Argument to pass with the signal. 640s # * 640s # * Emits the "SingleArgSignalT" D-Bus signal. 640s # */ 640s # void 640s # org_project_signaling_iface_emit_single_arg_signal_t ( 640s # OrgProjectSignalingIface *object, 640s # guint64 arg_arg_t) 640s # { 640s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 640s # } 640s # 640s # /* ------------------------------------------------------------------------ */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceProxy: 640s # * 640s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 640s # */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceProxyClass: 640s # * @parent_class: The parent class. 640s # * 640s # * Class structure for #OrgProjectSignalingIfaceProxy. 640s # */ 640s # 640s # struct _OrgProjectSignalingIfaceProxyPrivate 640s # { 640s # GData *qdata; 640s # }; 640s # 640s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 640s # 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 640s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 640s # 640s # #else 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 640s # 640s # #endif 640s # static void 640s # org_project_signaling_iface_proxy_finalize (GObject *object) 640s # { 640s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 640s # g_datalist_clear (&proxy->priv->qdata); 640s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 640s # guint prop_id G_GNUC_UNUSED, 640s # GValue *value G_GNUC_UNUSED, 640s # GParamSpec *pspec G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 640s # guint prop_id G_GNUC_UNUSED, 640s # const GValue *value G_GNUC_UNUSED, 640s # GParamSpec *pspec G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 640s # const gchar *sender_name G_GNUC_UNUSED, 640s # const gchar *signal_name, 640s # GVariant *parameters) 640s # { 640s # _ExtendedGDBusSignalInfo *info; 640s # GVariantIter iter; 640s # GVariant *child; 640s # GValue *paramv; 640s # gsize num_params; 640s # gsize n; 640s # guint signal_id; 640s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 640s # if (info == NULL) 640s # return; 640s # num_params = g_variant_n_children (parameters); 640s # paramv = g_new0 (GValue, num_params + 1); 640s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 640s # g_value_set_object (¶mv[0], proxy); 640s # g_variant_iter_init (&iter, parameters); 640s # n = 1; 640s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 640s # { 640s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 640s # if (arg_info->use_gvariant) 640s # { 640s # g_value_init (¶mv[n], G_TYPE_VARIANT); 640s # g_value_set_variant (¶mv[n], child); 640s # n++; 640s # } 640s # else 640s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 640s # g_variant_unref (child); 640s # } 640s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 640s # g_signal_emitv (paramv, signal_id, 0, NULL); 640s # for (n = 0; n < num_params + 1; n++) 640s # g_value_unset (¶mv[n]); 640s # g_free (paramv); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 640s # GVariant *changed_properties, 640s # const gchar *const *invalidated_properties) 640s # { 640s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 640s # guint n; 640s # const gchar *key; 640s # GVariantIter *iter; 640s # _ExtendedGDBusPropertyInfo *info; 640s # g_variant_get (changed_properties, "a{sv}", &iter); 640s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 640s # { 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 640s # g_datalist_remove_data (&proxy->priv->qdata, key); 640s # if (info != NULL) 640s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 640s # } 640s # g_variant_iter_free (iter); 640s # for (n = 0; invalidated_properties[n] != NULL; n++) 640s # { 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 640s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 640s # if (info != NULL) 640s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 640s # } 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 640s # { 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 640s # #else 640s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 640s # #endif 640s # 640s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 640s # { 640s # GObjectClass *gobject_class; 640s # GDBusProxyClass *proxy_class; 640s # 640s # gobject_class = G_OBJECT_CLASS (klass); 640s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 640s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 640s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 640s # 640s # proxy_class = G_DBUS_PROXY_CLASS (klass); 640s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 640s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 640s # 640s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 640s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 640s # #endif 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new: 640s # * @connection: A #GDBusConnection. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 640s # * @user_data: User data to pass to @callback. 640s # * 640s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 640s # * 640s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 640s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 640s # * 640s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 640s # */ 640s # void 640s # org_project_signaling_iface_proxy_new ( 640s # GDBusConnection *connection, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GAsyncReadyCallback callback, 640s # gpointer user_data) 640s # { 640s # 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); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_finish: 640s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 640s # * @error: Return location for error or %NULL 640s # * 640s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_proxy_new_finish ( 640s # GAsyncResult *res, 640s # GError **error) 640s # { 640s # GObject *ret; 640s # GObject *source_object; 640s # source_object = g_async_result_get_source_object (res); 640s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 640s # g_object_unref (source_object); 640s # if (ret != NULL) 640s # return ORG_PROJECT_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_sync: 640s # * @connection: A #GDBusConnection. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @error: Return location for error or %NULL 640s # * 640s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 640s # * 640s # * The calling thread is blocked until a reply is received. 640s # * 640s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_proxy_new_sync ( 640s # GDBusConnection *connection, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GError **error) 640s # { 640s # GInitable *ret; 640s # 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); 640s # if (ret != NULL) 640s # return ORG_PROJECT_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_for_bus: 640s # * @bus_type: A #GBusType. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: A bus name (well-known or unique). 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 640s # * @user_data: User data to pass to @callback. 640s # * 640s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 640s # * 640s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 640s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 640s # * 640s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 640s # */ 640s # void 640s # org_project_signaling_iface_proxy_new_for_bus ( 640s # GBusType bus_type, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GAsyncReadyCallback callback, 640s # gpointer user_data) 640s # { 640s # 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); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_for_bus_finish: 640s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 640s # * @error: Return location for error or %NULL 640s # * 640s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_proxy_new_for_bus_finish ( 640s # GAsyncResult *res, 640s # GError **error) 640s # { 640s # GObject *ret; 640s # GObject *source_object; 640s # source_object = g_async_result_get_source_object (res); 640s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 640s # g_object_unref (source_object); 640s # if (ret != NULL) 640s # return ORG_PROJECT_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_for_bus_sync: 640s # * @bus_type: A #GBusType. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: A bus name (well-known or unique). 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @error: Return location for error or %NULL 640s # * 640s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 640s # * 640s # * The calling thread is blocked until a reply is received. 640s # * 640s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_proxy_new_for_bus_sync ( 640s # GBusType bus_type, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GError **error) 640s # { 640s # GInitable *ret; 640s # 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); 640s # if (ret != NULL) 640s # return ORG_PROJECT_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # 640s # /* ------------------------------------------------------------------------ */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceSkeleton: 640s # * 640s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 640s # */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceSkeletonClass: 640s # * @parent_class: The parent class. 640s # * 640s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 640s # */ 640s # 640s # struct _OrgProjectSignalingIfaceSkeletonPrivate 640s # { 640s # GValue *properties; 640s # GList *changed_properties; 640s # GSource *changed_properties_idle_source; 640s # GMainContext *context; 640s # GMutex lock; 640s # }; 640s # 640s # static void 640s # _org_project_signaling_iface_skeleton_handle_method_call ( 640s # GDBusConnection *connection G_GNUC_UNUSED, 640s # const gchar *sender G_GNUC_UNUSED, 640s # const gchar *object_path G_GNUC_UNUSED, 640s # const gchar *interface_name, 640s # const gchar *method_name, 640s # GVariant *parameters, 640s # GDBusMethodInvocation *invocation, 640s # gpointer user_data) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 640s # _ExtendedGDBusMethodInfo *info; 640s # GVariantIter iter; 640s # GVariant *child; 640s # GValue *paramv; 640s # gsize num_params; 640s # guint num_extra; 640s # gsize n; 640s # guint signal_id; 640s # GValue return_value = G_VALUE_INIT; 640s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 640s # g_assert (info != NULL); 640s # num_params = g_variant_n_children (parameters); 640s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 640s # n = 0; 640s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 640s # g_value_set_object (¶mv[n++], skeleton); 640s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 640s # g_value_set_object (¶mv[n++], invocation); 640s # if (info->pass_fdlist) 640s # { 640s # #ifdef G_OS_UNIX 640s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 640s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 640s # #else 640s # g_assert_not_reached (); 640s # #endif 640s # } 640s # g_variant_iter_init (&iter, parameters); 640s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 640s # { 640s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 640s # if (arg_info->use_gvariant) 640s # { 640s # g_value_init (¶mv[n], G_TYPE_VARIANT); 640s # g_value_set_variant (¶mv[n], child); 640s # n++; 640s # } 640s # else 640s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 640s # g_variant_unref (child); 640s # } 640s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 640s # g_value_init (&return_value, G_TYPE_BOOLEAN); 640s # g_signal_emitv (paramv, signal_id, 0, &return_value); 640s # if (!g_value_get_boolean (&return_value)) 640s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 640s # g_value_unset (&return_value); 640s # for (n = 0; n < num_params + num_extra; n++) 640s # g_value_unset (¶mv[n]); 640s # g_free (paramv); 640s # } 640s # 640s # static GVariant * 640s # _org_project_signaling_iface_skeleton_handle_get_property ( 640s # GDBusConnection *connection G_GNUC_UNUSED, 640s # const gchar *sender G_GNUC_UNUSED, 640s # const gchar *object_path G_GNUC_UNUSED, 640s # const gchar *interface_name G_GNUC_UNUSED, 640s # const gchar *property_name, 640s # GError **error, 640s # gpointer user_data) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 640s # GValue value = G_VALUE_INIT; 640s # GParamSpec *pspec; 640s # _ExtendedGDBusPropertyInfo *info; 640s # GVariant *ret; 640s # ret = NULL; 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 640s # g_assert (info != NULL); 640s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 640s # if (pspec == NULL) 640s # { 640s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 640s # } 640s # else 640s # { 640s # g_value_init (&value, pspec->value_type); 640s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 640s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 640s # g_value_unset (&value); 640s # } 640s # return ret; 640s # } 640s # 640s # static gboolean 640s # _org_project_signaling_iface_skeleton_handle_set_property ( 640s # GDBusConnection *connection G_GNUC_UNUSED, 640s # const gchar *sender G_GNUC_UNUSED, 640s # const gchar *object_path G_GNUC_UNUSED, 640s # const gchar *interface_name G_GNUC_UNUSED, 640s # const gchar *property_name, 640s # GVariant *variant, 640s # GError **error, 640s # gpointer user_data) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 640s # GValue value = G_VALUE_INIT; 640s # GParamSpec *pspec; 640s # _ExtendedGDBusPropertyInfo *info; 640s # gboolean ret; 640s # ret = FALSE; 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 640s # g_assert (info != NULL); 640s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 640s # if (pspec == NULL) 640s # { 640s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 640s # } 640s # else 640s # { 640s # if (info->use_gvariant) 640s # g_value_set_variant (&value, variant); 640s # else 640s # g_dbus_gvariant_to_gvalue (variant, &value); 640s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 640s # g_value_unset (&value); 640s # ret = TRUE; 640s # } 640s # return ret; 640s # } 640s # 640s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 640s # { 640s # _org_project_signaling_iface_skeleton_handle_method_call, 640s # _org_project_signaling_iface_skeleton_handle_get_property, 640s # _org_project_signaling_iface_skeleton_handle_set_property, 640s # {NULL} 640s # }; 640s # 640s # static GDBusInterfaceInfo * 640s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 640s # { 640s # return org_project_signaling_iface_interface_info (); 640s # } 640s # 640s # static GDBusInterfaceVTable * 640s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 640s # { 640s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 640s # } 640s # 640s # static GVariant * 640s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 640s # 640s # GVariantBuilder builder; 640s # guint n; 640s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 640s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 640s # goto out; 640s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 640s # { 640s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 640s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 640s # { 640s # GVariant *value; 640s # 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); 640s # if (value != NULL) 640s # { 640s # g_variant_take_ref (value); 640s # g_variant_builder_add (&builder, "{sv}", info->name, value); 640s # g_variant_unref (value); 640s # } 640s # } 640s # } 640s # out: 640s # return g_variant_builder_end (&builder); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # static void 640s # _org_project_signaling_iface_on_signal_simple_signal ( 640s # OrgProjectSignalingIface *object) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # 640s # GList *connections, *l; 640s # GVariant *signal_variant; 640s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 640s # 640s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 640s # for (l = connections; l != NULL; l = l->next) 640s # { 640s # GDBusConnection *connection = l->data; 640s # g_dbus_connection_emit_signal (connection, 640s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 640s # signal_variant, NULL); 640s # } 640s # g_variant_unref (signal_variant); 640s # g_list_free_full (connections, g_object_unref); 640s # } 640s # 640s # static void 640s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 640s # OrgProjectSignalingIface *object, 640s # guint64 arg_arg_t) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # 640s # GList *connections, *l; 640s # GVariant *signal_variant; 640s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 640s # 640s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 640s # arg_arg_t)); 640s # for (l = connections; l != NULL; l = l->next) 640s # { 640s # GDBusConnection *connection = l->data; 640s # g_dbus_connection_emit_signal (connection, 640s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 640s # signal_variant, NULL); 640s # } 640s # g_variant_unref (signal_variant); 640s # g_list_free_full (connections, g_object_unref); 640s # } 640s # 640s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 640s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 640s # 640s # #else 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 640s # 640s # #endif 640s # static void 640s # org_project_signaling_iface_skeleton_finalize (GObject *object) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 640s # if (skeleton->priv->changed_properties_idle_source != NULL) 640s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 640s # g_main_context_unref (skeleton->priv->context); 640s # g_mutex_clear (&skeleton->priv->lock); 640s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 640s # { 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 640s # #else 640s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 640s # #endif 640s # 640s # g_mutex_init (&skeleton->priv->lock); 640s # skeleton->priv->context = g_main_context_ref_thread_default (); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 640s # { 640s # GObjectClass *gobject_class; 640s # GDBusInterfaceSkeletonClass *skeleton_class; 640s # 640s # gobject_class = G_OBJECT_CLASS (klass); 640s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 640s # 640s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 640s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 640s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 640s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 640s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 640s # 640s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 640s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 640s # #endif 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 640s # { 640s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 640s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_skeleton_new: 640s # * 640s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_skeleton_new (void) 640s # { 640s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 640s # } 640s # /tmp/tmpjj2jdxte/tmpd1siq1fi.xml: 640s # 640s # 640s # 640s # 640s # 640s # 640s # 640s # 640s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjj2jdxte/tmpd1siq1fi.xml', '--output', '-', '--body'] 640s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 640s # Output: /* 640s # * This file is generated by gdbus-codegen, do not modify it. 640s # * 640s # * The license of this code is the same as for the D-Bus interface description 640s # * it was derived from. Note that it links to GLib, so must comply with the 640s # * LGPL linking clauses. 640s # */ 640s # 640s # #ifdef HAVE_CONFIG_H 640s # # include "config.h" 640s # #endif 640s # 640s # #include 640s # #ifdef G_OS_UNIX 640s # # include 640s # #endif 640s # 640s # #ifdef G_ENABLE_DEBUG 640s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 640s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 640s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 640s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 640s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 640s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 640s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 640s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 640s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 640s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 640s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 640s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 640s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 640s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 640s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 640s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 640s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 640s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 640s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 640s # #else /* !G_ENABLE_DEBUG */ 640s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 640s # * Do not access GValues directly in your code. Instead, use the 640s # * g_value_get_*() functions 640s # */ 640s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 640s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 640s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 640s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 640s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 640s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 640s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 640s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 640s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 640s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 640s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 640s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 640s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 640s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 640s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 640s # #endif /* !G_ENABLE_DEBUG */ 640s # 640s # typedef struct 640s # { 640s # GDBusArgInfo parent_struct; 640s # gboolean use_gvariant; 640s # } _ExtendedGDBusArgInfo; 640s # 640s # typedef struct 640s # { 640s # GDBusMethodInfo parent_struct; 640s # const gchar *signal_name; 640s # gboolean pass_fdlist; 640s # } _ExtendedGDBusMethodInfo; 640s # 640s # typedef struct 640s # { 640s # GDBusSignalInfo parent_struct; 640s # const gchar *signal_name; 640s # } _ExtendedGDBusSignalInfo; 640s # 640s # typedef struct 640s # { 640s # GDBusPropertyInfo parent_struct; 640s # const gchar *hyphen_name; 640s # guint use_gvariant : 1; 640s # guint emits_changed_signal : 1; 640s # } _ExtendedGDBusPropertyInfo; 640s # 640s # typedef struct 640s # { 640s # GDBusInterfaceInfo parent_struct; 640s # const gchar *hyphen_name; 640s # } _ExtendedGDBusInterfaceInfo; 640s # 640s # typedef struct 640s # { 640s # const _ExtendedGDBusPropertyInfo *info; 640s # guint prop_id; 640s # GValue orig_value; /* the value before the change */ 640s # } ChangedProperty; 640s # 640s # static void 640s # _changed_property_free (ChangedProperty *data) 640s # { 640s # g_value_unset (&data->orig_value); 640s # g_free (data); 640s # } 640s # 640s # static gboolean 640s # _g_strv_equal0 (gchar **a, gchar **b) 640s # { 640s # gboolean ret = FALSE; 640s # guint n; 640s # if (a == NULL && b == NULL) 640s # { 640s # ret = TRUE; 640s # goto out; 640s # } 640s # if (a == NULL || b == NULL) 640s # goto out; 640s # if (g_strv_length (a) != g_strv_length (b)) 640s # goto out; 640s # for (n = 0; a[n] != NULL; n++) 640s # if (g_strcmp0 (a[n], b[n]) != 0) 640s # goto out; 640s # ret = TRUE; 640s # out: 640s # return ret; 640s # } 640s # 640s # static gboolean 640s # _g_variant_equal0 (GVariant *a, GVariant *b) 640s # { 640s # gboolean ret = FALSE; 640s # if (a == NULL && b == NULL) 640s # { 640s # ret = TRUE; 640s # goto out; 640s # } 640s # if (a == NULL || b == NULL) 640s # goto out; 640s # ret = g_variant_equal (a, b); 640s # out: 640s # return ret; 640s # } 640s # 640s # G_GNUC_UNUSED static gboolean 640s # _g_value_equal (const GValue *a, const GValue *b) 640s # { 640s # gboolean ret = FALSE; 640s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 640s # switch (G_VALUE_TYPE (a)) 640s # { 640s # case G_TYPE_BOOLEAN: 640s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 640s # break; 640s # case G_TYPE_UCHAR: 640s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 640s # break; 640s # case G_TYPE_INT: 640s # ret = (g_value_get_int (a) == g_value_get_int (b)); 640s # break; 640s # case G_TYPE_UINT: 640s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 640s # break; 640s # case G_TYPE_INT64: 640s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 640s # break; 640s # case G_TYPE_UINT64: 640s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 640s # break; 640s # case G_TYPE_DOUBLE: 640s # { 640s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 640s # gdouble da = g_value_get_double (a); 640s # gdouble db = g_value_get_double (b); 640s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 640s # } 640s # break; 640s # case G_TYPE_STRING: 640s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 640s # break; 640s # case G_TYPE_VARIANT: 640s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 640s # break; 640s # default: 640s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 640s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 640s # else 640s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 640s # break; 640s # } 640s # return ret; 640s # } 640s # 640s # /* ------------------------------------------------------------------------ 640s # * Code for interface org.project.SignalingIface 640s # * ------------------------------------------------------------------------ 640s # */ 640s # 640s # /** 640s # * SECTION:OrgProjectSignalingIface 640s # * @title: OrgProjectSignalingIface 640s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 640s # * 640s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 640s # */ 640s # 640s # enum 640s # { 640s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 640s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 640s # }; 640s # 640s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 640s # 640s # /* ---- Introspection data for org.project.SignalingIface ---- */ 640s # 640s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 640s # { 640s # { 640s # -1, 640s # (gchar *) "SimpleSignal", 640s # NULL, 640s # NULL 640s # }, 640s # "simple-signal" 640s # }; 640s # 640s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 640s # { 640s # { 640s # -1, 640s # (gchar *) "arg_d", 640s # (gchar *) "d", 640s # NULL 640s # }, 640s # FALSE 640s # }; 640s # 640s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 640s # { 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 640s # NULL 640s # }; 640s # 640s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 640s # { 640s # { 640s # -1, 640s # (gchar *) "SingleArgSignalD", 640s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 640s # NULL 640s # }, 640s # "single-arg-signal-d" 640s # }; 640s # 640s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 640s # { 640s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 640s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 640s # NULL 640s # }; 640s # 640s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 640s # { 640s # { 640s # -1, 640s # (gchar *) "org.project.SignalingIface", 640s # NULL, 640s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 640s # NULL, 640s # NULL 640s # }, 640s # "org-project-signaling-iface", 640s # }; 640s # 640s # 640s # /** 640s # * org_project_signaling_iface_interface_info: 640s # * 640s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 640s # * 640s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 640s # */ 640s # GDBusInterfaceInfo * 640s # org_project_signaling_iface_interface_info (void) 640s # { 640s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_override_properties: 640s # * @klass: The class structure for a #GObject derived class. 640s # * @property_id_begin: The property id to assign to the first overridden property. 640s # * 640s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 640s # * The properties are overridden in the order they are defined. 640s # * 640s # * Returns: The last property id. 640s # */ 640s # guint 640s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 640s # { 640s # return property_id_begin - 1; 640s # } 640s # 640s # 640s # inline static void 640s # org_project_signaling_iface_signal_marshal_simple_signal ( 640s # GClosure *closure, 640s # GValue *return_value, 640s # unsigned int n_param_values, 640s # const GValue *param_values, 640s # void *invocation_hint, 640s # void *marshal_data) 640s # { 640s # g_cclosure_marshal_VOID__VOID (closure, 640s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 640s # } 640s # 640s # inline static void 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 640s # GClosure *closure, 640s # GValue *return_value, 640s # unsigned int n_param_values, 640s # const GValue *param_values, 640s # void *invocation_hint, 640s # void *marshal_data) 640s # { 640s # g_cclosure_marshal_VOID__DOUBLE (closure, 640s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 640s # } 640s # 640s # 640s # /** 640s # * OrgProjectSignalingIface: 640s # * 640s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 640s # */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceIface: 640s # * @parent_iface: The parent interface. 640s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 640s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 640s # * 640s # * Virtual table for the D-Bus interface org.project.SignalingIface. 640s # */ 640s # 640s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 640s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 640s # 640s # static void 640s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 640s # { 640s # /* GObject signals for received D-Bus signals: */ 640s # /** 640s # * OrgProjectSignalingIface::simple-signal: 640s # * @object: A #OrgProjectSignalingIface. 640s # * 640s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 640s # * 640s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 640s # */ 640s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 640s # g_signal_new ("simple-signal", 640s # G_TYPE_FROM_INTERFACE (iface), 640s # G_SIGNAL_RUN_LAST, 640s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 640s # NULL, 640s # NULL, 640s # org_project_signaling_iface_signal_marshal_simple_signal, 640s # G_TYPE_NONE, 640s # 0); 640s # 640s # /** 640s # * OrgProjectSignalingIface::single-arg-signal-d: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_arg_d: Argument. 640s # * 640s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 640s # * 640s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 640s # */ 640s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 640s # g_signal_new ("single-arg-signal-d", 640s # G_TYPE_FROM_INTERFACE (iface), 640s # G_SIGNAL_RUN_LAST, 640s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 640s # NULL, 640s # NULL, 640s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 640s # G_TYPE_NONE, 640s # 1, G_TYPE_DOUBLE); 640s # 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_emit_simple_signal: 640s # * @object: A #OrgProjectSignalingIface. 640s # * 640s # * Emits the "SimpleSignal" D-Bus signal. 640s # */ 640s # void 640s # org_project_signaling_iface_emit_simple_signal ( 640s # OrgProjectSignalingIface *object) 640s # { 640s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_emit_single_arg_signal_d: 640s # * @object: A #OrgProjectSignalingIface. 640s # * @arg_arg_d: Argument to pass with the signal. 640s # * 640s # * Emits the "SingleArgSignalD" D-Bus signal. 640s # */ 640s # void 640s # org_project_signaling_iface_emit_single_arg_signal_d ( 640s # OrgProjectSignalingIface *object, 640s # gdouble arg_arg_d) 640s # { 640s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 640s # } 640s # 640s # /* ------------------------------------------------------------------------ */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceProxy: 640s # * 640s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 640s # */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceProxyClass: 640s # * @parent_class: The parent class. 640s # * 640s # * Class structure for #OrgProjectSignalingIfaceProxy. 640s # */ 640s # 640s # struct _OrgProjectSignalingIfaceProxyPrivate 640s # { 640s # GData *qdata; 640s # }; 640s # 640s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 640s # 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 640s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 640s # 640s # #else 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 640s # 640s # #endif 640s # static void 640s # org_project_signaling_iface_proxy_finalize (GObject *object) 640s # { 640s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 640s # g_datalist_clear (&proxy->priv->qdata); 640s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 640s # guint prop_id G_GNUC_UNUSED, 640s # GValue *value G_GNUC_UNUSED, 640s # GParamSpec *pspec G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 640s # guint prop_id G_GNUC_UNUSED, 640s # const GValue *value G_GNUC_UNUSED, 640s # GParamSpec *pspec G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 640s # const gchar *sender_name G_GNUC_UNUSED, 640s # const gchar *signal_name, 640s # GVariant *parameters) 640s # { 640s # _ExtendedGDBusSignalInfo *info; 640s # GVariantIter iter; 640s # GVariant *child; 640s # GValue *paramv; 640s # gsize num_params; 640s # gsize n; 640s # guint signal_id; 640s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 640s # if (info == NULL) 640s # return; 640s # num_params = g_variant_n_children (parameters); 640s # paramv = g_new0 (GValue, num_params + 1); 640s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 640s # g_value_set_object (¶mv[0], proxy); 640s # g_variant_iter_init (&iter, parameters); 640s # n = 1; 640s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 640s # { 640s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 640s # if (arg_info->use_gvariant) 640s # { 640s # g_value_init (¶mv[n], G_TYPE_VARIANT); 640s # g_value_set_variant (¶mv[n], child); 640s # n++; 640s # } 640s # else 640s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 640s # g_variant_unref (child); 640s # } 640s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 640s # g_signal_emitv (paramv, signal_id, 0, NULL); 640s # for (n = 0; n < num_params + 1; n++) 640s # g_value_unset (¶mv[n]); 640s # g_free (paramv); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 640s # GVariant *changed_properties, 640s # const gchar *const *invalidated_properties) 640s # { 640s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 640s # guint n; 640s # const gchar *key; 640s # GVariantIter *iter; 640s # _ExtendedGDBusPropertyInfo *info; 640s # g_variant_get (changed_properties, "a{sv}", &iter); 640s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 640s # { 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 640s # g_datalist_remove_data (&proxy->priv->qdata, key); 640s # if (info != NULL) 640s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 640s # } 640s # g_variant_iter_free (iter); 640s # for (n = 0; invalidated_properties[n] != NULL; n++) 640s # { 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 640s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 640s # if (info != NULL) 640s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 640s # } 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 640s # { 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 640s # #else 640s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 640s # #endif 640s # 640s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 640s # { 640s # GObjectClass *gobject_class; 640s # GDBusProxyClass *proxy_class; 640s # 640s # gobject_class = G_OBJECT_CLASS (klass); 640s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 640s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 640s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 640s # 640s # proxy_class = G_DBUS_PROXY_CLASS (klass); 640s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 640s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 640s # 640s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 640s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 640s # #endif 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new: 640s # * @connection: A #GDBusConnection. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 640s # * @user_data: User data to pass to @callback. 640s # * 640s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 640s # * 640s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 640s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 640s # * 640s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 640s # */ 640s # void 640s # org_project_signaling_iface_proxy_new ( 640s # GDBusConnection *connection, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GAsyncReadyCallback callback, 640s # gpointer user_data) 640s # { 640s # 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); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_finish: 640s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 640s # * @error: Return location for error or %NULL 640s # * 640s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_proxy_new_finish ( 640s # GAsyncResult *res, 640s # GError **error) 640s # { 640s # GObject *ret; 640s # GObject *source_object; 640s # source_object = g_async_result_get_source_object (res); 640s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 640s # g_object_unref (source_object); 640s # if (ret != NULL) 640s # return ORG_PROJECT_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_sync: 640s # * @connection: A #GDBusConnection. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @error: Return location for error or %NULL 640s # * 640s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 640s # * 640s # * The calling thread is blocked until a reply is received. 640s # * 640s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_proxy_new_sync ( 640s # GDBusConnection *connection, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GError **error) 640s # { 640s # GInitable *ret; 640s # 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); 640s # if (ret != NULL) 640s # return ORG_PROJECT_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_for_bus: 640s # * @bus_type: A #GBusType. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: A bus name (well-known or unique). 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 640s # * @user_data: User data to pass to @callback. 640s # * 640s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 640s # * 640s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 640s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 640s # * 640s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 640s # */ 640s # void 640s # org_project_signaling_iface_proxy_new_for_bus ( 640s # GBusType bus_type, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GAsyncReadyCallback callback, 640s # gpointer user_data) 640s # { 640s # 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); 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_for_bus_finish: 640s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 640s # * @error: Return location for error or %NULL 640s # * 640s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_proxy_new_for_bus_finish ( 640s # GAsyncResult *res, 640s # GError **error) 640s # { 640s # GObject *ret; 640s # GObject *source_object; 640s # source_object = g_async_result_get_source_object (res); 640s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 640s # g_object_unref (source_object); 640s # if (ret != NULL) 640s # return ORG_PROJECT_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # /** 640s # * org_project_signaling_iface_proxy_new_for_bus_sync: 640s # * @bus_type: A #GBusType. 640s # * @flags: Flags from the #GDBusProxyFlags enumeration. 640s # * @name: A bus name (well-known or unique). 640s # * @object_path: An object path. 640s # * @cancellable: (nullable): A #GCancellable or %NULL. 640s # * @error: Return location for error or %NULL 640s # * 640s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 640s # * 640s # * The calling thread is blocked until a reply is received. 640s # * 640s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 640s # * 640s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 640s # */ 640s # OrgProjectSignalingIface * 640s # org_project_signaling_iface_proxy_new_for_bus_sync ( 640s # GBusType bus_type, 640s # GDBusProxyFlags flags, 640s # const gchar *name, 640s # const gchar *object_path, 640s # GCancellable *cancellable, 640s # GError **error) 640s # { 640s # GInitable *ret; 640s # 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); 640s # if (ret != NULL) 640s # return ORG_PROJECT_SIGNALING_IFACE (ret); 640s # else 640s # return NULL; 640s # } 640s # 640s # 640s # /* ------------------------------------------------------------------------ */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceSkeleton: 640s # * 640s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 640s # */ 640s # 640s # /** 640s # * OrgProjectSignalingIfaceSkeletonClass: 640s # * @parent_class: The parent class. 640s # * 640s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 640s # */ 640s # 640s # struct _OrgProjectSignalingIfaceSkeletonPrivate 640s # { 640s # GValue *properties; 640s # GList *changed_properties; 640s # GSource *changed_properties_idle_source; 640s # GMainContext *context; 640s # GMutex lock; 640s # }; 640s # 640s # static void 640s # _org_project_signaling_iface_skeleton_handle_method_call ( 640s # GDBusConnection *connection G_GNUC_UNUSED, 640s # const gchar *sender G_GNUC_UNUSED, 640s # const gchar *object_path G_GNUC_UNUSED, 640s # const gchar *interface_name, 640s # const gchar *method_name, 640s # GVariant *parameters, 640s # GDBusMethodInvocation *invocation, 640s # gpointer user_data) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 640s # _ExtendedGDBusMethodInfo *info; 640s # GVariantIter iter; 640s # GVariant *child; 640s # GValue *paramv; 640s # gsize num_params; 640s # guint num_extra; 640s # gsize n; 640s # guint signal_id; 640s # GValue return_value = G_VALUE_INIT; 640s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 640s # g_assert (info != NULL); 640s # num_params = g_variant_n_children (parameters); 640s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 640s # n = 0; 640s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 640s # g_value_set_object (¶mv[n++], skeleton); 640s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 640s # g_value_set_object (¶mv[n++], invocation); 640s # if (info->pass_fdlist) 640s # { 640s # #ifdef G_OS_UNIX 640s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 640s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 640s # #else 640s # g_assert_not_reached (); 640s # #endif 640s # } 640s # g_variant_iter_init (&iter, parameters); 640s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 640s # { 640s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 640s # if (arg_info->use_gvariant) 640s # { 640s # g_value_init (¶mv[n], G_TYPE_VARIANT); 640s # g_value_set_variant (¶mv[n], child); 640s # n++; 640s # } 640s # else 640s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 640s # g_variant_unref (child); 640s # } 640s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 640s # g_value_init (&return_value, G_TYPE_BOOLEAN); 640s # g_signal_emitv (paramv, signal_id, 0, &return_value); 640s # if (!g_value_get_boolean (&return_value)) 640s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 640s # g_value_unset (&return_value); 640s # for (n = 0; n < num_params + num_extra; n++) 640s # g_value_unset (¶mv[n]); 640s # g_free (paramv); 640s # } 640s # 640s # static GVariant * 640s # _org_project_signaling_iface_skeleton_handle_get_property ( 640s # GDBusConnection *connection G_GNUC_UNUSED, 640s # const gchar *sender G_GNUC_UNUSED, 640s # const gchar *object_path G_GNUC_UNUSED, 640s # const gchar *interface_name G_GNUC_UNUSED, 640s # const gchar *property_name, 640s # GError **error, 640s # gpointer user_data) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 640s # GValue value = G_VALUE_INIT; 640s # GParamSpec *pspec; 640s # _ExtendedGDBusPropertyInfo *info; 640s # GVariant *ret; 640s # ret = NULL; 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 640s # g_assert (info != NULL); 640s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 640s # if (pspec == NULL) 640s # { 640s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 640s # } 640s # else 640s # { 640s # g_value_init (&value, pspec->value_type); 640s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 640s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 640s # g_value_unset (&value); 640s # } 640s # return ret; 640s # } 640s # 640s # static gboolean 640s # _org_project_signaling_iface_skeleton_handle_set_property ( 640s # GDBusConnection *connection G_GNUC_UNUSED, 640s # const gchar *sender G_GNUC_UNUSED, 640s # const gchar *object_path G_GNUC_UNUSED, 640s # const gchar *interface_name G_GNUC_UNUSED, 640s # const gchar *property_name, 640s # GVariant *variant, 640s # GError **error, 640s # gpointer user_data) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 640s # GValue value = G_VALUE_INIT; 640s # GParamSpec *pspec; 640s # _ExtendedGDBusPropertyInfo *info; 640s # gboolean ret; 640s # ret = FALSE; 640s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 640s # g_assert (info != NULL); 640s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 640s # if (pspec == NULL) 640s # { 640s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 640s # } 640s # else 640s # { 640s # if (info->use_gvariant) 640s # g_value_set_variant (&value, variant); 640s # else 640s # g_dbus_gvariant_to_gvalue (variant, &value); 640s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 640s # g_value_unset (&value); 640s # ret = TRUE; 640s # } 640s # return ret; 640s # } 640s # 640s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 640s # { 640s # _org_project_signaling_iface_skeleton_handle_method_call, 640s # _org_project_signaling_iface_skeleton_handle_get_property, 640s # _org_project_signaling_iface_skeleton_handle_set_property, 640s # {NULL} 640s # }; 640s # 640s # static GDBusInterfaceInfo * 640s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 640s # { 640s # return org_project_signaling_iface_interface_info (); 640s # } 640s # 640s # static GDBusInterfaceVTable * 640s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 640s # { 640s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 640s # } 640s # 640s # static GVariant * 640s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 640s # 640s # GVariantBuilder builder; 640s # guint n; 640s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 640s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 640s # goto out; 640s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 640s # { 640s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 640s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 640s # { 640s # GVariant *value; 640s # 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); 640s # if (value != NULL) 640s # { 640s # g_variant_take_ref (value); 640s # g_variant_builder_add (&builder, "{sv}", info->name, value); 640s # g_variant_unref (value); 640s # } 640s # } 640s # } 640s # out: 640s # return g_variant_builder_end (&builder); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 640s # { 640s # } 640s # 640s # static void 640s # _org_project_signaling_iface_on_signal_simple_signal ( 640s # OrgProjectSignalingIface *object) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # 640s # GList *connections, *l; 640s # GVariant *signal_variant; 640s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 640s # 640s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 640s # for (l = connections; l != NULL; l = l->next) 640s # { 640s # GDBusConnection *connection = l->data; 640s # g_dbus_connection_emit_signal (connection, 640s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 640s # signal_variant, NULL); 640s # } 640s # g_variant_unref (signal_variant); 640s # g_list_free_full (connections, g_object_unref); 640s # } 640s # 640s # static void 640s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 640s # OrgProjectSignalingIface *object, 640s # gdouble arg_arg_d) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # 640s # GList *connections, *l; 640s # GVariant *signal_variant; 640s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 640s # 640s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 640s # arg_arg_d)); 640s # for (l = connections; l != NULL; l = l->next) 640s # { 640s # GDBusConnection *connection = l->data; 640s # g_dbus_connection_emit_signal (connection, 640s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 640s # signal_variant, NULL); 640s # } 640s # g_variant_unref (signal_variant); 640s # g_list_free_full (connections, g_object_unref); 640s # } 640s # 640s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 640s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 640s # 640s # #else 640s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 640s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 640s # 640s # #endif 640s # static void 640s # org_project_signaling_iface_skeleton_finalize (GObject *object) 640s # { 640s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 640s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 640s # if (skeleton->priv->changed_properties_idle_source != NULL) 640s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 640s # g_main_context_unref (skeleton->priv->context); 640s # g_mutex_clear (&skeleton->priv->lock); 640s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 640s # { 640s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 640s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 640s # #else 640s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 640s # #endif 640s # 640s # g_mutex_init (&skeleton->priv->lock); 640s # skeleton->priv->context = g_main_context_ref_thread_default (); 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 640s # { 640s # GObjectClass *gobject_class; 640s # GDBusInterfaceSkeletonClass *skeleton_class; 640s # 640s # gobject_class = G_OBJECT_CLASS (klass); 640s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 640s # 640s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 640s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 640s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 640s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 640s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 640s # 640s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 640s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 640s # #endif 640s # } 640s # 640s # static void 640s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 640s # { 640s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 640s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 640s # } 640s # 641s # /** 641s # * org_project_signaling_iface_skeleton_new: 641s # * 641s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_skeleton_new (void) 641s # { 641s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 641s # } 641s # /tmp/tmpjj2jdxte/tmptr6bdj_5.xml: 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjj2jdxte/tmptr6bdj_5.xml', '--output', '-', '--body'] 641s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 641s # Output: /* 641s # * This file is generated by gdbus-codegen, do not modify it. 641s # * 641s # * The license of this code is the same as for the D-Bus interface description 641s # * it was derived from. Note that it links to GLib, so must comply with the 641s # * LGPL linking clauses. 641s # */ 641s # 641s # #ifdef HAVE_CONFIG_H 641s # # include "config.h" 641s # #endif 641s # 641s # #include 641s # #ifdef G_OS_UNIX 641s # # include 641s # #endif 641s # 641s # #ifdef G_ENABLE_DEBUG 641s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 641s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 641s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 641s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 641s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 641s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 641s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 641s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 641s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 641s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 641s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 641s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 641s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 641s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 641s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 641s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 641s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 641s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 641s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 641s # #else /* !G_ENABLE_DEBUG */ 641s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 641s # * Do not access GValues directly in your code. Instead, use the 641s # * g_value_get_*() functions 641s # */ 641s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 641s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 641s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 641s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 641s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 641s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 641s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 641s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 641s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 641s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 641s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 641s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 641s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 641s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 641s # #endif /* !G_ENABLE_DEBUG */ 641s # 641s # typedef struct 641s # { 641s # GDBusArgInfo parent_struct; 641s # gboolean use_gvariant; 641s # } _ExtendedGDBusArgInfo; 641s # 641s # typedef struct 641s # { 641s # GDBusMethodInfo parent_struct; 641s # const gchar *signal_name; 641s # gboolean pass_fdlist; 641s # } _ExtendedGDBusMethodInfo; 641s # 641s # typedef struct 641s # { 641s # GDBusSignalInfo parent_struct; 641s # const gchar *signal_name; 641s # } _ExtendedGDBusSignalInfo; 641s # 641s # typedef struct 641s # { 641s # GDBusPropertyInfo parent_struct; 641s # const gchar *hyphen_name; 641s # guint use_gvariant : 1; 641s # guint emits_changed_signal : 1; 641s # } _ExtendedGDBusPropertyInfo; 641s # 641s # typedef struct 641s # { 641s # GDBusInterfaceInfo parent_struct; 641s # const gchar *hyphen_name; 641s # } _ExtendedGDBusInterfaceInfo; 641s # 641s # typedef struct 641s # { 641s # const _ExtendedGDBusPropertyInfo *info; 641s # guint prop_id; 641s # GValue orig_value; /* the value before the change */ 641s # } ChangedProperty; 641s # 641s # static void 641s # _changed_property_free (ChangedProperty *data) 641s # { 641s # g_value_unset (&data->orig_value); 641s # g_free (data); 641s # } 641s # 641s # static gboolean 641s # _g_strv_equal0 (gchar **a, gchar **b) 641s # { 641s # gboolean ret = FALSE; 641s # guint n; 641s # if (a == NULL && b == NULL) 641s # { 641s # ret = TRUE; 641s # goto out; 641s # } 641s # if (a == NULL || b == NULL) 641s # goto out; 641s # if (g_strv_length (a) != g_strv_length (b)) 641s # goto out; 641s # for (n = 0; a[n] != NULL; n++) 641s # if (g_strcmp0 (a[n], b[n]) != 0) 641s # goto out; 641s # ret = TRUE; 641s # out: 641s # return ret; 641s # } 641s # 641s # static gboolean 641s # _g_variant_equal0 (GVariant *a, GVariant *b) 641s # { 641s # gboolean ret = FALSE; 641s # if (a == NULL && b == NULL) 641s # { 641s # ret = TRUE; 641s # goto out; 641s # } 641s # if (a == NULL || b == NULL) 641s # goto out; 641s # ret = g_variant_equal (a, b); 641s # out: 641s # return ret; 641s # } 641s # 641s # G_GNUC_UNUSED static gboolean 641s # _g_value_equal (const GValue *a, const GValue *b) 641s # { 641s # gboolean ret = FALSE; 641s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 641s # switch (G_VALUE_TYPE (a)) 641s # { 641s # case G_TYPE_BOOLEAN: 641s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 641s # break; 641s # case G_TYPE_UCHAR: 641s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 641s # break; 641s # case G_TYPE_INT: 641s # ret = (g_value_get_int (a) == g_value_get_int (b)); 641s # break; 641s # case G_TYPE_UINT: 641s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 641s # break; 641s # case G_TYPE_INT64: 641s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 641s # break; 641s # case G_TYPE_UINT64: 641s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 641s # break; 641s # case G_TYPE_DOUBLE: 641s # { 641s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 641s # gdouble da = g_value_get_double (a); 641s # gdouble db = g_value_get_double (b); 641s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 641s # } 641s # break; 641s # case G_TYPE_STRING: 641s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 641s # break; 641s # case G_TYPE_VARIANT: 641s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 641s # break; 641s # default: 641s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 641s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 641s # else 641s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 641s # break; 641s # } 641s # return ret; 641s # } 641s # 641s # /* ------------------------------------------------------------------------ 641s # * Code for interface org.project.SignalingIface 641s # * ------------------------------------------------------------------------ 641s # */ 641s # 641s # /** 641s # * SECTION:OrgProjectSignalingIface 641s # * @title: OrgProjectSignalingIface 641s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 641s # * 641s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 641s # */ 641s # 641s # enum 641s # { 641s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 641s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 641s # }; 641s # 641s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 641s # 641s # /* ---- Introspection data for org.project.SignalingIface ---- */ 641s # 641s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 641s # { 641s # { 641s # -1, 641s # (gchar *) "SimpleSignal", 641s # NULL, 641s # NULL 641s # }, 641s # "simple-signal" 641s # }; 641s # 641s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 641s # { 641s # { 641s # -1, 641s # (gchar *) "arg_s", 641s # (gchar *) "s", 641s # NULL 641s # }, 641s # FALSE 641s # }; 641s # 641s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 641s # { 641s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 641s # NULL 641s # }; 641s # 641s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 641s # { 641s # { 641s # -1, 641s # (gchar *) "SingleArgSignalS", 641s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 641s # NULL 641s # }, 641s # "single-arg-signal-s" 641s # }; 641s # 641s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 641s # { 641s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 641s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 641s # NULL 641s # }; 641s # 641s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 641s # { 641s # { 641s # -1, 641s # (gchar *) "org.project.SignalingIface", 641s # NULL, 641s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 641s # NULL, 641s # NULL 641s # }, 641s # "org-project-signaling-iface", 641s # }; 641s # 641s # 641s # /** 641s # * org_project_signaling_iface_interface_info: 641s # * 641s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 641s # * 641s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 641s # */ 641s # GDBusInterfaceInfo * 641s # org_project_signaling_iface_interface_info (void) 641s # { 641s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_override_properties: 641s # * @klass: The class structure for a #GObject derived class. 641s # * @property_id_begin: The property id to assign to the first overridden property. 641s # * 641s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 641s # * The properties are overridden in the order they are defined. 641s # * 641s # * Returns: The last property id. 641s # */ 641s # guint 641s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 641s # { 641s # return property_id_begin - 1; 641s # } 641s # 641s # 641s # inline static void 641s # org_project_signaling_iface_signal_marshal_simple_signal ( 641s # GClosure *closure, 641s # GValue *return_value, 641s # unsigned int n_param_values, 641s # const GValue *param_values, 641s # void *invocation_hint, 641s # void *marshal_data) 641s # { 641s # g_cclosure_marshal_VOID__VOID (closure, 641s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 641s # } 641s # 641s # inline static void 641s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 641s # GClosure *closure, 641s # GValue *return_value, 641s # unsigned int n_param_values, 641s # const GValue *param_values, 641s # void *invocation_hint, 641s # void *marshal_data) 641s # { 641s # g_cclosure_marshal_VOID__STRING (closure, 641s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 641s # } 641s # 641s # 641s # /** 641s # * OrgProjectSignalingIface: 641s # * 641s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 641s # */ 641s # 641s # /** 641s # * OrgProjectSignalingIfaceIface: 641s # * @parent_iface: The parent interface. 641s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 641s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 641s # * 641s # * Virtual table for the D-Bus interface org.project.SignalingIface. 641s # */ 641s # 641s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 641s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 641s # 641s # static void 641s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 641s # { 641s # /* GObject signals for received D-Bus signals: */ 641s # /** 641s # * OrgProjectSignalingIface::simple-signal: 641s # * @object: A #OrgProjectSignalingIface. 641s # * 641s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 641s # * 641s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 641s # */ 641s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 641s # g_signal_new ("simple-signal", 641s # G_TYPE_FROM_INTERFACE (iface), 641s # G_SIGNAL_RUN_LAST, 641s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 641s # NULL, 641s # NULL, 641s # org_project_signaling_iface_signal_marshal_simple_signal, 641s # G_TYPE_NONE, 641s # 0); 641s # 641s # /** 641s # * OrgProjectSignalingIface::single-arg-signal-s: 641s # * @object: A #OrgProjectSignalingIface. 641s # * @arg_arg_s: Argument. 641s # * 641s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 641s # * 641s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 641s # */ 641s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 641s # g_signal_new ("single-arg-signal-s", 641s # G_TYPE_FROM_INTERFACE (iface), 641s # G_SIGNAL_RUN_LAST, 641s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 641s # NULL, 641s # NULL, 641s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 641s # G_TYPE_NONE, 641s # 1, G_TYPE_STRING); 641s # 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_emit_simple_signal: 641s # * @object: A #OrgProjectSignalingIface. 641s # * 641s # * Emits the "SimpleSignal" D-Bus signal. 641s # */ 641s # void 641s # org_project_signaling_iface_emit_simple_signal ( 641s # OrgProjectSignalingIface *object) 641s # { 641s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_emit_single_arg_signal_s: 641s # * @object: A #OrgProjectSignalingIface. 641s # * @arg_arg_s: Argument to pass with the signal. 641s # * 641s # * Emits the "SingleArgSignalS" D-Bus signal. 641s # */ 641s # void 641s # org_project_signaling_iface_emit_single_arg_signal_s ( 641s # OrgProjectSignalingIface *object, 641s # const gchar *arg_arg_s) 641s # { 641s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 641s # } 641s # 641s # /* ------------------------------------------------------------------------ */ 641s # 641s # /** 641s # * OrgProjectSignalingIfaceProxy: 641s # * 641s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 641s # */ 641s # 641s # /** 641s # * OrgProjectSignalingIfaceProxyClass: 641s # * @parent_class: The parent class. 641s # * 641s # * Class structure for #OrgProjectSignalingIfaceProxy. 641s # */ 641s # 641s # struct _OrgProjectSignalingIfaceProxyPrivate 641s # { 641s # GData *qdata; 641s # }; 641s # 641s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 641s # 641s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 641s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 641s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 641s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 641s # 641s # #else 641s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 641s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 641s # 641s # #endif 641s # static void 641s # org_project_signaling_iface_proxy_finalize (GObject *object) 641s # { 641s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 641s # g_datalist_clear (&proxy->priv->qdata); 641s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 641s # guint prop_id G_GNUC_UNUSED, 641s # GValue *value G_GNUC_UNUSED, 641s # GParamSpec *pspec G_GNUC_UNUSED) 641s # { 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 641s # guint prop_id G_GNUC_UNUSED, 641s # const GValue *value G_GNUC_UNUSED, 641s # GParamSpec *pspec G_GNUC_UNUSED) 641s # { 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 641s # const gchar *sender_name G_GNUC_UNUSED, 641s # const gchar *signal_name, 641s # GVariant *parameters) 641s # { 641s # _ExtendedGDBusSignalInfo *info; 641s # GVariantIter iter; 641s # GVariant *child; 641s # GValue *paramv; 641s # gsize num_params; 641s # gsize n; 641s # guint signal_id; 641s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 641s # if (info == NULL) 641s # return; 641s # num_params = g_variant_n_children (parameters); 641s # paramv = g_new0 (GValue, num_params + 1); 641s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 641s # g_value_set_object (¶mv[0], proxy); 641s # g_variant_iter_init (&iter, parameters); 641s # n = 1; 641s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 641s # { 641s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 641s # if (arg_info->use_gvariant) 641s # { 641s # g_value_init (¶mv[n], G_TYPE_VARIANT); 641s # g_value_set_variant (¶mv[n], child); 641s # n++; 641s # } 641s # else 641s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 641s # g_variant_unref (child); 641s # } 641s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 641s # g_signal_emitv (paramv, signal_id, 0, NULL); 641s # for (n = 0; n < num_params + 1; n++) 641s # g_value_unset (¶mv[n]); 641s # g_free (paramv); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 641s # GVariant *changed_properties, 641s # const gchar *const *invalidated_properties) 641s # { 641s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 641s # guint n; 641s # const gchar *key; 641s # GVariantIter *iter; 641s # _ExtendedGDBusPropertyInfo *info; 641s # g_variant_get (changed_properties, "a{sv}", &iter); 641s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 641s # { 641s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 641s # g_datalist_remove_data (&proxy->priv->qdata, key); 641s # if (info != NULL) 641s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 641s # } 641s # g_variant_iter_free (iter); 641s # for (n = 0; invalidated_properties[n] != NULL; n++) 641s # { 641s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 641s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 641s # if (info != NULL) 641s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 641s # } 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 641s # { 641s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 641s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 641s # #else 641s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 641s # #endif 641s # 641s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 641s # { 641s # GObjectClass *gobject_class; 641s # GDBusProxyClass *proxy_class; 641s # 641s # gobject_class = G_OBJECT_CLASS (klass); 641s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 641s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 641s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 641s # 641s # proxy_class = G_DBUS_PROXY_CLASS (klass); 641s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 641s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 641s # 641s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 641s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 641s # #endif 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 641s # { 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new: 641s # * @connection: A #GDBusConnection. 641s # * @flags: Flags from the #GDBusProxyFlags enumeration. 641s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 641s # * @object_path: An object path. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 641s # * @user_data: User data to pass to @callback. 641s # * 641s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 641s # * 641s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 641s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 641s # * 641s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 641s # */ 641s # void 641s # org_project_signaling_iface_proxy_new ( 641s # GDBusConnection *connection, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GAsyncReadyCallback callback, 641s # gpointer user_data) 641s # { 641s # 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); 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new_finish: 641s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 641s # * @error: Return location for error or %NULL 641s # * 641s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_proxy_new_finish ( 641s # GAsyncResult *res, 641s # GError **error) 641s # { 641s # GObject *ret; 641s # GObject *source_object; 641s # source_object = g_async_result_get_source_object (res); 641s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 641s # g_object_unref (source_object); 641s # if (ret != NULL) 641s # return ORG_PROJECT_SIGNALING_IFACE (ret); 641s # else 641s # return NULL; 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new_sync: 641s # * @connection: A #GDBusConnection. 641s # * @flags: Flags from the #GDBusProxyFlags enumeration. 641s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 641s # * @object_path: An object path. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @error: Return location for error or %NULL 641s # * 641s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 641s # * 641s # * The calling thread is blocked until a reply is received. 641s # * 641s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_proxy_new_sync ( 641s # GDBusConnection *connection, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GError **error) 641s # { 641s # GInitable *ret; 641s # 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); 641s # if (ret != NULL) 641s # return ORG_PROJECT_SIGNALING_IFACE (ret); 641s # else 641s # return NULL; 641s # } 641s # 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new_for_bus: 641s # * @bus_type: A #GBusType. 641s # * @flags: Flags from the #GDBusProxyFlags enumeration. 641s # * @name: A bus name (well-known or unique). 641s # * @object_path: An object path. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 641s # * @user_data: User data to pass to @callback. 641s # * 641s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 641s # * 641s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 641s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 641s # * 641s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 641s # */ 641s # void 641s # org_project_signaling_iface_proxy_new_for_bus ( 641s # GBusType bus_type, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GAsyncReadyCallback callback, 641s # gpointer user_data) 641s # { 641s # 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); 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new_for_bus_finish: 641s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 641s # * @error: Return location for error or %NULL 641s # * 641s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_proxy_new_for_bus_finish ( 641s # GAsyncResult *res, 641s # GError **error) 641s # { 641s # GObject *ret; 641s # GObject *source_object; 641s # source_object = g_async_result_get_source_object (res); 641s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 641s # g_object_unref (source_object); 641s # if (ret != NULL) 641s # return ORG_PROJECT_SIGNALING_IFACE (ret); 641s # else 641s # return NULL; 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new_for_bus_sync: 641s # * @bus_type: A #GBusType. 641s # * @flags: Flags from the #GDBusProxyFlags enumeration. 641s # * @name: A bus name (well-known or unique). 641s # * @object_path: An object path. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @error: Return location for error or %NULL 641s # * 641s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 641s # * 641s # * The calling thread is blocked until a reply is received. 641s # * 641s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_proxy_new_for_bus_sync ( 641s # GBusType bus_type, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GError **error) 641s # { 641s # GInitable *ret; 641s # 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); 641s # if (ret != NULL) 641s # return ORG_PROJECT_SIGNALING_IFACE (ret); 641s # else 641s # return NULL; 641s # } 641s # 641s # 641s # /* ------------------------------------------------------------------------ */ 641s # 641s # /** 641s # * OrgProjectSignalingIfaceSkeleton: 641s # * 641s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 641s # */ 641s # 641s # /** 641s # * OrgProjectSignalingIfaceSkeletonClass: 641s # * @parent_class: The parent class. 641s # * 641s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 641s # */ 641s # 641s # struct _OrgProjectSignalingIfaceSkeletonPrivate 641s # { 641s # GValue *properties; 641s # GList *changed_properties; 641s # GSource *changed_properties_idle_source; 641s # GMainContext *context; 641s # GMutex lock; 641s # }; 641s # 641s # static void 641s # _org_project_signaling_iface_skeleton_handle_method_call ( 641s # GDBusConnection *connection G_GNUC_UNUSED, 641s # const gchar *sender G_GNUC_UNUSED, 641s # const gchar *object_path G_GNUC_UNUSED, 641s # const gchar *interface_name, 641s # const gchar *method_name, 641s # GVariant *parameters, 641s # GDBusMethodInvocation *invocation, 641s # gpointer user_data) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 641s # _ExtendedGDBusMethodInfo *info; 641s # GVariantIter iter; 641s # GVariant *child; 641s # GValue *paramv; 641s # gsize num_params; 641s # guint num_extra; 641s # gsize n; 641s # guint signal_id; 641s # GValue return_value = G_VALUE_INIT; 641s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 641s # g_assert (info != NULL); 641s # num_params = g_variant_n_children (parameters); 641s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 641s # n = 0; 641s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 641s # g_value_set_object (¶mv[n++], skeleton); 641s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 641s # g_value_set_object (¶mv[n++], invocation); 641s # if (info->pass_fdlist) 641s # { 641s # #ifdef G_OS_UNIX 641s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 641s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 641s # #else 641s # g_assert_not_reached (); 641s # #endif 641s # } 641s # g_variant_iter_init (&iter, parameters); 641s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 641s # { 641s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 641s # if (arg_info->use_gvariant) 641s # { 641s # g_value_init (¶mv[n], G_TYPE_VARIANT); 641s # g_value_set_variant (¶mv[n], child); 641s # n++; 641s # } 641s # else 641s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 641s # g_variant_unref (child); 641s # } 641s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 641s # g_value_init (&return_value, G_TYPE_BOOLEAN); 641s # g_signal_emitv (paramv, signal_id, 0, &return_value); 641s # if (!g_value_get_boolean (&return_value)) 641s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 641s # g_value_unset (&return_value); 641s # for (n = 0; n < num_params + num_extra; n++) 641s # g_value_unset (¶mv[n]); 641s # g_free (paramv); 641s # } 641s # 641s # static GVariant * 641s # _org_project_signaling_iface_skeleton_handle_get_property ( 641s # GDBusConnection *connection G_GNUC_UNUSED, 641s # const gchar *sender G_GNUC_UNUSED, 641s # const gchar *object_path G_GNUC_UNUSED, 641s # const gchar *interface_name G_GNUC_UNUSED, 641s # const gchar *property_name, 641s # GError **error, 641s # gpointer user_data) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 641s # GValue value = G_VALUE_INIT; 641s # GParamSpec *pspec; 641s # _ExtendedGDBusPropertyInfo *info; 641s # GVariant *ret; 641s # ret = NULL; 641s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 641s # g_assert (info != NULL); 641s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 641s # if (pspec == NULL) 641s # { 641s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 641s # } 641s # else 641s # { 641s # g_value_init (&value, pspec->value_type); 641s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 641s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 641s # g_value_unset (&value); 641s # } 641s # return ret; 641s # } 641s # 641s # static gboolean 641s # _org_project_signaling_iface_skeleton_handle_set_property ( 641s # GDBusConnection *connection G_GNUC_UNUSED, 641s # const gchar *sender G_GNUC_UNUSED, 641s # const gchar *object_path G_GNUC_UNUSED, 641s # const gchar *interface_name G_GNUC_UNUSED, 641s # const gchar *property_name, 641s # GVariant *variant, 641s # GError **error, 641s # gpointer user_data) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 641s # GValue value = G_VALUE_INIT; 641s # GParamSpec *pspec; 641s # _ExtendedGDBusPropertyInfo *info; 641s # gboolean ret; 641s # ret = FALSE; 641s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 641s # g_assert (info != NULL); 641s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 641s # if (pspec == NULL) 641s # { 641s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 641s # } 641s # else 641s # { 641s # if (info->use_gvariant) 641s # g_value_set_variant (&value, variant); 641s # else 641s # g_dbus_gvariant_to_gvalue (variant, &value); 641s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 641s # g_value_unset (&value); 641s # ret = TRUE; 641s # } 641s # return ret; 641s # } 641s # 641s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 641s # { 641s # _org_project_signaling_iface_skeleton_handle_method_call, 641s # _org_project_signaling_iface_skeleton_handle_get_property, 641s # _org_project_signaling_iface_skeleton_handle_set_property, 641s # {NULL} 641s # }; 641s # 641s # static GDBusInterfaceInfo * 641s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 641s # { 641s # return org_project_signaling_iface_interface_info (); 641s # } 641s # 641s # static GDBusInterfaceVTable * 641s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 641s # { 641s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 641s # } 641s # 641s # static GVariant * 641s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 641s # 641s # GVariantBuilder builder; 641s # guint n; 641s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 641s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 641s # goto out; 641s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 641s # { 641s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 641s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 641s # { 641s # GVariant *value; 641s # 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); 641s # if (value != NULL) 641s # { 641s # g_variant_take_ref (value); 641s # g_variant_builder_add (&builder, "{sv}", info->name, value); 641s # g_variant_unref (value); 641s # } 641s # } 641s # } 641s # out: 641s # return g_variant_builder_end (&builder); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 641s # { 641s # } 641s # 641s # static void 641s # _org_project_signaling_iface_on_signal_simple_signal ( 641s # OrgProjectSignalingIface *object) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 641s # 641s # GList *connections, *l; 641s # GVariant *signal_variant; 641s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 641s # 641s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 641s # for (l = connections; l != NULL; l = l->next) 641s # { 641s # GDBusConnection *connection = l->data; 641s # g_dbus_connection_emit_signal (connection, 641s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 641s # signal_variant, NULL); 641s # } 641s # g_variant_unref (signal_variant); 641s # g_list_free_full (connections, g_object_unref); 641s # } 641s # 641s # static void 641s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 641s # OrgProjectSignalingIface *object, 641s # const gchar *arg_arg_s) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 641s # 641s # GList *connections, *l; 641s # GVariant *signal_variant; 641s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 641s # 641s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 641s # arg_arg_s)); 641s # for (l = connections; l != NULL; l = l->next) 641s # { 641s # GDBusConnection *connection = l->data; 641s # g_dbus_connection_emit_signal (connection, 641s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 641s # signal_variant, NULL); 641s # } 641s # g_variant_unref (signal_variant); 641s # g_list_free_full (connections, g_object_unref); 641s # } 641s # 641s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 641s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 641s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 641s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 641s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 641s # 641s # #else 641s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 641s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 641s # 641s # #endif 641s # static void 641s # org_project_signaling_iface_skeleton_finalize (GObject *object) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 641s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 641s # if (skeleton->priv->changed_properties_idle_source != NULL) 641s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 641s # g_main_context_unref (skeleton->priv->context); 641s # g_mutex_clear (&skeleton->priv->lock); 641s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 641s # { 641s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 641s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 641s # #else 641s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 641s # #endif 641s # 641s # g_mutex_init (&skeleton->priv->lock); 641s # skeleton->priv->context = g_main_context_ref_thread_default (); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 641s # { 641s # GObjectClass *gobject_class; 641s # GDBusInterfaceSkeletonClass *skeleton_class; 641s # 641s # gobject_class = G_OBJECT_CLASS (klass); 641s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 641s # 641s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 641s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 641s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 641s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 641s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 641s # 641s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 641s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 641s # #endif 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 641s # { 641s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 641s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_skeleton_new: 641s # * 641s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_skeleton_new (void) 641s # { 641s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 641s # } 641s # /tmp/tmpjj2jdxte/tmptj32r61f.xml: 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjj2jdxte/tmptj32r61f.xml', '--output', '-', '--body'] 641s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 641s # Output: /* 641s # * This file is generated by gdbus-codegen, do not modify it. 641s # * 641s # * The license of this code is the same as for the D-Bus interface description 641s # * it was derived from. Note that it links to GLib, so must comply with the 641s # * LGPL linking clauses. 641s # */ 641s # 641s # #ifdef HAVE_CONFIG_H 641s # # include "config.h" 641s # #endif 641s # 641s # #include 641s # #ifdef G_OS_UNIX 641s # # include 641s # #endif 641s # 641s # #ifdef G_ENABLE_DEBUG 641s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 641s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 641s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 641s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 641s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 641s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 641s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 641s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 641s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 641s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 641s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 641s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 641s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 641s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 641s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 641s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 641s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 641s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 641s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 641s # #else /* !G_ENABLE_DEBUG */ 641s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 641s # * Do not access GValues directly in your code. Instead, use the 641s # * g_value_get_*() functions 641s # */ 641s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 641s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 641s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 641s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 641s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 641s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 641s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 641s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 641s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 641s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 641s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 641s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 641s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 641s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 641s # #endif /* !G_ENABLE_DEBUG */ 641s # 641s # typedef struct 641s # { 641s # GDBusArgInfo parent_struct; 641s # gboolean use_gvariant; 641s # } _ExtendedGDBusArgInfo; 641s # 641s # typedef struct 641s # { 641s # GDBusMethodInfo parent_struct; 641s # const gchar *signal_name; 641s # gboolean pass_fdlist; 641s # } _ExtendedGDBusMethodInfo; 641s # 641s # typedef struct 641s # { 641s # GDBusSignalInfo parent_struct; 641s # const gchar *signal_name; 641s # } _ExtendedGDBusSignalInfo; 641s # 641s # typedef struct 641s # { 641s # GDBusPropertyInfo parent_struct; 641s # const gchar *hyphen_name; 641s # guint use_gvariant : 1; 641s # guint emits_changed_signal : 1; 641s # } _ExtendedGDBusPropertyInfo; 641s # 641s # typedef struct 641s # { 641s # GDBusInterfaceInfo parent_struct; 641s # const gchar *hyphen_name; 641s # } _ExtendedGDBusInterfaceInfo; 641s # 641s # typedef struct 641s # { 641s # const _ExtendedGDBusPropertyInfo *info; 641s # guint prop_id; 641s # GValue orig_value; /* the value before the change */ 641s # } ChangedProperty; 641s # 641s # static void 641s # _changed_property_free (ChangedProperty *data) 641s # { 641s # g_value_unset (&data->orig_value); 641s # g_free (data); 641s # } 641s # 641s # static gboolean 641s # _g_strv_equal0 (gchar **a, gchar **b) 641s # { 641s # gboolean ret = FALSE; 641s # guint n; 641s # if (a == NULL && b == NULL) 641s # { 641s # ret = TRUE; 641s # goto out; 641s # } 641s # if (a == NULL || b == NULL) 641s # goto out; 641s # if (g_strv_length (a) != g_strv_length (b)) 641s # goto out; 641s # for (n = 0; a[n] != NULL; n++) 641s # if (g_strcmp0 (a[n], b[n]) != 0) 641s # goto out; 641s # ret = TRUE; 641s # out: 641s # return ret; 641s # } 641s # 641s # static gboolean 641s # _g_variant_equal0 (GVariant *a, GVariant *b) 641s # { 641s # gboolean ret = FALSE; 641s # if (a == NULL && b == NULL) 641s # { 641s # ret = TRUE; 641s # goto out; 641s # } 641s # if (a == NULL || b == NULL) 641s # goto out; 641s # ret = g_variant_equal (a, b); 641s # out: 641s # return ret; 641s # } 641s # 641s # G_GNUC_UNUSED static gboolean 641s # _g_value_equal (const GValue *a, const GValue *b) 641s # { 641s # gboolean ret = FALSE; 641s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 641s # switch (G_VALUE_TYPE (a)) 641s # { 641s # case G_TYPE_BOOLEAN: 641s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 641s # break; 641s # case G_TYPE_UCHAR: 641s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 641s # break; 641s # case G_TYPE_INT: 641s # ret = (g_value_get_int (a) == g_value_get_int (b)); 641s # break; 641s # case G_TYPE_UINT: 641s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 641s # break; 641s # case G_TYPE_INT64: 641s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 641s # break; 641s # case G_TYPE_UINT64: 641s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 641s # break; 641s # case G_TYPE_DOUBLE: 641s # { 641s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 641s # gdouble da = g_value_get_double (a); 641s # gdouble db = g_value_get_double (b); 641s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 641s # } 641s # break; 641s # case G_TYPE_STRING: 641s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 641s # break; 641s # case G_TYPE_VARIANT: 641s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 641s # break; 641s # default: 641s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 641s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 641s # else 641s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 641s # break; 641s # } 641s # return ret; 641s # } 641s # 641s # /* ------------------------------------------------------------------------ 641s # * Code for interface org.project.SignalingIface 641s # * ------------------------------------------------------------------------ 641s # */ 641s # 641s # /** 641s # * SECTION:OrgProjectSignalingIface 641s # * @title: OrgProjectSignalingIface 641s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 641s # * 641s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 641s # */ 641s # 641s # enum 641s # { 641s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 641s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 641s # }; 641s # 641s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 641s # 641s # /* ---- Introspection data for org.project.SignalingIface ---- */ 641s # 641s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 641s # { 641s # { 641s # -1, 641s # (gchar *) "SimpleSignal", 641s # NULL, 641s # NULL 641s # }, 641s # "simple-signal" 641s # }; 641s # 641s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 641s # { 641s # { 641s # -1, 641s # (gchar *) "arg_o", 641s # (gchar *) "o", 641s # NULL 641s # }, 641s # FALSE 641s # }; 641s # 641s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 641s # { 641s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 641s # NULL 641s # }; 641s # 641s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 641s # { 641s # { 641s # -1, 641s # (gchar *) "SingleArgSignalO", 641s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 641s # NULL 641s # }, 641s # "single-arg-signal-o" 641s # }; 641s # 641s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 641s # { 641s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 641s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 641s # NULL 641s # }; 641s # 641s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 641s # { 641s # { 641s # -1, 641s # (gchar *) "org.project.SignalingIface", 641s # NULL, 641s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 641s # NULL, 641s # NULL 641s # }, 641s # "org-project-signaling-iface", 641s # }; 641s # 641s # 641s # /** 641s # * org_project_signaling_iface_interface_info: 641s # * 641s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 641s # * 641s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 641s # */ 641s # GDBusInterfaceInfo * 641s # org_project_signaling_iface_interface_info (void) 641s # { 641s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_override_properties: 641s # * @klass: The class structure for a #GObject derived class. 641s # * @property_id_begin: The property id to assign to the first overridden property. 641s # * 641s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 641s # * The properties are overridden in the order they are defined. 641s # * 641s # * Returns: The last property id. 641s # */ 641s # guint 641s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 641s # { 641s # return property_id_begin - 1; 641s # } 641s # 641s # 641s # inline static void 641s # org_project_signaling_iface_signal_marshal_simple_signal ( 641s # GClosure *closure, 641s # GValue *return_value, 641s # unsigned int n_param_values, 641s # const GValue *param_values, 641s # void *invocation_hint, 641s # void *marshal_data) 641s # { 641s # g_cclosure_marshal_VOID__VOID (closure, 641s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 641s # } 641s # 641s # inline static void 641s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 641s # GClosure *closure, 641s # GValue *return_value, 641s # unsigned int n_param_values, 641s # const GValue *param_values, 641s # void *invocation_hint, 641s # void *marshal_data) 641s # { 641s # g_cclosure_marshal_VOID__STRING (closure, 641s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 641s # } 641s # 641s # 641s # /** 641s # * OrgProjectSignalingIface: 641s # * 641s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 641s # */ 641s # 641s # /** 641s # * OrgProjectSignalingIfaceIface: 641s # * @parent_iface: The parent interface. 641s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 641s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 641s # * 641s # * Virtual table for the D-Bus interface org.project.SignalingIface. 641s # */ 641s # 641s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 641s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 641s # 641s # static void 641s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 641s # { 641s # /* GObject signals for received D-Bus signals: */ 641s # /** 641s # * OrgProjectSignalingIface::simple-signal: 641s # * @object: A #OrgProjectSignalingIface. 641s # * 641s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 641s # * 641s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 641s # */ 641s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 641s # g_signal_new ("simple-signal", 641s # G_TYPE_FROM_INTERFACE (iface), 641s # G_SIGNAL_RUN_LAST, 641s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 641s # NULL, 641s # NULL, 641s # org_project_signaling_iface_signal_marshal_simple_signal, 641s # G_TYPE_NONE, 641s # 0); 641s # 641s # /** 641s # * OrgProjectSignalingIface::single-arg-signal-o: 641s # * @object: A #OrgProjectSignalingIface. 641s # * @arg_arg_o: Argument. 641s # * 641s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 641s # * 641s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 641s # */ 641s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 641s # g_signal_new ("single-arg-signal-o", 641s # G_TYPE_FROM_INTERFACE (iface), 641s # G_SIGNAL_RUN_LAST, 641s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 641s # NULL, 641s # NULL, 641s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 641s # G_TYPE_NONE, 641s # 1, G_TYPE_STRING); 641s # 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_emit_simple_signal: 641s # * @object: A #OrgProjectSignalingIface. 641s # * 641s # * Emits the "SimpleSignal" D-Bus signal. 641s # */ 641s # void 641s # org_project_signaling_iface_emit_simple_signal ( 641s # OrgProjectSignalingIface *object) 641s # { 641s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_emit_single_arg_signal_o: 641s # * @object: A #OrgProjectSignalingIface. 641s # * @arg_arg_o: Argument to pass with the signal. 641s # * 641s # * Emits the "SingleArgSignalO" D-Bus signal. 641s # */ 641s # void 641s # org_project_signaling_iface_emit_single_arg_signal_o ( 641s # OrgProjectSignalingIface *object, 641s # const gchar *arg_arg_o) 641s # { 641s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 641s # } 641s # 641s # /* ------------------------------------------------------------------------ */ 641s # 641s # /** 641s # * OrgProjectSignalingIfaceProxy: 641s # * 641s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 641s # */ 641s # 641s # /** 641s # * OrgProjectSignalingIfaceProxyClass: 641s # * @parent_class: The parent class. 641s # * 641s # * Class structure for #OrgProjectSignalingIfaceProxy. 641s # */ 641s # 641s # struct _OrgProjectSignalingIfaceProxyPrivate 641s # { 641s # GData *qdata; 641s # }; 641s # 641s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 641s # 641s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 641s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 641s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 641s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 641s # 641s # #else 641s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 641s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 641s # 641s # #endif 641s # static void 641s # org_project_signaling_iface_proxy_finalize (GObject *object) 641s # { 641s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 641s # g_datalist_clear (&proxy->priv->qdata); 641s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 641s # guint prop_id G_GNUC_UNUSED, 641s # GValue *value G_GNUC_UNUSED, 641s # GParamSpec *pspec G_GNUC_UNUSED) 641s # { 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 641s # guint prop_id G_GNUC_UNUSED, 641s # const GValue *value G_GNUC_UNUSED, 641s # GParamSpec *pspec G_GNUC_UNUSED) 641s # { 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 641s # const gchar *sender_name G_GNUC_UNUSED, 641s # const gchar *signal_name, 641s # GVariant *parameters) 641s # { 641s # _ExtendedGDBusSignalInfo *info; 641s # GVariantIter iter; 641s # GVariant *child; 641s # GValue *paramv; 641s # gsize num_params; 641s # gsize n; 641s # guint signal_id; 641s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 641s # if (info == NULL) 641s # return; 641s # num_params = g_variant_n_children (parameters); 641s # paramv = g_new0 (GValue, num_params + 1); 641s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 641s # g_value_set_object (¶mv[0], proxy); 641s # g_variant_iter_init (&iter, parameters); 641s # n = 1; 641s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 641s # { 641s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 641s # if (arg_info->use_gvariant) 641s # { 641s # g_value_init (¶mv[n], G_TYPE_VARIANT); 641s # g_value_set_variant (¶mv[n], child); 641s # n++; 641s # } 641s # else 641s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 641s # g_variant_unref (child); 641s # } 641s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 641s # g_signal_emitv (paramv, signal_id, 0, NULL); 641s # for (n = 0; n < num_params + 1; n++) 641s # g_value_unset (¶mv[n]); 641s # g_free (paramv); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 641s # GVariant *changed_properties, 641s # const gchar *const *invalidated_properties) 641s # { 641s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 641s # guint n; 641s # const gchar *key; 641s # GVariantIter *iter; 641s # _ExtendedGDBusPropertyInfo *info; 641s # g_variant_get (changed_properties, "a{sv}", &iter); 641s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 641s # { 641s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 641s # g_datalist_remove_data (&proxy->priv->qdata, key); 641s # if (info != NULL) 641s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 641s # } 641s # g_variant_iter_free (iter); 641s # for (n = 0; invalidated_properties[n] != NULL; n++) 641s # { 641s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 641s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 641s # if (info != NULL) 641s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 641s # } 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 641s # { 641s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 641s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 641s # #else 641s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 641s # #endif 641s # 641s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 641s # { 641s # GObjectClass *gobject_class; 641s # GDBusProxyClass *proxy_class; 641s # 641s # gobject_class = G_OBJECT_CLASS (klass); 641s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 641s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 641s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 641s # 641s # proxy_class = G_DBUS_PROXY_CLASS (klass); 641s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 641s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 641s # 641s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 641s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 641s # #endif 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 641s # { 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new: 641s # * @connection: A #GDBusConnection. 641s # * @flags: Flags from the #GDBusProxyFlags enumeration. 641s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 641s # * @object_path: An object path. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 641s # * @user_data: User data to pass to @callback. 641s # * 641s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 641s # * 641s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 641s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 641s # * 641s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 641s # */ 641s # void 641s # org_project_signaling_iface_proxy_new ( 641s # GDBusConnection *connection, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GAsyncReadyCallback callback, 641s # gpointer user_data) 641s # { 641s # 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); 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new_finish: 641s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 641s # * @error: Return location for error or %NULL 641s # * 641s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_proxy_new_finish ( 641s # GAsyncResult *res, 641s # GError **error) 641s # { 641s # GObject *ret; 641s # GObject *source_object; 641s # source_object = g_async_result_get_source_object (res); 641s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 641s # g_object_unref (source_object); 641s # if (ret != NULL) 641s # return ORG_PROJECT_SIGNALING_IFACE (ret); 641s # else 641s # return NULL; 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new_sync: 641s # * @connection: A #GDBusConnection. 641s # * @flags: Flags from the #GDBusProxyFlags enumeration. 641s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 641s # * @object_path: An object path. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @error: Return location for error or %NULL 641s # * 641s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 641s # * 641s # * The calling thread is blocked until a reply is received. 641s # * 641s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_proxy_new_sync ( 641s # GDBusConnection *connection, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GError **error) 641s # { 641s # GInitable *ret; 641s # 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); 641s # if (ret != NULL) 641s # return ORG_PROJECT_SIGNALING_IFACE (ret); 641s # else 641s # return NULL; 641s # } 641s # 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new_for_bus: 641s # * @bus_type: A #GBusType. 641s # * @flags: Flags from the #GDBusProxyFlags enumeration. 641s # * @name: A bus name (well-known or unique). 641s # * @object_path: An object path. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 641s # * @user_data: User data to pass to @callback. 641s # * 641s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 641s # * 641s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 641s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 641s # * 641s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 641s # */ 641s # void 641s # org_project_signaling_iface_proxy_new_for_bus ( 641s # GBusType bus_type, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GAsyncReadyCallback callback, 641s # gpointer user_data) 641s # { 641s # 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); 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new_for_bus_finish: 641s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 641s # * @error: Return location for error or %NULL 641s # * 641s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_proxy_new_for_bus_finish ( 641s # GAsyncResult *res, 641s # GError **error) 641s # { 641s # GObject *ret; 641s # GObject *source_object; 641s # source_object = g_async_result_get_source_object (res); 641s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 641s # g_object_unref (source_object); 641s # if (ret != NULL) 641s # return ORG_PROJECT_SIGNALING_IFACE (ret); 641s # else 641s # return NULL; 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new_for_bus_sync: 641s # * @bus_type: A #GBusType. 641s # * @flags: Flags from the #GDBusProxyFlags enumeration. 641s # * @name: A bus name (well-known or unique). 641s # * @object_path: An object path. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @error: Return location for error or %NULL 641s # * 641s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 641s # * 641s # * The calling thread is blocked until a reply is received. 641s # * 641s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_proxy_new_for_bus_sync ( 641s # GBusType bus_type, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GError **error) 641s # { 641s # GInitable *ret; 641s # 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); 641s # if (ret != NULL) 641s # return ORG_PROJECT_SIGNALING_IFACE (ret); 641s # else 641s # return NULL; 641s # } 641s # 641s # 641s # /* ------------------------------------------------------------------------ */ 641s # 641s # /** 641s # * OrgProjectSignalingIfaceSkeleton: 641s # * 641s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 641s # */ 641s # 641s # /** 641s # * OrgProjectSignalingIfaceSkeletonClass: 641s # * @parent_class: The parent class. 641s # * 641s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 641s # */ 641s # 641s # struct _OrgProjectSignalingIfaceSkeletonPrivate 641s # { 641s # GValue *properties; 641s # GList *changed_properties; 641s # GSource *changed_properties_idle_source; 641s # GMainContext *context; 641s # GMutex lock; 641s # }; 641s # 641s # static void 641s # _org_project_signaling_iface_skeleton_handle_method_call ( 641s # GDBusConnection *connection G_GNUC_UNUSED, 641s # const gchar *sender G_GNUC_UNUSED, 641s # const gchar *object_path G_GNUC_UNUSED, 641s # const gchar *interface_name, 641s # const gchar *method_name, 641s # GVariant *parameters, 641s # GDBusMethodInvocation *invocation, 641s # gpointer user_data) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 641s # _ExtendedGDBusMethodInfo *info; 641s # GVariantIter iter; 641s # GVariant *child; 641s # GValue *paramv; 641s # gsize num_params; 641s # guint num_extra; 641s # gsize n; 641s # guint signal_id; 641s # GValue return_value = G_VALUE_INIT; 641s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 641s # g_assert (info != NULL); 641s # num_params = g_variant_n_children (parameters); 641s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 641s # n = 0; 641s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 641s # g_value_set_object (¶mv[n++], skeleton); 641s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 641s # g_value_set_object (¶mv[n++], invocation); 641s # if (info->pass_fdlist) 641s # { 641s # #ifdef G_OS_UNIX 641s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 641s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 641s # #else 641s # g_assert_not_reached (); 641s # #endif 641s # } 641s # g_variant_iter_init (&iter, parameters); 641s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 641s # { 641s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 641s # if (arg_info->use_gvariant) 641s # { 641s # g_value_init (¶mv[n], G_TYPE_VARIANT); 641s # g_value_set_variant (¶mv[n], child); 641s # n++; 641s # } 641s # else 641s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 641s # g_variant_unref (child); 641s # } 641s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 641s # g_value_init (&return_value, G_TYPE_BOOLEAN); 641s # g_signal_emitv (paramv, signal_id, 0, &return_value); 641s # if (!g_value_get_boolean (&return_value)) 641s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 641s # g_value_unset (&return_value); 641s # for (n = 0; n < num_params + num_extra; n++) 641s # g_value_unset (¶mv[n]); 641s # g_free (paramv); 641s # } 641s # 641s # static GVariant * 641s # _org_project_signaling_iface_skeleton_handle_get_property ( 641s # GDBusConnection *connection G_GNUC_UNUSED, 641s # const gchar *sender G_GNUC_UNUSED, 641s # const gchar *object_path G_GNUC_UNUSED, 641s # const gchar *interface_name G_GNUC_UNUSED, 641s # const gchar *property_name, 641s # GError **error, 641s # gpointer user_data) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 641s # GValue value = G_VALUE_INIT; 641s # GParamSpec *pspec; 641s # _ExtendedGDBusPropertyInfo *info; 641s # GVariant *ret; 641s # ret = NULL; 641s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 641s # g_assert (info != NULL); 641s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 641s # if (pspec == NULL) 641s # { 641s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 641s # } 641s # else 641s # { 641s # g_value_init (&value, pspec->value_type); 641s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 641s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 641s # g_value_unset (&value); 641s # } 641s # return ret; 641s # } 641s # 641s # static gboolean 641s # _org_project_signaling_iface_skeleton_handle_set_property ( 641s # GDBusConnection *connection G_GNUC_UNUSED, 641s # const gchar *sender G_GNUC_UNUSED, 641s # const gchar *object_path G_GNUC_UNUSED, 641s # const gchar *interface_name G_GNUC_UNUSED, 641s # const gchar *property_name, 641s # GVariant *variant, 641s # GError **error, 641s # gpointer user_data) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 641s # GValue value = G_VALUE_INIT; 641s # GParamSpec *pspec; 641s # _ExtendedGDBusPropertyInfo *info; 641s # gboolean ret; 641s # ret = FALSE; 641s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 641s # g_assert (info != NULL); 641s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 641s # if (pspec == NULL) 641s # { 641s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 641s # } 641s # else 641s # { 641s # if (info->use_gvariant) 641s # g_value_set_variant (&value, variant); 641s # else 641s # g_dbus_gvariant_to_gvalue (variant, &value); 641s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 641s # g_value_unset (&value); 641s # ret = TRUE; 641s # } 641s # return ret; 641s # } 641s # 641s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 641s # { 641s # _org_project_signaling_iface_skeleton_handle_method_call, 641s # _org_project_signaling_iface_skeleton_handle_get_property, 641s # _org_project_signaling_iface_skeleton_handle_set_property, 641s # {NULL} 641s # }; 641s # 641s # static GDBusInterfaceInfo * 641s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 641s # { 641s # return org_project_signaling_iface_interface_info (); 641s # } 641s # 641s # static GDBusInterfaceVTable * 641s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 641s # { 641s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 641s # } 641s # 641s # static GVariant * 641s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 641s # 641s # GVariantBuilder builder; 641s # guint n; 641s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 641s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 641s # goto out; 641s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 641s # { 641s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 641s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 641s # { 641s # GVariant *value; 641s # 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); 641s # if (value != NULL) 641s # { 641s # g_variant_take_ref (value); 641s # g_variant_builder_add (&builder, "{sv}", info->name, value); 641s # g_variant_unref (value); 641s # } 641s # } 641s # } 641s # out: 641s # return g_variant_builder_end (&builder); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 641s # { 641s # } 641s # 641s # static void 641s # _org_project_signaling_iface_on_signal_simple_signal ( 641s # OrgProjectSignalingIface *object) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 641s # 641s # GList *connections, *l; 641s # GVariant *signal_variant; 641s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 641s # 641s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 641s # for (l = connections; l != NULL; l = l->next) 641s # { 641s # GDBusConnection *connection = l->data; 641s # g_dbus_connection_emit_signal (connection, 641s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 641s # signal_variant, NULL); 641s # } 641s # g_variant_unref (signal_variant); 641s # g_list_free_full (connections, g_object_unref); 641s # } 641s # 641s # static void 641s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 641s # OrgProjectSignalingIface *object, 641s # const gchar *arg_arg_o) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 641s # 641s # GList *connections, *l; 641s # GVariant *signal_variant; 641s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 641s # 641s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 641s # arg_arg_o)); 641s # for (l = connections; l != NULL; l = l->next) 641s # { 641s # GDBusConnection *connection = l->data; 641s # g_dbus_connection_emit_signal (connection, 641s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 641s # signal_variant, NULL); 641s # } 641s # g_variant_unref (signal_variant); 641s # g_list_free_full (connections, g_object_unref); 641s # } 641s # 641s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 641s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 641s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 641s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 641s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 641s # 641s # #else 641s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 641s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 641s # 641s # #endif 641s # static void 641s # org_project_signaling_iface_skeleton_finalize (GObject *object) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 641s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 641s # if (skeleton->priv->changed_properties_idle_source != NULL) 641s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 641s # g_main_context_unref (skeleton->priv->context); 641s # g_mutex_clear (&skeleton->priv->lock); 641s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 641s # { 641s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 641s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 641s # #else 641s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 641s # #endif 641s # 641s # g_mutex_init (&skeleton->priv->lock); 641s # skeleton->priv->context = g_main_context_ref_thread_default (); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 641s # { 641s # GObjectClass *gobject_class; 641s # GDBusInterfaceSkeletonClass *skeleton_class; 641s # 641s # gobject_class = G_OBJECT_CLASS (klass); 641s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 641s # 641s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 641s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 641s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 641s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 641s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 641s # 641s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 641s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 641s # #endif 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 641s # { 641s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 641s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_skeleton_new: 641s # * 641s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_skeleton_new (void) 641s # { 641s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 641s # } 641s # /tmp/tmpjj2jdxte/tmpwcirctyc.xml: 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjj2jdxte/tmpwcirctyc.xml', '--output', '-', '--body'] 641s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 641s # Output: /* 641s # * This file is generated by gdbus-codegen, do not modify it. 641s # * 641s # * The license of this code is the same as for the D-Bus interface description 641s # * it was derived from. Note that it links to GLib, so must comply with the 641s # * LGPL linking clauses. 641s # */ 641s # 641s # #ifdef HAVE_CONFIG_H 641s # # include "config.h" 641s # #endif 641s # 641s # #include 641s # #ifdef G_OS_UNIX 641s # # include 641s # #endif 641s # 641s # #ifdef G_ENABLE_DEBUG 641s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 641s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 641s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 641s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 641s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 641s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 641s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 641s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 641s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 641s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 641s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 641s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 641s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 641s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 641s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 641s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 641s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 641s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 641s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 641s # #else /* !G_ENABLE_DEBUG */ 641s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 641s # * Do not access GValues directly in your code. Instead, use the 641s # * g_value_get_*() functions 641s # */ 641s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 641s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 641s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 641s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 641s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 641s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 641s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 641s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 641s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 641s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 641s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 641s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 641s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 641s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 641s # #endif /* !G_ENABLE_DEBUG */ 641s # 641s # typedef struct 641s # { 641s # GDBusArgInfo parent_struct; 641s # gboolean use_gvariant; 641s # } _ExtendedGDBusArgInfo; 641s # 641s # typedef struct 641s # { 641s # GDBusMethodInfo parent_struct; 641s # const gchar *signal_name; 641s # gboolean pass_fdlist; 641s # } _ExtendedGDBusMethodInfo; 641s # 641s # typedef struct 641s # { 641s # GDBusSignalInfo parent_struct; 641s # const gchar *signal_name; 641s # } _ExtendedGDBusSignalInfo; 641s # 641s # typedef struct 641s # { 641s # GDBusPropertyInfo parent_struct; 641s # const gchar *hyphen_name; 641s # guint use_gvariant : 1; 641s # guint emits_changed_signal : 1; 641s # } _ExtendedGDBusPropertyInfo; 641s # 641s # typedef struct 641s # { 641s # GDBusInterfaceInfo parent_struct; 641s # const gchar *hyphen_name; 641s # } _ExtendedGDBusInterfaceInfo; 641s # 641s # typedef struct 641s # { 641s # const _ExtendedGDBusPropertyInfo *info; 641s # guint prop_id; 641s # GValue orig_value; /* the value before the change */ 641s # } ChangedProperty; 641s # 641s # static void 641s # _changed_property_free (ChangedProperty *data) 641s # { 641s # g_value_unset (&data->orig_value); 641s # g_free (data); 641s # } 641s # 641s # static gboolean 641s # _g_strv_equal0 (gchar **a, gchar **b) 641s # { 641s # gboolean ret = FALSE; 641s # guint n; 641s # if (a == NULL && b == NULL) 641s # { 641s # ret = TRUE; 641s # goto out; 641s # } 641s # if (a == NULL || b == NULL) 641s # goto out; 641s # if (g_strv_length (a) != g_strv_length (b)) 641s # goto out; 641s # for (n = 0; a[n] != NULL; n++) 641s # if (g_strcmp0 (a[n], b[n]) != 0) 641s # goto out; 641s # ret = TRUE; 641s # out: 641s # return ret; 641s # } 641s # 641s # static gboolean 641s # _g_variant_equal0 (GVariant *a, GVariant *b) 641s # { 641s # gboolean ret = FALSE; 641s # if (a == NULL && b == NULL) 641s # { 641s # ret = TRUE; 641s # goto out; 641s # } 641s # if (a == NULL || b == NULL) 641s # goto out; 641s # ret = g_variant_equal (a, b); 641s # out: 641s # return ret; 641s # } 641s # 641s # G_GNUC_UNUSED static gboolean 641s # _g_value_equal (const GValue *a, const GValue *b) 641s # { 641s # gboolean ret = FALSE; 641s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 641s # switch (G_VALUE_TYPE (a)) 641s # { 641s # case G_TYPE_BOOLEAN: 641s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 641s # break; 641s # case G_TYPE_UCHAR: 641s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 641s # break; 641s # case G_TYPE_INT: 641s # ret = (g_value_get_int (a) == g_value_get_int (b)); 641s # break; 641s # case G_TYPE_UINT: 641s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 641s # break; 641s # case G_TYPE_INT64: 641s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 641s # break; 641s # case G_TYPE_UINT64: 641s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 641s # break; 641s # case G_TYPE_DOUBLE: 641s # { 641s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 641s # gdouble da = g_value_get_double (a); 641s # gdouble db = g_value_get_double (b); 641s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 641s # } 641s # break; 641s # case G_TYPE_STRING: 641s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 641s # break; 641s # case G_TYPE_VARIANT: 641s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 641s # break; 641s # default: 641s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 641s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 641s # else 641s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 641s # break; 641s # } 641s # return ret; 641s # } 641s # 641s # /* ------------------------------------------------------------------------ 641s # * Code for interface org.project.SignalingIface 641s # * ------------------------------------------------------------------------ 641s # */ 641s # 641s # /** 641s # * SECTION:OrgProjectSignalingIface 641s # * @title: OrgProjectSignalingIface 641s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 641s # * 641s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 641s # */ 641s # 641s # enum 641s # { 641s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 641s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 641s # }; 641s # 641s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 641s # 641s # /* ---- Introspection data for org.project.SignalingIface ---- */ 641s # 641s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 641s # { 641s # { 641s # -1, 641s # (gchar *) "SimpleSignal", 641s # NULL, 641s # NULL 641s # }, 641s # "simple-signal" 641s # }; 641s # 641s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 641s # { 641s # { 641s # -1, 641s # (gchar *) "arg_g", 641s # (gchar *) "g", 641s # NULL 641s # }, 641s # FALSE 641s # }; 641s # 641s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 641s # { 641s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 641s # NULL 641s # }; 641s # 641s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 641s # { 641s # { 641s # -1, 641s # (gchar *) "SingleArgSignalG", 641s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 641s # NULL 641s # }, 641s # "single-arg-signal-g" 641s # }; 641s # 641s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 641s # { 641s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 641s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 641s # NULL 641s # }; 641s # 641s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 641s # { 641s # { 641s # -1, 641s # (gchar *) "org.project.SignalingIface", 641s # NULL, 641s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 641s # NULL, 641s # NULL 641s # }, 641s # "org-project-signaling-iface", 641s # }; 641s # 641s # 641s # /** 641s # * org_project_signaling_iface_interface_info: 641s # * 641s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 641s # * 641s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 641s # */ 641s # GDBusInterfaceInfo * 641s # org_project_signaling_iface_interface_info (void) 641s # { 641s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_override_properties: 641s # * @klass: The class structure for a #GObject derived class. 641s # * @property_id_begin: The property id to assign to the first overridden property. 641s # * 641s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 641s # * The properties are overridden in the order they are defined. 641s # * 641s # * Returns: The last property id. 641s # */ 641s # guint 641s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 641s # { 641s # return property_id_begin - 1; 641s # } 641s # 641s # 641s # inline static void 641s # org_project_signaling_iface_signal_marshal_simple_signal ( 641s # GClosure *closure, 641s # GValue *return_value, 641s # unsigned int n_param_values, 641s # const GValue *param_values, 641s # void *invocation_hint, 641s # void *marshal_data) 641s # { 641s # g_cclosure_marshal_VOID__VOID (closure, 641s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 641s # } 641s # 641s # inline static void 641s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 641s # GClosure *closure, 641s # GValue *return_value, 641s # unsigned int n_param_values, 641s # const GValue *param_values, 641s # void *invocation_hint, 641s # void *marshal_data) 641s # { 641s # g_cclosure_marshal_VOID__STRING (closure, 641s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 641s # } 641s # 641s # 641s # /** 641s # * OrgProjectSignalingIface: 641s # * 641s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 641s # */ 641s # 641s # /** 641s # * OrgProjectSignalingIfaceIface: 641s # * @parent_iface: The parent interface. 641s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 641s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 641s # * 641s # * Virtual table for the D-Bus interface org.project.SignalingIface. 641s # */ 641s # 641s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 641s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 641s # 641s # static void 641s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 641s # { 641s # /* GObject signals for received D-Bus signals: */ 641s # /** 641s # * OrgProjectSignalingIface::simple-signal: 641s # * @object: A #OrgProjectSignalingIface. 641s # * 641s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 641s # * 641s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 641s # */ 641s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 641s # g_signal_new ("simple-signal", 641s # G_TYPE_FROM_INTERFACE (iface), 641s # G_SIGNAL_RUN_LAST, 641s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 641s # NULL, 641s # NULL, 641s # org_project_signaling_iface_signal_marshal_simple_signal, 641s # G_TYPE_NONE, 641s # 0); 641s # 641s # /** 641s # * OrgProjectSignalingIface::single-arg-signal-g: 641s # * @object: A #OrgProjectSignalingIface. 641s # * @arg_arg_g: Argument. 641s # * 641s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 641s # * 641s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 641s # */ 641s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 641s # g_signal_new ("single-arg-signal-g", 641s # G_TYPE_FROM_INTERFACE (iface), 641s # G_SIGNAL_RUN_LAST, 641s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 641s # NULL, 641s # NULL, 641s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 641s # G_TYPE_NONE, 641s # 1, G_TYPE_STRING); 641s # 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_emit_simple_signal: 641s # * @object: A #OrgProjectSignalingIface. 641s # * 641s # * Emits the "SimpleSignal" D-Bus signal. 641s # */ 641s # void 641s # org_project_signaling_iface_emit_simple_signal ( 641s # OrgProjectSignalingIface *object) 641s # { 641s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_emit_single_arg_signal_g: 641s # * @object: A #OrgProjectSignalingIface. 641s # * @arg_arg_g: Argument to pass with the signal. 641s # * 641s # * Emits the "SingleArgSignalG" D-Bus signal. 641s # */ 641s # void 641s # org_project_signaling_iface_emit_single_arg_signal_g ( 641s # OrgProjectSignalingIface *object, 641s # const gchar *arg_arg_g) 641s # { 641s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 641s # } 641s # 641s # /* ------------------------------------------------------------------------ */ 641s # 641s # /** 641s # * OrgProjectSignalingIfaceProxy: 641s # * 641s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 641s # */ 641s # 641s # /** 641s # * OrgProjectSignalingIfaceProxyClass: 641s # * @parent_class: The parent class. 641s # * 641s # * Class structure for #OrgProjectSignalingIfaceProxy. 641s # */ 641s # 641s # struct _OrgProjectSignalingIfaceProxyPrivate 641s # { 641s # GData *qdata; 641s # }; 641s # 641s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 641s # 641s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 641s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 641s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 641s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 641s # 641s # #else 641s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 641s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 641s # 641s # #endif 641s # static void 641s # org_project_signaling_iface_proxy_finalize (GObject *object) 641s # { 641s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 641s # g_datalist_clear (&proxy->priv->qdata); 641s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 641s # guint prop_id G_GNUC_UNUSED, 641s # GValue *value G_GNUC_UNUSED, 641s # GParamSpec *pspec G_GNUC_UNUSED) 641s # { 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 641s # guint prop_id G_GNUC_UNUSED, 641s # const GValue *value G_GNUC_UNUSED, 641s # GParamSpec *pspec G_GNUC_UNUSED) 641s # { 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 641s # const gchar *sender_name G_GNUC_UNUSED, 641s # const gchar *signal_name, 641s # GVariant *parameters) 641s # { 641s # _ExtendedGDBusSignalInfo *info; 641s # GVariantIter iter; 641s # GVariant *child; 641s # GValue *paramv; 641s # gsize num_params; 641s # gsize n; 641s # guint signal_id; 641s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 641s # if (info == NULL) 641s # return; 641s # num_params = g_variant_n_children (parameters); 641s # paramv = g_new0 (GValue, num_params + 1); 641s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 641s # g_value_set_object (¶mv[0], proxy); 641s # g_variant_iter_init (&iter, parameters); 641s # n = 1; 641s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 641s # { 641s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 641s # if (arg_info->use_gvariant) 641s # { 641s # g_value_init (¶mv[n], G_TYPE_VARIANT); 641s # g_value_set_variant (¶mv[n], child); 641s # n++; 641s # } 641s # else 641s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 641s # g_variant_unref (child); 641s # } 641s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 641s # g_signal_emitv (paramv, signal_id, 0, NULL); 641s # for (n = 0; n < num_params + 1; n++) 641s # g_value_unset (¶mv[n]); 641s # g_free (paramv); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 641s # GVariant *changed_properties, 641s # const gchar *const *invalidated_properties) 641s # { 641s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 641s # guint n; 641s # const gchar *key; 641s # GVariantIter *iter; 641s # _ExtendedGDBusPropertyInfo *info; 641s # g_variant_get (changed_properties, "a{sv}", &iter); 641s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 641s # { 641s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 641s # g_datalist_remove_data (&proxy->priv->qdata, key); 641s # if (info != NULL) 641s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 641s # } 641s # g_variant_iter_free (iter); 641s # for (n = 0; invalidated_properties[n] != NULL; n++) 641s # { 641s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 641s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 641s # if (info != NULL) 641s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 641s # } 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 641s # { 641s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 641s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 641s # #else 641s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 641s # #endif 641s # 641s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 641s # { 641s # GObjectClass *gobject_class; 641s # GDBusProxyClass *proxy_class; 641s # 641s # gobject_class = G_OBJECT_CLASS (klass); 641s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 641s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 641s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 641s # 641s # proxy_class = G_DBUS_PROXY_CLASS (klass); 641s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 641s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 641s # 641s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 641s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 641s # #endif 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 641s # { 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new: 641s # * @connection: A #GDBusConnection. 641s # * @flags: Flags from the #GDBusProxyFlags enumeration. 641s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 641s # * @object_path: An object path. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 641s # * @user_data: User data to pass to @callback. 641s # * 641s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 641s # * 641s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 641s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 641s # * 641s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 641s # */ 641s # void 641s # org_project_signaling_iface_proxy_new ( 641s # GDBusConnection *connection, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GAsyncReadyCallback callback, 641s # gpointer user_data) 641s # { 641s # 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); 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new_finish: 641s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 641s # * @error: Return location for error or %NULL 641s # * 641s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_proxy_new_finish ( 641s # GAsyncResult *res, 641s # GError **error) 641s # { 641s # GObject *ret; 641s # GObject *source_object; 641s # source_object = g_async_result_get_source_object (res); 641s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 641s # g_object_unref (source_object); 641s # if (ret != NULL) 641s # return ORG_PROJECT_SIGNALING_IFACE (ret); 641s # else 641s # return NULL; 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new_sync: 641s # * @connection: A #GDBusConnection. 641s # * @flags: Flags from the #GDBusProxyFlags enumeration. 641s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 641s # * @object_path: An object path. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @error: Return location for error or %NULL 641s # * 641s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 641s # * 641s # * The calling thread is blocked until a reply is received. 641s # * 641s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_proxy_new_sync ( 641s # GDBusConnection *connection, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GError **error) 641s # { 641s # GInitable *ret; 641s # 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); 641s # if (ret != NULL) 641s # return ORG_PROJECT_SIGNALING_IFACE (ret); 641s # else 641s # return NULL; 641s # } 641s # 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new_for_bus: 641s # * @bus_type: A #GBusType. 641s # * @flags: Flags from the #GDBusProxyFlags enumeration. 641s # * @name: A bus name (well-known or unique). 641s # * @object_path: An object path. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 641s # * @user_data: User data to pass to @callback. 641s # * 641s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 641s # * 641s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 641s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 641s # * 641s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 641s # */ 641s # void 641s # org_project_signaling_iface_proxy_new_for_bus ( 641s # GBusType bus_type, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GAsyncReadyCallback callback, 641s # gpointer user_data) 641s # { 641s # 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); 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new_for_bus_finish: 641s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 641s # * @error: Return location for error or %NULL 641s # * 641s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_proxy_new_for_bus_finish ( 641s # GAsyncResult *res, 641s # GError **error) 641s # { 641s # GObject *ret; 641s # GObject *source_object; 641s # source_object = g_async_result_get_source_object (res); 641s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 641s # g_object_unref (source_object); 641s # if (ret != NULL) 641s # return ORG_PROJECT_SIGNALING_IFACE (ret); 641s # else 641s # return NULL; 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new_for_bus_sync: 641s # * @bus_type: A #GBusType. 641s # * @flags: Flags from the #GDBusProxyFlags enumeration. 641s # * @name: A bus name (well-known or unique). 641s # * @object_path: An object path. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @error: Return location for error or %NULL 641s # * 641s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 641s # * 641s # * The calling thread is blocked until a reply is received. 641s # * 641s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_proxy_new_for_bus_sync ( 641s # GBusType bus_type, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GError **error) 641s # { 641s # GInitable *ret; 641s # 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); 641s # if (ret != NULL) 641s # return ORG_PROJECT_SIGNALING_IFACE (ret); 641s # else 641s # return NULL; 641s # } 641s # 641s # 641s # /* ------------------------------------------------------------------------ */ 641s # 641s # /** 641s # * OrgProjectSignalingIfaceSkeleton: 641s # * 641s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 641s # */ 641s # 641s # /** 641s # * OrgProjectSignalingIfaceSkeletonClass: 641s # * @parent_class: The parent class. 641s # * 641s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 641s # */ 641s # 641s # struct _OrgProjectSignalingIfaceSkeletonPrivate 641s # { 641s # GValue *properties; 641s # GList *changed_properties; 641s # GSource *changed_properties_idle_source; 641s # GMainContext *context; 641s # GMutex lock; 641s # }; 641s # 641s # static void 641s # _org_project_signaling_iface_skeleton_handle_method_call ( 641s # GDBusConnection *connection G_GNUC_UNUSED, 641s # const gchar *sender G_GNUC_UNUSED, 641s # const gchar *object_path G_GNUC_UNUSED, 641s # const gchar *interface_name, 641s # const gchar *method_name, 641s # GVariant *parameters, 641s # GDBusMethodInvocation *invocation, 641s # gpointer user_data) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 641s # _ExtendedGDBusMethodInfo *info; 641s # GVariantIter iter; 641s # GVariant *child; 641s # GValue *paramv; 641s # gsize num_params; 641s # guint num_extra; 641s # gsize n; 641s # guint signal_id; 641s # GValue return_value = G_VALUE_INIT; 641s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 641s # g_assert (info != NULL); 641s # num_params = g_variant_n_children (parameters); 641s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 641s # n = 0; 641s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 641s # g_value_set_object (¶mv[n++], skeleton); 641s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 641s # g_value_set_object (¶mv[n++], invocation); 641s # if (info->pass_fdlist) 641s # { 641s # #ifdef G_OS_UNIX 641s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 641s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 641s # #else 641s # g_assert_not_reached (); 641s # #endif 641s # } 641s # g_variant_iter_init (&iter, parameters); 641s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 641s # { 641s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 641s # if (arg_info->use_gvariant) 641s # { 641s # g_value_init (¶mv[n], G_TYPE_VARIANT); 641s # g_value_set_variant (¶mv[n], child); 641s # n++; 641s # } 641s # else 641s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 641s # g_variant_unref (child); 641s # } 641s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 641s # g_value_init (&return_value, G_TYPE_BOOLEAN); 641s # g_signal_emitv (paramv, signal_id, 0, &return_value); 641s # if (!g_value_get_boolean (&return_value)) 641s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 641s # g_value_unset (&return_value); 641s # for (n = 0; n < num_params + num_extra; n++) 641s # g_value_unset (¶mv[n]); 641s # g_free (paramv); 641s # } 641s # 641s # static GVariant * 641s # _org_project_signaling_iface_skeleton_handle_get_property ( 641s # GDBusConnection *connection G_GNUC_UNUSED, 641s # const gchar *sender G_GNUC_UNUSED, 641s # const gchar *object_path G_GNUC_UNUSED, 641s # const gchar *interface_name G_GNUC_UNUSED, 641s # const gchar *property_name, 641s # GError **error, 641s # gpointer user_data) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 641s # GValue value = G_VALUE_INIT; 641s # GParamSpec *pspec; 641s # _ExtendedGDBusPropertyInfo *info; 641s # GVariant *ret; 641s # ret = NULL; 641s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 641s # g_assert (info != NULL); 641s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 641s # if (pspec == NULL) 641s # { 641s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 641s # } 641s # else 641s # { 641s # g_value_init (&value, pspec->value_type); 641s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 641s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 641s # g_value_unset (&value); 641s # } 641s # return ret; 641s # } 641s # 641s # static gboolean 641s # _org_project_signaling_iface_skeleton_handle_set_property ( 641s # GDBusConnection *connection G_GNUC_UNUSED, 641s # const gchar *sender G_GNUC_UNUSED, 641s # const gchar *object_path G_GNUC_UNUSED, 641s # const gchar *interface_name G_GNUC_UNUSED, 641s # const gchar *property_name, 641s # GVariant *variant, 641s # GError **error, 641s # gpointer user_data) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 641s # GValue value = G_VALUE_INIT; 641s # GParamSpec *pspec; 641s # _ExtendedGDBusPropertyInfo *info; 641s # gboolean ret; 641s # ret = FALSE; 641s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 641s # g_assert (info != NULL); 641s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 641s # if (pspec == NULL) 641s # { 641s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 641s # } 641s # else 641s # { 641s # if (info->use_gvariant) 641s # g_value_set_variant (&value, variant); 641s # else 641s # g_dbus_gvariant_to_gvalue (variant, &value); 641s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 641s # g_value_unset (&value); 641s # ret = TRUE; 641s # } 641s # return ret; 641s # } 641s # 641s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 641s # { 641s # _org_project_signaling_iface_skeleton_handle_method_call, 641s # _org_project_signaling_iface_skeleton_handle_get_property, 641s # _org_project_signaling_iface_skeleton_handle_set_property, 641s # {NULL} 641s # }; 641s # 641s # static GDBusInterfaceInfo * 641s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 641s # { 641s # return org_project_signaling_iface_interface_info (); 641s # } 641s # 641s # static GDBusInterfaceVTable * 641s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 641s # { 641s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 641s # } 641s # 641s # static GVariant * 641s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 641s # 641s # GVariantBuilder builder; 641s # guint n; 641s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 641s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 641s # goto out; 641s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 641s # { 641s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 641s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 641s # { 641s # GVariant *value; 641s # 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); 641s # if (value != NULL) 641s # { 641s # g_variant_take_ref (value); 641s # g_variant_builder_add (&builder, "{sv}", info->name, value); 641s # g_variant_unref (value); 641s # } 641s # } 641s # } 641s # out: 641s # return g_variant_builder_end (&builder); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 641s # { 641s # } 641s # 641s # static void 641s # _org_project_signaling_iface_on_signal_simple_signal ( 641s # OrgProjectSignalingIface *object) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 641s # 641s # GList *connections, *l; 641s # GVariant *signal_variant; 641s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 641s # 641s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 641s # for (l = connections; l != NULL; l = l->next) 641s # { 641s # GDBusConnection *connection = l->data; 641s # g_dbus_connection_emit_signal (connection, 641s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 641s # signal_variant, NULL); 641s # } 641s # g_variant_unref (signal_variant); 641s # g_list_free_full (connections, g_object_unref); 641s # } 641s # 641s # static void 641s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 641s # OrgProjectSignalingIface *object, 641s # const gchar *arg_arg_g) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 641s # 641s # GList *connections, *l; 641s # GVariant *signal_variant; 641s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 641s # 641s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 641s # arg_arg_g)); 641s # for (l = connections; l != NULL; l = l->next) 641s # { 641s # GDBusConnection *connection = l->data; 641s # g_dbus_connection_emit_signal (connection, 641s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 641s # signal_variant, NULL); 641s # } 641s # g_variant_unref (signal_variant); 641s # g_list_free_full (connections, g_object_unref); 641s # } 641s # 641s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 641s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 641s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 641s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 641s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 641s # 641s # #else 641s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 641s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 641s # 641s # #endif 641s # static void 641s # org_project_signaling_iface_skeleton_finalize (GObject *object) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 641s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 641s # if (skeleton->priv->changed_properties_idle_source != NULL) 641s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 641s # g_main_context_unref (skeleton->priv->context); 641s # g_mutex_clear (&skeleton->priv->lock); 641s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 641s # { 641s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 641s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 641s # #else 641s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 641s # #endif 641s # 641s # g_mutex_init (&skeleton->priv->lock); 641s # skeleton->priv->context = g_main_context_ref_thread_default (); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 641s # { 641s # GObjectClass *gobject_class; 641s # GDBusInterfaceSkeletonClass *skeleton_class; 641s # 641s # gobject_class = G_OBJECT_CLASS (klass); 641s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 641s # 641s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 641s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 641s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 641s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 641s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 641s # 641s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 641s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 641s # #endif 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 641s # { 641s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 641s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_skeleton_new: 641s # * 641s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_skeleton_new (void) 641s # { 641s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 641s # } 641s # /tmp/tmpjj2jdxte/tmpry__uzdt.xml: 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjj2jdxte/tmpry__uzdt.xml', '--output', '-', '--body'] 641s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 641s # Output: /* 641s # * This file is generated by gdbus-codegen, do not modify it. 641s # * 641s # * The license of this code is the same as for the D-Bus interface description 641s # * it was derived from. Note that it links to GLib, so must comply with the 641s # * LGPL linking clauses. 641s # */ 641s # 641s # #ifdef HAVE_CONFIG_H 641s # # include "config.h" 641s # #endif 641s # 641s # #include 641s # #ifdef G_OS_UNIX 641s # # include 641s # #endif 641s # 641s # #ifdef G_ENABLE_DEBUG 641s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 641s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 641s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 641s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 641s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 641s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 641s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 641s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 641s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 641s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 641s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 641s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 641s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 641s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 641s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 641s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 641s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 641s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 641s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 641s # #else /* !G_ENABLE_DEBUG */ 641s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 641s # * Do not access GValues directly in your code. Instead, use the 641s # * g_value_get_*() functions 641s # */ 641s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 641s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 641s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 641s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 641s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 641s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 641s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 641s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 641s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 641s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 641s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 641s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 641s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 641s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 641s # #endif /* !G_ENABLE_DEBUG */ 641s # 641s # typedef struct 641s # { 641s # GDBusArgInfo parent_struct; 641s # gboolean use_gvariant; 641s # } _ExtendedGDBusArgInfo; 641s # 641s # typedef struct 641s # { 641s # GDBusMethodInfo parent_struct; 641s # const gchar *signal_name; 641s # gboolean pass_fdlist; 641s # } _ExtendedGDBusMethodInfo; 641s # 641s # typedef struct 641s # { 641s # GDBusSignalInfo parent_struct; 641s # const gchar *signal_name; 641s # } _ExtendedGDBusSignalInfo; 641s # 641s # typedef struct 641s # { 641s # GDBusPropertyInfo parent_struct; 641s # const gchar *hyphen_name; 641s # guint use_gvariant : 1; 641s # guint emits_changed_signal : 1; 641s # } _ExtendedGDBusPropertyInfo; 641s # 641s # typedef struct 641s # { 641s # GDBusInterfaceInfo parent_struct; 641s # const gchar *hyphen_name; 641s # } _ExtendedGDBusInterfaceInfo; 641s # 641s # typedef struct 641s # { 641s # const _ExtendedGDBusPropertyInfo *info; 641s # guint prop_id; 641s # GValue orig_value; /* the value before the change */ 641s # } ChangedProperty; 641s # 641s # static void 641s # _changed_property_free (ChangedProperty *data) 641s # { 641s # g_value_unset (&data->orig_value); 641s # g_free (data); 641s # } 641s # 641s # static gboolean 641s # _g_strv_equal0 (gchar **a, gchar **b) 641s # { 641s # gboolean ret = FALSE; 641s # guint n; 641s # if (a == NULL && b == NULL) 641s # { 641s # ret = TRUE; 641s # goto out; 641s # } 641s # if (a == NULL || b == NULL) 641s # goto out; 641s # if (g_strv_length (a) != g_strv_length (b)) 641s # goto out; 641s # for (n = 0; a[n] != NULL; n++) 641s # if (g_strcmp0 (a[n], b[n]) != 0) 641s # goto out; 641s # ret = TRUE; 641s # out: 641s # return ret; 641s # } 641s # 641s # static gboolean 641s # _g_variant_equal0 (GVariant *a, GVariant *b) 641s # { 641s # gboolean ret = FALSE; 641s # if (a == NULL && b == NULL) 641s # { 641s # ret = TRUE; 641s # goto out; 641s # } 641s # if (a == NULL || b == NULL) 641s # goto out; 641s # ret = g_variant_equal (a, b); 641s # out: 641s # return ret; 641s # } 641s # 641s # G_GNUC_UNUSED static gboolean 641s # _g_value_equal (const GValue *a, const GValue *b) 641s # { 641s # gboolean ret = FALSE; 641s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 641s # switch (G_VALUE_TYPE (a)) 641s # { 641s # case G_TYPE_BOOLEAN: 641s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 641s # break; 641s # case G_TYPE_UCHAR: 641s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 641s # break; 641s # case G_TYPE_INT: 641s # ret = (g_value_get_int (a) == g_value_get_int (b)); 641s # break; 641s # case G_TYPE_UINT: 641s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 641s # break; 641s # case G_TYPE_INT64: 641s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 641s # break; 641s # case G_TYPE_UINT64: 641s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 641s # break; 641s # case G_TYPE_DOUBLE: 641s # { 641s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 641s # gdouble da = g_value_get_double (a); 641s # gdouble db = g_value_get_double (b); 641s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 641s # } 641s # break; 641s # case G_TYPE_STRING: 641s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 641s # break; 641s # case G_TYPE_VARIANT: 641s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 641s # break; 641s # default: 641s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 641s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 641s # else 641s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 641s # break; 641s # } 641s # return ret; 641s # } 641s # 641s # /* ------------------------------------------------------------------------ 641s # * Code for interface org.project.SignalingIface 641s # * ------------------------------------------------------------------------ 641s # */ 641s # 641s # /** 641s # * SECTION:OrgProjectSignalingIface 641s # * @title: OrgProjectSignalingIface 641s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 641s # * 641s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 641s # */ 641s # 641s # enum 641s # { 641s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 641s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 641s # }; 641s # 641s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 641s # 641s # /* ---- Introspection data for org.project.SignalingIface ---- */ 641s # 641s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 641s # { 641s # { 641s # -1, 641s # (gchar *) "SimpleSignal", 641s # NULL, 641s # NULL 641s # }, 641s # "simple-signal" 641s # }; 641s # 641s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 641s # { 641s # { 641s # -1, 641s # (gchar *) "arg_h", 641s # (gchar *) "h", 641s # NULL 641s # }, 641s # FALSE 641s # }; 641s # 641s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 641s # { 641s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 641s # NULL 641s # }; 641s # 641s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 641s # { 641s # { 641s # -1, 641s # (gchar *) "SingleArgSignalH", 641s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 641s # NULL 641s # }, 641s # "single-arg-signal-h" 641s # }; 641s # 641s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 641s # { 641s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 641s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 641s # NULL 641s # }; 641s # 641s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 641s # { 641s # { 641s # -1, 641s # (gchar *) "org.project.SignalingIface", 641s # NULL, 641s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 641s # NULL, 641s # NULL 641s # }, 641s # "org-project-signaling-iface", 641s # }; 641s # 641s # 641s # /** 641s # * org_project_signaling_iface_interface_info: 641s # * 641s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 641s # * 641s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 641s # */ 641s # GDBusInterfaceInfo * 641s # org_project_signaling_iface_interface_info (void) 641s # { 641s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_override_properties: 641s # * @klass: The class structure for a #GObject derived class. 641s # * @property_id_begin: The property id to assign to the first overridden property. 641s # * 641s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 641s # * The properties are overridden in the order they are defined. 641s # * 641s # * Returns: The last property id. 641s # */ 641s # guint 641s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 641s # { 641s # return property_id_begin - 1; 641s # } 641s # 641s # 641s # inline static void 641s # org_project_signaling_iface_signal_marshal_simple_signal ( 641s # GClosure *closure, 641s # GValue *return_value, 641s # unsigned int n_param_values, 641s # const GValue *param_values, 641s # void *invocation_hint, 641s # void *marshal_data) 641s # { 641s # g_cclosure_marshal_VOID__VOID (closure, 641s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 641s # } 641s # 641s # inline static void 641s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 641s # GClosure *closure, 641s # GValue *return_value, 641s # unsigned int n_param_values, 641s # const GValue *param_values, 641s # void *invocation_hint, 641s # void *marshal_data) 641s # { 641s # g_cclosure_marshal_VOID__VARIANT (closure, 641s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 641s # } 641s # 641s # 641s # /** 641s # * OrgProjectSignalingIface: 641s # * 641s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 641s # */ 641s # 641s # /** 641s # * OrgProjectSignalingIfaceIface: 641s # * @parent_iface: The parent interface. 641s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 641s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 641s # * 641s # * Virtual table for the D-Bus interface org.project.SignalingIface. 641s # */ 641s # 641s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 641s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 641s # 641s # static void 641s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 641s # { 641s # /* GObject signals for received D-Bus signals: */ 641s # /** 641s # * OrgProjectSignalingIface::simple-signal: 641s # * @object: A #OrgProjectSignalingIface. 641s # * 641s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 641s # * 641s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 641s # */ 641s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 641s # g_signal_new ("simple-signal", 641s # G_TYPE_FROM_INTERFACE (iface), 641s # G_SIGNAL_RUN_LAST, 641s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 641s # NULL, 641s # NULL, 641s # org_project_signaling_iface_signal_marshal_simple_signal, 641s # G_TYPE_NONE, 641s # 0); 641s # 641s # /** 641s # * OrgProjectSignalingIface::single-arg-signal-h: 641s # * @object: A #OrgProjectSignalingIface. 641s # * @arg_arg_h: Argument. 641s # * 641s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 641s # * 641s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 641s # */ 641s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 641s # g_signal_new ("single-arg-signal-h", 641s # G_TYPE_FROM_INTERFACE (iface), 641s # G_SIGNAL_RUN_LAST, 641s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 641s # NULL, 641s # NULL, 641s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 641s # G_TYPE_NONE, 641s # 1, G_TYPE_VARIANT); 641s # 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_emit_simple_signal: 641s # * @object: A #OrgProjectSignalingIface. 641s # * 641s # * Emits the "SimpleSignal" D-Bus signal. 641s # */ 641s # void 641s # org_project_signaling_iface_emit_simple_signal ( 641s # OrgProjectSignalingIface *object) 641s # { 641s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_emit_single_arg_signal_h: 641s # * @object: A #OrgProjectSignalingIface. 641s # * @arg_arg_h: Argument to pass with the signal. 641s # * 641s # * Emits the "SingleArgSignalH" D-Bus signal. 641s # */ 641s # void 641s # org_project_signaling_iface_emit_single_arg_signal_h ( 641s # OrgProjectSignalingIface *object, 641s # GVariant *arg_arg_h) 641s # { 641s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 641s # } 641s # 641s # /* ------------------------------------------------------------------------ */ 641s # 641s # /** 641s # * OrgProjectSignalingIfaceProxy: 641s # * 641s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 641s # */ 641s # 641s # /** 641s # * OrgProjectSignalingIfaceProxyClass: 641s # * @parent_class: The parent class. 641s # * 641s # * Class structure for #OrgProjectSignalingIfaceProxy. 641s # */ 641s # 641s # struct _OrgProjectSignalingIfaceProxyPrivate 641s # { 641s # GData *qdata; 641s # }; 641s # 641s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 641s # 641s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 641s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 641s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 641s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 641s # 641s # #else 641s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 641s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 641s # 641s # #endif 641s # static void 641s # org_project_signaling_iface_proxy_finalize (GObject *object) 641s # { 641s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 641s # g_datalist_clear (&proxy->priv->qdata); 641s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 641s # guint prop_id G_GNUC_UNUSED, 641s # GValue *value G_GNUC_UNUSED, 641s # GParamSpec *pspec G_GNUC_UNUSED) 641s # { 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 641s # guint prop_id G_GNUC_UNUSED, 641s # const GValue *value G_GNUC_UNUSED, 641s # GParamSpec *pspec G_GNUC_UNUSED) 641s # { 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 641s # const gchar *sender_name G_GNUC_UNUSED, 641s # const gchar *signal_name, 641s # GVariant *parameters) 641s # { 641s # _ExtendedGDBusSignalInfo *info; 641s # GVariantIter iter; 641s # GVariant *child; 641s # GValue *paramv; 641s # gsize num_params; 641s # gsize n; 641s # guint signal_id; 641s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 641s # if (info == NULL) 641s # return; 641s # num_params = g_variant_n_children (parameters); 641s # paramv = g_new0 (GValue, num_params + 1); 641s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 641s # g_value_set_object (¶mv[0], proxy); 641s # g_variant_iter_init (&iter, parameters); 641s # n = 1; 641s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 641s # { 641s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 641s # if (arg_info->use_gvariant) 641s # { 641s # g_value_init (¶mv[n], G_TYPE_VARIANT); 641s # g_value_set_variant (¶mv[n], child); 641s # n++; 641s # } 641s # else 641s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 641s # g_variant_unref (child); 641s # } 641s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 641s # g_signal_emitv (paramv, signal_id, 0, NULL); 641s # for (n = 0; n < num_params + 1; n++) 641s # g_value_unset (¶mv[n]); 641s # g_free (paramv); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 641s # GVariant *changed_properties, 641s # const gchar *const *invalidated_properties) 641s # { 641s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 641s # guint n; 641s # const gchar *key; 641s # GVariantIter *iter; 641s # _ExtendedGDBusPropertyInfo *info; 641s # g_variant_get (changed_properties, "a{sv}", &iter); 641s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 641s # { 641s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 641s # g_datalist_remove_data (&proxy->priv->qdata, key); 641s # if (info != NULL) 641s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 641s # } 641s # g_variant_iter_free (iter); 641s # for (n = 0; invalidated_properties[n] != NULL; n++) 641s # { 641s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 641s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 641s # if (info != NULL) 641s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 641s # } 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 641s # { 641s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 641s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 641s # #else 641s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 641s # #endif 641s # 641s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 641s # { 641s # GObjectClass *gobject_class; 641s # GDBusProxyClass *proxy_class; 641s # 641s # gobject_class = G_OBJECT_CLASS (klass); 641s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 641s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 641s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 641s # 641s # proxy_class = G_DBUS_PROXY_CLASS (klass); 641s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 641s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 641s # 641s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 641s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 641s # #endif 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 641s # { 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new: 641s # * @connection: A #GDBusConnection. 641s # * @flags: Flags from the #GDBusProxyFlags enumeration. 641s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 641s # * @object_path: An object path. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 641s # * @user_data: User data to pass to @callback. 641s # * 641s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 641s # * 641s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 641s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 641s # * 641s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 641s # */ 641s # void 641s # org_project_signaling_iface_proxy_new ( 641s # GDBusConnection *connection, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GAsyncReadyCallback callback, 641s # gpointer user_data) 641s # { 641s # 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); 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new_finish: 641s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 641s # * @error: Return location for error or %NULL 641s # * 641s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_proxy_new_finish ( 641s # GAsyncResult *res, 641s # GError **error) 641s # { 641s # GObject *ret; 641s # GObject *source_object; 641s # source_object = g_async_result_get_source_object (res); 641s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 641s # g_object_unref (source_object); 641s # if (ret != NULL) 641s # return ORG_PROJECT_SIGNALING_IFACE (ret); 641s # else 641s # return NULL; 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new_sync: 641s # * @connection: A #GDBusConnection. 641s # * @flags: Flags from the #GDBusProxyFlags enumeration. 641s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 641s # * @object_path: An object path. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @error: Return location for error or %NULL 641s # * 641s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 641s # * 641s # * The calling thread is blocked until a reply is received. 641s # * 641s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_proxy_new_sync ( 641s # GDBusConnection *connection, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GError **error) 641s # { 641s # GInitable *ret; 641s # 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); 641s # if (ret != NULL) 641s # return ORG_PROJECT_SIGNALING_IFACE (ret); 641s # else 641s # return NULL; 641s # } 641s # 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new_for_bus: 641s # * @bus_type: A #GBusType. 641s # * @flags: Flags from the #GDBusProxyFlags enumeration. 641s # * @name: A bus name (well-known or unique). 641s # * @object_path: An object path. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 641s # * @user_data: User data to pass to @callback. 641s # * 641s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 641s # * 641s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 641s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 641s # * 641s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 641s # */ 641s # void 641s # org_project_signaling_iface_proxy_new_for_bus ( 641s # GBusType bus_type, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GAsyncReadyCallback callback, 641s # gpointer user_data) 641s # { 641s # 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); 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new_for_bus_finish: 641s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 641s # * @error: Return location for error or %NULL 641s # * 641s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_proxy_new_for_bus_finish ( 641s # GAsyncResult *res, 641s # GError **error) 641s # { 641s # GObject *ret; 641s # GObject *source_object; 641s # source_object = g_async_result_get_source_object (res); 641s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 641s # g_object_unref (source_object); 641s # if (ret != NULL) 641s # return ORG_PROJECT_SIGNALING_IFACE (ret); 641s # else 641s # return NULL; 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new_for_bus_sync: 641s # * @bus_type: A #GBusType. 641s # * @flags: Flags from the #GDBusProxyFlags enumeration. 641s # * @name: A bus name (well-known or unique). 641s # * @object_path: An object path. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @error: Return location for error or %NULL 641s # * 641s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 641s # * 641s # * The calling thread is blocked until a reply is received. 641s # * 641s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_proxy_new_for_bus_sync ( 641s # GBusType bus_type, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GError **error) 641s # { 641s # GInitable *ret; 641s # 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); 641s # if (ret != NULL) 641s # return ORG_PROJECT_SIGNALING_IFACE (ret); 641s # else 641s # return NULL; 641s # } 641s # 641s # 641s # /* ------------------------------------------------------------------------ */ 641s # 641s # /** 641s # * OrgProjectSignalingIfaceSkeleton: 641s # * 641s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 641s # */ 641s # 641s # /** 641s # * OrgProjectSignalingIfaceSkeletonClass: 641s # * @parent_class: The parent class. 641s # * 641s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 641s # */ 641s # 641s # struct _OrgProjectSignalingIfaceSkeletonPrivate 641s # { 641s # GValue *properties; 641s # GList *changed_properties; 641s # GSource *changed_properties_idle_source; 641s # GMainContext *context; 641s # GMutex lock; 641s # }; 641s # 641s # static void 641s # _org_project_signaling_iface_skeleton_handle_method_call ( 641s # GDBusConnection *connection G_GNUC_UNUSED, 641s # const gchar *sender G_GNUC_UNUSED, 641s # const gchar *object_path G_GNUC_UNUSED, 641s # const gchar *interface_name, 641s # const gchar *method_name, 641s # GVariant *parameters, 641s # GDBusMethodInvocation *invocation, 641s # gpointer user_data) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 641s # _ExtendedGDBusMethodInfo *info; 641s # GVariantIter iter; 641s # GVariant *child; 641s # GValue *paramv; 641s # gsize num_params; 641s # guint num_extra; 641s # gsize n; 641s # guint signal_id; 641s # GValue return_value = G_VALUE_INIT; 641s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 641s # g_assert (info != NULL); 641s # num_params = g_variant_n_children (parameters); 641s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 641s # n = 0; 641s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 641s # g_value_set_object (¶mv[n++], skeleton); 641s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 641s # g_value_set_object (¶mv[n++], invocation); 641s # if (info->pass_fdlist) 641s # { 641s # #ifdef G_OS_UNIX 641s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 641s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 641s # #else 641s # g_assert_not_reached (); 641s # #endif 641s # } 641s # g_variant_iter_init (&iter, parameters); 641s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 641s # { 641s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 641s # if (arg_info->use_gvariant) 641s # { 641s # g_value_init (¶mv[n], G_TYPE_VARIANT); 641s # g_value_set_variant (¶mv[n], child); 641s # n++; 641s # } 641s # else 641s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 641s # g_variant_unref (child); 641s # } 641s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 641s # g_value_init (&return_value, G_TYPE_BOOLEAN); 641s # g_signal_emitv (paramv, signal_id, 0, &return_value); 641s # if (!g_value_get_boolean (&return_value)) 641s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 641s # g_value_unset (&return_value); 641s # for (n = 0; n < num_params + num_extra; n++) 641s # g_value_unset (¶mv[n]); 641s # g_free (paramv); 641s # } 641s # 641s # static GVariant * 641s # _org_project_signaling_iface_skeleton_handle_get_property ( 641s # GDBusConnection *connection G_GNUC_UNUSED, 641s # const gchar *sender G_GNUC_UNUSED, 641s # const gchar *object_path G_GNUC_UNUSED, 641s # const gchar *interface_name G_GNUC_UNUSED, 641s # const gchar *property_name, 641s # GError **error, 641s # gpointer user_data) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 641s # GValue value = G_VALUE_INIT; 641s # GParamSpec *pspec; 641s # _ExtendedGDBusPropertyInfo *info; 641s # GVariant *ret; 641s # ret = NULL; 641s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 641s # g_assert (info != NULL); 641s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 641s # if (pspec == NULL) 641s # { 641s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 641s # } 641s # else 641s # { 641s # g_value_init (&value, pspec->value_type); 641s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 641s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 641s # g_value_unset (&value); 641s # } 641s # return ret; 641s # } 641s # 641s # static gboolean 641s # _org_project_signaling_iface_skeleton_handle_set_property ( 641s # GDBusConnection *connection G_GNUC_UNUSED, 641s # const gchar *sender G_GNUC_UNUSED, 641s # const gchar *object_path G_GNUC_UNUSED, 641s # const gchar *interface_name G_GNUC_UNUSED, 641s # const gchar *property_name, 641s # GVariant *variant, 641s # GError **error, 641s # gpointer user_data) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 641s # GValue value = G_VALUE_INIT; 641s # GParamSpec *pspec; 641s # _ExtendedGDBusPropertyInfo *info; 641s # gboolean ret; 641s # ret = FALSE; 641s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 641s # g_assert (info != NULL); 641s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 641s # if (pspec == NULL) 641s # { 641s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 641s # } 641s # else 641s # { 641s # if (info->use_gvariant) 641s # g_value_set_variant (&value, variant); 641s # else 641s # g_dbus_gvariant_to_gvalue (variant, &value); 641s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 641s # g_value_unset (&value); 641s # ret = TRUE; 641s # } 641s # return ret; 641s # } 641s # 641s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 641s # { 641s # _org_project_signaling_iface_skeleton_handle_method_call, 641s # _org_project_signaling_iface_skeleton_handle_get_property, 641s # _org_project_signaling_iface_skeleton_handle_set_property, 641s # {NULL} 641s # }; 641s # 641s # static GDBusInterfaceInfo * 641s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 641s # { 641s # return org_project_signaling_iface_interface_info (); 641s # } 641s # 641s # static GDBusInterfaceVTable * 641s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 641s # { 641s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 641s # } 641s # 641s # static GVariant * 641s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 641s # 641s # GVariantBuilder builder; 641s # guint n; 641s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 641s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 641s # goto out; 641s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 641s # { 641s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 641s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 641s # { 641s # GVariant *value; 641s # 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); 641s # if (value != NULL) 641s # { 641s # g_variant_take_ref (value); 641s # g_variant_builder_add (&builder, "{sv}", info->name, value); 641s # g_variant_unref (value); 641s # } 641s # } 641s # } 641s # out: 641s # return g_variant_builder_end (&builder); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 641s # { 641s # } 641s # 641s # static void 641s # _org_project_signaling_iface_on_signal_simple_signal ( 641s # OrgProjectSignalingIface *object) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 641s # 641s # GList *connections, *l; 641s # GVariant *signal_variant; 641s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 641s # 641s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 641s # for (l = connections; l != NULL; l = l->next) 641s # { 641s # GDBusConnection *connection = l->data; 641s # g_dbus_connection_emit_signal (connection, 641s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 641s # signal_variant, NULL); 641s # } 641s # g_variant_unref (signal_variant); 641s # g_list_free_full (connections, g_object_unref); 641s # } 641s # 641s # static void 641s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 641s # OrgProjectSignalingIface *object, 641s # GVariant *arg_arg_h) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 641s # 641s # GList *connections, *l; 641s # GVariant *signal_variant; 641s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 641s # 641s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 641s # arg_arg_h)); 641s # for (l = connections; l != NULL; l = l->next) 641s # { 641s # GDBusConnection *connection = l->data; 641s # g_dbus_connection_emit_signal (connection, 641s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 641s # signal_variant, NULL); 641s # } 641s # g_variant_unref (signal_variant); 641s # g_list_free_full (connections, g_object_unref); 641s # } 641s # 641s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 641s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 641s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 641s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 641s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 641s # 641s # #else 641s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 641s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 641s # 641s # #endif 641s # static void 641s # org_project_signaling_iface_skeleton_finalize (GObject *object) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 641s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 641s # if (skeleton->priv->changed_properties_idle_source != NULL) 641s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 641s # g_main_context_unref (skeleton->priv->context); 641s # g_mutex_clear (&skeleton->priv->lock); 641s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 641s # { 641s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 641s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 641s # #else 641s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 641s # #endif 641s # 641s # g_mutex_init (&skeleton->priv->lock); 641s # skeleton->priv->context = g_main_context_ref_thread_default (); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 641s # { 641s # GObjectClass *gobject_class; 641s # GDBusInterfaceSkeletonClass *skeleton_class; 641s # 641s # gobject_class = G_OBJECT_CLASS (klass); 641s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 641s # 641s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 641s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 641s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 641s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 641s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 641s # 641s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 641s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 641s # #endif 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 641s # { 641s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 641s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_skeleton_new: 641s # * 641s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_skeleton_new (void) 641s # { 641s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 641s # } 641s # /tmp/tmpjj2jdxte/tmpp3orou7r.xml: 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjj2jdxte/tmpp3orou7r.xml', '--output', '-', '--body'] 641s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 641s # Output: /* 641s # * This file is generated by gdbus-codegen, do not modify it. 641s # * 641s # * The license of this code is the same as for the D-Bus interface description 641s # * it was derived from. Note that it links to GLib, so must comply with the 641s # * LGPL linking clauses. 641s # */ 641s # 641s # #ifdef HAVE_CONFIG_H 641s # # include "config.h" 641s # #endif 641s # 641s # #include 641s # #ifdef G_OS_UNIX 641s # # include 641s # #endif 641s # 641s # #ifdef G_ENABLE_DEBUG 641s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 641s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 641s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 641s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 641s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 641s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 641s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 641s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 641s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 641s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 641s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 641s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 641s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 641s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 641s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 641s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 641s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 641s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 641s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 641s # #else /* !G_ENABLE_DEBUG */ 641s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 641s # * Do not access GValues directly in your code. Instead, use the 641s # * g_value_get_*() functions 641s # */ 641s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 641s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 641s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 641s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 641s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 641s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 641s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 641s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 641s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 641s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 641s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 641s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 641s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 641s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 641s # #endif /* !G_ENABLE_DEBUG */ 641s # 641s # typedef struct 641s # { 641s # GDBusArgInfo parent_struct; 641s # gboolean use_gvariant; 641s # } _ExtendedGDBusArgInfo; 641s # 641s # typedef struct 641s # { 641s # GDBusMethodInfo parent_struct; 641s # const gchar *signal_name; 641s # gboolean pass_fdlist; 641s # } _ExtendedGDBusMethodInfo; 641s # 641s # typedef struct 641s # { 641s # GDBusSignalInfo parent_struct; 641s # const gchar *signal_name; 641s # } _ExtendedGDBusSignalInfo; 641s # 641s # typedef struct 641s # { 641s # GDBusPropertyInfo parent_struct; 641s # const gchar *hyphen_name; 641s # guint use_gvariant : 1; 641s # guint emits_changed_signal : 1; 641s # } _ExtendedGDBusPropertyInfo; 641s # 641s # typedef struct 641s # { 641s # GDBusInterfaceInfo parent_struct; 641s # const gchar *hyphen_name; 641s # } _ExtendedGDBusInterfaceInfo; 641s # 641s # typedef struct 641s # { 641s # const _ExtendedGDBusPropertyInfo *info; 641s # guint prop_id; 641s # GValue orig_value; /* the value before the change */ 641s # } ChangedProperty; 641s # 641s # static void 641s # _changed_property_free (ChangedProperty *data) 641s # { 641s # g_value_unset (&data->orig_value); 641s # g_free (data); 641s # } 641s # 641s # static gboolean 641s # _g_strv_equal0 (gchar **a, gchar **b) 641s # { 641s # gboolean ret = FALSE; 641s # guint n; 641s # if (a == NULL && b == NULL) 641s # { 641s # ret = TRUE; 641s # goto out; 641s # } 641s # if (a == NULL || b == NULL) 641s # goto out; 641s # if (g_strv_length (a) != g_strv_length (b)) 641s # goto out; 641s # for (n = 0; a[n] != NULL; n++) 641s # if (g_strcmp0 (a[n], b[n]) != 0) 641s # goto out; 641s # ret = TRUE; 641s # out: 641s # return ret; 641s # } 641s # 641s # static gboolean 641s # _g_variant_equal0 (GVariant *a, GVariant *b) 641s # { 641s # gboolean ret = FALSE; 641s # if (a == NULL && b == NULL) 641s # { 641s # ret = TRUE; 641s # goto out; 641s # } 641s # if (a == NULL || b == NULL) 641s # goto out; 641s # ret = g_variant_equal (a, b); 641s # out: 641s # return ret; 641s # } 641s # 641s # G_GNUC_UNUSED static gboolean 641s # _g_value_equal (const GValue *a, const GValue *b) 641s # { 641s # gboolean ret = FALSE; 641s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 641s # switch (G_VALUE_TYPE (a)) 641s # { 641s # case G_TYPE_BOOLEAN: 641s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 641s # break; 641s # case G_TYPE_UCHAR: 641s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 641s # break; 641s # case G_TYPE_INT: 641s # ret = (g_value_get_int (a) == g_value_get_int (b)); 641s # break; 641s # case G_TYPE_UINT: 641s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 641s # break; 641s # case G_TYPE_INT64: 641s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 641s # break; 641s # case G_TYPE_UINT64: 641s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 641s # break; 641s # case G_TYPE_DOUBLE: 641s # { 641s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 641s # gdouble da = g_value_get_double (a); 641s # gdouble db = g_value_get_double (b); 641s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 641s # } 641s # break; 641s # case G_TYPE_STRING: 641s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 641s # break; 641s # case G_TYPE_VARIANT: 641s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 641s # break; 641s # default: 641s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 641s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 641s # else 641s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 641s # break; 641s # } 641s # return ret; 641s # } 641s # 641s # /* ------------------------------------------------------------------------ 641s # * Code for interface org.project.SignalingIface 641s # * ------------------------------------------------------------------------ 641s # */ 641s # 641s # /** 641s # * SECTION:OrgProjectSignalingIface 641s # * @title: OrgProjectSignalingIface 641s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 641s # * 641s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 641s # */ 641s # 641s # enum 641s # { 641s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 641s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 641s # }; 641s # 641s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 641s # 641s # /* ---- Introspection data for org.project.SignalingIface ---- */ 641s # 641s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 641s # { 641s # { 641s # -1, 641s # (gchar *) "SimpleSignal", 641s # NULL, 641s # NULL 641s # }, 641s # "simple-signal" 641s # }; 641s # 641s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 641s # { 641s # { 641s # -1, 641s # (gchar *) "arg_ay", 641s # (gchar *) "ay", 641s # NULL 641s # }, 641s # FALSE 641s # }; 641s # 641s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 641s # { 641s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 641s # NULL 641s # }; 641s # 641s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 641s # { 641s # { 641s # -1, 641s # (gchar *) "SingleArgSignalAy", 641s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 641s # NULL 641s # }, 641s # "single-arg-signal-ay" 641s # }; 641s # 641s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 641s # { 641s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 641s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 641s # NULL 641s # }; 641s # 641s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 641s # { 641s # { 641s # -1, 641s # (gchar *) "org.project.SignalingIface", 641s # NULL, 641s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 641s # NULL, 641s # NULL 641s # }, 641s # "org-project-signaling-iface", 641s # }; 641s # 641s # 641s # /** 641s # * org_project_signaling_iface_interface_info: 641s # * 641s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 641s # * 641s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 641s # */ 641s # GDBusInterfaceInfo * 641s # org_project_signaling_iface_interface_info (void) 641s # { 641s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_override_properties: 641s # * @klass: The class structure for a #GObject derived class. 641s # * @property_id_begin: The property id to assign to the first overridden property. 641s # * 641s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 641s # * The properties are overridden in the order they are defined. 641s # * 641s # * Returns: The last property id. 641s # */ 641s # guint 641s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 641s # { 641s # return property_id_begin - 1; 641s # } 641s # 641s # 641s # inline static void 641s # org_project_signaling_iface_signal_marshal_simple_signal ( 641s # GClosure *closure, 641s # GValue *return_value, 641s # unsigned int n_param_values, 641s # const GValue *param_values, 641s # void *invocation_hint, 641s # void *marshal_data) 641s # { 641s # g_cclosure_marshal_VOID__VOID (closure, 641s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 641s # } 641s # 641s # inline static void 641s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 641s # GClosure *closure, 641s # GValue *return_value, 641s # unsigned int n_param_values, 641s # const GValue *param_values, 641s # void *invocation_hint, 641s # void *marshal_data) 641s # { 641s # g_cclosure_marshal_VOID__STRING (closure, 641s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 641s # } 641s # 641s # 641s # /** 641s # * OrgProjectSignalingIface: 641s # * 641s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 641s # */ 641s # 641s # /** 641s # * OrgProjectSignalingIfaceIface: 641s # * @parent_iface: The parent interface. 641s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 641s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 641s # * 641s # * Virtual table for the D-Bus interface org.project.SignalingIface. 641s # */ 641s # 641s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 641s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 641s # 641s # static void 641s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 641s # { 641s # /* GObject signals for received D-Bus signals: */ 641s # /** 641s # * OrgProjectSignalingIface::simple-signal: 641s # * @object: A #OrgProjectSignalingIface. 641s # * 641s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 641s # * 641s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 641s # */ 641s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 641s # g_signal_new ("simple-signal", 641s # G_TYPE_FROM_INTERFACE (iface), 641s # G_SIGNAL_RUN_LAST, 641s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 641s # NULL, 641s # NULL, 641s # org_project_signaling_iface_signal_marshal_simple_signal, 641s # G_TYPE_NONE, 641s # 0); 641s # 641s # /** 641s # * OrgProjectSignalingIface::single-arg-signal-ay: 641s # * @object: A #OrgProjectSignalingIface. 641s # * @arg_arg_ay: Argument. 641s # * 641s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 641s # * 641s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 641s # */ 641s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 641s # g_signal_new ("single-arg-signal-ay", 641s # G_TYPE_FROM_INTERFACE (iface), 641s # G_SIGNAL_RUN_LAST, 641s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 641s # NULL, 641s # NULL, 641s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 641s # G_TYPE_NONE, 641s # 1, G_TYPE_STRING); 641s # 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_emit_simple_signal: 641s # * @object: A #OrgProjectSignalingIface. 641s # * 641s # * Emits the "SimpleSignal" D-Bus signal. 641s # */ 641s # void 641s # org_project_signaling_iface_emit_simple_signal ( 641s # OrgProjectSignalingIface *object) 641s # { 641s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_emit_single_arg_signal_ay: 641s # * @object: A #OrgProjectSignalingIface. 641s # * @arg_arg_ay: Argument to pass with the signal. 641s # * 641s # * Emits the "SingleArgSignalAy" D-Bus signal. 641s # */ 641s # void 641s # org_project_signaling_iface_emit_single_arg_signal_ay ( 641s # OrgProjectSignalingIface *object, 641s # const gchar *arg_arg_ay) 641s # { 641s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 641s # } 641s # 641s # /* ------------------------------------------------------------------------ */ 641s # 641s # /** 641s # * OrgProjectSignalingIfaceProxy: 641s # * 641s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 641s # */ 641s # 641s # /** 641s # * OrgProjectSignalingIfaceProxyClass: 641s # * @parent_class: The parent class. 641s # * 641s # * Class structure for #OrgProjectSignalingIfaceProxy. 641s # */ 641s # 641s # struct _OrgProjectSignalingIfaceProxyPrivate 641s # { 641s # GData *qdata; 641s # }; 641s # 641s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 641s # 641s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 641s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 641s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 641s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 641s # 641s # #else 641s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 641s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 641s # 641s # #endif 641s # static void 641s # org_project_signaling_iface_proxy_finalize (GObject *object) 641s # { 641s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 641s # g_datalist_clear (&proxy->priv->qdata); 641s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 641s # guint prop_id G_GNUC_UNUSED, 641s # GValue *value G_GNUC_UNUSED, 641s # GParamSpec *pspec G_GNUC_UNUSED) 641s # { 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 641s # guint prop_id G_GNUC_UNUSED, 641s # const GValue *value G_GNUC_UNUSED, 641s # GParamSpec *pspec G_GNUC_UNUSED) 641s # { 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 641s # const gchar *sender_name G_GNUC_UNUSED, 641s # const gchar *signal_name, 641s # GVariant *parameters) 641s # { 641s # _ExtendedGDBusSignalInfo *info; 641s # GVariantIter iter; 641s # GVariant *child; 641s # GValue *paramv; 641s # gsize num_params; 641s # gsize n; 641s # guint signal_id; 641s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 641s # if (info == NULL) 641s # return; 641s # num_params = g_variant_n_children (parameters); 641s # paramv = g_new0 (GValue, num_params + 1); 641s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 641s # g_value_set_object (¶mv[0], proxy); 641s # g_variant_iter_init (&iter, parameters); 641s # n = 1; 641s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 641s # { 641s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 641s # if (arg_info->use_gvariant) 641s # { 641s # g_value_init (¶mv[n], G_TYPE_VARIANT); 641s # g_value_set_variant (¶mv[n], child); 641s # n++; 641s # } 641s # else 641s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 641s # g_variant_unref (child); 641s # } 641s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 641s # g_signal_emitv (paramv, signal_id, 0, NULL); 641s # for (n = 0; n < num_params + 1; n++) 641s # g_value_unset (¶mv[n]); 641s # g_free (paramv); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 641s # GVariant *changed_properties, 641s # const gchar *const *invalidated_properties) 641s # { 641s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 641s # guint n; 641s # const gchar *key; 641s # GVariantIter *iter; 641s # _ExtendedGDBusPropertyInfo *info; 641s # g_variant_get (changed_properties, "a{sv}", &iter); 641s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 641s # { 641s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 641s # g_datalist_remove_data (&proxy->priv->qdata, key); 641s # if (info != NULL) 641s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 641s # } 641s # g_variant_iter_free (iter); 641s # for (n = 0; invalidated_properties[n] != NULL; n++) 641s # { 641s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 641s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 641s # if (info != NULL) 641s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 641s # } 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 641s # { 641s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 641s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 641s # #else 641s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 641s # #endif 641s # 641s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 641s # { 641s # GObjectClass *gobject_class; 641s # GDBusProxyClass *proxy_class; 641s # 641s # gobject_class = G_OBJECT_CLASS (klass); 641s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 641s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 641s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 641s # 641s # proxy_class = G_DBUS_PROXY_CLASS (klass); 641s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 641s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 641s # 641s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 641s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 641s # #endif 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 641s # { 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new: 641s # * @connection: A #GDBusConnection. 641s # * @flags: Flags from the #GDBusProxyFlags enumeration. 641s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 641s # * @object_path: An object path. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 641s # * @user_data: User data to pass to @callback. 641s # * 641s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 641s # * 641s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 641s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 641s # * 641s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 641s # */ 641s # void 641s # org_project_signaling_iface_proxy_new ( 641s # GDBusConnection *connection, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GAsyncReadyCallback callback, 641s # gpointer user_data) 641s # { 641s # 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); 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new_finish: 641s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 641s # * @error: Return location for error or %NULL 641s # * 641s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_proxy_new_finish ( 641s # GAsyncResult *res, 641s # GError **error) 641s # { 641s # GObject *ret; 641s # GObject *source_object; 641s # source_object = g_async_result_get_source_object (res); 641s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 641s # g_object_unref (source_object); 641s # if (ret != NULL) 641s # return ORG_PROJECT_SIGNALING_IFACE (ret); 641s # else 641s # return NULL; 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new_sync: 641s # * @connection: A #GDBusConnection. 641s # * @flags: Flags from the #GDBusProxyFlags enumeration. 641s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 641s # * @object_path: An object path. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @error: Return location for error or %NULL 641s # * 641s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 641s # * 641s # * The calling thread is blocked until a reply is received. 641s # * 641s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_proxy_new_sync ( 641s # GDBusConnection *connection, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GError **error) 641s # { 641s # GInitable *ret; 641s # 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); 641s # if (ret != NULL) 641s # return ORG_PROJECT_SIGNALING_IFACE (ret); 641s # else 641s # return NULL; 641s # } 641s # 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new_for_bus: 641s # * @bus_type: A #GBusType. 641s # * @flags: Flags from the #GDBusProxyFlags enumeration. 641s # * @name: A bus name (well-known or unique). 641s # * @object_path: An object path. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 641s # * @user_data: User data to pass to @callback. 641s # * 641s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 641s # * 641s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 641s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 641s # * 641s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 641s # */ 641s # void 641s # org_project_signaling_iface_proxy_new_for_bus ( 641s # GBusType bus_type, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GAsyncReadyCallback callback, 641s # gpointer user_data) 641s # { 641s # 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); 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new_for_bus_finish: 641s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 641s # * @error: Return location for error or %NULL 641s # * 641s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_proxy_new_for_bus_finish ( 641s # GAsyncResult *res, 641s # GError **error) 641s # { 641s # GObject *ret; 641s # GObject *source_object; 641s # source_object = g_async_result_get_source_object (res); 641s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 641s # g_object_unref (source_object); 641s # if (ret != NULL) 641s # return ORG_PROJECT_SIGNALING_IFACE (ret); 641s # else 641s # return NULL; 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new_for_bus_sync: 641s # * @bus_type: A #GBusType. 641s # * @flags: Flags from the #GDBusProxyFlags enumeration. 641s # * @name: A bus name (well-known or unique). 641s # * @object_path: An object path. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @error: Return location for error or %NULL 641s # * 641s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 641s # * 641s # * The calling thread is blocked until a reply is received. 641s # * 641s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_proxy_new_for_bus_sync ( 641s # GBusType bus_type, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GError **error) 641s # { 641s # GInitable *ret; 641s # 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); 641s # if (ret != NULL) 641s # return ORG_PROJECT_SIGNALING_IFACE (ret); 641s # else 641s # return NULL; 641s # } 641s # 641s # 641s # /* ------------------------------------------------------------------------ */ 641s # 641s # /** 641s # * OrgProjectSignalingIfaceSkeleton: 641s # * 641s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 641s # */ 641s # 641s # /** 641s # * OrgProjectSignalingIfaceSkeletonClass: 641s # * @parent_class: The parent class. 641s # * 641s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 641s # */ 641s # 641s # struct _OrgProjectSignalingIfaceSkeletonPrivate 641s # { 641s # GValue *properties; 641s # GList *changed_properties; 641s # GSource *changed_properties_idle_source; 641s # GMainContext *context; 641s # GMutex lock; 641s # }; 641s # 641s # static void 641s # _org_project_signaling_iface_skeleton_handle_method_call ( 641s # GDBusConnection *connection G_GNUC_UNUSED, 641s # const gchar *sender G_GNUC_UNUSED, 641s # const gchar *object_path G_GNUC_UNUSED, 641s # const gchar *interface_name, 641s # const gchar *method_name, 641s # GVariant *parameters, 641s # GDBusMethodInvocation *invocation, 641s # gpointer user_data) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 641s # _ExtendedGDBusMethodInfo *info; 641s # GVariantIter iter; 641s # GVariant *child; 641s # GValue *paramv; 641s # gsize num_params; 641s # guint num_extra; 641s # gsize n; 641s # guint signal_id; 641s # GValue return_value = G_VALUE_INIT; 641s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 641s # g_assert (info != NULL); 641s # num_params = g_variant_n_children (parameters); 641s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 641s # n = 0; 641s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 641s # g_value_set_object (¶mv[n++], skeleton); 641s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 641s # g_value_set_object (¶mv[n++], invocation); 641s # if (info->pass_fdlist) 641s # { 641s # #ifdef G_OS_UNIX 641s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 641s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 641s # #else 641s # g_assert_not_reached (); 641s # #endif 641s # } 641s # g_variant_iter_init (&iter, parameters); 641s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 641s # { 641s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 641s # if (arg_info->use_gvariant) 641s # { 641s # g_value_init (¶mv[n], G_TYPE_VARIANT); 641s # g_value_set_variant (¶mv[n], child); 641s # n++; 641s # } 641s # else 641s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 641s # g_variant_unref (child); 641s # } 641s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 641s # g_value_init (&return_value, G_TYPE_BOOLEAN); 641s # g_signal_emitv (paramv, signal_id, 0, &return_value); 641s # if (!g_value_get_boolean (&return_value)) 641s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 641s # g_value_unset (&return_value); 641s # for (n = 0; n < num_params + num_extra; n++) 641s # g_value_unset (¶mv[n]); 641s # g_free (paramv); 641s # } 641s # 641s # static GVariant * 641s # _org_project_signaling_iface_skeleton_handle_get_property ( 641s # GDBusConnection *connection G_GNUC_UNUSED, 641s # const gchar *sender G_GNUC_UNUSED, 641s # const gchar *object_path G_GNUC_UNUSED, 641s # const gchar *interface_name G_GNUC_UNUSED, 641s # const gchar *property_name, 641s # GError **error, 641s # gpointer user_data) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 641s # GValue value = G_VALUE_INIT; 641s # GParamSpec *pspec; 641s # _ExtendedGDBusPropertyInfo *info; 641s # GVariant *ret; 641s # ret = NULL; 641s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 641s # g_assert (info != NULL); 641s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 641s # if (pspec == NULL) 641s # { 641s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 641s # } 641s # else 641s # { 641s # g_value_init (&value, pspec->value_type); 641s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 641s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 641s # g_value_unset (&value); 641s # } 641s # return ret; 641s # } 641s # 641s # static gboolean 641s # _org_project_signaling_iface_skeleton_handle_set_property ( 641s # GDBusConnection *connection G_GNUC_UNUSED, 641s # const gchar *sender G_GNUC_UNUSED, 641s # const gchar *object_path G_GNUC_UNUSED, 641s # const gchar *interface_name G_GNUC_UNUSED, 641s # const gchar *property_name, 641s # GVariant *variant, 641s # GError **error, 641s # gpointer user_data) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 641s # GValue value = G_VALUE_INIT; 641s # GParamSpec *pspec; 641s # _ExtendedGDBusPropertyInfo *info; 641s # gboolean ret; 641s # ret = FALSE; 641s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 641s # g_assert (info != NULL); 641s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 641s # if (pspec == NULL) 641s # { 641s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 641s # } 641s # else 641s # { 641s # if (info->use_gvariant) 641s # g_value_set_variant (&value, variant); 641s # else 641s # g_dbus_gvariant_to_gvalue (variant, &value); 641s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 641s # g_value_unset (&value); 641s # ret = TRUE; 641s # } 641s # return ret; 641s # } 641s # 641s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 641s # { 641s # _org_project_signaling_iface_skeleton_handle_method_call, 641s # _org_project_signaling_iface_skeleton_handle_get_property, 641s # _org_project_signaling_iface_skeleton_handle_set_property, 641s # {NULL} 641s # }; 641s # 641s # static GDBusInterfaceInfo * 641s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 641s # { 641s # return org_project_signaling_iface_interface_info (); 641s # } 641s # 641s # static GDBusInterfaceVTable * 641s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 641s # { 641s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 641s # } 641s # 641s # static GVariant * 641s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 641s # 641s # GVariantBuilder builder; 641s # guint n; 641s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 641s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 641s # goto out; 641s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 641s # { 641s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 641s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 641s # { 641s # GVariant *value; 641s # 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); 641s # if (value != NULL) 641s # { 641s # g_variant_take_ref (value); 641s # g_variant_builder_add (&builder, "{sv}", info->name, value); 641s # g_variant_unref (value); 641s # } 641s # } 641s # } 641s # out: 641s # return g_variant_builder_end (&builder); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 641s # { 641s # } 641s # 641s # static void 641s # _org_project_signaling_iface_on_signal_simple_signal ( 641s # OrgProjectSignalingIface *object) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 641s # 641s # GList *connections, *l; 641s # GVariant *signal_variant; 641s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 641s # 641s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 641s # for (l = connections; l != NULL; l = l->next) 641s # { 641s # GDBusConnection *connection = l->data; 641s # g_dbus_connection_emit_signal (connection, 641s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 641s # signal_variant, NULL); 641s # } 641s # g_variant_unref (signal_variant); 641s # g_list_free_full (connections, g_object_unref); 641s # } 641s # 641s # static void 641s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 641s # OrgProjectSignalingIface *object, 641s # const gchar *arg_arg_ay) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 641s # 641s # GList *connections, *l; 641s # GVariant *signal_variant; 641s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 641s # 641s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 641s # arg_arg_ay)); 641s # for (l = connections; l != NULL; l = l->next) 641s # { 641s # GDBusConnection *connection = l->data; 641s # g_dbus_connection_emit_signal (connection, 641s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 641s # signal_variant, NULL); 641s # } 641s # g_variant_unref (signal_variant); 641s # g_list_free_full (connections, g_object_unref); 641s # } 641s # 641s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 641s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 641s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 641s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 641s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 641s # 641s # #else 641s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 641s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 641s # 641s # #endif 641s # static void 641s # org_project_signaling_iface_skeleton_finalize (GObject *object) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 641s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 641s # if (skeleton->priv->changed_properties_idle_source != NULL) 641s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 641s # g_main_context_unref (skeleton->priv->context); 641s # g_mutex_clear (&skeleton->priv->lock); 641s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 641s # { 641s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 641s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 641s # #else 641s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 641s # #endif 641s # 641s # g_mutex_init (&skeleton->priv->lock); 641s # skeleton->priv->context = g_main_context_ref_thread_default (); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 641s # { 641s # GObjectClass *gobject_class; 641s # GDBusInterfaceSkeletonClass *skeleton_class; 641s # 641s # gobject_class = G_OBJECT_CLASS (klass); 641s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 641s # 641s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 641s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 641s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 641s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 641s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 641s # 641s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 641s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 641s # #endif 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 641s # { 641s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 641s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_skeleton_new: 641s # * 641s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_skeleton_new (void) 641s # { 641s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 641s # } 641s # /tmp/tmpjj2jdxte/tmpe392df6l.xml: 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjj2jdxte/tmpe392df6l.xml', '--output', '-', '--body'] 641s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 641s # Output: /* 641s # * This file is generated by gdbus-codegen, do not modify it. 641s # * 641s # * The license of this code is the same as for the D-Bus interface description 641s # * it was derived from. Note that it links to GLib, so must comply with the 641s # * LGPL linking clauses. 641s # */ 641s # 641s # #ifdef HAVE_CONFIG_H 641s # # include "config.h" 641s # #endif 641s # 641s # #include 641s # #ifdef G_OS_UNIX 641s # # include 641s # #endif 641s # 641s # #ifdef G_ENABLE_DEBUG 641s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 641s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 641s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 641s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 641s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 641s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 641s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 641s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 641s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 641s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 641s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 641s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 641s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 641s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 641s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 641s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 641s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 641s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 641s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 641s # #else /* !G_ENABLE_DEBUG */ 641s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 641s # * Do not access GValues directly in your code. Instead, use the 641s # * g_value_get_*() functions 641s # */ 641s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 641s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 641s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 641s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 641s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 641s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 641s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 641s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 641s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 641s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 641s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 641s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 641s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 641s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 641s # #endif /* !G_ENABLE_DEBUG */ 641s # 641s # typedef struct 641s # { 641s # GDBusArgInfo parent_struct; 641s # gboolean use_gvariant; 641s # } _ExtendedGDBusArgInfo; 641s # 641s # typedef struct 641s # { 641s # GDBusMethodInfo parent_struct; 641s # const gchar *signal_name; 641s # gboolean pass_fdlist; 641s # } _ExtendedGDBusMethodInfo; 641s # 641s # typedef struct 641s # { 641s # GDBusSignalInfo parent_struct; 641s # const gchar *signal_name; 641s # } _ExtendedGDBusSignalInfo; 641s # 641s # typedef struct 641s # { 641s # GDBusPropertyInfo parent_struct; 641s # const gchar *hyphen_name; 641s # guint use_gvariant : 1; 641s # guint emits_changed_signal : 1; 641s # } _ExtendedGDBusPropertyInfo; 641s # 641s # typedef struct 641s # { 641s # GDBusInterfaceInfo parent_struct; 641s # const gchar *hyphen_name; 641s # } _ExtendedGDBusInterfaceInfo; 641s # 641s # typedef struct 641s # { 641s # const _ExtendedGDBusPropertyInfo *info; 641s # guint prop_id; 641s # GValue orig_value; /* the value before the change */ 641s # } ChangedProperty; 641s # 641s # static void 641s # _changed_property_free (ChangedProperty *data) 641s # { 641s # g_value_unset (&data->orig_value); 641s # g_free (data); 641s # } 641s # 641s # static gboolean 641s # _g_strv_equal0 (gchar **a, gchar **b) 641s # { 641s # gboolean ret = FALSE; 641s # guint n; 641s # if (a == NULL && b == NULL) 641s # { 641s # ret = TRUE; 641s # goto out; 641s # } 641s # if (a == NULL || b == NULL) 641s # goto out; 641s # if (g_strv_length (a) != g_strv_length (b)) 641s # goto out; 641s # for (n = 0; a[n] != NULL; n++) 641s # if (g_strcmp0 (a[n], b[n]) != 0) 641s # goto out; 641s # ret = TRUE; 641s # out: 641s # return ret; 641s # } 641s # 641s # static gboolean 641s # _g_variant_equal0 (GVariant *a, GVariant *b) 641s # { 641s # gboolean ret = FALSE; 641s # if (a == NULL && b == NULL) 641s # { 641s # ret = TRUE; 641s # goto out; 641s # } 641s # if (a == NULL || b == NULL) 641s # goto out; 641s # ret = g_variant_equal (a, b); 641s # out: 641s # return ret; 641s # } 641s # 641s # G_GNUC_UNUSED static gboolean 641s # _g_value_equal (const GValue *a, const GValue *b) 641s # { 641s # gboolean ret = FALSE; 641s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 641s # switch (G_VALUE_TYPE (a)) 641s # { 641s # case G_TYPE_BOOLEAN: 641s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 641s # break; 641s # case G_TYPE_UCHAR: 641s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 641s # break; 641s # case G_TYPE_INT: 641s # ret = (g_value_get_int (a) == g_value_get_int (b)); 641s # break; 641s # case G_TYPE_UINT: 641s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 641s # break; 641s # case G_TYPE_INT64: 641s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 641s # break; 641s # case G_TYPE_UINT64: 641s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 641s # break; 641s # case G_TYPE_DOUBLE: 641s # { 641s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 641s # gdouble da = g_value_get_double (a); 641s # gdouble db = g_value_get_double (b); 641s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 641s # } 641s # break; 641s # case G_TYPE_STRING: 641s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 641s # break; 641s # case G_TYPE_VARIANT: 641s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 641s # break; 641s # default: 641s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 641s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 641s # else 641s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 641s # break; 641s # } 641s # return ret; 641s # } 641s # 641s # /* ------------------------------------------------------------------------ 641s # * Code for interface org.project.SignalingIface 641s # * ------------------------------------------------------------------------ 641s # */ 641s # 641s # /** 641s # * SECTION:OrgProjectSignalingIface 641s # * @title: OrgProjectSignalingIface 641s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 641s # * 641s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 641s # */ 641s # 641s # enum 641s # { 641s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 641s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 641s # }; 641s # 641s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 641s # 641s # /* ---- Introspection data for org.project.SignalingIface ---- */ 641s # 641s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 641s # { 641s # { 641s # -1, 641s # (gchar *) "SimpleSignal", 641s # NULL, 641s # NULL 641s # }, 641s # "simple-signal" 641s # }; 641s # 641s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 641s # { 641s # { 641s # -1, 641s # (gchar *) "arg_as", 641s # (gchar *) "as", 641s # NULL 641s # }, 641s # FALSE 641s # }; 641s # 641s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 641s # { 641s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 641s # NULL 641s # }; 641s # 641s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 641s # { 641s # { 641s # -1, 641s # (gchar *) "SingleArgSignalAs", 641s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 641s # NULL 641s # }, 641s # "single-arg-signal-as" 641s # }; 641s # 641s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 641s # { 641s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 641s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 641s # NULL 641s # }; 641s # 641s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 641s # { 641s # { 641s # -1, 641s # (gchar *) "org.project.SignalingIface", 641s # NULL, 641s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 641s # NULL, 641s # NULL 641s # }, 641s # "org-project-signaling-iface", 641s # }; 641s # 641s # 641s # /** 641s # * org_project_signaling_iface_interface_info: 641s # * 641s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 641s # * 641s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 641s # */ 641s # GDBusInterfaceInfo * 641s # org_project_signaling_iface_interface_info (void) 641s # { 641s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_override_properties: 641s # * @klass: The class structure for a #GObject derived class. 641s # * @property_id_begin: The property id to assign to the first overridden property. 641s # * 641s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 641s # * The properties are overridden in the order they are defined. 641s # * 641s # * Returns: The last property id. 641s # */ 641s # guint 641s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 641s # { 641s # return property_id_begin - 1; 641s # } 641s # 641s # 641s # inline static void 641s # org_project_signaling_iface_signal_marshal_simple_signal ( 641s # GClosure *closure, 641s # GValue *return_value, 641s # unsigned int n_param_values, 641s # const GValue *param_values, 641s # void *invocation_hint, 641s # void *marshal_data) 641s # { 641s # g_cclosure_marshal_VOID__VOID (closure, 641s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 641s # } 641s # 641s # inline static void 641s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 641s # GClosure *closure, 641s # GValue *return_value, 641s # unsigned int n_param_values, 641s # const GValue *param_values, 641s # void *invocation_hint, 641s # void *marshal_data) 641s # { 641s # g_cclosure_marshal_VOID__BOXED (closure, 641s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 641s # } 641s # 641s # 641s # /** 641s # * OrgProjectSignalingIface: 641s # * 641s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 641s # */ 641s # 641s # /** 641s # * OrgProjectSignalingIfaceIface: 641s # * @parent_iface: The parent interface. 641s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 641s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 641s # * 641s # * Virtual table for the D-Bus interface org.project.SignalingIface. 641s # */ 641s # 641s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 641s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 641s # 641s # static void 641s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 641s # { 641s # /* GObject signals for received D-Bus signals: */ 641s # /** 641s # * OrgProjectSignalingIface::simple-signal: 641s # * @object: A #OrgProjectSignalingIface. 641s # * 641s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 641s # * 641s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 641s # */ 641s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 641s # g_signal_new ("simple-signal", 641s # G_TYPE_FROM_INTERFACE (iface), 641s # G_SIGNAL_RUN_LAST, 641s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 641s # NULL, 641s # NULL, 641s # org_project_signaling_iface_signal_marshal_simple_signal, 641s # G_TYPE_NONE, 641s # 0); 641s # 641s # /** 641s # * OrgProjectSignalingIface::single-arg-signal-as: 641s # * @object: A #OrgProjectSignalingIface. 641s # * @arg_arg_as: Argument. 641s # * 641s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 641s # * 641s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 641s # */ 641s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 641s # g_signal_new ("single-arg-signal-as", 641s # G_TYPE_FROM_INTERFACE (iface), 641s # G_SIGNAL_RUN_LAST, 641s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 641s # NULL, 641s # NULL, 641s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 641s # G_TYPE_NONE, 641s # 1, G_TYPE_STRV); 641s # 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_emit_simple_signal: 641s # * @object: A #OrgProjectSignalingIface. 641s # * 641s # * Emits the "SimpleSignal" D-Bus signal. 641s # */ 641s # void 641s # org_project_signaling_iface_emit_simple_signal ( 641s # OrgProjectSignalingIface *object) 641s # { 641s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_emit_single_arg_signal_as: 641s # * @object: A #OrgProjectSignalingIface. 641s # * @arg_arg_as: Argument to pass with the signal. 641s # * 641s # * Emits the "SingleArgSignalAs" D-Bus signal. 641s # */ 641s # void 641s # org_project_signaling_iface_emit_single_arg_signal_as ( 641s # OrgProjectSignalingIface *object, 641s # const gchar *const *arg_arg_as) 641s # { 641s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 641s # } 641s # 641s # /* ------------------------------------------------------------------------ */ 641s # 641s # /** 641s # * OrgProjectSignalingIfaceProxy: 641s # * 641s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 641s # */ 641s # 641s # /** 641s # * OrgProjectSignalingIfaceProxyClass: 641s # * @parent_class: The parent class. 641s # * 641s # * Class structure for #OrgProjectSignalingIfaceProxy. 641s # */ 641s # 641s # struct _OrgProjectSignalingIfaceProxyPrivate 641s # { 641s # GData *qdata; 641s # }; 641s # 641s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 641s # 641s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 641s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 641s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 641s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 641s # 641s # #else 641s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 641s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 641s # 641s # #endif 641s # static void 641s # org_project_signaling_iface_proxy_finalize (GObject *object) 641s # { 641s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 641s # g_datalist_clear (&proxy->priv->qdata); 641s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 641s # guint prop_id G_GNUC_UNUSED, 641s # GValue *value G_GNUC_UNUSED, 641s # GParamSpec *pspec G_GNUC_UNUSED) 641s # { 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 641s # guint prop_id G_GNUC_UNUSED, 641s # const GValue *value G_GNUC_UNUSED, 641s # GParamSpec *pspec G_GNUC_UNUSED) 641s # { 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 641s # const gchar *sender_name G_GNUC_UNUSED, 641s # const gchar *signal_name, 641s # GVariant *parameters) 641s # { 641s # _ExtendedGDBusSignalInfo *info; 641s # GVariantIter iter; 641s # GVariant *child; 641s # GValue *paramv; 641s # gsize num_params; 641s # gsize n; 641s # guint signal_id; 641s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 641s # if (info == NULL) 641s # return; 641s # num_params = g_variant_n_children (parameters); 641s # paramv = g_new0 (GValue, num_params + 1); 641s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 641s # g_value_set_object (¶mv[0], proxy); 641s # g_variant_iter_init (&iter, parameters); 641s # n = 1; 641s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 641s # { 641s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 641s # if (arg_info->use_gvariant) 641s # { 641s # g_value_init (¶mv[n], G_TYPE_VARIANT); 641s # g_value_set_variant (¶mv[n], child); 641s # n++; 641s # } 641s # else 641s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 641s # g_variant_unref (child); 641s # } 641s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 641s # g_signal_emitv (paramv, signal_id, 0, NULL); 641s # for (n = 0; n < num_params + 1; n++) 641s # g_value_unset (¶mv[n]); 641s # g_free (paramv); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 641s # GVariant *changed_properties, 641s # const gchar *const *invalidated_properties) 641s # { 641s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 641s # guint n; 641s # const gchar *key; 641s # GVariantIter *iter; 641s # _ExtendedGDBusPropertyInfo *info; 641s # g_variant_get (changed_properties, "a{sv}", &iter); 641s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 641s # { 641s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 641s # g_datalist_remove_data (&proxy->priv->qdata, key); 641s # if (info != NULL) 641s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 641s # } 641s # g_variant_iter_free (iter); 641s # for (n = 0; invalidated_properties[n] != NULL; n++) 641s # { 641s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 641s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 641s # if (info != NULL) 641s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 641s # } 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 641s # { 641s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 641s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 641s # #else 641s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 641s # #endif 641s # 641s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 641s # { 641s # GObjectClass *gobject_class; 641s # GDBusProxyClass *proxy_class; 641s # 641s # gobject_class = G_OBJECT_CLASS (klass); 641s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 641s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 641s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 641s # 641s # proxy_class = G_DBUS_PROXY_CLASS (klass); 641s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 641s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 641s # 641s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 641s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 641s # #endif 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 641s # { 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new: 641s # * @connection: A #GDBusConnection. 641s # * @flags: Flags from the #GDBusProxyFlags enumeration. 641s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 641s # * @object_path: An object path. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 641s # * @user_data: User data to pass to @callback. 641s # * 641s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 641s # * 641s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 641s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 641s # * 641s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 641s # */ 641s # void 641s # org_project_signaling_iface_proxy_new ( 641s # GDBusConnection *connection, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GAsyncReadyCallback callback, 641s # gpointer user_data) 641s # { 641s # 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); 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new_finish: 641s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 641s # * @error: Return location for error or %NULL 641s # * 641s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_proxy_new_finish ( 641s # GAsyncResult *res, 641s # GError **error) 641s # { 641s # GObject *ret; 641s # GObject *source_object; 641s # source_object = g_async_result_get_source_object (res); 641s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 641s # g_object_unref (source_object); 641s # if (ret != NULL) 641s # return ORG_PROJECT_SIGNALING_IFACE (ret); 641s # else 641s # return NULL; 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new_sync: 641s # * @connection: A #GDBusConnection. 641s # * @flags: Flags from the #GDBusProxyFlags enumeration. 641s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 641s # * @object_path: An object path. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @error: Return location for error or %NULL 641s # * 641s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 641s # * 641s # * The calling thread is blocked until a reply is received. 641s # * 641s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_proxy_new_sync ( 641s # GDBusConnection *connection, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GError **error) 641s # { 641s # GInitable *ret; 641s # 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); 641s # if (ret != NULL) 641s # return ORG_PROJECT_SIGNALING_IFACE (ret); 641s # else 641s # return NULL; 641s # } 641s # 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new_for_bus: 641s # * @bus_type: A #GBusType. 641s # * @flags: Flags from the #GDBusProxyFlags enumeration. 641s # * @name: A bus name (well-known or unique). 641s # * @object_path: An object path. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 641s # * @user_data: User data to pass to @callback. 641s # * 641s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 641s # * 641s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 641s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 641s # * 641s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 641s # */ 641s # void 641s # org_project_signaling_iface_proxy_new_for_bus ( 641s # GBusType bus_type, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GAsyncReadyCallback callback, 641s # gpointer user_data) 641s # { 641s # 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); 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new_for_bus_finish: 641s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 641s # * @error: Return location for error or %NULL 641s # * 641s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_proxy_new_for_bus_finish ( 641s # GAsyncResult *res, 641s # GError **error) 641s # { 641s # GObject *ret; 641s # GObject *source_object; 641s # source_object = g_async_result_get_source_object (res); 641s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 641s # g_object_unref (source_object); 641s # if (ret != NULL) 641s # return ORG_PROJECT_SIGNALING_IFACE (ret); 641s # else 641s # return NULL; 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new_for_bus_sync: 641s # * @bus_type: A #GBusType. 641s # * @flags: Flags from the #GDBusProxyFlags enumeration. 641s # * @name: A bus name (well-known or unique). 641s # * @object_path: An object path. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @error: Return location for error or %NULL 641s # * 641s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 641s # * 641s # * The calling thread is blocked until a reply is received. 641s # * 641s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_proxy_new_for_bus_sync ( 641s # GBusType bus_type, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GError **error) 641s # { 641s # GInitable *ret; 641s # 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); 641s # if (ret != NULL) 641s # return ORG_PROJECT_SIGNALING_IFACE (ret); 641s # else 641s # return NULL; 641s # } 641s # 641s # 641s # /* ------------------------------------------------------------------------ */ 641s # 641s # /** 641s # * OrgProjectSignalingIfaceSkeleton: 641s # * 641s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 641s # */ 641s # 641s # /** 641s # * OrgProjectSignalingIfaceSkeletonClass: 641s # * @parent_class: The parent class. 641s # * 641s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 641s # */ 641s # 641s # struct _OrgProjectSignalingIfaceSkeletonPrivate 641s # { 641s # GValue *properties; 641s # GList *changed_properties; 641s # GSource *changed_properties_idle_source; 641s # GMainContext *context; 641s # GMutex lock; 641s # }; 641s # 641s # static void 641s # _org_project_signaling_iface_skeleton_handle_method_call ( 641s # GDBusConnection *connection G_GNUC_UNUSED, 641s # const gchar *sender G_GNUC_UNUSED, 641s # const gchar *object_path G_GNUC_UNUSED, 641s # const gchar *interface_name, 641s # const gchar *method_name, 641s # GVariant *parameters, 641s # GDBusMethodInvocation *invocation, 641s # gpointer user_data) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 641s # _ExtendedGDBusMethodInfo *info; 641s # GVariantIter iter; 641s # GVariant *child; 641s # GValue *paramv; 641s # gsize num_params; 641s # guint num_extra; 641s # gsize n; 641s # guint signal_id; 641s # GValue return_value = G_VALUE_INIT; 641s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 641s # g_assert (info != NULL); 641s # num_params = g_variant_n_children (parameters); 641s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 641s # n = 0; 641s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 641s # g_value_set_object (¶mv[n++], skeleton); 641s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 641s # g_value_set_object (¶mv[n++], invocation); 641s # if (info->pass_fdlist) 641s # { 641s # #ifdef G_OS_UNIX 641s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 641s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 641s # #else 641s # g_assert_not_reached (); 641s # #endif 641s # } 641s # g_variant_iter_init (&iter, parameters); 641s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 641s # { 641s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 641s # if (arg_info->use_gvariant) 641s # { 641s # g_value_init (¶mv[n], G_TYPE_VARIANT); 641s # g_value_set_variant (¶mv[n], child); 641s # n++; 641s # } 641s # else 641s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 641s # g_variant_unref (child); 641s # } 641s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 641s # g_value_init (&return_value, G_TYPE_BOOLEAN); 641s # g_signal_emitv (paramv, signal_id, 0, &return_value); 641s # if (!g_value_get_boolean (&return_value)) 641s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 641s # g_value_unset (&return_value); 641s # for (n = 0; n < num_params + num_extra; n++) 641s # g_value_unset (¶mv[n]); 641s # g_free (paramv); 641s # } 641s # 641s # static GVariant * 641s # _org_project_signaling_iface_skeleton_handle_get_property ( 641s # GDBusConnection *connection G_GNUC_UNUSED, 641s # const gchar *sender G_GNUC_UNUSED, 641s # const gchar *object_path G_GNUC_UNUSED, 641s # const gchar *interface_name G_GNUC_UNUSED, 641s # const gchar *property_name, 641s # GError **error, 641s # gpointer user_data) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 641s # GValue value = G_VALUE_INIT; 641s # GParamSpec *pspec; 641s # _ExtendedGDBusPropertyInfo *info; 641s # GVariant *ret; 641s # ret = NULL; 641s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 641s # g_assert (info != NULL); 641s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 641s # if (pspec == NULL) 641s # { 641s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 641s # } 641s # else 641s # { 641s # g_value_init (&value, pspec->value_type); 641s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 641s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 641s # g_value_unset (&value); 641s # } 641s # return ret; 641s # } 641s # 641s # static gboolean 641s # _org_project_signaling_iface_skeleton_handle_set_property ( 641s # GDBusConnection *connection G_GNUC_UNUSED, 641s # const gchar *sender G_GNUC_UNUSED, 641s # const gchar *object_path G_GNUC_UNUSED, 641s # const gchar *interface_name G_GNUC_UNUSED, 641s # const gchar *property_name, 641s # GVariant *variant, 641s # GError **error, 641s # gpointer user_data) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 641s # GValue value = G_VALUE_INIT; 641s # GParamSpec *pspec; 641s # _ExtendedGDBusPropertyInfo *info; 641s # gboolean ret; 641s # ret = FALSE; 641s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 641s # g_assert (info != NULL); 641s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 641s # if (pspec == NULL) 641s # { 641s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 641s # } 641s # else 641s # { 641s # if (info->use_gvariant) 641s # g_value_set_variant (&value, variant); 641s # else 641s # g_dbus_gvariant_to_gvalue (variant, &value); 641s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 641s # g_value_unset (&value); 641s # ret = TRUE; 641s # } 641s # return ret; 641s # } 641s # 641s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 641s # { 641s # _org_project_signaling_iface_skeleton_handle_method_call, 641s # _org_project_signaling_iface_skeleton_handle_get_property, 641s # _org_project_signaling_iface_skeleton_handle_set_property, 641s # {NULL} 641s # }; 641s # 641s # static GDBusInterfaceInfo * 641s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 641s # { 641s # return org_project_signaling_iface_interface_info (); 641s # } 641s # 641s # static GDBusInterfaceVTable * 641s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 641s # { 641s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 641s # } 641s # 641s # static GVariant * 641s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 641s # 641s # GVariantBuilder builder; 641s # guint n; 641s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 641s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 641s # goto out; 641s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 641s # { 641s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 641s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 641s # { 641s # GVariant *value; 641s # 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); 641s # if (value != NULL) 641s # { 641s # g_variant_take_ref (value); 641s # g_variant_builder_add (&builder, "{sv}", info->name, value); 641s # g_variant_unref (value); 641s # } 641s # } 641s # } 641s # out: 641s # return g_variant_builder_end (&builder); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 641s # { 641s # } 641s # 641s # static void 641s # _org_project_signaling_iface_on_signal_simple_signal ( 641s # OrgProjectSignalingIface *object) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 641s # 641s # GList *connections, *l; 641s # GVariant *signal_variant; 641s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 641s # 641s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 641s # for (l = connections; l != NULL; l = l->next) 641s # { 641s # GDBusConnection *connection = l->data; 641s # g_dbus_connection_emit_signal (connection, 641s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 641s # signal_variant, NULL); 641s # } 641s # g_variant_unref (signal_variant); 641s # g_list_free_full (connections, g_object_unref); 641s # } 641s # 641s # static void 641s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 641s # OrgProjectSignalingIface *object, 641s # const gchar *const *arg_arg_as) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 641s # 641s # GList *connections, *l; 641s # GVariant *signal_variant; 641s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 641s # 641s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 641s # arg_arg_as)); 641s # for (l = connections; l != NULL; l = l->next) 641s # { 641s # GDBusConnection *connection = l->data; 641s # g_dbus_connection_emit_signal (connection, 641s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 641s # signal_variant, NULL); 641s # } 641s # g_variant_unref (signal_variant); 641s # g_list_free_full (connections, g_object_unref); 641s # } 641s # 641s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 641s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 641s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 641s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 641s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 641s # 641s # #else 641s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 641s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 641s # 641s # #endif 641s # static void 641s # org_project_signaling_iface_skeleton_finalize (GObject *object) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 641s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 641s # if (skeleton->priv->changed_properties_idle_source != NULL) 641s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 641s # g_main_context_unref (skeleton->priv->context); 641s # g_mutex_clear (&skeleton->priv->lock); 641s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 641s # { 641s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 641s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 641s # #else 641s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 641s # #endif 641s # 641s # g_mutex_init (&skeleton->priv->lock); 641s # skeleton->priv->context = g_main_context_ref_thread_default (); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 641s # { 641s # GObjectClass *gobject_class; 641s # GDBusInterfaceSkeletonClass *skeleton_class; 641s # 641s # gobject_class = G_OBJECT_CLASS (klass); 641s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 641s # 641s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 641s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 641s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 641s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 641s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 641s # 641s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 641s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 641s # #endif 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 641s # { 641s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 641s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_skeleton_new: 641s # * 641s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_skeleton_new (void) 641s # { 641s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 641s # } 641s # /tmp/tmpjj2jdxte/tmp5dq97s47.xml: 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjj2jdxte/tmp5dq97s47.xml', '--output', '-', '--body'] 641s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 641s # Output: /* 641s # * This file is generated by gdbus-codegen, do not modify it. 641s # * 641s # * The license of this code is the same as for the D-Bus interface description 641s # * it was derived from. Note that it links to GLib, so must comply with the 641s # * LGPL linking clauses. 641s # */ 641s # 641s # #ifdef HAVE_CONFIG_H 641s # # include "config.h" 641s # #endif 641s # 641s # #include 641s # #ifdef G_OS_UNIX 641s # # include 641s # #endif 641s # 641s # #ifdef G_ENABLE_DEBUG 641s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 641s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 641s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 641s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 641s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 641s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 641s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 641s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 641s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 641s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 641s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 641s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 641s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 641s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 641s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 641s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 641s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 641s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 641s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 641s # #else /* !G_ENABLE_DEBUG */ 641s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 641s # * Do not access GValues directly in your code. Instead, use the 641s # * g_value_get_*() functions 641s # */ 641s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 641s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 641s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 641s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 641s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 641s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 641s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 641s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 641s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 641s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 641s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 641s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 641s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 641s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 641s # #endif /* !G_ENABLE_DEBUG */ 641s # 641s # typedef struct 641s # { 641s # GDBusArgInfo parent_struct; 641s # gboolean use_gvariant; 641s # } _ExtendedGDBusArgInfo; 641s # 641s # typedef struct 641s # { 641s # GDBusMethodInfo parent_struct; 641s # const gchar *signal_name; 641s # gboolean pass_fdlist; 641s # } _ExtendedGDBusMethodInfo; 641s # 641s # typedef struct 641s # { 641s # GDBusSignalInfo parent_struct; 641s # const gchar *signal_name; 641s # } _ExtendedGDBusSignalInfo; 641s # 641s # typedef struct 641s # { 641s # GDBusPropertyInfo parent_struct; 641s # const gchar *hyphen_name; 641s # guint use_gvariant : 1; 641s # guint emits_changed_signal : 1; 641s # } _ExtendedGDBusPropertyInfo; 641s # 641s # typedef struct 641s # { 641s # GDBusInterfaceInfo parent_struct; 641s # const gchar *hyphen_name; 641s # } _ExtendedGDBusInterfaceInfo; 641s # 641s # typedef struct 641s # { 641s # const _ExtendedGDBusPropertyInfo *info; 641s # guint prop_id; 641s # GValue orig_value; /* the value before the change */ 641s # } ChangedProperty; 641s # 641s # static void 641s # _changed_property_free (ChangedProperty *data) 641s # { 641s # g_value_unset (&data->orig_value); 641s # g_free (data); 641s # } 641s # 641s # static gboolean 641s # _g_strv_equal0 (gchar **a, gchar **b) 641s # { 641s # gboolean ret = FALSE; 641s # guint n; 641s # if (a == NULL && b == NULL) 641s # { 641s # ret = TRUE; 641s # goto out; 641s # } 641s # if (a == NULL || b == NULL) 641s # goto out; 641s # if (g_strv_length (a) != g_strv_length (b)) 641s # goto out; 641s # for (n = 0; a[n] != NULL; n++) 641s # if (g_strcmp0 (a[n], b[n]) != 0) 641s # goto out; 641s # ret = TRUE; 641s # out: 641s # return ret; 641s # } 641s # 641s # static gboolean 641s # _g_variant_equal0 (GVariant *a, GVariant *b) 641s # { 641s # gboolean ret = FALSE; 641s # if (a == NULL && b == NULL) 641s # { 641s # ret = TRUE; 641s # goto out; 641s # } 641s # if (a == NULL || b == NULL) 641s # goto out; 641s # ret = g_variant_equal (a, b); 641s # out: 641s # return ret; 641s # } 641s # 641s # G_GNUC_UNUSED static gboolean 641s # _g_value_equal (const GValue *a, const GValue *b) 641s # { 641s # gboolean ret = FALSE; 641s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 641s # switch (G_VALUE_TYPE (a)) 641s # { 641s # case G_TYPE_BOOLEAN: 641s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 641s # break; 641s # case G_TYPE_UCHAR: 641s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 641s # break; 641s # case G_TYPE_INT: 641s # ret = (g_value_get_int (a) == g_value_get_int (b)); 641s # break; 641s # case G_TYPE_UINT: 641s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 641s # break; 641s # case G_TYPE_INT64: 641s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 641s # break; 641s # case G_TYPE_UINT64: 641s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 641s # break; 641s # case G_TYPE_DOUBLE: 641s # { 641s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 641s # gdouble da = g_value_get_double (a); 641s # gdouble db = g_value_get_double (b); 641s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 641s # } 641s # break; 641s # case G_TYPE_STRING: 641s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 641s # break; 641s # case G_TYPE_VARIANT: 641s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 641s # break; 641s # default: 641s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 641s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 641s # else 641s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 641s # break; 641s # } 641s # return ret; 641s # } 641s # 641s # /* ------------------------------------------------------------------------ 641s # * Code for interface org.project.SignalingIface 641s # * ------------------------------------------------------------------------ 641s # */ 641s # 641s # /** 641s # * SECTION:OrgProjectSignalingIface 641s # * @title: OrgProjectSignalingIface 641s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 641s # * 641s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 641s # */ 641s # 641s # enum 641s # { 641s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 641s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 641s # }; 641s # 641s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 641s # 641s # /* ---- Introspection data for org.project.SignalingIface ---- */ 641s # 641s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 641s # { 641s # { 641s # -1, 641s # (gchar *) "SimpleSignal", 641s # NULL, 641s # NULL 641s # }, 641s # "simple-signal" 641s # }; 641s # 641s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 641s # { 641s # { 641s # -1, 641s # (gchar *) "arg_ao", 641s # (gchar *) "ao", 641s # NULL 641s # }, 641s # FALSE 641s # }; 641s # 641s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 641s # { 641s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 641s # NULL 641s # }; 641s # 641s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 641s # { 641s # { 641s # -1, 641s # (gchar *) "SingleArgSignalAo", 641s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 641s # NULL 641s # }, 641s # "single-arg-signal-ao" 641s # }; 641s # 641s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 641s # { 641s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 641s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 641s # NULL 641s # }; 641s # 641s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 641s # { 641s # { 641s # -1, 641s # (gchar *) "org.project.SignalingIface", 641s # NULL, 641s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 641s # NULL, 641s # NULL 641s # }, 641s # "org-project-signaling-iface", 641s # }; 641s # 641s # 641s # /** 641s # * org_project_signaling_iface_interface_info: 641s # * 641s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 641s # * 641s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 641s # */ 641s # GDBusInterfaceInfo * 641s # org_project_signaling_iface_interface_info (void) 641s # { 641s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_override_properties: 641s # * @klass: The class structure for a #GObject derived class. 641s # * @property_id_begin: The property id to assign to the first overridden property. 641s # * 641s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 641s # * The properties are overridden in the order they are defined. 641s # * 641s # * Returns: The last property id. 641s # */ 641s # guint 641s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 641s # { 641s # return property_id_begin - 1; 641s # } 641s # 641s # 641s # inline static void 641s # org_project_signaling_iface_signal_marshal_simple_signal ( 641s # GClosure *closure, 641s # GValue *return_value, 641s # unsigned int n_param_values, 641s # const GValue *param_values, 641s # void *invocation_hint, 641s # void *marshal_data) 641s # { 641s # g_cclosure_marshal_VOID__VOID (closure, 641s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 641s # } 641s # 641s # inline static void 641s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 641s # GClosure *closure, 641s # GValue *return_value, 641s # unsigned int n_param_values, 641s # const GValue *param_values, 641s # void *invocation_hint, 641s # void *marshal_data) 641s # { 641s # g_cclosure_marshal_VOID__BOXED (closure, 641s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 641s # } 641s # 641s # 641s # /** 641s # * OrgProjectSignalingIface: 641s # * 641s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 641s # */ 641s # 641s # /** 641s # * OrgProjectSignalingIfaceIface: 641s # * @parent_iface: The parent interface. 641s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 641s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 641s # * 641s # * Virtual table for the D-Bus interface org.project.SignalingIface. 641s # */ 641s # 641s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 641s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 641s # 641s # static void 641s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 641s # { 641s # /* GObject signals for received D-Bus signals: */ 641s # /** 641s # * OrgProjectSignalingIface::simple-signal: 641s # * @object: A #OrgProjectSignalingIface. 641s # * 641s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 641s # * 641s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 641s # */ 641s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 641s # g_signal_new ("simple-signal", 641s # G_TYPE_FROM_INTERFACE (iface), 641s # G_SIGNAL_RUN_LAST, 641s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 641s # NULL, 641s # NULL, 641s # org_project_signaling_iface_signal_marshal_simple_signal, 641s # G_TYPE_NONE, 641s # 0); 641s # 641s # /** 641s # * OrgProjectSignalingIface::single-arg-signal-ao: 641s # * @object: A #OrgProjectSignalingIface. 641s # * @arg_arg_ao: Argument. 641s # * 641s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 641s # * 641s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 641s # */ 641s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 641s # g_signal_new ("single-arg-signal-ao", 641s # G_TYPE_FROM_INTERFACE (iface), 641s # G_SIGNAL_RUN_LAST, 641s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 641s # NULL, 641s # NULL, 641s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 641s # G_TYPE_NONE, 641s # 1, G_TYPE_STRV); 641s # 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_emit_simple_signal: 641s # * @object: A #OrgProjectSignalingIface. 641s # * 641s # * Emits the "SimpleSignal" D-Bus signal. 641s # */ 641s # void 641s # org_project_signaling_iface_emit_simple_signal ( 641s # OrgProjectSignalingIface *object) 641s # { 641s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_emit_single_arg_signal_ao: 641s # * @object: A #OrgProjectSignalingIface. 641s # * @arg_arg_ao: Argument to pass with the signal. 641s # * 641s # * Emits the "SingleArgSignalAo" D-Bus signal. 641s # */ 641s # void 641s # org_project_signaling_iface_emit_single_arg_signal_ao ( 641s # OrgProjectSignalingIface *object, 641s # const gchar *const *arg_arg_ao) 641s # { 641s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 641s # } 641s # 641s # /* ------------------------------------------------------------------------ */ 641s # 641s # /** 641s # * OrgProjectSignalingIfaceProxy: 641s # * 641s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 641s # */ 641s # 641s # /** 641s # * OrgProjectSignalingIfaceProxyClass: 641s # * @parent_class: The parent class. 641s # * 641s # * Class structure for #OrgProjectSignalingIfaceProxy. 641s # */ 641s # 641s # struct _OrgProjectSignalingIfaceProxyPrivate 641s # { 641s # GData *qdata; 641s # }; 641s # 641s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 641s # 641s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 641s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 641s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 641s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 641s # 641s # #else 641s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 641s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 641s # 641s # #endif 641s # static void 641s # org_project_signaling_iface_proxy_finalize (GObject *object) 641s # { 641s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 641s # g_datalist_clear (&proxy->priv->qdata); 641s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 641s # guint prop_id G_GNUC_UNUSED, 641s # GValue *value G_GNUC_UNUSED, 641s # GParamSpec *pspec G_GNUC_UNUSED) 641s # { 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 641s # guint prop_id G_GNUC_UNUSED, 641s # const GValue *value G_GNUC_UNUSED, 641s # GParamSpec *pspec G_GNUC_UNUSED) 641s # { 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 641s # const gchar *sender_name G_GNUC_UNUSED, 641s # const gchar *signal_name, 641s # GVariant *parameters) 641s # { 641s # _ExtendedGDBusSignalInfo *info; 641s # GVariantIter iter; 641s # GVariant *child; 641s # GValue *paramv; 641s # gsize num_params; 641s # gsize n; 641s # guint signal_id; 641s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 641s # if (info == NULL) 641s # return; 641s # num_params = g_variant_n_children (parameters); 641s # paramv = g_new0 (GValue, num_params + 1); 641s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 641s # g_value_set_object (¶mv[0], proxy); 641s # g_variant_iter_init (&iter, parameters); 641s # n = 1; 641s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 641s # { 641s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 641s # if (arg_info->use_gvariant) 641s # { 641s # g_value_init (¶mv[n], G_TYPE_VARIANT); 641s # g_value_set_variant (¶mv[n], child); 641s # n++; 641s # } 641s # else 641s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 641s # g_variant_unref (child); 641s # } 641s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 641s # g_signal_emitv (paramv, signal_id, 0, NULL); 641s # for (n = 0; n < num_params + 1; n++) 641s # g_value_unset (¶mv[n]); 641s # g_free (paramv); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 641s # GVariant *changed_properties, 641s # const gchar *const *invalidated_properties) 641s # { 641s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 641s # guint n; 641s # const gchar *key; 641s # GVariantIter *iter; 641s # _ExtendedGDBusPropertyInfo *info; 641s # g_variant_get (changed_properties, "a{sv}", &iter); 641s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 641s # { 641s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 641s # g_datalist_remove_data (&proxy->priv->qdata, key); 641s # if (info != NULL) 641s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 641s # } 641s # g_variant_iter_free (iter); 641s # for (n = 0; invalidated_properties[n] != NULL; n++) 641s # { 641s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 641s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 641s # if (info != NULL) 641s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 641s # } 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 641s # { 641s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 641s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 641s # #else 641s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 641s # #endif 641s # 641s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 641s # { 641s # GObjectClass *gobject_class; 641s # GDBusProxyClass *proxy_class; 641s # 641s # gobject_class = G_OBJECT_CLASS (klass); 641s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 641s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 641s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 641s # 641s # proxy_class = G_DBUS_PROXY_CLASS (klass); 641s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 641s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 641s # 641s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 641s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 641s # #endif 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 641s # { 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new: 641s # * @connection: A #GDBusConnection. 641s # * @flags: Flags from the #GDBusProxyFlags enumeration. 641s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 641s # * @object_path: An object path. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 641s # * @user_data: User data to pass to @callback. 641s # * 641s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 641s # * 641s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 641s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 641s # * 641s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 641s # */ 641s # void 641s # org_project_signaling_iface_proxy_new ( 641s # GDBusConnection *connection, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GAsyncReadyCallback callback, 641s # gpointer user_data) 641s # { 641s # 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); 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new_finish: 641s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 641s # * @error: Return location for error or %NULL 641s # * 641s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_proxy_new_finish ( 641s # GAsyncResult *res, 641s # GError **error) 641s # { 641s # GObject *ret; 641s # GObject *source_object; 641s # source_object = g_async_result_get_source_object (res); 641s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 641s # g_object_unref (source_object); 641s # if (ret != NULL) 641s # return ORG_PROJECT_SIGNALING_IFACE (ret); 641s # else 641s # return NULL; 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new_sync: 641s # * @connection: A #GDBusConnection. 641s # * @flags: Flags from the #GDBusProxyFlags enumeration. 641s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 641s # * @object_path: An object path. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @error: Return location for error or %NULL 641s # * 641s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 641s # * 641s # * The calling thread is blocked until a reply is received. 641s # * 641s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_proxy_new_sync ( 641s # GDBusConnection *connection, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GError **error) 641s # { 641s # GInitable *ret; 641s # 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); 641s # if (ret != NULL) 641s # return ORG_PROJECT_SIGNALING_IFACE (ret); 641s # else 641s # return NULL; 641s # } 641s # 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new_for_bus: 641s # * @bus_type: A #GBusType. 641s # * @flags: Flags from the #GDBusProxyFlags enumeration. 641s # * @name: A bus name (well-known or unique). 641s # * @object_path: An object path. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 641s # * @user_data: User data to pass to @callback. 641s # * 641s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 641s # * 641s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 641s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 641s # * 641s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 641s # */ 641s # void 641s # org_project_signaling_iface_proxy_new_for_bus ( 641s # GBusType bus_type, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GAsyncReadyCallback callback, 641s # gpointer user_data) 641s # { 641s # 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); 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new_for_bus_finish: 641s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 641s # * @error: Return location for error or %NULL 641s # * 641s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_proxy_new_for_bus_finish ( 641s # GAsyncResult *res, 641s # GError **error) 641s # { 641s # GObject *ret; 641s # GObject *source_object; 641s # source_object = g_async_result_get_source_object (res); 641s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 641s # g_object_unref (source_object); 641s # if (ret != NULL) 641s # return ORG_PROJECT_SIGNALING_IFACE (ret); 641s # else 641s # return NULL; 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new_for_bus_sync: 641s # * @bus_type: A #GBusType. 641s # * @flags: Flags from the #GDBusProxyFlags enumeration. 641s # * @name: A bus name (well-known or unique). 641s # * @object_path: An object path. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @error: Return location for error or %NULL 641s # * 641s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 641s # * 641s # * The calling thread is blocked until a reply is received. 641s # * 641s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_proxy_new_for_bus_sync ( 641s # GBusType bus_type, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GError **error) 641s # { 641s # GInitable *ret; 641s # 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); 641s # if (ret != NULL) 641s # return ORG_PROJECT_SIGNALING_IFACE (ret); 641s # else 641s # return NULL; 641s # } 641s # 641s # 641s # /* ------------------------------------------------------------------------ */ 641s # 641s # /** 641s # * OrgProjectSignalingIfaceSkeleton: 641s # * 641s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 641s # */ 641s # 641s # /** 641s # * OrgProjectSignalingIfaceSkeletonClass: 641s # * @parent_class: The parent class. 641s # * 641s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 641s # */ 641s # 641s # struct _OrgProjectSignalingIfaceSkeletonPrivate 641s # { 641s # GValue *properties; 641s # GList *changed_properties; 641s # GSource *changed_properties_idle_source; 641s # GMainContext *context; 641s # GMutex lock; 641s # }; 641s # 641s # static void 641s # _org_project_signaling_iface_skeleton_handle_method_call ( 641s # GDBusConnection *connection G_GNUC_UNUSED, 641s # const gchar *sender G_GNUC_UNUSED, 641s # const gchar *object_path G_GNUC_UNUSED, 641s # const gchar *interface_name, 641s # const gchar *method_name, 641s # GVariant *parameters, 641s # GDBusMethodInvocation *invocation, 641s # gpointer user_data) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 641s # _ExtendedGDBusMethodInfo *info; 641s # GVariantIter iter; 641s # GVariant *child; 641s # GValue *paramv; 641s # gsize num_params; 641s # guint num_extra; 641s # gsize n; 641s # guint signal_id; 641s # GValue return_value = G_VALUE_INIT; 641s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 641s # g_assert (info != NULL); 641s # num_params = g_variant_n_children (parameters); 641s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 641s # n = 0; 641s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 641s # g_value_set_object (¶mv[n++], skeleton); 641s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 641s # g_value_set_object (¶mv[n++], invocation); 641s # if (info->pass_fdlist) 641s # { 641s # #ifdef G_OS_UNIX 641s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 641s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 641s # #else 641s # g_assert_not_reached (); 641s # #endif 641s # } 641s # g_variant_iter_init (&iter, parameters); 641s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 641s # { 641s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 641s # if (arg_info->use_gvariant) 641s # { 641s # g_value_init (¶mv[n], G_TYPE_VARIANT); 641s # g_value_set_variant (¶mv[n], child); 641s # n++; 641s # } 641s # else 641s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 641s # g_variant_unref (child); 641s # } 641s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 641s # g_value_init (&return_value, G_TYPE_BOOLEAN); 641s # g_signal_emitv (paramv, signal_id, 0, &return_value); 641s # if (!g_value_get_boolean (&return_value)) 641s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 641s # g_value_unset (&return_value); 641s # for (n = 0; n < num_params + num_extra; n++) 641s # g_value_unset (¶mv[n]); 641s # g_free (paramv); 641s # } 641s # 641s # static GVariant * 641s # _org_project_signaling_iface_skeleton_handle_get_property ( 641s # GDBusConnection *connection G_GNUC_UNUSED, 641s # const gchar *sender G_GNUC_UNUSED, 641s # const gchar *object_path G_GNUC_UNUSED, 641s # const gchar *interface_name G_GNUC_UNUSED, 641s # const gchar *property_name, 641s # GError **error, 641s # gpointer user_data) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 641s # GValue value = G_VALUE_INIT; 641s # GParamSpec *pspec; 641s # _ExtendedGDBusPropertyInfo *info; 641s # GVariant *ret; 641s # ret = NULL; 641s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 641s # g_assert (info != NULL); 641s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 641s # if (pspec == NULL) 641s # { 641s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 641s # } 641s # else 641s # { 641s # g_value_init (&value, pspec->value_type); 641s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 641s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 641s # g_value_unset (&value); 641s # } 641s # return ret; 641s # } 641s # 641s # static gboolean 641s # _org_project_signaling_iface_skeleton_handle_set_property ( 641s # GDBusConnection *connection G_GNUC_UNUSED, 641s # const gchar *sender G_GNUC_UNUSED, 641s # const gchar *object_path G_GNUC_UNUSED, 641s # const gchar *interface_name G_GNUC_UNUSED, 641s # const gchar *property_name, 641s # GVariant *variant, 641s # GError **error, 641s # gpointer user_data) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 641s # GValue value = G_VALUE_INIT; 641s # GParamSpec *pspec; 641s # _ExtendedGDBusPropertyInfo *info; 641s # gboolean ret; 641s # ret = FALSE; 641s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 641s # g_assert (info != NULL); 641s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 641s # if (pspec == NULL) 641s # { 641s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 641s # } 641s # else 641s # { 641s # if (info->use_gvariant) 641s # g_value_set_variant (&value, variant); 641s # else 641s # g_dbus_gvariant_to_gvalue (variant, &value); 641s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 641s # g_value_unset (&value); 641s # ret = TRUE; 641s # } 641s # return ret; 641s # } 641s # 641s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 641s # { 641s # _org_project_signaling_iface_skeleton_handle_method_call, 641s # _org_project_signaling_iface_skeleton_handle_get_property, 641s # _org_project_signaling_iface_skeleton_handle_set_property, 641s # {NULL} 641s # }; 641s # 641s # static GDBusInterfaceInfo * 641s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 641s # { 641s # return org_project_signaling_iface_interface_info (); 641s # } 641s # 641s # static GDBusInterfaceVTable * 641s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 641s # { 641s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 641s # } 641s # 641s # static GVariant * 641s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 641s # 641s # GVariantBuilder builder; 641s # guint n; 641s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 641s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 641s # goto out; 641s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 641s # { 641s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 641s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 641s # { 641s # GVariant *value; 641s # 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); 641s # if (value != NULL) 641s # { 641s # g_variant_take_ref (value); 641s # g_variant_builder_add (&builder, "{sv}", info->name, value); 641s # g_variant_unref (value); 641s # } 641s # } 641s # } 641s # out: 641s # return g_variant_builder_end (&builder); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 641s # { 641s # } 641s # 641s # static void 641s # _org_project_signaling_iface_on_signal_simple_signal ( 641s # OrgProjectSignalingIface *object) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 641s # 641s # GList *connections, *l; 641s # GVariant *signal_variant; 641s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 641s # 641s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 641s # for (l = connections; l != NULL; l = l->next) 641s # { 641s # GDBusConnection *connection = l->data; 641s # g_dbus_connection_emit_signal (connection, 641s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 641s # signal_variant, NULL); 641s # } 641s # g_variant_unref (signal_variant); 641s # g_list_free_full (connections, g_object_unref); 641s # } 641s # 641s # static void 641s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 641s # OrgProjectSignalingIface *object, 641s # const gchar *const *arg_arg_ao) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 641s # 641s # GList *connections, *l; 641s # GVariant *signal_variant; 641s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 641s # 641s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 641s # arg_arg_ao)); 641s # for (l = connections; l != NULL; l = l->next) 641s # { 641s # GDBusConnection *connection = l->data; 641s # g_dbus_connection_emit_signal (connection, 641s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 641s # signal_variant, NULL); 641s # } 641s # g_variant_unref (signal_variant); 641s # g_list_free_full (connections, g_object_unref); 641s # } 641s # 641s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 641s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 641s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 641s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 641s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 641s # 641s # #else 641s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 641s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 641s # 641s # #endif 641s # static void 641s # org_project_signaling_iface_skeleton_finalize (GObject *object) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 641s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 641s # if (skeleton->priv->changed_properties_idle_source != NULL) 641s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 641s # g_main_context_unref (skeleton->priv->context); 641s # g_mutex_clear (&skeleton->priv->lock); 641s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 641s # { 641s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 641s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 641s # #else 641s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 641s # #endif 641s # 641s # g_mutex_init (&skeleton->priv->lock); 641s # skeleton->priv->context = g_main_context_ref_thread_default (); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 641s # { 641s # GObjectClass *gobject_class; 641s # GDBusInterfaceSkeletonClass *skeleton_class; 641s # 641s # gobject_class = G_OBJECT_CLASS (klass); 641s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 641s # 641s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 641s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 641s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 641s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 641s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 641s # 641s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 641s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 641s # #endif 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 641s # { 641s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 641s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_skeleton_new: 641s # * 641s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_skeleton_new (void) 641s # { 641s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 641s # } 641s # /tmp/tmpjj2jdxte/tmp08pa1i3t.xml: 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjj2jdxte/tmp08pa1i3t.xml', '--output', '-', '--body'] 641s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 641s # Output: /* 641s # * This file is generated by gdbus-codegen, do not modify it. 641s # * 641s # * The license of this code is the same as for the D-Bus interface description 641s # * it was derived from. Note that it links to GLib, so must comply with the 641s # * LGPL linking clauses. 641s # */ 641s # 641s # #ifdef HAVE_CONFIG_H 641s # # include "config.h" 641s # #endif 641s # 641s # #include 641s # #ifdef G_OS_UNIX 641s # # include 641s # #endif 641s # 641s # #ifdef G_ENABLE_DEBUG 641s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 641s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 641s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 641s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 641s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 641s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 641s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 641s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 641s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 641s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 641s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 641s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 641s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 641s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 641s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 641s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 641s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 641s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 641s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 641s # #else /* !G_ENABLE_DEBUG */ 641s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 641s # * Do not access GValues directly in your code. Instead, use the 641s # * g_value_get_*() functions 641s # */ 641s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 641s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 641s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 641s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 641s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 641s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 641s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 641s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 641s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 641s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 641s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 641s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 641s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 641s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 641s # #endif /* !G_ENABLE_DEBUG */ 641s # 641s # typedef struct 641s # { 641s # GDBusArgInfo parent_struct; 641s # gboolean use_gvariant; 641s # } _ExtendedGDBusArgInfo; 641s # 641s # typedef struct 641s # { 641s # GDBusMethodInfo parent_struct; 641s # const gchar *signal_name; 641s # gboolean pass_fdlist; 641s # } _ExtendedGDBusMethodInfo; 641s # 641s # typedef struct 641s # { 641s # GDBusSignalInfo parent_struct; 641s # const gchar *signal_name; 641s # } _ExtendedGDBusSignalInfo; 641s # 641s # typedef struct 641s # { 641s # GDBusPropertyInfo parent_struct; 641s # const gchar *hyphen_name; 641s # guint use_gvariant : 1; 641s # guint emits_changed_signal : 1; 641s # } _ExtendedGDBusPropertyInfo; 641s # 641s # typedef struct 641s # { 641s # GDBusInterfaceInfo parent_struct; 641s # const gchar *hyphen_name; 641s # } _ExtendedGDBusInterfaceInfo; 641s # 641s # typedef struct 641s # { 641s # const _ExtendedGDBusPropertyInfo *info; 641s # guint prop_id; 641s # GValue orig_value; /* the value before the change */ 641s # } ChangedProperty; 641s # 641s # static void 641s # _changed_property_free (ChangedProperty *data) 641s # { 641s # g_value_unset (&data->orig_value); 641s # g_free (data); 641s # } 641s # 641s # static gboolean 641s # _g_strv_equal0 (gchar **a, gchar **b) 641s # { 641s # gboolean ret = FALSE; 641s # guint n; 641s # if (a == NULL && b == NULL) 641s # { 641s # ret = TRUE; 641s # goto out; 641s # } 641s # if (a == NULL || b == NULL) 641s # goto out; 641s # if (g_strv_length (a) != g_strv_length (b)) 641s # goto out; 641s # for (n = 0; a[n] != NULL; n++) 641s # if (g_strcmp0 (a[n], b[n]) != 0) 641s # goto out; 641s # ret = TRUE; 641s # out: 641s # return ret; 641s # } 641s # 641s # static gboolean 641s # _g_variant_equal0 (GVariant *a, GVariant *b) 641s # { 641s # gboolean ret = FALSE; 641s # if (a == NULL && b == NULL) 641s # { 641s # ret = TRUE; 641s # goto out; 641s # } 641s # if (a == NULL || b == NULL) 641s # goto out; 641s # ret = g_variant_equal (a, b); 641s # out: 641s # return ret; 641s # } 641s # 641s # G_GNUC_UNUSED static gboolean 641s # _g_value_equal (const GValue *a, const GValue *b) 641s # { 641s # gboolean ret = FALSE; 641s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 641s # switch (G_VALUE_TYPE (a)) 641s # { 641s # case G_TYPE_BOOLEAN: 641s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 641s # break; 641s # case G_TYPE_UCHAR: 641s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 641s # break; 641s # case G_TYPE_INT: 641s # ret = (g_value_get_int (a) == g_value_get_int (b)); 641s # break; 641s # case G_TYPE_UINT: 641s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 641s # break; 641s # case G_TYPE_INT64: 641s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 641s # break; 641s # case G_TYPE_UINT64: 641s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 641s # break; 641s # case G_TYPE_DOUBLE: 641s # { 641s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 641s # gdouble da = g_value_get_double (a); 641s # gdouble db = g_value_get_double (b); 641s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 641s # } 641s # break; 641s # case G_TYPE_STRING: 641s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 641s # break; 641s # case G_TYPE_VARIANT: 641s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 641s # break; 641s # default: 641s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 641s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 641s # else 641s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 641s # break; 641s # } 641s # return ret; 641s # } 641s # 641s # /* ------------------------------------------------------------------------ 641s # * Code for interface org.project.SignalingIface 641s # * ------------------------------------------------------------------------ 641s # */ 641s # 641s # /** 641s # * SECTION:OrgProjectSignalingIface 641s # * @title: OrgProjectSignalingIface 641s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 641s # * 641s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 641s # */ 641s # 641s # enum 641s # { 641s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 641s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 641s # }; 641s # 641s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 641s # 641s # /* ---- Introspection data for org.project.SignalingIface ---- */ 641s # 641s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 641s # { 641s # { 641s # -1, 641s # (gchar *) "SimpleSignal", 641s # NULL, 641s # NULL 641s # }, 641s # "simple-signal" 641s # }; 641s # 641s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 641s # { 641s # { 641s # -1, 641s # (gchar *) "arg_aay", 641s # (gchar *) "aay", 641s # NULL 641s # }, 641s # FALSE 641s # }; 641s # 641s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 641s # { 641s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 641s # NULL 641s # }; 641s # 641s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 641s # { 641s # { 641s # -1, 641s # (gchar *) "SingleArgSignalAay", 641s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 641s # NULL 641s # }, 641s # "single-arg-signal-aay" 641s # }; 641s # 641s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 641s # { 641s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 641s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 641s # NULL 641s # }; 641s # 641s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 641s # { 641s # { 641s # -1, 641s # (gchar *) "org.project.SignalingIface", 641s # NULL, 641s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 641s # NULL, 641s # NULL 641s # }, 641s # "org-project-signaling-iface", 641s # }; 641s # 641s # 641s # /** 641s # * org_project_signaling_iface_interface_info: 641s # * 641s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 641s # * 641s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 641s # */ 641s # GDBusInterfaceInfo * 641s # org_project_signaling_iface_interface_info (void) 641s # { 641s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_override_properties: 641s # * @klass: The class structure for a #GObject derived class. 641s # * @property_id_begin: The property id to assign to the first overridden property. 641s # * 641s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 641s # * The properties are overridden in the order they are defined. 641s # * 641s # * Returns: The last property id. 641s # */ 641s # guint 641s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 641s # { 641s # return property_id_begin - 1; 641s # } 641s # 641s # 641s # inline static void 641s # org_project_signaling_iface_signal_marshal_simple_signal ( 641s # GClosure *closure, 641s # GValue *return_value, 641s # unsigned int n_param_values, 641s # const GValue *param_values, 641s # void *invocation_hint, 641s # void *marshal_data) 641s # { 641s # g_cclosure_marshal_VOID__VOID (closure, 641s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 641s # } 641s # 641s # inline static void 641s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 641s # GClosure *closure, 641s # GValue *return_value, 641s # unsigned int n_param_values, 641s # const GValue *param_values, 641s # void *invocation_hint, 641s # void *marshal_data) 641s # { 641s # g_cclosure_marshal_VOID__BOXED (closure, 641s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 641s # } 641s # 641s # 641s # /** 641s # * OrgProjectSignalingIface: 641s # * 641s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 641s # */ 641s # 641s # /** 641s # * OrgProjectSignalingIfaceIface: 641s # * @parent_iface: The parent interface. 641s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 641s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 641s # * 641s # * Virtual table for the D-Bus interface org.project.SignalingIface. 641s # */ 641s # 641s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 641s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 641s # 641s # static void 641s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 641s # { 641s # /* GObject signals for received D-Bus signals: */ 641s # /** 641s # * OrgProjectSignalingIface::simple-signal: 641s # * @object: A #OrgProjectSignalingIface. 641s # * 641s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 641s # * 641s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 641s # */ 641s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 641s # g_signal_new ("simple-signal", 641s # G_TYPE_FROM_INTERFACE (iface), 641s # G_SIGNAL_RUN_LAST, 641s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 641s # NULL, 641s # NULL, 641s # org_project_signaling_iface_signal_marshal_simple_signal, 641s # G_TYPE_NONE, 641s # 0); 641s # 641s # /** 641s # * OrgProjectSignalingIface::single-arg-signal-aay: 641s # * @object: A #OrgProjectSignalingIface. 641s # * @arg_arg_aay: Argument. 641s # * 641s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 641s # * 641s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 641s # */ 641s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 641s # g_signal_new ("single-arg-signal-aay", 641s # G_TYPE_FROM_INTERFACE (iface), 641s # G_SIGNAL_RUN_LAST, 641s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 641s # NULL, 641s # NULL, 641s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 641s # G_TYPE_NONE, 641s # 1, G_TYPE_STRV); 641s # 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_emit_simple_signal: 641s # * @object: A #OrgProjectSignalingIface. 641s # * 641s # * Emits the "SimpleSignal" D-Bus signal. 641s # */ 641s # void 641s # org_project_signaling_iface_emit_simple_signal ( 641s # OrgProjectSignalingIface *object) 641s # { 641s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_emit_single_arg_signal_aay: 641s # * @object: A #OrgProjectSignalingIface. 641s # * @arg_arg_aay: Argument to pass with the signal. 641s # * 641s # * Emits the "SingleArgSignalAay" D-Bus signal. 641s # */ 641s # void 641s # org_project_signaling_iface_emit_single_arg_signal_aay ( 641s # OrgProjectSignalingIface *object, 641s # const gchar *const *arg_arg_aay) 641s # { 641s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 641s # } 641s # 641s # /* ------------------------------------------------------------------------ */ 641s # 641s # /** 641s # * OrgProjectSignalingIfaceProxy: 641s # * 641s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 641s # */ 641s # 641s # /** 641s # * OrgProjectSignalingIfaceProxyClass: 641s # * @parent_class: The parent class. 641s # * 641s # * Class structure for #OrgProjectSignalingIfaceProxy. 641s # */ 641s # 641s # struct _OrgProjectSignalingIfaceProxyPrivate 641s # { 641s # GData *qdata; 641s # }; 641s # 641s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 641s # 641s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 641s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 641s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 641s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 641s # 641s # #else 641s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 641s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 641s # 641s # #endif 641s # static void 641s # org_project_signaling_iface_proxy_finalize (GObject *object) 641s # { 641s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 641s # g_datalist_clear (&proxy->priv->qdata); 641s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 641s # guint prop_id G_GNUC_UNUSED, 641s # GValue *value G_GNUC_UNUSED, 641s # GParamSpec *pspec G_GNUC_UNUSED) 641s # { 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 641s # guint prop_id G_GNUC_UNUSED, 641s # const GValue *value G_GNUC_UNUSED, 641s # GParamSpec *pspec G_GNUC_UNUSED) 641s # { 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 641s # const gchar *sender_name G_GNUC_UNUSED, 641s # const gchar *signal_name, 641s # GVariant *parameters) 641s # { 641s # _ExtendedGDBusSignalInfo *info; 641s # GVariantIter iter; 641s # GVariant *child; 641s # GValue *paramv; 641s # gsize num_params; 641s # gsize n; 641s # guint signal_id; 641s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 641s # if (info == NULL) 641s # return; 641s # num_params = g_variant_n_children (parameters); 641s # paramv = g_new0 (GValue, num_params + 1); 641s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 641s # g_value_set_object (¶mv[0], proxy); 641s # g_variant_iter_init (&iter, parameters); 641s # n = 1; 641s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 641s # { 641s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 641s # if (arg_info->use_gvariant) 641s # { 641s # g_value_init (¶mv[n], G_TYPE_VARIANT); 641s # g_value_set_variant (¶mv[n], child); 641s # n++; 641s # } 641s # else 641s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 641s # g_variant_unref (child); 641s # } 641s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 641s # g_signal_emitv (paramv, signal_id, 0, NULL); 641s # for (n = 0; n < num_params + 1; n++) 641s # g_value_unset (¶mv[n]); 641s # g_free (paramv); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 641s # GVariant *changed_properties, 641s # const gchar *const *invalidated_properties) 641s # { 641s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 641s # guint n; 641s # const gchar *key; 641s # GVariantIter *iter; 641s # _ExtendedGDBusPropertyInfo *info; 641s # g_variant_get (changed_properties, "a{sv}", &iter); 641s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 641s # { 641s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 641s # g_datalist_remove_data (&proxy->priv->qdata, key); 641s # if (info != NULL) 641s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 641s # } 641s # g_variant_iter_free (iter); 641s # for (n = 0; invalidated_properties[n] != NULL; n++) 641s # { 641s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 641s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 641s # if (info != NULL) 641s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 641s # } 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 641s # { 641s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 641s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 641s # #else 641s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 641s # #endif 641s # 641s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 641s # { 641s # GObjectClass *gobject_class; 641s # GDBusProxyClass *proxy_class; 641s # 641s # gobject_class = G_OBJECT_CLASS (klass); 641s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 641s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 641s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 641s # 641s # proxy_class = G_DBUS_PROXY_CLASS (klass); 641s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 641s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 641s # 641s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 641s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 641s # #endif 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 641s # { 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new: 641s # * @connection: A #GDBusConnection. 641s # * @flags: Flags from the #GDBusProxyFlags enumeration. 641s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 641s # * @object_path: An object path. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 641s # * @user_data: User data to pass to @callback. 641s # * 641s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 641s # * 641s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 641s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 641s # * 641s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 641s # */ 641s # void 641s # org_project_signaling_iface_proxy_new ( 641s # GDBusConnection *connection, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GAsyncReadyCallback callback, 641s # gpointer user_data) 641s # { 641s # 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); 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new_finish: 641s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 641s # * @error: Return location for error or %NULL 641s # * 641s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_proxy_new_finish ( 641s # GAsyncResult *res, 641s # GError **error) 641s # { 641s # GObject *ret; 641s # GObject *source_object; 641s # source_object = g_async_result_get_source_object (res); 641s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 641s # g_object_unref (source_object); 641s # if (ret != NULL) 641s # return ORG_PROJECT_SIGNALING_IFACE (ret); 641s # else 641s # return NULL; 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new_sync: 641s # * @connection: A #GDBusConnection. 641s # * @flags: Flags from the #GDBusProxyFlags enumeration. 641s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 641s # * @object_path: An object path. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @error: Return location for error or %NULL 641s # * 641s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 641s # * 641s # * The calling thread is blocked until a reply is received. 641s # * 641s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_proxy_new_sync ( 641s # GDBusConnection *connection, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GError **error) 641s # { 641s # GInitable *ret; 641s # 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); 641s # if (ret != NULL) 641s # return ORG_PROJECT_SIGNALING_IFACE (ret); 641s # else 641s # return NULL; 641s # } 641s # 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new_for_bus: 641s # * @bus_type: A #GBusType. 641s # * @flags: Flags from the #GDBusProxyFlags enumeration. 641s # * @name: A bus name (well-known or unique). 641s # * @object_path: An object path. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 641s # * @user_data: User data to pass to @callback. 641s # * 641s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 641s # * 641s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 641s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 641s # * 641s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 641s # */ 641s # void 641s # org_project_signaling_iface_proxy_new_for_bus ( 641s # GBusType bus_type, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GAsyncReadyCallback callback, 641s # gpointer user_data) 641s # { 641s # 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); 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new_for_bus_finish: 641s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 641s # * @error: Return location for error or %NULL 641s # * 641s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_proxy_new_for_bus_finish ( 641s # GAsyncResult *res, 641s # GError **error) 641s # { 641s # GObject *ret; 641s # GObject *source_object; 641s # source_object = g_async_result_get_source_object (res); 641s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 641s # g_object_unref (source_object); 641s # if (ret != NULL) 641s # return ORG_PROJECT_SIGNALING_IFACE (ret); 641s # else 641s # return NULL; 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new_for_bus_sync: 641s # * @bus_type: A #GBusType. 641s # * @flags: Flags from the #GDBusProxyFlags enumeration. 641s # * @name: A bus name (well-known or unique). 641s # * @object_path: An object path. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @error: Return location for error or %NULL 641s # * 641s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 641s # * 641s # * The calling thread is blocked until a reply is received. 641s # * 641s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_proxy_new_for_bus_sync ( 641s # GBusType bus_type, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GError **error) 641s # { 641s # GInitable *ret; 641s # 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); 641s # if (ret != NULL) 641s # return ORG_PROJECT_SIGNALING_IFACE (ret); 641s # else 641s # return NULL; 641s # } 641s # 641s # 641s # /* ------------------------------------------------------------------------ */ 641s # 641s # /** 641s # * OrgProjectSignalingIfaceSkeleton: 641s # * 641s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 641s # */ 641s # 641s # /** 641s # * OrgProjectSignalingIfaceSkeletonClass: 641s # * @parent_class: The parent class. 641s # * 641s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 641s # */ 641s # 641s # struct _OrgProjectSignalingIfaceSkeletonPrivate 641s # { 641s # GValue *properties; 641s # GList *changed_properties; 641s # GSource *changed_properties_idle_source; 641s # GMainContext *context; 641s # GMutex lock; 641s # }; 641s # 641s # static void 641s # _org_project_signaling_iface_skeleton_handle_method_call ( 641s # GDBusConnection *connection G_GNUC_UNUSED, 641s # const gchar *sender G_GNUC_UNUSED, 641s # const gchar *object_path G_GNUC_UNUSED, 641s # const gchar *interface_name, 641s # const gchar *method_name, 641s # GVariant *parameters, 641s # GDBusMethodInvocation *invocation, 641s # gpointer user_data) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 641s # _ExtendedGDBusMethodInfo *info; 641s # GVariantIter iter; 641s # GVariant *child; 641s # GValue *paramv; 641s # gsize num_params; 641s # guint num_extra; 641s # gsize n; 641s # guint signal_id; 641s # GValue return_value = G_VALUE_INIT; 641s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 641s # g_assert (info != NULL); 641s # num_params = g_variant_n_children (parameters); 641s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 641s # n = 0; 641s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 641s # g_value_set_object (¶mv[n++], skeleton); 641s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 641s # g_value_set_object (¶mv[n++], invocation); 641s # if (info->pass_fdlist) 641s # { 641s # #ifdef G_OS_UNIX 641s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 641s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 641s # #else 641s # g_assert_not_reached (); 641s # #endif 641s # } 641s # g_variant_iter_init (&iter, parameters); 641s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 641s # { 641s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 641s # if (arg_info->use_gvariant) 641s # { 641s # g_value_init (¶mv[n], G_TYPE_VARIANT); 641s # g_value_set_variant (¶mv[n], child); 641s # n++; 641s # } 641s # else 641s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 641s # g_variant_unref (child); 641s # } 641s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 641s # g_value_init (&return_value, G_TYPE_BOOLEAN); 641s # g_signal_emitv (paramv, signal_id, 0, &return_value); 641s # if (!g_value_get_boolean (&return_value)) 641s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 641s # g_value_unset (&return_value); 641s # for (n = 0; n < num_params + num_extra; n++) 641s # g_value_unset (¶mv[n]); 641s # g_free (paramv); 641s # } 641s # 641s # static GVariant * 641s # _org_project_signaling_iface_skeleton_handle_get_property ( 641s # GDBusConnection *connection G_GNUC_UNUSED, 641s # const gchar *sender G_GNUC_UNUSED, 641s # const gchar *object_path G_GNUC_UNUSED, 641s # const gchar *interface_name G_GNUC_UNUSED, 641s # const gchar *property_name, 641s # GError **error, 641s # gpointer user_data) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 641s # GValue value = G_VALUE_INIT; 641s # GParamSpec *pspec; 641s # _ExtendedGDBusPropertyInfo *info; 641s # GVariant *ret; 641s # ret = NULL; 641s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 641s # g_assert (info != NULL); 641s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 641s # if (pspec == NULL) 641s # { 641s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 641s # } 641s # else 641s # { 641s # g_value_init (&value, pspec->value_type); 641s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 641s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 641s # g_value_unset (&value); 641s # } 641s # return ret; 641s # } 641s # 641s # static gboolean 641s # _org_project_signaling_iface_skeleton_handle_set_property ( 641s # GDBusConnection *connection G_GNUC_UNUSED, 641s # const gchar *sender G_GNUC_UNUSED, 641s # const gchar *object_path G_GNUC_UNUSED, 641s # const gchar *interface_name G_GNUC_UNUSED, 641s # const gchar *property_name, 641s # GVariant *variant, 641s # GError **error, 641s # gpointer user_data) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 641s # GValue value = G_VALUE_INIT; 641s # GParamSpec *pspec; 641s # _ExtendedGDBusPropertyInfo *info; 641s # gboolean ret; 641s # ret = FALSE; 641s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 641s # g_assert (info != NULL); 641s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 641s # if (pspec == NULL) 641s # { 641s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 641s # } 641s # else 641s # { 641s # if (info->use_gvariant) 641s # g_value_set_variant (&value, variant); 641s # else 641s # g_dbus_gvariant_to_gvalue (variant, &value); 641s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 641s # g_value_unset (&value); 641s # ret = TRUE; 641s # } 641s # return ret; 641s # } 641s # 641s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 641s # { 641s # _org_project_signaling_iface_skeleton_handle_method_call, 641s # _org_project_signaling_iface_skeleton_handle_get_property, 641s # _org_project_signaling_iface_skeleton_handle_set_property, 641s # {NULL} 641s # }; 641s # 641s # static GDBusInterfaceInfo * 641s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 641s # { 641s # return org_project_signaling_iface_interface_info (); 641s # } 641s # 641s # static GDBusInterfaceVTable * 641s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 641s # { 641s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 641s # } 641s # 641s # static GVariant * 641s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 641s # 641s # GVariantBuilder builder; 641s # guint n; 641s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 641s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 641s # goto out; 641s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 641s # { 641s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 641s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 641s # { 641s # GVariant *value; 641s # 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); 641s # if (value != NULL) 641s # { 641s # g_variant_take_ref (value); 641s # g_variant_builder_add (&builder, "{sv}", info->name, value); 641s # g_variant_unref (value); 641s # } 641s # } 641s # } 641s # out: 641s # return g_variant_builder_end (&builder); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 641s # { 641s # } 641s # 641s # static void 641s # _org_project_signaling_iface_on_signal_simple_signal ( 641s # OrgProjectSignalingIface *object) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 641s # 641s # GList *connections, *l; 641s # GVariant *signal_variant; 641s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 641s # 641s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 641s # for (l = connections; l != NULL; l = l->next) 641s # { 641s # GDBusConnection *connection = l->data; 641s # g_dbus_connection_emit_signal (connection, 641s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 641s # signal_variant, NULL); 641s # } 641s # g_variant_unref (signal_variant); 641s # g_list_free_full (connections, g_object_unref); 641s # } 641s # 641s # static void 641s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 641s # OrgProjectSignalingIface *object, 641s # const gchar *const *arg_arg_aay) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 641s # 641s # GList *connections, *l; 641s # GVariant *signal_variant; 641s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 641s # 641s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 641s # arg_arg_aay)); 641s # for (l = connections; l != NULL; l = l->next) 641s # { 641s # GDBusConnection *connection = l->data; 641s # g_dbus_connection_emit_signal (connection, 641s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 641s # signal_variant, NULL); 641s # } 641s # g_variant_unref (signal_variant); 641s # g_list_free_full (connections, g_object_unref); 641s # } 641s # 641s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 641s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 641s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 641s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 641s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 641s # 641s # #else 641s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 641s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 641s # 641s # #endif 641s # static void 641s # org_project_signaling_iface_skeleton_finalize (GObject *object) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 641s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 641s # if (skeleton->priv->changed_properties_idle_source != NULL) 641s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 641s # g_main_context_unref (skeleton->priv->context); 641s # g_mutex_clear (&skeleton->priv->lock); 641s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 641s # { 641s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 641s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 641s # #else 641s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 641s # #endif 641s # 641s # g_mutex_init (&skeleton->priv->lock); 641s # skeleton->priv->context = g_main_context_ref_thread_default (); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 641s # { 641s # GObjectClass *gobject_class; 641s # GDBusInterfaceSkeletonClass *skeleton_class; 641s # 641s # gobject_class = G_OBJECT_CLASS (klass); 641s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 641s # 641s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 641s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 641s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 641s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 641s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 641s # 641s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 641s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 641s # #endif 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 641s # { 641s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 641s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_skeleton_new: 641s # * 641s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_skeleton_new (void) 641s # { 641s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 641s # } 641s # /tmp/tmpjj2jdxte/tmp2xc0yzgc.xml: 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjj2jdxte/tmp2xc0yzgc.xml', '--output', '-', '--body'] 641s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 641s # Output: /* 641s # * This file is generated by gdbus-codegen, do not modify it. 641s # * 641s # * The license of this code is the same as for the D-Bus interface description 641s # * it was derived from. Note that it links to GLib, so must comply with the 641s # * LGPL linking clauses. 641s # */ 641s # 641s # #ifdef HAVE_CONFIG_H 641s # # include "config.h" 641s # #endif 641s # 641s # #include 641s # #ifdef G_OS_UNIX 641s # # include 641s # #endif 641s # 641s # #ifdef G_ENABLE_DEBUG 641s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 641s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 641s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 641s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 641s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 641s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 641s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 641s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 641s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 641s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 641s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 641s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 641s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 641s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 641s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 641s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 641s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 641s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 641s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 641s # #else /* !G_ENABLE_DEBUG */ 641s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 641s # * Do not access GValues directly in your code. Instead, use the 641s # * g_value_get_*() functions 641s # */ 641s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 641s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 641s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 641s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 641s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 641s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 641s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 641s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 641s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 641s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 641s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 641s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 641s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 641s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 641s # #endif /* !G_ENABLE_DEBUG */ 641s # 641s # typedef struct 641s # { 641s # GDBusArgInfo parent_struct; 641s # gboolean use_gvariant; 641s # } _ExtendedGDBusArgInfo; 641s # 641s # typedef struct 641s # { 641s # GDBusMethodInfo parent_struct; 641s # const gchar *signal_name; 641s # gboolean pass_fdlist; 641s # } _ExtendedGDBusMethodInfo; 641s # 641s # typedef struct 641s # { 641s # GDBusSignalInfo parent_struct; 641s # const gchar *signal_name; 641s # } _ExtendedGDBusSignalInfo; 641s # 641s # typedef struct 641s # { 641s # GDBusPropertyInfo parent_struct; 641s # const gchar *hyphen_name; 641s # guint use_gvariant : 1; 641s # guint emits_changed_signal : 1; 641s # } _ExtendedGDBusPropertyInfo; 641s # 641s # typedef struct 641s # { 641s # GDBusInterfaceInfo parent_struct; 641s # const gchar *hyphen_name; 641s # } _ExtendedGDBusInterfaceInfo; 641s # 641s # typedef struct 641s # { 641s # const _ExtendedGDBusPropertyInfo *info; 641s # guint prop_id; 641s # GValue orig_value; /* the value before the change */ 641s # } ChangedProperty; 641s # 641s # static void 641s # _changed_property_free (ChangedProperty *data) 641s # { 641s # g_value_unset (&data->orig_value); 641s # g_free (data); 641s # } 641s # 641s # static gboolean 641s # _g_strv_equal0 (gchar **a, gchar **b) 641s # { 641s # gboolean ret = FALSE; 641s # guint n; 641s # if (a == NULL && b == NULL) 641s # { 641s # ret = TRUE; 641s # goto out; 641s # } 641s # if (a == NULL || b == NULL) 641s # goto out; 641s # if (g_strv_length (a) != g_strv_length (b)) 641s # goto out; 641s # for (n = 0; a[n] != NULL; n++) 641s # if (g_strcmp0 (a[n], b[n]) != 0) 641s # goto out; 641s # ret = TRUE; 641s # out: 641s # return ret; 641s # } 641s # 641s # static gboolean 641s # _g_variant_equal0 (GVariant *a, GVariant *b) 641s # { 641s # gboolean ret = FALSE; 641s # if (a == NULL && b == NULL) 641s # { 641s # ret = TRUE; 641s # goto out; 641s # } 641s # if (a == NULL || b == NULL) 641s # goto out; 641s # ret = g_variant_equal (a, b); 641s # out: 641s # return ret; 641s # } 641s # 641s # G_GNUC_UNUSED static gboolean 641s # _g_value_equal (const GValue *a, const GValue *b) 641s # { 641s # gboolean ret = FALSE; 641s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 641s # switch (G_VALUE_TYPE (a)) 641s # { 641s # case G_TYPE_BOOLEAN: 641s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 641s # break; 641s # case G_TYPE_UCHAR: 641s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 641s # break; 641s # case G_TYPE_INT: 641s # ret = (g_value_get_int (a) == g_value_get_int (b)); 641s # break; 641s # case G_TYPE_UINT: 641s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 641s # break; 641s # case G_TYPE_INT64: 641s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 641s # break; 641s # case G_TYPE_UINT64: 641s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 641s # break; 641s # case G_TYPE_DOUBLE: 641s # { 641s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 641s # gdouble da = g_value_get_double (a); 641s # gdouble db = g_value_get_double (b); 641s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 641s # } 641s # break; 641s # case G_TYPE_STRING: 641s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 641s # break; 641s # case G_TYPE_VARIANT: 641s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 641s # break; 641s # default: 641s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 641s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 641s # else 641s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 641s # break; 641s # } 641s # return ret; 641s # } 641s # 641s # /* ------------------------------------------------------------------------ 641s # * Code for interface org.project.SignalingIface 641s # * ------------------------------------------------------------------------ 641s # */ 641s # 641s # /** 641s # * SECTION:OrgProjectSignalingIface 641s # * @title: OrgProjectSignalingIface 641s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 641s # * 641s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 641s # */ 641s # 641s # enum 641s # { 641s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 641s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 641s # }; 641s # 641s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 641s # 641s # /* ---- Introspection data for org.project.SignalingIface ---- */ 641s # 641s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 641s # { 641s # { 641s # -1, 641s # (gchar *) "SimpleSignal", 641s # NULL, 641s # NULL 641s # }, 641s # "simple-signal" 641s # }; 641s # 641s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 641s # { 641s # { 641s # -1, 641s # (gchar *) "arg_asv", 641s # (gchar *) "a{sv}", 641s # NULL 641s # }, 641s # FALSE 641s # }; 641s # 641s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 641s # { 641s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 641s # NULL 641s # }; 641s # 641s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 641s # { 641s # { 641s # -1, 641s # (gchar *) "SingleArgSignalAsv", 641s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 641s # NULL 641s # }, 641s # "single-arg-signal-asv" 641s # }; 641s # 641s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 641s # { 641s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 641s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 641s # NULL 641s # }; 641s # 641s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 641s # { 641s # { 641s # -1, 641s # (gchar *) "org.project.SignalingIface", 641s # NULL, 641s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 641s # NULL, 641s # NULL 641s # }, 641s # "org-project-signaling-iface", 641s # }; 641s # 641s # 641s # /** 641s # * org_project_signaling_iface_interface_info: 641s # * 641s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 641s # * 641s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 641s # */ 641s # GDBusInterfaceInfo * 641s # org_project_signaling_iface_interface_info (void) 641s # { 641s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_override_properties: 641s # * @klass: The class structure for a #GObject derived class. 641s # * @property_id_begin: The property id to assign to the first overridden property. 641s # * 641s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 641s # * The properties are overridden in the order they are defined. 641s # * 641s # * Returns: The last property id. 641s # */ 641s # guint 641s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 641s # { 641s # return property_id_begin - 1; 641s # } 641s # 641s # 641s # inline static void 641s # org_project_signaling_iface_signal_marshal_simple_signal ( 641s # GClosure *closure, 641s # GValue *return_value, 641s # unsigned int n_param_values, 641s # const GValue *param_values, 641s # void *invocation_hint, 641s # void *marshal_data) 641s # { 641s # g_cclosure_marshal_VOID__VOID (closure, 641s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 641s # } 641s # 641s # inline static void 641s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 641s # GClosure *closure, 641s # GValue *return_value, 641s # unsigned int n_param_values, 641s # const GValue *param_values, 641s # void *invocation_hint, 641s # void *marshal_data) 641s # { 641s # g_cclosure_marshal_VOID__VARIANT (closure, 641s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 641s # } 641s # 641s # 641s # /** 641s # * OrgProjectSignalingIface: 641s # * 641s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 641s # */ 641s # 641s # /** 641s # * OrgProjectSignalingIfaceIface: 641s # * @parent_iface: The parent interface. 641s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 641s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 641s # * 641s # * Virtual table for the D-Bus interface org.project.SignalingIface. 641s # */ 641s # 641s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 641s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 641s # 641s # static void 641s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 641s # { 641s # /* GObject signals for received D-Bus signals: */ 641s # /** 641s # * OrgProjectSignalingIface::simple-signal: 641s # * @object: A #OrgProjectSignalingIface. 641s # * 641s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 641s # * 641s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 641s # */ 641s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 641s # g_signal_new ("simple-signal", 641s # G_TYPE_FROM_INTERFACE (iface), 641s # G_SIGNAL_RUN_LAST, 641s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 641s # NULL, 641s # NULL, 641s # org_project_signaling_iface_signal_marshal_simple_signal, 641s # G_TYPE_NONE, 641s # 0); 641s # 641s # /** 641s # * OrgProjectSignalingIface::single-arg-signal-asv: 641s # * @object: A #OrgProjectSignalingIface. 641s # * @arg_arg_asv: Argument. 641s # * 641s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 641s # * 641s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 641s # */ 641s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 641s # g_signal_new ("single-arg-signal-asv", 641s # G_TYPE_FROM_INTERFACE (iface), 641s # G_SIGNAL_RUN_LAST, 641s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 641s # NULL, 641s # NULL, 641s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 641s # G_TYPE_NONE, 641s # 1, G_TYPE_VARIANT); 641s # 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_emit_simple_signal: 641s # * @object: A #OrgProjectSignalingIface. 641s # * 641s # * Emits the "SimpleSignal" D-Bus signal. 641s # */ 641s # void 641s # org_project_signaling_iface_emit_simple_signal ( 641s # OrgProjectSignalingIface *object) 641s # { 641s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_emit_single_arg_signal_asv: 641s # * @object: A #OrgProjectSignalingIface. 641s # * @arg_arg_asv: Argument to pass with the signal. 641s # * 641s # * Emits the "SingleArgSignalAsv" D-Bus signal. 641s # */ 641s # void 641s # org_project_signaling_iface_emit_single_arg_signal_asv ( 641s # OrgProjectSignalingIface *object, 641s # GVariant *arg_arg_asv) 641s # { 641s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 641s # } 641s # 641s # /* ------------------------------------------------------------------------ */ 641s # 641s # /** 641s # * OrgProjectSignalingIfaceProxy: 641s # * 641s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 641s # */ 641s # 641s # /** 641s # * OrgProjectSignalingIfaceProxyClass: 641s # * @parent_class: The parent class. 641s # * 641s # * Class structure for #OrgProjectSignalingIfaceProxy. 641s # */ 641s # 641s # struct _OrgProjectSignalingIfaceProxyPrivate 641s # { 641s # GData *qdata; 641s # }; 641s # 641s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 641s # 641s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 641s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 641s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 641s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 641s # 641s # #else 641s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 641s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 641s # 641s # #endif 641s # static void 641s # org_project_signaling_iface_proxy_finalize (GObject *object) 641s # { 641s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 641s # g_datalist_clear (&proxy->priv->qdata); 641s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 641s # guint prop_id G_GNUC_UNUSED, 641s # GValue *value G_GNUC_UNUSED, 641s # GParamSpec *pspec G_GNUC_UNUSED) 641s # { 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 641s # guint prop_id G_GNUC_UNUSED, 641s # const GValue *value G_GNUC_UNUSED, 641s # GParamSpec *pspec G_GNUC_UNUSED) 641s # { 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 641s # const gchar *sender_name G_GNUC_UNUSED, 641s # const gchar *signal_name, 641s # GVariant *parameters) 641s # { 641s # _ExtendedGDBusSignalInfo *info; 641s # GVariantIter iter; 641s # GVariant *child; 641s # GValue *paramv; 641s # gsize num_params; 641s # gsize n; 641s # guint signal_id; 641s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 641s # if (info == NULL) 641s # return; 641s # num_params = g_variant_n_children (parameters); 641s # paramv = g_new0 (GValue, num_params + 1); 641s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 641s # g_value_set_object (¶mv[0], proxy); 641s # g_variant_iter_init (&iter, parameters); 641s # n = 1; 641s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 641s # { 641s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 641s # if (arg_info->use_gvariant) 641s # { 641s # g_value_init (¶mv[n], G_TYPE_VARIANT); 641s # g_value_set_variant (¶mv[n], child); 641s # n++; 641s # } 641s # else 641s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 641s # g_variant_unref (child); 641s # } 641s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 641s # g_signal_emitv (paramv, signal_id, 0, NULL); 641s # for (n = 0; n < num_params + 1; n++) 641s # g_value_unset (¶mv[n]); 641s # g_free (paramv); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 641s # GVariant *changed_properties, 641s # const gchar *const *invalidated_properties) 641s # { 641s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 641s # guint n; 641s # const gchar *key; 641s # GVariantIter *iter; 641s # _ExtendedGDBusPropertyInfo *info; 641s # g_variant_get (changed_properties, "a{sv}", &iter); 641s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 641s # { 641s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 641s # g_datalist_remove_data (&proxy->priv->qdata, key); 641s # if (info != NULL) 641s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 641s # } 641s # g_variant_iter_free (iter); 641s # for (n = 0; invalidated_properties[n] != NULL; n++) 641s # { 641s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 641s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 641s # if (info != NULL) 641s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 641s # } 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 641s # { 641s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 641s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 641s # #else 641s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 641s # #endif 641s # 641s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 641s # { 641s # GObjectClass *gobject_class; 641s # GDBusProxyClass *proxy_class; 641s # 641s # gobject_class = G_OBJECT_CLASS (klass); 641s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 641s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 641s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 641s # 641s # proxy_class = G_DBUS_PROXY_CLASS (klass); 641s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 641s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 641s # 641s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 641s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 641s # #endif 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 641s # { 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new: 641s # * @connection: A #GDBusConnection. 641s # * @flags: Flags from the #GDBusProxyFlags enumeration. 641s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 641s # * @object_path: An object path. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 641s # * @user_data: User data to pass to @callback. 641s # * 641s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 641s # * 641s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 641s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 641s # * 641s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 641s # */ 641s # void 641s # org_project_signaling_iface_proxy_new ( 641s # GDBusConnection *connection, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GAsyncReadyCallback callback, 641s # gpointer user_data) 641s # { 641s # 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); 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new_finish: 641s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 641s # * @error: Return location for error or %NULL 641s # * 641s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_proxy_new_finish ( 641s # GAsyncResult *res, 641s # GError **error) 641s # { 641s # GObject *ret; 641s # GObject *source_object; 641s # source_object = g_async_result_get_source_object (res); 641s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 641s # g_object_unref (source_object); 641s # if (ret != NULL) 641s # return ORG_PROJECT_SIGNALING_IFACE (ret); 641s # else 641s # return NULL; 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new_sync: 641s # * @connection: A #GDBusConnection. 641s # * @flags: Flags from the #GDBusProxyFlags enumeration. 641s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 641s # * @object_path: An object path. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @error: Return location for error or %NULL 641s # * 641s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 641s # * 641s # * The calling thread is blocked until a reply is received. 641s # * 641s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_proxy_new_sync ( 641s # GDBusConnection *connection, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GError **error) 641s # { 641s # GInitable *ret; 641s # 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); 641s # if (ret != NULL) 641s # return ORG_PROJECT_SIGNALING_IFACE (ret); 641s # else 641s # return NULL; 641s # } 641s # 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new_for_bus: 641s # * @bus_type: A #GBusType. 641s # * @flags: Flags from the #GDBusProxyFlags enumeration. 641s # * @name: A bus name (well-known or unique). 641s # * @object_path: An object path. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 641s # * @user_data: User data to pass to @callback. 641s # * 641s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 641s # * 641s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 641s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 641s # * 641s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 641s # */ 641s # void 641s # org_project_signaling_iface_proxy_new_for_bus ( 641s # GBusType bus_type, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GAsyncReadyCallback callback, 641s # gpointer user_data) 641s # { 641s # 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); 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new_for_bus_finish: 641s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 641s # * @error: Return location for error or %NULL 641s # * 641s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_proxy_new_for_bus_finish ( 641s # GAsyncResult *res, 641s # GError **error) 641s # { 641s # GObject *ret; 641s # GObject *source_object; 641s # source_object = g_async_result_get_source_object (res); 641s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 641s # g_object_unref (source_object); 641s # if (ret != NULL) 641s # return ORG_PROJECT_SIGNALING_IFACE (ret); 641s # else 641s # return NULL; 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new_for_bus_sync: 641s # * @bus_type: A #GBusType. 641s # * @flags: Flags from the #GDBusProxyFlags enumeration. 641s # * @name: A bus name (well-known or unique). 641s # * @object_path: An object path. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @error: Return location for error or %NULL 641s # * 641s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 641s # * 641s # * The calling thread is blocked until a reply is received. 641s # * 641s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_proxy_new_for_bus_sync ( 641s # GBusType bus_type, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GError **error) 641s # { 641s # GInitable *ret; 641s # 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); 641s # if (ret != NULL) 641s # return ORG_PROJECT_SIGNALING_IFACE (ret); 641s # else 641s # return NULL; 641s # } 641s # 641s # 641s # /* ------------------------------------------------------------------------ */ 641s # 641s # /** 641s # * OrgProjectSignalingIfaceSkeleton: 641s # * 641s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 641s # */ 641s # 641s # /** 641s # * OrgProjectSignalingIfaceSkeletonClass: 641s # * @parent_class: The parent class. 641s # * 641s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 641s # */ 641s # 641s # struct _OrgProjectSignalingIfaceSkeletonPrivate 641s # { 641s # GValue *properties; 641s # GList *changed_properties; 641s # GSource *changed_properties_idle_source; 641s # GMainContext *context; 641s # GMutex lock; 641s # }; 641s # 641s # static void 641s # _org_project_signaling_iface_skeleton_handle_method_call ( 641s # GDBusConnection *connection G_GNUC_UNUSED, 641s # const gchar *sender G_GNUC_UNUSED, 641s # const gchar *object_path G_GNUC_UNUSED, 641s # const gchar *interface_name, 641s # const gchar *method_name, 641s # GVariant *parameters, 641s # GDBusMethodInvocation *invocation, 641s # gpointer user_data) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 641s # _ExtendedGDBusMethodInfo *info; 641s # GVariantIter iter; 641s # GVariant *child; 641s # GValue *paramv; 641s # gsize num_params; 641s # guint num_extra; 641s # gsize n; 641s # guint signal_id; 641s # GValue return_value = G_VALUE_INIT; 641s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 641s # g_assert (info != NULL); 641s # num_params = g_variant_n_children (parameters); 641s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 641s # n = 0; 641s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 641s # g_value_set_object (¶mv[n++], skeleton); 641s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 641s # g_value_set_object (¶mv[n++], invocation); 641s # if (info->pass_fdlist) 641s # { 641s # #ifdef G_OS_UNIX 641s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 641s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 641s # #else 641s # g_assert_not_reached (); 641s # #endif 641s # } 641s # g_variant_iter_init (&iter, parameters); 641s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 641s # { 641s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 641s # if (arg_info->use_gvariant) 641s # { 641s # g_value_init (¶mv[n], G_TYPE_VARIANT); 641s # g_value_set_variant (¶mv[n], child); 641s # n++; 641s # } 641s # else 641s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 641s # g_variant_unref (child); 641s # } 641s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 641s # g_value_init (&return_value, G_TYPE_BOOLEAN); 641s # g_signal_emitv (paramv, signal_id, 0, &return_value); 641s # if (!g_value_get_boolean (&return_value)) 641s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 641s # g_value_unset (&return_value); 641s # for (n = 0; n < num_params + num_extra; n++) 641s # g_value_unset (¶mv[n]); 641s # g_free (paramv); 641s # } 641s # 641s # static GVariant * 641s # _org_project_signaling_iface_skeleton_handle_get_property ( 641s # GDBusConnection *connection G_GNUC_UNUSED, 641s # const gchar *sender G_GNUC_UNUSED, 641s # const gchar *object_path G_GNUC_UNUSED, 641s # const gchar *interface_name G_GNUC_UNUSED, 641s # const gchar *property_name, 641s # GError **error, 641s # gpointer user_data) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 641s # GValue value = G_VALUE_INIT; 641s # GParamSpec *pspec; 641s # _ExtendedGDBusPropertyInfo *info; 641s # GVariant *ret; 641s # ret = NULL; 641s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 641s # g_assert (info != NULL); 641s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 641s # if (pspec == NULL) 641s # { 641s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 641s # } 641s # else 641s # { 641s # g_value_init (&value, pspec->value_type); 641s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 641s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 641s # g_value_unset (&value); 641s # } 641s # return ret; 641s # } 641s # 641s # static gboolean 641s # _org_project_signaling_iface_skeleton_handle_set_property ( 641s # GDBusConnection *connection G_GNUC_UNUSED, 641s # const gchar *sender G_GNUC_UNUSED, 641s # const gchar *object_path G_GNUC_UNUSED, 641s # const gchar *interface_name G_GNUC_UNUSED, 641s # const gchar *property_name, 641s # GVariant *variant, 641s # GError **error, 641s # gpointer user_data) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 641s # GValue value = G_VALUE_INIT; 641s # GParamSpec *pspec; 641s # _ExtendedGDBusPropertyInfo *info; 641s # gboolean ret; 641s # ret = FALSE; 641s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 641s # g_assert (info != NULL); 641s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 641s # if (pspec == NULL) 641s # { 641s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 641s # } 641s # else 641s # { 641s # if (info->use_gvariant) 641s # g_value_set_variant (&value, variant); 641s # else 641s # g_dbus_gvariant_to_gvalue (variant, &value); 641s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 641s # g_value_unset (&value); 641s # ret = TRUE; 641s # } 641s # return ret; 641s # } 641s # 641s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 641s # { 641s # _org_project_signaling_iface_skeleton_handle_method_call, 641s # _org_project_signaling_iface_skeleton_handle_get_property, 641s # _org_project_signaling_iface_skeleton_handle_set_property, 641s # {NULL} 641s # }; 641s # 641s # static GDBusInterfaceInfo * 641s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 641s # { 641s # return org_project_signaling_iface_interface_info (); 641s # } 641s # 641s # static GDBusInterfaceVTable * 641s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 641s # { 641s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 641s # } 641s # 641s # static GVariant * 641s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 641s # 641s # GVariantBuilder builder; 641s # guint n; 641s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 641s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 641s # goto out; 641s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 641s # { 641s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 641s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 641s # { 641s # GVariant *value; 641s # 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); 641s # if (value != NULL) 641s # { 641s # g_variant_take_ref (value); 641s # g_variant_builder_add (&builder, "{sv}", info->name, value); 641s # g_variant_unref (value); 641s # } 641s # } 641s # } 641s # out: 641s # return g_variant_builder_end (&builder); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 641s # { 641s # } 641s # 641s # static void 641s # _org_project_signaling_iface_on_signal_simple_signal ( 641s # OrgProjectSignalingIface *object) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 641s # 641s # GList *connections, *l; 641s # GVariant *signal_variant; 641s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 641s # 641s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 641s # for (l = connections; l != NULL; l = l->next) 641s # { 641s # GDBusConnection *connection = l->data; 641s # g_dbus_connection_emit_signal (connection, 641s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 641s # signal_variant, NULL); 641s # } 641s # g_variant_unref (signal_variant); 641s # g_list_free_full (connections, g_object_unref); 641s # } 641s # 641s # static void 641s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 641s # OrgProjectSignalingIface *object, 641s # GVariant *arg_arg_asv) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 641s # 641s # GList *connections, *l; 641s # GVariant *signal_variant; 641s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 641s # 641s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 641s # arg_arg_asv)); 641s # for (l = connections; l != NULL; l = l->next) 641s # { 641s # GDBusConnection *connection = l->data; 641s # g_dbus_connection_emit_signal (connection, 641s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 641s # signal_variant, NULL); 641s # } 641s # g_variant_unref (signal_variant); 641s # g_list_free_full (connections, g_object_unref); 641s # } 641s # 641s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 641s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 641s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 641s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 641s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 641s # 641s # #else 641s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 641s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 641s # 641s # #endif 641s # static void 641s # org_project_signaling_iface_skeleton_finalize (GObject *object) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 641s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 641s # if (skeleton->priv->changed_properties_idle_source != NULL) 641s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 641s # g_main_context_unref (skeleton->priv->context); 641s # g_mutex_clear (&skeleton->priv->lock); 641s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 641s # { 641s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 641s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 641s # #else 641s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 641s # #endif 641s # 641s # g_mutex_init (&skeleton->priv->lock); 641s # skeleton->priv->context = g_main_context_ref_thread_default (); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 641s # { 641s # GObjectClass *gobject_class; 641s # GDBusInterfaceSkeletonClass *skeleton_class; 641s # 641s # gobject_class = G_OBJECT_CLASS (klass); 641s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 641s # 641s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 641s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 641s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 641s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 641s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 641s # 641s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 641s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 641s # #endif 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 641s # { 641s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 641s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_skeleton_new: 641s # * 641s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_skeleton_new (void) 641s # { 641s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 641s # } 641s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 641s # tmpdir: /tmp/tmp6ce_ajt5 641s # codegen: /usr/bin/gdbus-codegen 641s # /tmp/tmp6ce_ajt5/tmp316z0hox.xml: 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6ce_ajt5/tmp316z0hox.xml', '--output', '-', '--body'] 641s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 641s # Output: /* 641s # * This file is generated by gdbus-codegen, do not modify it. 641s # * 641s # * The license of this code is the same as for the D-Bus interface description 641s # * it was derived from. Note that it links to GLib, so must comply with the 641s # * LGPL linking clauses. 641s # */ 641s # 641s # #ifdef HAVE_CONFIG_H 641s # # include "config.h" 641s # #endif 641s # 641s # #include 641s # #ifdef G_OS_UNIX 641s # # include 641s # #endif 641s # 641s # #ifdef G_ENABLE_DEBUG 641s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 641s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 641s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 641s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 641s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 641s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 641s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 641s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 641s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 641s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 641s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 641s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 641s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 641s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 641s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 641s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 641s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 641s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 641s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 641s # #else /* !G_ENABLE_DEBUG */ 641s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 641s # * Do not access GValues directly in your code. Instead, use the 641s # * g_value_get_*() functions 641s # */ 641s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 641s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 641s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 641s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 641s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 641s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 641s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 641s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 641s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 641s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 641s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 641s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 641s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 641s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 641s # #endif /* !G_ENABLE_DEBUG */ 641s # 641s # typedef struct 641s # { 641s # GDBusArgInfo parent_struct; 641s # gboolean use_gvariant; 641s # } _ExtendedGDBusArgInfo; 641s # 641s # typedef struct 641s # { 641s # GDBusMethodInfo parent_struct; 641s # const gchar *signal_name; 641s # gboolean pass_fdlist; 641s # } _ExtendedGDBusMethodInfo; 641s # 641s # typedef struct 641s # { 641s # GDBusSignalInfo parent_struct; 641s # const gchar *signal_name; 641s # } _ExtendedGDBusSignalInfo; 641s # 641s # typedef struct 641s # { 641s # GDBusPropertyInfo parent_struct; 641s # const gchar *hyphen_name; 641s # guint use_gvariant : 1; 641s # guint emits_changed_signal : 1; 641s # } _ExtendedGDBusPropertyInfo; 641s # 641s # typedef struct 641s # { 641s # GDBusInterfaceInfo parent_struct; 641s # const gchar *hyphen_name; 641s # } _ExtendedGDBusInterfaceInfo; 641s # 641s # typedef struct 641s # { 641s # const _ExtendedGDBusPropertyInfo *info; 641s # guint prop_id; 641s # GValue orig_value; /* the value before the change */ 641s # } ChangedProperty; 641s # 641s # static void 641s # _changed_property_free (ChangedProperty *data) 641s # { 641s # g_value_unset (&data->orig_value); 641s # g_free (data); 641s # } 641s # 641s # static gboolean 641s # _g_strv_equal0 (gchar **a, gchar **b) 641s # { 641s # gboolean ret = FALSE; 641s # guint n; 641s # if (a == NULL && b == NULL) 641s # { 641s # ret = TRUE; 641s # goto out; 641s # } 641s # if (a == NULL || b == NULL) 641s # goto out; 641s # if (g_strv_length (a) != g_strv_length (b)) 641s # goto out; 641s # for (n = 0; a[n] != NULL; n++) 641s # if (g_strcmp0 (a[n], b[n]) != 0) 641s # goto out; 641s # ret = TRUE; 641s # out: 641s # return ret; 641s # } 641s # 641s # static gboolean 641s # _g_variant_equal0 (GVariant *a, GVariant *b) 641s # { 641s # gboolean ret = FALSE; 641s # if (a == NULL && b == NULL) 641s # { 641s # ret = TRUE; 641s # goto out; 641s # } 641s # if (a == NULL || b == NULL) 641s # goto out; 641s # ret = g_variant_equal (a, b); 641s # out: 641s # return ret; 641s # } 641s # 641s # G_GNUC_UNUSED static gboolean 641s # _g_value_equal (const GValue *a, const GValue *b) 641s # { 641s # gboolean ret = FALSE; 641s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 641s # switch (G_VALUE_TYPE (a)) 641s # { 641s # case G_TYPE_BOOLEAN: 641s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 641s # break; 641s # case G_TYPE_UCHAR: 641s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 641s # break; 641s # case G_TYPE_INT: 641s # ret = (g_value_get_int (a) == g_value_get_int (b)); 641s # break; 641s # case G_TYPE_UINT: 641s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 641s # break; 641s # case G_TYPE_INT64: 641s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 641s # break; 641s # case G_TYPE_UINT64: 641s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 641s # break; 641s # case G_TYPE_DOUBLE: 641s # { 641s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 641s # gdouble da = g_value_get_double (a); 641s # gdouble db = g_value_get_double (b); 641s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 641s # } 641s # break; 641s # case G_TYPE_STRING: 641s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 641s # break; 641s # case G_TYPE_VARIANT: 641s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 641s # break; 641s # default: 641s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 641s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 641s # else 641s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 641s # break; 641s # } 641s # return ret; 641s # } 641s # 641s # static void 641s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 641s # GClosure *closure, 641s # GValue *return_value G_GNUC_UNUSED, 641s # unsigned int n_param_values, 641s # const GValue *param_values, 641s # void *invocation_hint G_GNUC_UNUSED, 641s # void *marshal_data) 641s # { 641s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 641s # (void *data1, 641s # gboolean arg_an_b, 641s # guchar arg_an_y, 641s # gint16 arg_an_n, 641s # guint16 arg_an_q, 641s # gint arg_an_i, 641s # guint arg_an_u, 641s # gint64 arg_an_x, 641s # guint64 arg_an_t, 641s # gdouble arg_an_d, 641s # const gchar *arg_an_s, 641s # const gchar *arg_an_o, 641s # const gchar *arg_an_g, 641s # GVariant *arg_an_h, 641s # const gchar *arg_an_ay, 641s # const gchar *const *arg_an_as, 641s # const gchar *const *arg_an_ao, 641s # const gchar *const *arg_an_aay, 641s # GVariant *arg_an_asv, 641s # void *data2); 641s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 641s # GCClosure *cc = (GCClosure*) closure; 641s # void *data1, *data2; 641s # 641s # g_return_if_fail (n_param_values == 19); 641s # 641s # if (G_CCLOSURE_SWAP_DATA (closure)) 641s # { 641s # data1 = closure->data; 641s # data2 = g_value_peek_pointer (param_values + 0); 641s # } 641s # else 641s # { 641s # data1 = g_value_peek_pointer (param_values + 0); 641s # data2 = closure->data; 641s # } 641s # 641s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 641s # (marshal_data ? marshal_data : cc->callback); 641s # 641s # callback (data1, 641s # g_marshal_value_peek_boolean (param_values + 1), 641s # g_marshal_value_peek_uchar (param_values + 2), 641s # g_marshal_value_peek_int (param_values + 3), 641s # g_marshal_value_peek_uint (param_values + 4), 641s # g_marshal_value_peek_int (param_values + 5), 641s # g_marshal_value_peek_uint (param_values + 6), 641s # g_marshal_value_peek_int64 (param_values + 7), 641s # g_marshal_value_peek_uint64 (param_values + 8), 641s # g_marshal_value_peek_double (param_values + 9), 641s # g_marshal_value_peek_string (param_values + 10), 641s # g_marshal_value_peek_string (param_values + 11), 641s # g_marshal_value_peek_string (param_values + 12), 641s # g_marshal_value_peek_variant (param_values + 13), 641s # g_marshal_value_peek_string (param_values + 14), 641s # g_marshal_value_peek_boxed (param_values + 15), 641s # g_marshal_value_peek_boxed (param_values + 16), 641s # g_marshal_value_peek_boxed (param_values + 17), 641s # g_marshal_value_peek_variant (param_values + 18), 641s # data2); 641s # } 641s # 641s # /* ------------------------------------------------------------------------ 641s # * Code for interface org.project.SignalingIface 641s # * ------------------------------------------------------------------------ 641s # */ 641s # 641s # /** 641s # * SECTION:OrgProjectSignalingIface 641s # * @title: OrgProjectSignalingIface 641s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 641s # * 641s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 641s # */ 641s # 641s # enum 641s # { 641s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 641s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 641s # }; 641s # 641s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 641s # 641s # /* ---- Introspection data for org.project.SignalingIface ---- */ 641s # 641s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 641s # { 641s # { 641s # -1, 641s # (gchar *) "SimpleSignal", 641s # NULL, 641s # NULL 641s # }, 641s # "simple-signal" 641s # }; 641s # 641s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 641s # { 641s # { 641s # -1, 641s # (gchar *) "an_b", 641s # (gchar *) "b", 641s # NULL 641s # }, 641s # FALSE 641s # }; 641s # 641s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 641s # { 641s # { 641s # -1, 641s # (gchar *) "an_y", 641s # (gchar *) "y", 641s # NULL 641s # }, 641s # FALSE 641s # }; 641s # 641s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 641s # { 641s # { 641s # -1, 641s # (gchar *) "an_n", 641s # (gchar *) "n", 641s # NULL 641s # }, 641s # FALSE 641s # }; 641s # 641s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 641s # { 641s # { 641s # -1, 641s # (gchar *) "an_q", 641s # (gchar *) "q", 641s # NULL 641s # }, 641s # FALSE 641s # }; 641s # 641s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 641s # { 641s # { 641s # -1, 641s # (gchar *) "an_i", 641s # (gchar *) "i", 641s # NULL 641s # }, 641s # FALSE 641s # }; 641s # 641s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 641s # { 641s # { 641s # -1, 641s # (gchar *) "an_u", 641s # (gchar *) "u", 641s # NULL 641s # }, 641s # FALSE 641s # }; 641s # 641s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 641s # { 641s # { 641s # -1, 641s # (gchar *) "an_x", 641s # (gchar *) "x", 641s # NULL 641s # }, 641s # FALSE 641s # }; 641s # 641s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 641s # { 641s # { 641s # -1, 641s # (gchar *) "an_t", 641s # (gchar *) "t", 641s # NULL 641s # }, 641s # FALSE 641s # }; 641s # 641s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 641s # { 641s # { 641s # -1, 641s # (gchar *) "an_d", 641s # (gchar *) "d", 641s # NULL 641s # }, 641s # FALSE 641s # }; 641s # 641s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 641s # { 641s # { 641s # -1, 641s # (gchar *) "an_s", 641s # (gchar *) "s", 641s # NULL 641s # }, 641s # FALSE 641s # }; 641s # 641s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 641s # { 641s # { 641s # -1, 641s # (gchar *) "an_o", 641s # (gchar *) "o", 641s # NULL 641s # }, 641s # FALSE 641s # }; 641s # 641s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 641s # { 641s # { 641s # -1, 641s # (gchar *) "an_g", 641s # (gchar *) "g", 641s # NULL 641s # }, 641s # FALSE 641s # }; 641s # 641s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 641s # { 641s # { 641s # -1, 641s # (gchar *) "an_h", 641s # (gchar *) "h", 641s # NULL 641s # }, 641s # FALSE 641s # }; 641s # 641s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 641s # { 641s # { 641s # -1, 641s # (gchar *) "an_ay", 641s # (gchar *) "ay", 641s # NULL 641s # }, 641s # FALSE 641s # }; 641s # 641s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 641s # { 641s # { 641s # -1, 641s # (gchar *) "an_as", 641s # (gchar *) "as", 641s # NULL 641s # }, 641s # FALSE 641s # }; 641s # 641s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 641s # { 641s # { 641s # -1, 641s # (gchar *) "an_ao", 641s # (gchar *) "ao", 641s # NULL 641s # }, 641s # FALSE 641s # }; 641s # 641s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 641s # { 641s # { 641s # -1, 641s # (gchar *) "an_aay", 641s # (gchar *) "aay", 641s # NULL 641s # }, 641s # FALSE 641s # }; 641s # 641s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 641s # { 641s # { 641s # -1, 641s # (gchar *) "an_asv", 641s # (gchar *) "a{sv}", 641s # NULL 641s # }, 641s # FALSE 641s # }; 641s # 641s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 641s # { 641s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 641s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 641s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 641s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 641s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 641s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 641s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 641s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 641s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 641s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 641s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 641s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 641s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 641s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 641s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 641s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 641s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 641s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 641s # NULL 641s # }; 641s # 641s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 641s # { 641s # { 641s # -1, 641s # (gchar *) "SignalWithManyArgs", 641s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 641s # NULL 641s # }, 641s # "signal-with-many-args" 641s # }; 641s # 641s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 641s # { 641s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 641s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 641s # NULL 641s # }; 641s # 641s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 641s # { 641s # { 641s # -1, 641s # (gchar *) "org.project.SignalingIface", 641s # NULL, 641s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 641s # NULL, 641s # NULL 641s # }, 641s # "org-project-signaling-iface", 641s # }; 641s # 641s # 641s # /** 641s # * org_project_signaling_iface_interface_info: 641s # * 641s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 641s # * 641s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 641s # */ 641s # GDBusInterfaceInfo * 641s # org_project_signaling_iface_interface_info (void) 641s # { 641s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_override_properties: 641s # * @klass: The class structure for a #GObject derived class. 641s # * @property_id_begin: The property id to assign to the first overridden property. 641s # * 641s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 641s # * The properties are overridden in the order they are defined. 641s # * 641s # * Returns: The last property id. 641s # */ 641s # guint 641s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 641s # { 641s # return property_id_begin - 1; 641s # } 641s # 641s # 641s # inline static void 641s # org_project_signaling_iface_signal_marshal_simple_signal ( 641s # GClosure *closure, 641s # GValue *return_value, 641s # unsigned int n_param_values, 641s # const GValue *param_values, 641s # void *invocation_hint, 641s # void *marshal_data) 641s # { 641s # g_cclosure_marshal_VOID__VOID (closure, 641s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 641s # } 641s # 641s # inline static void 641s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 641s # GClosure *closure, 641s # GValue *return_value, 641s # unsigned int n_param_values, 641s # const GValue *param_values, 641s # void *invocation_hint, 641s # void *marshal_data) 641s # { 641s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 641s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 641s # } 641s # 641s # 641s # /** 641s # * OrgProjectSignalingIface: 641s # * 641s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 641s # */ 641s # 641s # /** 641s # * OrgProjectSignalingIfaceIface: 641s # * @parent_iface: The parent interface. 641s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 641s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 641s # * 641s # * Virtual table for the D-Bus interface org.project.SignalingIface. 641s # */ 641s # 641s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 641s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 641s # 641s # static void 641s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 641s # { 641s # /* GObject signals for received D-Bus signals: */ 641s # /** 641s # * OrgProjectSignalingIface::simple-signal: 641s # * @object: A #OrgProjectSignalingIface. 641s # * 641s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 641s # * 641s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 641s # */ 641s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 641s # g_signal_new ("simple-signal", 641s # G_TYPE_FROM_INTERFACE (iface), 641s # G_SIGNAL_RUN_LAST, 641s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 641s # NULL, 641s # NULL, 641s # org_project_signaling_iface_signal_marshal_simple_signal, 641s # G_TYPE_NONE, 641s # 0); 641s # 641s # /** 641s # * OrgProjectSignalingIface::signal-with-many-args: 641s # * @object: A #OrgProjectSignalingIface. 641s # * @arg_an_b: Argument. 641s # * @arg_an_y: Argument. 641s # * @arg_an_n: Argument. 641s # * @arg_an_q: Argument. 641s # * @arg_an_i: Argument. 641s # * @arg_an_u: Argument. 641s # * @arg_an_x: Argument. 641s # * @arg_an_t: Argument. 641s # * @arg_an_d: Argument. 641s # * @arg_an_s: Argument. 641s # * @arg_an_o: Argument. 641s # * @arg_an_g: Argument. 641s # * @arg_an_h: Argument. 641s # * @arg_an_ay: Argument. 641s # * @arg_an_as: Argument. 641s # * @arg_an_ao: Argument. 641s # * @arg_an_aay: Argument. 641s # * @arg_an_asv: Argument. 641s # * 641s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 641s # * 641s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 641s # */ 641s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 641s # g_signal_new ("signal-with-many-args", 641s # G_TYPE_FROM_INTERFACE (iface), 641s # G_SIGNAL_RUN_LAST, 641s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 641s # NULL, 641s # NULL, 641s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 641s # G_TYPE_NONE, 641s # 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); 641s # 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_emit_simple_signal: 641s # * @object: A #OrgProjectSignalingIface. 641s # * 641s # * Emits the "SimpleSignal" D-Bus signal. 641s # */ 641s # void 641s # org_project_signaling_iface_emit_simple_signal ( 641s # OrgProjectSignalingIface *object) 641s # { 641s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_emit_signal_with_many_args: 641s # * @object: A #OrgProjectSignalingIface. 641s # * @arg_an_b: Argument to pass with the signal. 641s # * @arg_an_y: Argument to pass with the signal. 641s # * @arg_an_n: Argument to pass with the signal. 641s # * @arg_an_q: Argument to pass with the signal. 641s # * @arg_an_i: Argument to pass with the signal. 641s # * @arg_an_u: Argument to pass with the signal. 641s # * @arg_an_x: Argument to pass with the signal. 641s # * @arg_an_t: Argument to pass with the signal. 641s # * @arg_an_d: Argument to pass with the signal. 641s # * @arg_an_s: Argument to pass with the signal. 641s # * @arg_an_o: Argument to pass with the signal. 641s # * @arg_an_g: Argument to pass with the signal. 641s # * @arg_an_h: Argument to pass with the signal. 641s # * @arg_an_ay: Argument to pass with the signal. 641s # * @arg_an_as: Argument to pass with the signal. 641s # * @arg_an_ao: Argument to pass with the signal. 641s # * @arg_an_aay: Argument to pass with the signal. 641s # * @arg_an_asv: Argument to pass with the signal. 641s # * 641s # * Emits the "SignalWithManyArgs" D-Bus signal. 641s # */ 641s # void 641s # org_project_signaling_iface_emit_signal_with_many_args ( 641s # OrgProjectSignalingIface *object, 641s # gboolean arg_an_b, 641s # guchar arg_an_y, 641s # gint16 arg_an_n, 641s # guint16 arg_an_q, 641s # gint arg_an_i, 641s # guint arg_an_u, 641s # gint64 arg_an_x, 641s # guint64 arg_an_t, 641s # gdouble arg_an_d, 641s # const gchar *arg_an_s, 641s # const gchar *arg_an_o, 641s # const gchar *arg_an_g, 641s # GVariant *arg_an_h, 641s # const gchar *arg_an_ay, 641s # const gchar *const *arg_an_as, 641s # const gchar *const *arg_an_ao, 641s # const gchar *const *arg_an_aay, 641s # GVariant *arg_an_asv) 641s # { 641s # 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); 641s # } 641s # 641s # /* ------------------------------------------------------------------------ */ 641s # 641s # /** 641s # * OrgProjectSignalingIfaceProxy: 641s # * 641s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 641s # */ 641s # 641s # /** 641s # * OrgProjectSignalingIfaceProxyClass: 641s # * @parent_class: The parent class. 641s # * 641s # * Class structure for #OrgProjectSignalingIfaceProxy. 641s # */ 641s # 641s # struct _OrgProjectSignalingIfaceProxyPrivate 641s # { 641s # GData *qdata; 641s # }; 641s # 641s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 641s # 641s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 641s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 641s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 641s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 641s # 641s # #else 641s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 641s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 641s # 641s # #endif 641s # static void 641s # org_project_signaling_iface_proxy_finalize (GObject *object) 641s # { 641s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 641s # g_datalist_clear (&proxy->priv->qdata); 641s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 641s # guint prop_id G_GNUC_UNUSED, 641s # GValue *value G_GNUC_UNUSED, 641s # GParamSpec *pspec G_GNUC_UNUSED) 641s # { 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 641s # guint prop_id G_GNUC_UNUSED, 641s # const GValue *value G_GNUC_UNUSED, 641s # GParamSpec *pspec G_GNUC_UNUSED) 641s # { 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 641s # const gchar *sender_name G_GNUC_UNUSED, 641s # const gchar *signal_name, 641s # GVariant *parameters) 641s # { 641s # _ExtendedGDBusSignalInfo *info; 641s # GVariantIter iter; 641s # GVariant *child; 641s # GValue *paramv; 641s # gsize num_params; 641s # gsize n; 641s # guint signal_id; 641s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 641s # if (info == NULL) 641s # return; 641s # num_params = g_variant_n_children (parameters); 641s # paramv = g_new0 (GValue, num_params + 1); 641s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 641s # g_value_set_object (¶mv[0], proxy); 641s # g_variant_iter_init (&iter, parameters); 641s # n = 1; 641s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 641s # { 641s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 641s # if (arg_info->use_gvariant) 641s # { 641s # g_value_init (¶mv[n], G_TYPE_VARIANT); 641s # g_value_set_variant (¶mv[n], child); 641s # n++; 641s # } 641s # else 641s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 641s # g_variant_unref (child); 641s # } 641s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 641s # g_signal_emitv (paramv, signal_id, 0, NULL); 641s # for (n = 0; n < num_params + 1; n++) 641s # g_value_unset (¶mv[n]); 641s # g_free (paramv); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 641s # GVariant *changed_properties, 641s # const gchar *const *invalidated_properties) 641s # { 641s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 641s # guint n; 641s # const gchar *key; 641s # GVariantIter *iter; 641s # _ExtendedGDBusPropertyInfo *info; 641s # g_variant_get (changed_properties, "a{sv}", &iter); 641s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 641s # { 641s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 641s # g_datalist_remove_data (&proxy->priv->qdata, key); 641s # if (info != NULL) 641s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 641s # } 641s # g_variant_iter_free (iter); 641s # for (n = 0; invalidated_properties[n] != NULL; n++) 641s # { 641s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 641s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 641s # if (info != NULL) 641s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 641s # } 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 641s # { 641s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 641s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 641s # #else 641s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 641s # #endif 641s # 641s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 641s # { 641s # GObjectClass *gobject_class; 641s # GDBusProxyClass *proxy_class; 641s # 641s # gobject_class = G_OBJECT_CLASS (klass); 641s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 641s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 641s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 641s # 641s # proxy_class = G_DBUS_PROXY_CLASS (klass); 641s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 641s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 641s # 641s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 641s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 641s # #endif 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 641s # { 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new: 641s # * @connection: A #GDBusConnection. 641s # * @flags: Flags from the #GDBusProxyFlags enumeration. 641s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 641s # * @object_path: An object path. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 641s # * @user_data: User data to pass to @callback. 641s # * 641s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 641s # * 641s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 641s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 641s # * 641s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 641s # */ 641s # void 641s # org_project_signaling_iface_proxy_new ( 641s # GDBusConnection *connection, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GAsyncReadyCallback callback, 641s # gpointer user_data) 641s # { 641s # 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); 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new_finish: 641s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 641s # * @error: Return location for error or %NULL 641s # * 641s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_proxy_new_finish ( 641s # GAsyncResult *res, 641s # GError **error) 641s # { 641s # GObject *ret; 641s # GObject *source_object; 641s # source_object = g_async_result_get_source_object (res); 641s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 641s # g_object_unref (source_object); 641s # if (ret != NULL) 641s # return ORG_PROJECT_SIGNALING_IFACE (ret); 641s # else 641s # return NULL; 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new_sync: 641s # * @connection: A #GDBusConnection. 641s # * @flags: Flags from the #GDBusProxyFlags enumeration. 641s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 641s # * @object_path: An object path. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @error: Return location for error or %NULL 641s # * 641s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 641s # * 641s # * The calling thread is blocked until a reply is received. 641s # * 641s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_proxy_new_sync ( 641s # GDBusConnection *connection, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GError **error) 641s # { 641s # GInitable *ret; 641s # 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); 641s # if (ret != NULL) 641s # return ORG_PROJECT_SIGNALING_IFACE (ret); 641s # else 641s # return NULL; 641s # } 641s # 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new_for_bus: 641s # * @bus_type: A #GBusType. 641s # * @flags: Flags from the #GDBusProxyFlags enumeration. 641s # * @name: A bus name (well-known or unique). 641s # * @object_path: An object path. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 641s # * @user_data: User data to pass to @callback. 641s # * 641s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 641s # * 641s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 641s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 641s # * 641s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 641s # */ 641s # void 641s # org_project_signaling_iface_proxy_new_for_bus ( 641s # GBusType bus_type, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GAsyncReadyCallback callback, 641s # gpointer user_data) 641s # { 641s # 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); 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new_for_bus_finish: 641s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 641s # * @error: Return location for error or %NULL 641s # * 641s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_proxy_new_for_bus_finish ( 641s # GAsyncResult *res, 641s # GError **error) 641s # { 641s # GObject *ret; 641s # GObject *source_object; 641s # source_object = g_async_result_get_source_object (res); 641s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 641s # g_object_unref (source_object); 641s # if (ret != NULL) 641s # return ORG_PROJECT_SIGNALING_IFACE (ret); 641s # else 641s # return NULL; 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_proxy_new_for_bus_sync: 641s # * @bus_type: A #GBusType. 641s # * @flags: Flags from the #GDBusProxyFlags enumeration. 641s # * @name: A bus name (well-known or unique). 641s # * @object_path: An object path. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @error: Return location for error or %NULL 641s # * 641s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 641s # * 641s # * The calling thread is blocked until a reply is received. 641s # * 641s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_proxy_new_for_bus_sync ( 641s # GBusType bus_type, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GError **error) 641s # { 641s # GInitable *ret; 641s # 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); 641s # if (ret != NULL) 641s # return ORG_PROJECT_SIGNALING_IFACE (ret); 641s # else 641s # return NULL; 641s # } 641s # 641s # 641s # /* ------------------------------------------------------------------------ */ 641s # 641s # /** 641s # * OrgProjectSignalingIfaceSkeleton: 641s # * 641s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 641s # */ 641s # 641s # /** 641s # * OrgProjectSignalingIfaceSkeletonClass: 641s # * @parent_class: The parent class. 641s # * 641s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 641s # */ 641s # 641s # struct _OrgProjectSignalingIfaceSkeletonPrivate 641s # { 641s # GValue *properties; 641s # GList *changed_properties; 641s # GSource *changed_properties_idle_source; 641s # GMainContext *context; 641s # GMutex lock; 641s # }; 641s # 641s # static void 641s # _org_project_signaling_iface_skeleton_handle_method_call ( 641s # GDBusConnection *connection G_GNUC_UNUSED, 641s # const gchar *sender G_GNUC_UNUSED, 641s # const gchar *object_path G_GNUC_UNUSED, 641s # const gchar *interface_name, 641s # const gchar *method_name, 641s # GVariant *parameters, 641s # GDBusMethodInvocation *invocation, 641s # gpointer user_data) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 641s # _ExtendedGDBusMethodInfo *info; 641s # GVariantIter iter; 641s # GVariant *child; 641s # GValue *paramv; 641s # gsize num_params; 641s # guint num_extra; 641s # gsize n; 641s # guint signal_id; 641s # GValue return_value = G_VALUE_INIT; 641s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 641s # g_assert (info != NULL); 641s # num_params = g_variant_n_children (parameters); 641s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 641s # n = 0; 641s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 641s # g_value_set_object (¶mv[n++], skeleton); 641s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 641s # g_value_set_object (¶mv[n++], invocation); 641s # if (info->pass_fdlist) 641s # { 641s # #ifdef G_OS_UNIX 641s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 641s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 641s # #else 641s # g_assert_not_reached (); 641s # #endif 641s # } 641s # g_variant_iter_init (&iter, parameters); 641s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 641s # { 641s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 641s # if (arg_info->use_gvariant) 641s # { 641s # g_value_init (¶mv[n], G_TYPE_VARIANT); 641s # g_value_set_variant (¶mv[n], child); 641s # n++; 641s # } 641s # else 641s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 641s # g_variant_unref (child); 641s # } 641s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 641s # g_value_init (&return_value, G_TYPE_BOOLEAN); 641s # g_signal_emitv (paramv, signal_id, 0, &return_value); 641s # if (!g_value_get_boolean (&return_value)) 641s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 641s # g_value_unset (&return_value); 641s # for (n = 0; n < num_params + num_extra; n++) 641s # g_value_unset (¶mv[n]); 641s # g_free (paramv); 641s # } 641s # 641s # static GVariant * 641s # _org_project_signaling_iface_skeleton_handle_get_property ( 641s # GDBusConnection *connection G_GNUC_UNUSED, 641s # const gchar *sender G_GNUC_UNUSED, 641s # const gchar *object_path G_GNUC_UNUSED, 641s # const gchar *interface_name G_GNUC_UNUSED, 641s # const gchar *property_name, 641s # GError **error, 641s # gpointer user_data) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 641s # GValue value = G_VALUE_INIT; 641s # GParamSpec *pspec; 641s # _ExtendedGDBusPropertyInfo *info; 641s # GVariant *ret; 641s # ret = NULL; 641s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 641s # g_assert (info != NULL); 641s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 641s # if (pspec == NULL) 641s # { 641s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 641s # } 641s # else 641s # { 641s # g_value_init (&value, pspec->value_type); 641s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 641s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 641s # g_value_unset (&value); 641s # } 641s # return ret; 641s # } 641s # 641s # static gboolean 641s # _org_project_signaling_iface_skeleton_handle_set_property ( 641s # GDBusConnection *connection G_GNUC_UNUSED, 641s # const gchar *sender G_GNUC_UNUSED, 641s # const gchar *object_path G_GNUC_UNUSED, 641s # const gchar *interface_name G_GNUC_UNUSED, 641s # const gchar *property_name, 641s # GVariant *variant, 641s # GError **error, 641s # gpointer user_data) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 641s # GValue value = G_VALUE_INIT; 641s # GParamSpec *pspec; 641s # _ExtendedGDBusPropertyInfo *info; 641s # gboolean ret; 641s # ret = FALSE; 641s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 641s # g_assert (info != NULL); 641s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 641s # if (pspec == NULL) 641s # { 641s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 641s # } 641s # else 641s # { 641s # if (info->use_gvariant) 641s # g_value_set_variant (&value, variant); 641s # else 641s # g_dbus_gvariant_to_gvalue (variant, &value); 641s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 641s # g_value_unset (&value); 641s # ret = TRUE; 641s # } 641s # return ret; 641s # } 641s # 641s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 641s # { 641s # _org_project_signaling_iface_skeleton_handle_method_call, 641s # _org_project_signaling_iface_skeleton_handle_get_property, 641s # _org_project_signaling_iface_skeleton_handle_set_property, 641s # {NULL} 641s # }; 641s # 641s # static GDBusInterfaceInfo * 641s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 641s # { 641s # return org_project_signaling_iface_interface_info (); 641s # } 641s # 641s # static GDBusInterfaceVTable * 641s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 641s # { 641s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 641s # } 641s # 641s # static GVariant * 641s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 641s # 641s # GVariantBuilder builder; 641s # guint n; 641s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 641s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 641s # goto out; 641s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 641s # { 641s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 641s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 641s # { 641s # GVariant *value; 641s # 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); 641s # if (value != NULL) 641s # { 641s # g_variant_take_ref (value); 641s # g_variant_builder_add (&builder, "{sv}", info->name, value); 641s # g_variant_unref (value); 641s # } 641s # } 641s # } 641s # out: 641s # return g_variant_builder_end (&builder); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 641s # { 641s # } 641s # 641s # static void 641s # _org_project_signaling_iface_on_signal_simple_signal ( 641s # OrgProjectSignalingIface *object) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 641s # 641s # GList *connections, *l; 641s # GVariant *signal_variant; 641s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 641s # 641s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 641s # for (l = connections; l != NULL; l = l->next) 641s # { 641s # GDBusConnection *connection = l->data; 641s # g_dbus_connection_emit_signal (connection, 641s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 641s # signal_variant, NULL); 641s # } 641s # g_variant_unref (signal_variant); 641s # g_list_free_full (connections, g_object_unref); 641s # } 641s # 641s # static void 641s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 641s # OrgProjectSignalingIface *object, 641s # gboolean arg_an_b, 641s # guchar arg_an_y, 641s # gint16 arg_an_n, 641s # guint16 arg_an_q, 641s # gint arg_an_i, 641s # guint arg_an_u, 641s # gint64 arg_an_x, 641s # guint64 arg_an_t, 641s # gdouble arg_an_d, 641s # const gchar *arg_an_s, 641s # const gchar *arg_an_o, 641s # const gchar *arg_an_g, 641s # GVariant *arg_an_h, 641s # const gchar *arg_an_ay, 641s # const gchar *const *arg_an_as, 641s # const gchar *const *arg_an_ao, 641s # const gchar *const *arg_an_aay, 641s # GVariant *arg_an_asv) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 641s # 641s # GList *connections, *l; 641s # GVariant *signal_variant; 641s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 641s # 641s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 641s # arg_an_b, 641s # arg_an_y, 641s # arg_an_n, 641s # arg_an_q, 641s # arg_an_i, 641s # arg_an_u, 641s # arg_an_x, 641s # arg_an_t, 641s # arg_an_d, 641s # arg_an_s, 641s # arg_an_o, 641s # arg_an_g, 641s # arg_an_h, 641s # arg_an_ay, 641s # arg_an_as, 641s # arg_an_ao, 641s # arg_an_aay, 641s # arg_an_asv)); 641s # for (l = connections; l != NULL; l = l->next) 641s # { 641s # GDBusConnection *connection = l->data; 641s # g_dbus_connection_emit_signal (connection, 641s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 641s # signal_variant, NULL); 641s # } 641s # g_variant_unref (signal_variant); 641s # g_list_free_full (connections, g_object_unref); 641s # } 641s # 641s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 641s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 641s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 641s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 641s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 641s # 641s # #else 641s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 641s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 641s # 641s # #endif 641s # static void 641s # org_project_signaling_iface_skeleton_finalize (GObject *object) 641s # { 641s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 641s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 641s # if (skeleton->priv->changed_properties_idle_source != NULL) 641s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 641s # g_main_context_unref (skeleton->priv->context); 641s # g_mutex_clear (&skeleton->priv->lock); 641s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 641s # { 641s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 641s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 641s # #else 641s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 641s # #endif 641s # 641s # g_mutex_init (&skeleton->priv->lock); 641s # skeleton->priv->context = g_main_context_ref_thread_default (); 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 641s # { 641s # GObjectClass *gobject_class; 641s # GDBusInterfaceSkeletonClass *skeleton_class; 641s # 641s # gobject_class = G_OBJECT_CLASS (klass); 641s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 641s # 641s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 641s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 641s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 641s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 641s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 641s # 641s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 641s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 641s # #endif 641s # } 641s # 641s # static void 641s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 641s # { 641s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 641s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 641s # } 641s # 641s # /** 641s # * org_project_signaling_iface_skeleton_new: 641s # * 641s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 641s # * 641s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 641s # */ 641s # OrgProjectSignalingIface * 641s # org_project_signaling_iface_skeleton_new (void) 641s # { 641s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 641s # } 641s ok 25 __main__.TestCodegen.test_generate_valid_docbook 641s # tmpdir: /tmp/tmpxgeuel9d 641s # codegen: /usr/bin/gdbus-codegen 641s # /tmp/tmpxgeuel9d/tmp9dlzse2g.xml: 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxgeuel9d/tmp9dlzse2g.xml', '--generate-docbook', 'test'] 641s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 641s # Output: 641s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 641s # tmpdir: /tmp/tmplb_pvc43 641s # codegen: /usr/bin/gdbus-codegen 641s # /tmp/tmplb_pvc43/tmpydj6w2tr.xml: 641s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplb_pvc43/tmpydj6w2tr.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 641s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 641s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 641s # tmpdir: /tmp/tmpis44_yub 641s # codegen: /usr/bin/gdbus-codegen 641s # /tmp/tmpis44_yub/tmphxjz44mz.xml: 641s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpis44_yub/tmphxjz44mz.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 641s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 641s # Output: /* 641s # * This file is generated by gdbus-codegen, do not modify it. 641s # * 641s # * The license of this code is the same as for the D-Bus interface description 641s # * it was derived from. Note that it links to GLib, so must comply with the 641s # * LGPL linking clauses. 641s # */ 641s # 641s # #ifndef __STDOUT__ 641s # #define __STDOUT__ 641s # 641s # #include 641s # 641s # G_BEGIN_DECLS 641s # 641s # 641s # G_END_DECLS 641s # 641s # #endif /* __STDOUT__ */ 641s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 641s # tmpdir: /tmp/tmp69sy9uzv 641s # codegen: /usr/bin/gdbus-codegen 641s # /tmp/tmp69sy9uzv/tmpuit_0s90.xml: 641s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp69sy9uzv/tmpuit_0s90.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 641s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 641s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 641s # tmpdir: /tmp/tmp_c65gl3l 641s # codegen: /usr/bin/gdbus-codegen 641s # /tmp/tmp_c65gl3l/tmp7lhgpdd4.xml: 641s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_c65gl3l/tmp7lhgpdd4.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 641s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 641s # Output: /* 641s # * This file is generated by gdbus-codegen, do not modify it. 641s # * 641s # * The license of this code is the same as for the D-Bus interface description 641s # * it was derived from. Note that it links to GLib, so must comply with the 641s # * LGPL linking clauses. 641s # */ 641s # 641s # #ifndef __STDOUT__ 641s # #define __STDOUT__ 641s # 641s # #include 641s # 641s # G_BEGIN_DECLS 641s # 641s # 641s # G_END_DECLS 641s # 641s # #endif /* __STDOUT__ */ 641s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 641s # tmpdir: /tmp/tmphmxiceko 641s # codegen: /usr/bin/gdbus-codegen 641s # /tmp/tmphmxiceko/tmpmmhisydw.xml: 641s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphmxiceko/tmpmmhisydw.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 641s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 641s # Output: /* 641s # * This file is generated by gdbus-codegen, do not modify it. 641s # * 641s # * The license of this code is the same as for the D-Bus interface description 641s # * it was derived from. Note that it links to GLib, so must comply with the 641s # * LGPL linking clauses. 641s # */ 641s # 641s # #ifndef __STDOUT__ 641s # #define __STDOUT__ 641s # 641s # #include 641s # 641s # G_BEGIN_DECLS 641s # 641s # 641s # G_END_DECLS 641s # 641s # #endif /* __STDOUT__ */ 641s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 641s # tmpdir: /tmp/tmpuetry7d4 641s # codegen: /usr/bin/gdbus-codegen 641s # /tmp/tmpuetry7d4/tmpu4427q7e.xml: 641s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpuetry7d4/tmpu4427q7e.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 641s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 641s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 641s # tmpdir: /tmp/tmp8y8ojww6 641s # codegen: /usr/bin/gdbus-codegen 641s # /tmp/tmp8y8ojww6/tmpcxmbextz.xml: 641s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8y8ojww6/tmpcxmbextz.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 641s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 641s # Output: /* 641s # * This file is generated by gdbus-codegen, do not modify it. 641s # * 641s # * The license of this code is the same as for the D-Bus interface description 641s # * it was derived from. Note that it links to GLib, so must comply with the 641s # * LGPL linking clauses. 641s # */ 641s # 641s # #ifndef __STDOUT__ 641s # #define __STDOUT__ 641s # 641s # #include 641s # 641s # G_BEGIN_DECLS 641s # 641s # 641s # G_END_DECLS 641s # 641s # #endif /* __STDOUT__ */ 641s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 641s # tmpdir: /tmp/tmpe5swfrz5 641s # codegen: /usr/bin/gdbus-codegen 641s # /tmp/tmpe5swfrz5/tmp27wlizxc.xml: 641s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpe5swfrz5/tmp27wlizxc.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 641s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 641s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 641s # tmpdir: /tmp/tmpbvownfav 641s # codegen: /usr/bin/gdbus-codegen 641s # /tmp/tmpbvownfav/tmp5hb2m4l1.xml: 641s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbvownfav/tmp5hb2m4l1.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 641s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 641s # Output: /* 641s # * This file is generated by gdbus-codegen, do not modify it. 641s # * 641s # * The license of this code is the same as for the D-Bus interface description 641s # * it was derived from. Note that it links to GLib, so must comply with the 641s # * LGPL linking clauses. 641s # */ 641s # 641s # #ifndef __STDOUT__ 641s # #define __STDOUT__ 641s # 641s # #include 641s # 641s # G_BEGIN_DECLS 641s # 641s # 641s # G_END_DECLS 641s # 641s # #endif /* __STDOUT__ */ 641s ok 35 __main__.TestCodegen.test_help 641s # tmpdir: /tmp/tmp085rxcrr 641s # codegen: /usr/bin/gdbus-codegen 641s # Running: ['/usr/bin/gdbus-codegen', '--help'] 641s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 641s # Output: usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 641s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 641s # [--c-generate-autocleanup {none,objects,all}] 641s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 641s # [--generate-rst OUTFILES] [--pragma-once] 641s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 641s # [--glib-min-required VERSION] 641s # [--glib-max-allowed VERSION] 641s # [--symbol-decorator SYMBOL_DECORATOR] 641s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 641s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 641s # [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 641s # [--output FILE | --output-directory OUTDIR] 641s # FILE [FILE ...] 641s # 641s # D-Bus code and documentation generator 641s # 641s # positional arguments: 641s # FILE D-Bus introspection XML file 641s # 641s # options: 641s # -h, --help show this help message and exit 641s # --interface-prefix PREFIX 641s # String to strip from D-Bus interface names for code 641s # and docs 641s # --c-namespace NAMESPACE 641s # The namespace to use for generated C code 641s # --c-generate-object-manager 641s # Generate a GDBusObjectManagerClient subclass when 641s # generating C code 641s # --c-generate-autocleanup {none,objects,all} 641s # Generate autocleanup support 641s # --generate-docbook OUTFILES 641s # Generate Docbook in OUTFILES-org.Project.IFace.xml 641s # --generate-md OUTFILES 641s # Generate Markdown in OUTFILES-org.Project.IFace.md 641s # --generate-rst OUTFILES 641s # Generate reStructuredText in OUTFILES- 641s # org.Project.IFace.rst 641s # --pragma-once Use "pragma once" as the inclusion guard 641s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 641s # Add annotation (may be used several times) 641s # --glib-min-required VERSION 641s # Minimum version of GLib to be supported by the 641s # outputted code (default: 2.30) 641s # --glib-max-allowed VERSION 641s # Maximum version of GLib to be used by the outputted 641s # code (default: current GLib version) 641s # --symbol-decorator SYMBOL_DECORATOR 641s # Macro used to decorate a symbol in the outputted 641s # header, possibly to export symbols 641s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 641s # Additional header required for decorator specified by 641s # --symbol-decorator 641s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 641s # Additional define required for decorator specified by 641s # --symbol-decorator 641s # --generate-c-code OUTFILES 641s # Generate C code in OUTFILES.[ch] 641s # --header Generate C headers 641s # --body Generate C code 641s # --interface-info-header 641s # Generate GDBusInterfaceInfo C header 641s # --interface-info-body 641s # Generate GDBusInterfaceInfo C code 641s # --output FILE Write output into the specified file 641s # --output-directory OUTDIR 641s # Location to output generated files 641s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 641s # tmpdir: /tmp/tmp_fhw6_67 641s # codegen: /usr/bin/gdbus-codegen 641s # /tmp/tmp_fhw6_67/tmpyob3pp_2.xml: 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_fhw6_67/tmpyob3pp_2.xml', '--generate-rst', 'test'] 641s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 641s # Output: 641s # /tmp/tmp_fhw6_67/tmpwefmyi0v.xml: 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_fhw6_67/tmpwefmyi0v.xml', '--generate-md', 'test'] 641s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 641s # Output: 641s # /tmp/tmp_fhw6_67/tmpaboti70o.xml: 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # 641s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_fhw6_67/tmpaboti70o.xml', '--generate-docbook', 'test'] 641s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 641s # Output: 641s ok 37 __main__.TestCodegen.test_no_args 641s # tmpdir: /tmp/tmpmv2xa88j 641s # codegen: /usr/bin/gdbus-codegen 641s # Running: ['/usr/bin/gdbus-codegen'] 641s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 641s ok 38 __main__.TestCodegen.test_reproducible 641s # tmpdir: /tmp/tmpgc8alx8g 641s # codegen: /usr/bin/gdbus-codegen 641s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgc8alx8g/tmpvp37fh9f1.xml', '/tmp/tmpgc8alx8g/tmpe5tb26kp2.xml', '--output', '-', '--header'] 641s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 641s # Output: /* 641s # * This file is generated by gdbus-codegen, do not modify it. 641s # * 641s # * The license of this code is the same as for the D-Bus interface description 641s # * it was derived from. Note that it links to GLib, so must comply with the 641s # * LGPL linking clauses. 641s # */ 641s # 641s # #ifndef __STDOUT__ 641s # #define __STDOUT__ 641s # 641s # #include 641s # 641s # G_BEGIN_DECLS 641s # 641s # 641s # /* ------------------------------------------------------------------------ */ 641s # /* Declarations for org.project.Bar.Frobnicator */ 641s # 641s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 641s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 641s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 641s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 641s # 641s # struct _OrgProjectBarFrobnicator; 641s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 641s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 641s # 641s # struct _OrgProjectBarFrobnicatorIface 641s # { 641s # GTypeInterface parent_iface; 641s # 641s # gboolean (*handle_random_method) ( 641s # OrgProjectBarFrobnicator *object, 641s # GDBusMethodInvocation *invocation); 641s # 641s # }; 641s # 641s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 641s # 641s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 641s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 641s # 641s # 641s # /* D-Bus method call completion functions: */ 641s # void org_project_bar_frobnicator_complete_random_method ( 641s # OrgProjectBarFrobnicator *object, 641s # GDBusMethodInvocation *invocation); 641s # 641s # 641s # 641s # /* D-Bus method calls: */ 641s # void org_project_bar_frobnicator_call_random_method ( 641s # OrgProjectBarFrobnicator *proxy, 641s # GCancellable *cancellable, 641s # GAsyncReadyCallback callback, 641s # gpointer user_data); 641s # 641s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 641s # OrgProjectBarFrobnicator *proxy, 641s # GAsyncResult *res, 641s # GError **error); 641s # 641s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 641s # OrgProjectBarFrobnicator *proxy, 641s # GCancellable *cancellable, 641s # GError **error); 641s # 641s # 641s # 641s # /* ---- */ 641s # 641s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 641s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 641s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 641s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 641s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 641s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 641s # 641s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 641s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 641s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 641s # 641s # struct _OrgProjectBarFrobnicatorProxy 641s # { 641s # /*< private >*/ 641s # GDBusProxy parent_instance; 641s # OrgProjectBarFrobnicatorProxyPrivate *priv; 641s # }; 641s # 641s # struct _OrgProjectBarFrobnicatorProxyClass 641s # { 641s # GDBusProxyClass parent_class; 641s # }; 641s # 641s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 641s # 641s # #if GLIB_CHECK_VERSION(2, 44, 0) 641s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 641s # #endif 641s # 641s # void org_project_bar_frobnicator_proxy_new ( 641s # GDBusConnection *connection, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GAsyncReadyCallback callback, 641s # gpointer user_data); 641s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 641s # GAsyncResult *res, 641s # GError **error); 641s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 641s # GDBusConnection *connection, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GError **error); 641s # 641s # void org_project_bar_frobnicator_proxy_new_for_bus ( 641s # GBusType bus_type, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GAsyncReadyCallback callback, 641s # gpointer user_data); 641s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 641s # GAsyncResult *res, 641s # GError **error); 641s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 641s # GBusType bus_type, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GError **error); 641s # 641s # 641s # /* ---- */ 641s # 641s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 641s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 641s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 641s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 641s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 641s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 641s # 641s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 641s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 641s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 641s # 641s # struct _OrgProjectBarFrobnicatorSkeleton 641s # { 641s # /*< private >*/ 641s # GDBusInterfaceSkeleton parent_instance; 641s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 641s # }; 641s # 641s # struct _OrgProjectBarFrobnicatorSkeletonClass 641s # { 641s # GDBusInterfaceSkeletonClass parent_class; 641s # }; 641s # 641s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 641s # 641s # #if GLIB_CHECK_VERSION(2, 44, 0) 641s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 641s # #endif 641s # 641s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 641s # 641s # 641s # /* ------------------------------------------------------------------------ */ 641s # /* Declarations for com.acme.Coyote */ 641s # 641s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 641s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 641s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 641s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 641s # 641s # struct _ComAcmeCoyote; 641s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 641s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 641s # 641s # struct _ComAcmeCoyoteIface 641s # { 641s # GTypeInterface parent_iface; 641s # 641s # 641s # 641s # gboolean (*handle_attack) ( 641s # ComAcmeCoyote *object, 641s # GDBusMethodInvocation *invocation); 641s # 641s # gboolean (*handle_run) ( 641s # ComAcmeCoyote *object, 641s # GDBusMethodInvocation *invocation); 641s # 641s # gboolean (*handle_sleep) ( 641s # ComAcmeCoyote *object, 641s # GDBusMethodInvocation *invocation); 641s # 641s # const gchar * (*get_mood) (ComAcmeCoyote *object); 641s # 641s # void (*surprised) ( 641s # ComAcmeCoyote *object); 641s # 641s # }; 641s # 641s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 641s # 641s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 641s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 641s # 641s # 641s # /* D-Bus method call completion functions: */ 641s # void com_acme_coyote_complete_run ( 641s # ComAcmeCoyote *object, 641s # GDBusMethodInvocation *invocation); 641s # 641s # void com_acme_coyote_complete_sleep ( 641s # ComAcmeCoyote *object, 641s # GDBusMethodInvocation *invocation); 641s # 641s # void com_acme_coyote_complete_attack ( 641s # ComAcmeCoyote *object, 641s # GDBusMethodInvocation *invocation); 641s # 641s # 641s # 641s # /* D-Bus signal emissions functions: */ 641s # void com_acme_coyote_emit_surprised ( 641s # ComAcmeCoyote *object); 641s # 641s # 641s # 641s # /* D-Bus method calls: */ 641s # void com_acme_coyote_call_run ( 641s # ComAcmeCoyote *proxy, 641s # GCancellable *cancellable, 641s # GAsyncReadyCallback callback, 641s # gpointer user_data); 641s # 641s # gboolean com_acme_coyote_call_run_finish ( 641s # ComAcmeCoyote *proxy, 641s # GAsyncResult *res, 641s # GError **error); 641s # 641s # gboolean com_acme_coyote_call_run_sync ( 641s # ComAcmeCoyote *proxy, 641s # GCancellable *cancellable, 641s # GError **error); 641s # 641s # void com_acme_coyote_call_sleep ( 641s # ComAcmeCoyote *proxy, 641s # GCancellable *cancellable, 641s # GAsyncReadyCallback callback, 641s # gpointer user_data); 641s # 641s # gboolean com_acme_coyote_call_sleep_finish ( 641s # ComAcmeCoyote *proxy, 641s # GAsyncResult *res, 641s # GError **error); 641s # 641s # gboolean com_acme_coyote_call_sleep_sync ( 641s # ComAcmeCoyote *proxy, 641s # GCancellable *cancellable, 641s # GError **error); 641s # 641s # void com_acme_coyote_call_attack ( 641s # ComAcmeCoyote *proxy, 641s # GCancellable *cancellable, 641s # GAsyncReadyCallback callback, 641s # gpointer user_data); 641s # 641s # gboolean com_acme_coyote_call_attack_finish ( 641s # ComAcmeCoyote *proxy, 641s # GAsyncResult *res, 641s # GError **error); 641s # 641s # gboolean com_acme_coyote_call_attack_sync ( 641s # ComAcmeCoyote *proxy, 641s # GCancellable *cancellable, 641s # GError **error); 641s # 641s # 641s # 641s # /* D-Bus property accessors: */ 641s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 641s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 641s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 641s # 641s # 641s # /* ---- */ 641s # 641s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 641s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 641s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 641s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 641s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 641s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 641s # 641s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 641s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 641s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 641s # 641s # struct _ComAcmeCoyoteProxy 641s # { 641s # /*< private >*/ 641s # GDBusProxy parent_instance; 641s # ComAcmeCoyoteProxyPrivate *priv; 641s # }; 641s # 641s # struct _ComAcmeCoyoteProxyClass 641s # { 641s # GDBusProxyClass parent_class; 641s # }; 641s # 641s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 641s # 641s # #if GLIB_CHECK_VERSION(2, 44, 0) 641s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 641s # #endif 641s # 641s # void com_acme_coyote_proxy_new ( 641s # GDBusConnection *connection, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GAsyncReadyCallback callback, 641s # gpointer user_data); 641s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 641s # GAsyncResult *res, 641s # GError **error); 641s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 641s # GDBusConnection *connection, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GError **error); 641s # 641s # void com_acme_coyote_proxy_new_for_bus ( 641s # GBusType bus_type, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GAsyncReadyCallback callback, 641s # gpointer user_data); 641s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 641s # GAsyncResult *res, 641s # GError **error); 641s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 641s # GBusType bus_type, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GError **error); 641s # 641s # 641s # /* ---- */ 641s # 641s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 641s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 641s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 641s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 641s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 641s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 641s # 641s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 641s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 641s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 641s # 641s # struct _ComAcmeCoyoteSkeleton 641s # { 641s # /*< private >*/ 641s # GDBusInterfaceSkeleton parent_instance; 641s # ComAcmeCoyoteSkeletonPrivate *priv; 641s # }; 641s # 641s # struct _ComAcmeCoyoteSkeletonClass 641s # { 641s # GDBusInterfaceSkeletonClass parent_class; 641s # }; 641s # 641s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 641s # 641s # #if GLIB_CHECK_VERSION(2, 44, 0) 641s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 641s # #endif 641s # 641s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 641s # 641s # 641s # G_END_DECLS 641s # 641s # #endif /* __STDOUT__ */ 641s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgc8alx8g/tmpe5tb26kp2.xml', '/tmp/tmpgc8alx8g/tmpvp37fh9f1.xml', '--output', '-', '--header'] 641s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 641s # Output: /* 641s # * This file is generated by gdbus-codegen, do not modify it. 641s # * 641s # * The license of this code is the same as for the D-Bus interface description 641s # * it was derived from. Note that it links to GLib, so must comply with the 641s # * LGPL linking clauses. 641s # */ 641s # 641s # #ifndef __STDOUT__ 641s # #define __STDOUT__ 641s # 641s # #include 641s # 641s # G_BEGIN_DECLS 641s # 641s # 641s # /* ------------------------------------------------------------------------ */ 641s # /* Declarations for org.project.Bar.Frobnicator */ 641s # 641s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 641s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 641s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 641s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 641s # 641s # struct _OrgProjectBarFrobnicator; 641s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 641s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 641s # 641s # struct _OrgProjectBarFrobnicatorIface 641s # { 641s # GTypeInterface parent_iface; 641s # 641s # gboolean (*handle_random_method) ( 641s # OrgProjectBarFrobnicator *object, 641s # GDBusMethodInvocation *invocation); 641s # 641s # }; 641s # 641s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 641s # 641s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 641s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 641s # 641s # 641s # /* D-Bus method call completion functions: */ 641s # void org_project_bar_frobnicator_complete_random_method ( 641s # OrgProjectBarFrobnicator *object, 641s # GDBusMethodInvocation *invocation); 641s # 641s # 641s # 641s # /* D-Bus method calls: */ 641s # void org_project_bar_frobnicator_call_random_method ( 641s # OrgProjectBarFrobnicator *proxy, 641s # GCancellable *cancellable, 641s # GAsyncReadyCallback callback, 641s # gpointer user_data); 641s # 641s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 641s # OrgProjectBarFrobnicator *proxy, 641s # GAsyncResult *res, 641s # GError **error); 641s # 641s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 641s # OrgProjectBarFrobnicator *proxy, 641s # GCancellable *cancellable, 641s # GError **error); 641s # 641s # 641s # 641s # /* ---- */ 641s # 641s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 641s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 641s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 641s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 641s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 641s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 641s # 641s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 641s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 641s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 641s # 641s # struct _OrgProjectBarFrobnicatorProxy 641s # { 641s # /*< private >*/ 641s # GDBusProxy parent_instance; 641s # OrgProjectBarFrobnicatorProxyPrivate *priv; 641s # }; 641s # 641s # struct _OrgProjectBarFrobnicatorProxyClass 641s # { 641s # GDBusProxyClass parent_class; 641s # }; 641s # 641s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 641s # 641s # #if GLIB_CHECK_VERSION(2, 44, 0) 641s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 641s # #endif 641s # 641s # void org_project_bar_frobnicator_proxy_new ( 641s # GDBusConnection *connection, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GAsyncReadyCallback callback, 641s # gpointer user_data); 641s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 641s # GAsyncResult *res, 641s # GError **error); 641s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 641s # GDBusConnection *connection, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GError **error); 641s # 641s # void org_project_bar_frobnicator_proxy_new_for_bus ( 641s # GBusType bus_type, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GAsyncReadyCallback callback, 641s # gpointer user_data); 641s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 641s # GAsyncResult *res, 641s # GError **error); 641s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 641s # GBusType bus_type, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GError **error); 641s # 641s # 641s # /* ---- */ 641s # 641s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 641s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 641s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 641s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 641s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 641s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 641s # 641s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 641s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 641s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 641s # 641s # struct _OrgProjectBarFrobnicatorSkeleton 641s # { 641s # /*< private >*/ 641s # GDBusInterfaceSkeleton parent_instance; 641s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 641s # }; 641s # 641s # struct _OrgProjectBarFrobnicatorSkeletonClass 641s # { 641s # GDBusInterfaceSkeletonClass parent_class; 641s # }; 641s # 641s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 641s # 641s # #if GLIB_CHECK_VERSION(2, 44, 0) 641s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 641s # #endif 641s # 641s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 641s # 641s # 641s # /* ------------------------------------------------------------------------ */ 641s # /* Declarations for com.acme.Coyote */ 641s # 641s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 641s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 641s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 641s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 641s # 641s # struct _ComAcmeCoyote; 641s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 641s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 641s # 641s # struct _ComAcmeCoyoteIface 641s # { 641s # GTypeInterface parent_iface; 641s # 641s # 641s # 641s # gboolean (*handle_attack) ( 641s # ComAcmeCoyote *object, 641s # GDBusMethodInvocation *invocation); 641s # 641s # gboolean (*handle_run) ( 641s # ComAcmeCoyote *object, 641s # GDBusMethodInvocation *invocation); 641s # 641s # gboolean (*handle_sleep) ( 641s # ComAcmeCoyote *object, 641s # GDBusMethodInvocation *invocation); 641s # 641s # const gchar * (*get_mood) (ComAcmeCoyote *object); 641s # 641s # void (*surprised) ( 641s # ComAcmeCoyote *object); 641s # 641s # }; 641s # 641s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 641s # 641s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 641s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 641s # 641s # 641s # /* D-Bus method call completion functions: */ 641s # void com_acme_coyote_complete_run ( 641s # ComAcmeCoyote *object, 641s # GDBusMethodInvocation *invocation); 641s # 641s # void com_acme_coyote_complete_sleep ( 641s # ComAcmeCoyote *object, 641s # GDBusMethodInvocation *invocation); 641s # 641s # void com_acme_coyote_complete_attack ( 641s # ComAcmeCoyote *object, 641s # GDBusMethodInvocation *invocation); 641s # 641s # 641s # 641s # /* D-Bus signal emissions functions: */ 641s # void com_acme_coyote_emit_surprised ( 641s # ComAcmeCoyote *object); 641s # 641s # 641s # 641s # /* D-Bus method calls: */ 641s # void com_acme_coyote_call_run ( 641s # ComAcmeCoyote *proxy, 641s # GCancellable *cancellable, 641s # GAsyncReadyCallback callback, 641s # gpointer user_data); 641s # 641s # gboolean com_acme_coyote_call_run_finish ( 641s # ComAcmeCoyote *proxy, 641s # GAsyncResult *res, 641s # GError **error); 641s # 641s # gboolean com_acme_coyote_call_run_sync ( 641s # ComAcmeCoyote *proxy, 641s # GCancellable *cancellable, 641s # GError **error); 641s # 641s # void com_acme_coyote_call_sleep ( 641s # ComAcmeCoyote *proxy, 641s # GCancellable *cancellable, 641s # GAsyncReadyCallback callback, 641s # gpointer user_data); 641s # 641s # gboolean com_acme_coyote_call_sleep_finish ( 641s # ComAcmeCoyote *proxy, 641s # GAsyncResult *res, 641s # GError **error); 641s # 641s # gboolean com_acme_coyote_call_sleep_sync ( 641s # ComAcmeCoyote *proxy, 641s # GCancellable *cancellable, 641s # GError **error); 641s # 641s # void com_acme_coyote_call_attack ( 641s # ComAcmeCoyote *proxy, 641s # GCancellable *cancellable, 641s # GAsyncReadyCallback callback, 641s # gpointer user_data); 641s # 641s # gboolean com_acme_coyote_call_attack_finish ( 641s # ComAcmeCoyote *proxy, 641s # GAsyncResult *res, 641s # GError **error); 641s # 641s # gboolean com_acme_coyote_call_attack_sync ( 641s # ComAcmeCoyote *proxy, 641s # GCancellable *cancellable, 641s # GError **error); 641s # 641s # 641s # 641s # /* D-Bus property accessors: */ 641s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 641s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 641s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 641s # 641s # 641s # /* ---- */ 641s # 641s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 641s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 641s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 641s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 641s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 641s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 641s # 641s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 641s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 641s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 641s # 641s # struct _ComAcmeCoyoteProxy 641s # { 641s # /*< private >*/ 641s # GDBusProxy parent_instance; 641s # ComAcmeCoyoteProxyPrivate *priv; 641s # }; 641s # 641s # struct _ComAcmeCoyoteProxyClass 641s # { 641s # GDBusProxyClass parent_class; 641s # }; 641s # 641s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 641s # 641s # #if GLIB_CHECK_VERSION(2, 44, 0) 641s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 641s # #endif 641s # 641s # void com_acme_coyote_proxy_new ( 641s # GDBusConnection *connection, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GAsyncReadyCallback callback, 641s # gpointer user_data); 641s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 641s # GAsyncResult *res, 641s # GError **error); 641s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 641s # GDBusConnection *connection, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GError **error); 641s # 641s # void com_acme_coyote_proxy_new_for_bus ( 641s # GBusType bus_type, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GAsyncReadyCallback callback, 641s # gpointer user_data); 641s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 641s # GAsyncResult *res, 641s # GError **error); 641s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 641s # GBusType bus_type, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GError **error); 641s # 641s # 641s # /* ---- */ 641s # 641s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 641s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 641s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 641s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 641s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 641s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 641s # 641s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 641s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 641s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 641s # 641s # struct _ComAcmeCoyoteSkeleton 641s # { 641s # /*< private >*/ 641s # GDBusInterfaceSkeleton parent_instance; 641s # ComAcmeCoyoteSkeletonPrivate *priv; 641s # }; 641s # 641s # struct _ComAcmeCoyoteSkeletonClass 641s # { 641s # GDBusInterfaceSkeletonClass parent_class; 641s # }; 641s # 641s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 641s # 641s # #if GLIB_CHECK_VERSION(2, 44, 0) 641s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 641s # #endif 641s # 641s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 641s # 641s # 641s # G_END_DECLS 641s # 641s # #endif /* __STDOUT__ */ 641s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgc8alx8g/tmpvp37fh9f1.xml', '/tmp/tmpgc8alx8g/tmpe5tb26kp2.xml', '--output', '-', '--body'] 641s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 641s # Output: /* 641s # * This file is generated by gdbus-codegen, do not modify it. 641s # * 641s # * The license of this code is the same as for the D-Bus interface description 641s # * it was derived from. Note that it links to GLib, so must comply with the 641s # * LGPL linking clauses. 641s # */ 641s # 641s # #ifdef HAVE_CONFIG_H 641s # # include "config.h" 641s # #endif 641s # 641s # #include 641s # #ifdef G_OS_UNIX 641s # # include 641s # #endif 641s # 641s # #ifdef G_ENABLE_DEBUG 641s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 641s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 641s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 641s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 641s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 641s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 641s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 641s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 641s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 641s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 641s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 641s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 641s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 641s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 641s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 641s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 641s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 641s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 641s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 641s # #else /* !G_ENABLE_DEBUG */ 641s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 641s # * Do not access GValues directly in your code. Instead, use the 641s # * g_value_get_*() functions 641s # */ 641s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 641s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 641s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 641s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 641s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 641s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 641s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 641s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 641s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 641s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 641s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 641s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 641s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 641s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 641s # #endif /* !G_ENABLE_DEBUG */ 641s # 641s # typedef struct 641s # { 641s # GDBusArgInfo parent_struct; 641s # gboolean use_gvariant; 641s # } _ExtendedGDBusArgInfo; 641s # 641s # typedef struct 641s # { 641s # GDBusMethodInfo parent_struct; 641s # const gchar *signal_name; 641s # gboolean pass_fdlist; 641s # } _ExtendedGDBusMethodInfo; 641s # 641s # typedef struct 641s # { 641s # GDBusSignalInfo parent_struct; 641s # const gchar *signal_name; 641s # } _ExtendedGDBusSignalInfo; 641s # 641s # typedef struct 641s # { 641s # GDBusPropertyInfo parent_struct; 641s # const gchar *hyphen_name; 641s # guint use_gvariant : 1; 641s # guint emits_changed_signal : 1; 641s # } _ExtendedGDBusPropertyInfo; 641s # 641s # typedef struct 641s # { 641s # GDBusInterfaceInfo parent_struct; 641s # const gchar *hyphen_name; 641s # } _ExtendedGDBusInterfaceInfo; 641s # 641s # typedef struct 641s # { 641s # const _ExtendedGDBusPropertyInfo *info; 641s # guint prop_id; 641s # GValue orig_value; /* the value before the change */ 641s # } ChangedProperty; 641s # 641s # static void 641s # _changed_property_free (ChangedProperty *data) 641s # { 641s # g_value_unset (&data->orig_value); 641s # g_free (data); 641s # } 641s # 641s # static gboolean 641s # _g_strv_equal0 (gchar **a, gchar **b) 641s # { 641s # gboolean ret = FALSE; 641s # guint n; 641s # if (a == NULL && b == NULL) 641s # { 641s # ret = TRUE; 641s # goto out; 641s # } 641s # if (a == NULL || b == NULL) 641s # goto out; 641s # if (g_strv_length (a) != g_strv_length (b)) 641s # goto out; 641s # for (n = 0; a[n] != NULL; n++) 641s # if (g_strcmp0 (a[n], b[n]) != 0) 641s # goto out; 641s # ret = TRUE; 641s # out: 641s # return ret; 641s # } 641s # 641s # static gboolean 641s # _g_variant_equal0 (GVariant *a, GVariant *b) 641s # { 641s # gboolean ret = FALSE; 641s # if (a == NULL && b == NULL) 641s # { 641s # ret = TRUE; 641s # goto out; 641s # } 641s # if (a == NULL || b == NULL) 641s # goto out; 641s # ret = g_variant_equal (a, b); 641s # out: 641s # return ret; 641s # } 641s # 641s # G_GNUC_UNUSED static gboolean 641s # _g_value_equal (const GValue *a, const GValue *b) 641s # { 641s # gboolean ret = FALSE; 641s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 641s # switch (G_VALUE_TYPE (a)) 641s # { 641s # case G_TYPE_BOOLEAN: 641s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 641s # break; 641s # case G_TYPE_UCHAR: 641s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 641s # break; 641s # case G_TYPE_INT: 641s # ret = (g_value_get_int (a) == g_value_get_int (b)); 641s # break; 641s # case G_TYPE_UINT: 641s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 641s # break; 641s # case G_TYPE_INT64: 641s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 641s # break; 641s # case G_TYPE_UINT64: 641s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 641s # break; 641s # case G_TYPE_DOUBLE: 641s # { 641s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 641s # gdouble da = g_value_get_double (a); 641s # gdouble db = g_value_get_double (b); 641s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 641s # } 641s # break; 641s # case G_TYPE_STRING: 641s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 641s # break; 641s # case G_TYPE_VARIANT: 641s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 641s # break; 641s # default: 641s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 641s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 641s # else 641s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 641s # break; 641s # } 641s # return ret; 641s # } 641s # 641s # static void 641s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 641s # GClosure *closure, 641s # GValue *return_value, 641s # unsigned int n_param_values, 641s # const GValue *param_values, 641s # void *invocation_hint G_GNUC_UNUSED, 641s # void *marshal_data) 641s # { 641s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 641s # (void *data1, 641s # GDBusMethodInvocation *arg_method_invocation, 641s # void *data2); 641s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 641s # GCClosure *cc = (GCClosure*) closure; 641s # void *data1, *data2; 641s # gboolean v_return; 641s # 641s # g_return_if_fail (return_value != NULL); 641s # g_return_if_fail (n_param_values == 2); 641s # 641s # if (G_CCLOSURE_SWAP_DATA (closure)) 641s # { 641s # data1 = closure->data; 641s # data2 = g_value_peek_pointer (param_values + 0); 641s # } 641s # else 641s # { 641s # data1 = g_value_peek_pointer (param_values + 0); 641s # data2 = closure->data; 641s # } 641s # 641s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 641s # (marshal_data ? marshal_data : cc->callback); 641s # 641s # v_return = 641s # callback (data1, 641s # g_marshal_value_peek_object (param_values + 1), 641s # data2); 641s # 641s # g_value_set_boolean (return_value, v_return); 641s # } 641s # 641s # /* ------------------------------------------------------------------------ 641s # * Code for interface org.project.Bar.Frobnicator 641s # * ------------------------------------------------------------------------ 641s # */ 641s # 641s # /** 641s # * SECTION:OrgProjectBarFrobnicator 641s # * @title: OrgProjectBarFrobnicator 641s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 641s # * 641s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 641s # */ 641s # 641s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 641s # 641s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 641s # { 641s # { 641s # -1, 641s # (gchar *) "RandomMethod", 641s # NULL, 641s # NULL, 641s # NULL 641s # }, 641s # "handle-random-method", 641s # FALSE 641s # }; 641s # 641s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 641s # { 641s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 641s # NULL 641s # }; 641s # 641s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 641s # { 641s # { 641s # -1, 641s # (gchar *) "org.project.Bar.Frobnicator", 641s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 641s # NULL, 641s # NULL, 641s # NULL 641s # }, 641s # "org-project-bar-frobnicator", 641s # }; 641s # 641s # 641s # /** 641s # * org_project_bar_frobnicator_interface_info: 641s # * 641s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 641s # * 641s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 641s # */ 641s # GDBusInterfaceInfo * 641s # org_project_bar_frobnicator_interface_info (void) 641s # { 641s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 641s # } 641s # 641s # /** 641s # * org_project_bar_frobnicator_override_properties: 641s # * @klass: The class structure for a #GObject derived class. 641s # * @property_id_begin: The property id to assign to the first overridden property. 641s # * 641s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 641s # * The properties are overridden in the order they are defined. 641s # * 641s # * Returns: The last property id. 641s # */ 641s # guint 641s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 641s # { 641s # return property_id_begin - 1; 641s # } 641s # 641s # 641s # inline static void 641s # org_project_bar_frobnicator_method_marshal_random_method ( 641s # GClosure *closure, 641s # GValue *return_value, 641s # unsigned int n_param_values, 641s # const GValue *param_values, 641s # void *invocation_hint, 641s # void *marshal_data) 641s # { 641s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 641s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 641s # } 641s # 641s # 641s # /** 641s # * OrgProjectBarFrobnicator: 641s # * 641s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 641s # */ 641s # 641s # /** 641s # * OrgProjectBarFrobnicatorIface: 641s # * @parent_iface: The parent interface. 641s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 641s # * 641s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 641s # */ 641s # 641s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 641s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 641s # 641s # static void 641s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 641s # { 641s # /* GObject signals for incoming D-Bus method calls: */ 641s # /** 641s # * OrgProjectBarFrobnicator::handle-random-method: 641s # * @object: A #OrgProjectBarFrobnicator. 641s # * @invocation: A #GDBusMethodInvocation. 641s # * 641s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 641s # * 641s # * 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. 641s # * 641s # * 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. 641s # */ 641s # g_signal_new ("handle-random-method", 641s # G_TYPE_FROM_INTERFACE (iface), 641s # G_SIGNAL_RUN_LAST, 641s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 641s # g_signal_accumulator_true_handled, 641s # NULL, 641s # org_project_bar_frobnicator_method_marshal_random_method, 641s # G_TYPE_BOOLEAN, 641s # 1, 641s # G_TYPE_DBUS_METHOD_INVOCATION); 641s # 641s # } 641s # 641s # /** 641s # * org_project_bar_frobnicator_call_random_method: 641s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 641s # * @user_data: User data to pass to @callback. 641s # * 641s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 641s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 641s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 641s # * 641s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 641s # */ 641s # void 641s # org_project_bar_frobnicator_call_random_method ( 641s # OrgProjectBarFrobnicator *proxy, 641s # GCancellable *cancellable, 641s # GAsyncReadyCallback callback, 641s # gpointer user_data) 641s # { 641s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 641s # "RandomMethod", 641s # g_variant_new ("()"), 641s # G_DBUS_CALL_FLAGS_NONE, 641s # -1, 641s # cancellable, 641s # callback, 641s # user_data); 641s # } 641s # 641s # /** 641s # * org_project_bar_frobnicator_call_random_method_finish: 641s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 641s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 641s # * @error: Return location for error or %NULL. 641s # * 641s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 641s # * 641s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 641s # */ 641s # gboolean 641s # org_project_bar_frobnicator_call_random_method_finish ( 641s # OrgProjectBarFrobnicator *proxy, 641s # GAsyncResult *res, 641s # GError **error) 641s # { 641s # GVariant *_ret; 641s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 641s # if (_ret == NULL) 641s # goto _out; 641s # g_variant_get (_ret, 641s # "()"); 641s # g_variant_unref (_ret); 641s # _out: 641s # return _ret != NULL; 641s # } 641s # 641s # /** 641s # * org_project_bar_frobnicator_call_random_method_sync: 641s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @error: Return location for error or %NULL. 641s # * 641s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 641s # * 641s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 641s # * 641s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 641s # */ 641s # gboolean 641s # org_project_bar_frobnicator_call_random_method_sync ( 641s # OrgProjectBarFrobnicator *proxy, 641s # GCancellable *cancellable, 641s # GError **error) 641s # { 641s # GVariant *_ret; 641s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 641s # "RandomMethod", 641s # g_variant_new ("()"), 641s # G_DBUS_CALL_FLAGS_NONE, 641s # -1, 641s # cancellable, 641s # error); 641s # if (_ret == NULL) 641s # goto _out; 641s # g_variant_get (_ret, 641s # "()"); 641s # g_variant_unref (_ret); 641s # _out: 641s # return _ret != NULL; 641s # } 641s # 641s # /** 641s # * org_project_bar_frobnicator_complete_random_method: 641s # * @object: A #OrgProjectBarFrobnicator. 641s # * @invocation: (transfer full): A #GDBusMethodInvocation. 641s # * 641s # * 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. 641s # * 641s # * This method will free @invocation, you cannot use it afterwards. 641s # */ 641s # void 641s # org_project_bar_frobnicator_complete_random_method ( 641s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 641s # GDBusMethodInvocation *invocation) 641s # { 641s # g_dbus_method_invocation_return_value (invocation, 641s # g_variant_new ("()")); 641s # } 641s # 641s # /* ------------------------------------------------------------------------ */ 641s # 641s # /** 641s # * OrgProjectBarFrobnicatorProxy: 641s # * 641s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 641s # */ 641s # 641s # /** 641s # * OrgProjectBarFrobnicatorProxyClass: 641s # * @parent_class: The parent class. 641s # * 641s # * Class structure for #OrgProjectBarFrobnicatorProxy. 641s # */ 641s # 641s # struct _OrgProjectBarFrobnicatorProxyPrivate 641s # { 641s # GData *qdata; 641s # }; 641s # 641s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 641s # 641s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 641s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 641s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 641s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 641s # 641s # #else 641s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 641s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 641s # 641s # #endif 641s # static void 641s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 641s # { 641s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 641s # g_datalist_clear (&proxy->priv->qdata); 641s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 641s # } 641s # 641s # static void 641s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 641s # guint prop_id G_GNUC_UNUSED, 641s # GValue *value G_GNUC_UNUSED, 641s # GParamSpec *pspec G_GNUC_UNUSED) 641s # { 641s # } 641s # 641s # static void 641s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 641s # guint prop_id G_GNUC_UNUSED, 641s # const GValue *value G_GNUC_UNUSED, 641s # GParamSpec *pspec G_GNUC_UNUSED) 641s # { 641s # } 641s # 641s # static void 641s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 641s # const gchar *sender_name G_GNUC_UNUSED, 641s # const gchar *signal_name, 641s # GVariant *parameters) 641s # { 641s # _ExtendedGDBusSignalInfo *info; 641s # GVariantIter iter; 641s # GVariant *child; 641s # GValue *paramv; 641s # gsize num_params; 641s # gsize n; 641s # guint signal_id; 641s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 641s # if (info == NULL) 641s # return; 641s # num_params = g_variant_n_children (parameters); 641s # paramv = g_new0 (GValue, num_params + 1); 641s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 641s # g_value_set_object (¶mv[0], proxy); 641s # g_variant_iter_init (&iter, parameters); 641s # n = 1; 641s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 641s # { 641s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 641s # if (arg_info->use_gvariant) 641s # { 641s # g_value_init (¶mv[n], G_TYPE_VARIANT); 641s # g_value_set_variant (¶mv[n], child); 641s # n++; 641s # } 641s # else 641s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 641s # g_variant_unref (child); 641s # } 641s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 641s # g_signal_emitv (paramv, signal_id, 0, NULL); 641s # for (n = 0; n < num_params + 1; n++) 641s # g_value_unset (¶mv[n]); 641s # g_free (paramv); 641s # } 641s # 641s # static void 641s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 641s # GVariant *changed_properties, 641s # const gchar *const *invalidated_properties) 641s # { 641s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 641s # guint n; 641s # const gchar *key; 641s # GVariantIter *iter; 641s # _ExtendedGDBusPropertyInfo *info; 641s # g_variant_get (changed_properties, "a{sv}", &iter); 641s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 641s # { 641s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 641s # g_datalist_remove_data (&proxy->priv->qdata, key); 641s # if (info != NULL) 641s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 641s # } 641s # g_variant_iter_free (iter); 641s # for (n = 0; invalidated_properties[n] != NULL; n++) 641s # { 641s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 641s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 641s # if (info != NULL) 641s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 641s # } 641s # } 641s # 641s # static void 641s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 641s # { 641s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 641s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 641s # #else 641s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 641s # #endif 641s # 641s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 641s # } 641s # 641s # static void 641s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 641s # { 641s # GObjectClass *gobject_class; 641s # GDBusProxyClass *proxy_class; 641s # 641s # gobject_class = G_OBJECT_CLASS (klass); 641s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 641s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 641s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 641s # 641s # proxy_class = G_DBUS_PROXY_CLASS (klass); 641s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 641s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 641s # 641s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 641s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 641s # #endif 641s # } 641s # 641s # static void 641s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 641s # { 641s # } 641s # 641s # /** 641s # * org_project_bar_frobnicator_proxy_new: 641s # * @connection: A #GDBusConnection. 641s # * @flags: Flags from the #GDBusProxyFlags enumeration. 641s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 641s # * @object_path: An object path. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 641s # * @user_data: User data to pass to @callback. 641s # * 641s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 641s # * 641s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 641s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 641s # * 641s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 641s # */ 641s # void 641s # org_project_bar_frobnicator_proxy_new ( 641s # GDBusConnection *connection, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GAsyncReadyCallback callback, 641s # gpointer user_data) 641s # { 641s # 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); 641s # } 641s # 641s # /** 641s # * org_project_bar_frobnicator_proxy_new_finish: 641s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 641s # * @error: Return location for error or %NULL 641s # * 641s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 641s # * 641s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 641s # */ 641s # OrgProjectBarFrobnicator * 641s # org_project_bar_frobnicator_proxy_new_finish ( 641s # GAsyncResult *res, 641s # GError **error) 641s # { 641s # GObject *ret; 641s # GObject *source_object; 641s # source_object = g_async_result_get_source_object (res); 641s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 641s # g_object_unref (source_object); 641s # if (ret != NULL) 641s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 641s # else 641s # return NULL; 641s # } 641s # 641s # /** 641s # * org_project_bar_frobnicator_proxy_new_sync: 641s # * @connection: A #GDBusConnection. 641s # * @flags: Flags from the #GDBusProxyFlags enumeration. 641s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 641s # * @object_path: An object path. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @error: Return location for error or %NULL 641s # * 641s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 641s # * 641s # * The calling thread is blocked until a reply is received. 641s # * 641s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 641s # * 641s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 641s # */ 641s # OrgProjectBarFrobnicator * 641s # org_project_bar_frobnicator_proxy_new_sync ( 641s # GDBusConnection *connection, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GError **error) 641s # { 641s # GInitable *ret; 641s # 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); 641s # if (ret != NULL) 641s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 641s # else 641s # return NULL; 641s # } 641s # 641s # 641s # /** 641s # * org_project_bar_frobnicator_proxy_new_for_bus: 641s # * @bus_type: A #GBusType. 641s # * @flags: Flags from the #GDBusProxyFlags enumeration. 641s # * @name: A bus name (well-known or unique). 641s # * @object_path: An object path. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 641s # * @user_data: User data to pass to @callback. 641s # * 641s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 641s # * 641s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 641s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 641s # * 641s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 641s # */ 641s # void 641s # org_project_bar_frobnicator_proxy_new_for_bus ( 641s # GBusType bus_type, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GAsyncReadyCallback callback, 641s # gpointer user_data) 641s # { 641s # 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); 641s # } 641s # 641s # /** 641s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 641s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 641s # * @error: Return location for error or %NULL 641s # * 641s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 641s # * 641s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 641s # */ 641s # OrgProjectBarFrobnicator * 641s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 641s # GAsyncResult *res, 641s # GError **error) 641s # { 641s # GObject *ret; 641s # GObject *source_object; 641s # source_object = g_async_result_get_source_object (res); 641s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 641s # g_object_unref (source_object); 641s # if (ret != NULL) 641s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 641s # else 641s # return NULL; 641s # } 641s # 641s # /** 641s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 641s # * @bus_type: A #GBusType. 641s # * @flags: Flags from the #GDBusProxyFlags enumeration. 641s # * @name: A bus name (well-known or unique). 641s # * @object_path: An object path. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @error: Return location for error or %NULL 641s # * 641s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 641s # * 641s # * The calling thread is blocked until a reply is received. 641s # * 641s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 641s # * 641s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 641s # */ 641s # OrgProjectBarFrobnicator * 641s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 641s # GBusType bus_type, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GError **error) 641s # { 641s # GInitable *ret; 641s # 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); 641s # if (ret != NULL) 641s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 641s # else 641s # return NULL; 641s # } 641s # 641s # 641s # /* ------------------------------------------------------------------------ */ 641s # 641s # /** 641s # * OrgProjectBarFrobnicatorSkeleton: 641s # * 641s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 641s # */ 641s # 641s # /** 641s # * OrgProjectBarFrobnicatorSkeletonClass: 641s # * @parent_class: The parent class. 641s # * 641s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 641s # */ 641s # 641s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 641s # { 641s # GValue *properties; 641s # GList *changed_properties; 641s # GSource *changed_properties_idle_source; 641s # GMainContext *context; 641s # GMutex lock; 641s # }; 641s # 641s # static void 641s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 641s # GDBusConnection *connection G_GNUC_UNUSED, 641s # const gchar *sender G_GNUC_UNUSED, 641s # const gchar *object_path G_GNUC_UNUSED, 641s # const gchar *interface_name, 641s # const gchar *method_name, 641s # GVariant *parameters, 641s # GDBusMethodInvocation *invocation, 641s # gpointer user_data) 641s # { 641s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 641s # _ExtendedGDBusMethodInfo *info; 641s # GVariantIter iter; 641s # GVariant *child; 641s # GValue *paramv; 641s # gsize num_params; 641s # guint num_extra; 641s # gsize n; 641s # guint signal_id; 641s # GValue return_value = G_VALUE_INIT; 641s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 641s # g_assert (info != NULL); 641s # num_params = g_variant_n_children (parameters); 641s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 641s # n = 0; 641s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 641s # g_value_set_object (¶mv[n++], skeleton); 641s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 641s # g_value_set_object (¶mv[n++], invocation); 641s # if (info->pass_fdlist) 641s # { 641s # #ifdef G_OS_UNIX 641s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 641s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 641s # #else 641s # g_assert_not_reached (); 641s # #endif 641s # } 641s # g_variant_iter_init (&iter, parameters); 641s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 641s # { 641s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 641s # if (arg_info->use_gvariant) 641s # { 641s # g_value_init (¶mv[n], G_TYPE_VARIANT); 641s # g_value_set_variant (¶mv[n], child); 641s # n++; 641s # } 641s # else 641s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 641s # g_variant_unref (child); 641s # } 641s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 641s # g_value_init (&return_value, G_TYPE_BOOLEAN); 641s # g_signal_emitv (paramv, signal_id, 0, &return_value); 641s # if (!g_value_get_boolean (&return_value)) 641s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 641s # g_value_unset (&return_value); 641s # for (n = 0; n < num_params + num_extra; n++) 641s # g_value_unset (¶mv[n]); 641s # g_free (paramv); 641s # } 641s # 641s # static GVariant * 641s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 641s # GDBusConnection *connection G_GNUC_UNUSED, 641s # const gchar *sender G_GNUC_UNUSED, 641s # const gchar *object_path G_GNUC_UNUSED, 641s # const gchar *interface_name G_GNUC_UNUSED, 641s # const gchar *property_name, 641s # GError **error, 641s # gpointer user_data) 641s # { 641s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 641s # GValue value = G_VALUE_INIT; 641s # GParamSpec *pspec; 641s # _ExtendedGDBusPropertyInfo *info; 641s # GVariant *ret; 641s # ret = NULL; 641s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 641s # g_assert (info != NULL); 641s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 641s # if (pspec == NULL) 641s # { 641s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 641s # } 641s # else 641s # { 641s # g_value_init (&value, pspec->value_type); 641s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 641s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 641s # g_value_unset (&value); 641s # } 641s # return ret; 641s # } 641s # 641s # static gboolean 641s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 641s # GDBusConnection *connection G_GNUC_UNUSED, 641s # const gchar *sender G_GNUC_UNUSED, 641s # const gchar *object_path G_GNUC_UNUSED, 641s # const gchar *interface_name G_GNUC_UNUSED, 641s # const gchar *property_name, 641s # GVariant *variant, 641s # GError **error, 641s # gpointer user_data) 641s # { 641s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 641s # GValue value = G_VALUE_INIT; 641s # GParamSpec *pspec; 641s # _ExtendedGDBusPropertyInfo *info; 641s # gboolean ret; 641s # ret = FALSE; 641s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 641s # g_assert (info != NULL); 641s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 641s # if (pspec == NULL) 641s # { 641s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 641s # } 641s # else 641s # { 641s # if (info->use_gvariant) 641s # g_value_set_variant (&value, variant); 641s # else 641s # g_dbus_gvariant_to_gvalue (variant, &value); 641s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 641s # g_value_unset (&value); 641s # ret = TRUE; 641s # } 641s # return ret; 641s # } 641s # 641s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 641s # { 641s # _org_project_bar_frobnicator_skeleton_handle_method_call, 641s # _org_project_bar_frobnicator_skeleton_handle_get_property, 641s # _org_project_bar_frobnicator_skeleton_handle_set_property, 641s # {NULL} 641s # }; 641s # 641s # static GDBusInterfaceInfo * 641s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 641s # { 641s # return org_project_bar_frobnicator_interface_info (); 641s # } 641s # 641s # static GDBusInterfaceVTable * 641s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 641s # { 641s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 641s # } 641s # 641s # static GVariant * 641s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 641s # { 641s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 641s # 641s # GVariantBuilder builder; 641s # guint n; 641s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 641s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 641s # goto out; 641s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 641s # { 641s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 641s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 641s # { 641s # GVariant *value; 641s # 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); 641s # if (value != NULL) 641s # { 641s # g_variant_take_ref (value); 641s # g_variant_builder_add (&builder, "{sv}", info->name, value); 641s # g_variant_unref (value); 641s # } 641s # } 641s # } 641s # out: 641s # return g_variant_builder_end (&builder); 641s # } 641s # 641s # static void 641s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 641s # { 641s # } 641s # 641s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 641s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 641s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 641s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 641s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 641s # 641s # #else 641s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 641s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 641s # 641s # #endif 641s # static void 641s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 641s # { 641s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 641s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 641s # if (skeleton->priv->changed_properties_idle_source != NULL) 641s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 641s # g_main_context_unref (skeleton->priv->context); 641s # g_mutex_clear (&skeleton->priv->lock); 641s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 641s # } 641s # 641s # static void 641s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 641s # { 641s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 641s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 641s # #else 641s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 641s # #endif 641s # 641s # g_mutex_init (&skeleton->priv->lock); 641s # skeleton->priv->context = g_main_context_ref_thread_default (); 641s # } 641s # 641s # static void 641s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 641s # { 641s # GObjectClass *gobject_class; 641s # GDBusInterfaceSkeletonClass *skeleton_class; 641s # 641s # gobject_class = G_OBJECT_CLASS (klass); 641s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 641s # 641s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 641s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 641s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 641s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 641s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 641s # 641s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 641s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 641s # #endif 641s # } 641s # 641s # static void 641s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 641s # { 641s # } 641s # 641s # /** 641s # * org_project_bar_frobnicator_skeleton_new: 641s # * 641s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 641s # * 641s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 641s # */ 641s # OrgProjectBarFrobnicator * 641s # org_project_bar_frobnicator_skeleton_new (void) 641s # { 641s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 641s # } 641s # 641s # /* ------------------------------------------------------------------------ 641s # * Code for interface com.acme.Coyote 641s # * ------------------------------------------------------------------------ 641s # */ 641s # 641s # /** 641s # * SECTION:ComAcmeCoyote 641s # * @title: ComAcmeCoyote 641s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 641s # * 641s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 641s # */ 641s # 641s # enum 641s # { 641s # _COM_ACME_COYOTE_SURPRISED, 641s # }; 641s # 641s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 641s # 641s # /* ---- Introspection data for com.acme.Coyote ---- */ 641s # 641s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 641s # { 641s # { 641s # -1, 641s # (gchar *) "Run", 641s # NULL, 641s # NULL, 641s # NULL 641s # }, 641s # "handle-run", 641s # FALSE 641s # }; 641s # 641s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 641s # { 641s # { 641s # -1, 641s # (gchar *) "Sleep", 641s # NULL, 641s # NULL, 641s # NULL 641s # }, 641s # "handle-sleep", 641s # FALSE 641s # }; 641s # 641s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 641s # { 641s # { 641s # -1, 641s # (gchar *) "Attack", 641s # NULL, 641s # NULL, 641s # NULL 641s # }, 641s # "handle-attack", 641s # FALSE 641s # }; 641s # 641s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 641s # { 641s # &_com_acme_coyote_method_info_run.parent_struct, 641s # &_com_acme_coyote_method_info_sleep.parent_struct, 641s # &_com_acme_coyote_method_info_attack.parent_struct, 641s # NULL 641s # }; 641s # 641s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 641s # { 641s # { 641s # -1, 641s # (gchar *) "Surprised", 641s # NULL, 641s # NULL 641s # }, 641s # "surprised" 641s # }; 641s # 641s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 641s # { 641s # &_com_acme_coyote_signal_info_surprised.parent_struct, 641s # NULL 641s # }; 641s # 641s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 641s # { 641s # { 641s # -1, 641s # (gchar *) "Mood", 641s # (gchar *) "s", 641s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 641s # NULL 641s # }, 641s # "mood", 641s # FALSE, 641s # TRUE 641s # }; 641s # 641s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 641s # { 641s # &_com_acme_coyote_property_info_mood.parent_struct, 641s # NULL 641s # }; 641s # 641s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 641s # { 641s # { 641s # -1, 641s # (gchar *) "com.acme.Coyote", 641s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 641s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 641s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 641s # NULL 641s # }, 641s # "com-acme-coyote", 641s # }; 641s # 641s # 641s # /** 641s # * com_acme_coyote_interface_info: 641s # * 641s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 641s # * 641s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 641s # */ 641s # GDBusInterfaceInfo * 641s # com_acme_coyote_interface_info (void) 641s # { 641s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 641s # } 641s # 641s # /** 641s # * com_acme_coyote_override_properties: 641s # * @klass: The class structure for a #GObject derived class. 641s # * @property_id_begin: The property id to assign to the first overridden property. 641s # * 641s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 641s # * The properties are overridden in the order they are defined. 641s # * 641s # * Returns: The last property id. 641s # */ 641s # guint 641s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 641s # { 641s # g_object_class_override_property (klass, property_id_begin++, "mood"); 641s # return property_id_begin - 1; 641s # } 641s # 641s # 641s # inline static void 641s # com_acme_coyote_signal_marshal_surprised ( 641s # GClosure *closure, 641s # GValue *return_value, 641s # unsigned int n_param_values, 641s # const GValue *param_values, 641s # void *invocation_hint, 641s # void *marshal_data) 641s # { 641s # g_cclosure_marshal_VOID__VOID (closure, 641s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 641s # } 641s # 641s # inline static void 641s # com_acme_coyote_method_marshal_run ( 641s # GClosure *closure, 641s # GValue *return_value, 641s # unsigned int n_param_values, 641s # const GValue *param_values, 641s # void *invocation_hint, 641s # void *marshal_data) 641s # { 641s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 641s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 641s # } 641s # 641s # inline static void 641s # com_acme_coyote_method_marshal_sleep ( 641s # GClosure *closure, 641s # GValue *return_value, 641s # unsigned int n_param_values, 641s # const GValue *param_values, 641s # void *invocation_hint, 641s # void *marshal_data) 641s # { 641s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 641s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 641s # } 641s # 641s # inline static void 641s # com_acme_coyote_method_marshal_attack ( 641s # GClosure *closure, 641s # GValue *return_value, 641s # unsigned int n_param_values, 641s # const GValue *param_values, 641s # void *invocation_hint, 641s # void *marshal_data) 641s # { 641s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 641s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 641s # } 641s # 641s # 641s # /** 641s # * ComAcmeCoyote: 641s # * 641s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 641s # */ 641s # 641s # /** 641s # * ComAcmeCoyoteIface: 641s # * @parent_iface: The parent interface. 641s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 641s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 641s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 641s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 641s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 641s # * 641s # * Virtual table for the D-Bus interface com.acme.Coyote. 641s # */ 641s # 641s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 641s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 641s # 641s # static void 641s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 641s # { 641s # /* GObject signals for incoming D-Bus method calls: */ 641s # /** 641s # * ComAcmeCoyote::handle-run: 641s # * @object: A #ComAcmeCoyote. 641s # * @invocation: A #GDBusMethodInvocation. 641s # * 641s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 641s # * 641s # * 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. 641s # * 641s # * 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. 641s # */ 641s # g_signal_new ("handle-run", 641s # G_TYPE_FROM_INTERFACE (iface), 641s # G_SIGNAL_RUN_LAST, 641s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 641s # g_signal_accumulator_true_handled, 641s # NULL, 641s # com_acme_coyote_method_marshal_run, 641s # G_TYPE_BOOLEAN, 641s # 1, 641s # G_TYPE_DBUS_METHOD_INVOCATION); 641s # 641s # /** 641s # * ComAcmeCoyote::handle-sleep: 641s # * @object: A #ComAcmeCoyote. 641s # * @invocation: A #GDBusMethodInvocation. 641s # * 641s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 641s # * 641s # * 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. 641s # * 641s # * 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. 641s # */ 641s # g_signal_new ("handle-sleep", 641s # G_TYPE_FROM_INTERFACE (iface), 641s # G_SIGNAL_RUN_LAST, 641s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 641s # g_signal_accumulator_true_handled, 641s # NULL, 641s # com_acme_coyote_method_marshal_sleep, 641s # G_TYPE_BOOLEAN, 641s # 1, 641s # G_TYPE_DBUS_METHOD_INVOCATION); 641s # 641s # /** 641s # * ComAcmeCoyote::handle-attack: 641s # * @object: A #ComAcmeCoyote. 641s # * @invocation: A #GDBusMethodInvocation. 641s # * 641s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 641s # * 641s # * 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. 641s # * 641s # * 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. 641s # */ 641s # g_signal_new ("handle-attack", 641s # G_TYPE_FROM_INTERFACE (iface), 641s # G_SIGNAL_RUN_LAST, 641s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 641s # g_signal_accumulator_true_handled, 641s # NULL, 641s # com_acme_coyote_method_marshal_attack, 641s # G_TYPE_BOOLEAN, 641s # 1, 641s # G_TYPE_DBUS_METHOD_INVOCATION); 641s # 641s # /* GObject signals for received D-Bus signals: */ 641s # /** 641s # * ComAcmeCoyote::surprised: 641s # * @object: A #ComAcmeCoyote. 641s # * 641s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 641s # * 641s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 641s # */ 641s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 641s # g_signal_new ("surprised", 641s # G_TYPE_FROM_INTERFACE (iface), 641s # G_SIGNAL_RUN_LAST, 641s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 641s # NULL, 641s # NULL, 641s # com_acme_coyote_signal_marshal_surprised, 641s # G_TYPE_NONE, 641s # 0); 641s # 641s # /* GObject properties for D-Bus properties: */ 641s # /** 641s # * ComAcmeCoyote:mood: 641s # * 641s # * Represents the D-Bus property "Mood". 641s # * 641s # * 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. 641s # */ 641s # g_object_interface_install_property (iface, 641s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 641s # } 641s # 641s # /** 641s # * com_acme_coyote_get_mood: (skip) 641s # * @object: A #ComAcmeCoyote. 641s # * 641s # * Gets the value of the "Mood" D-Bus property. 641s # * 641s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 641s # * 641s # * 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. 641s # * 641s # * 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. 641s # */ 641s # const gchar * 641s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 641s # { 641s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 641s # 641s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 641s # } 641s # 641s # /** 641s # * com_acme_coyote_dup_mood: (skip) 641s # * @object: A #ComAcmeCoyote. 641s # * 641s # * Gets a copy of the "Mood" D-Bus property. 641s # * 641s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 641s # * 641s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 641s # */ 641s # gchar * 641s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 641s # { 641s # gchar *value; 641s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 641s # return value; 641s # } 641s # 641s # /** 641s # * com_acme_coyote_set_mood: (skip) 641s # * @object: A #ComAcmeCoyote. 641s # * @value: The value to set. 641s # * 641s # * Sets the "Mood" D-Bus property to @value. 641s # * 641s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 641s # */ 641s # void 641s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 641s # { 641s # g_object_set (G_OBJECT (object), "mood", value, NULL); 641s # } 641s # 641s # /** 641s # * com_acme_coyote_emit_surprised: 641s # * @object: A #ComAcmeCoyote. 641s # * 641s # * Emits the "Surprised" D-Bus signal. 641s # */ 641s # void 641s # com_acme_coyote_emit_surprised ( 641s # ComAcmeCoyote *object) 641s # { 641s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 641s # } 641s # 641s # /** 641s # * com_acme_coyote_call_run: 641s # * @proxy: A #ComAcmeCoyoteProxy. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 641s # * @user_data: User data to pass to @callback. 641s # * 641s # * Asynchronously invokes the Run() D-Bus method on @proxy. 641s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 641s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 641s # * 641s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 641s # */ 641s # void 641s # com_acme_coyote_call_run ( 641s # ComAcmeCoyote *proxy, 641s # GCancellable *cancellable, 641s # GAsyncReadyCallback callback, 641s # gpointer user_data) 641s # { 641s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 641s # "Run", 641s # g_variant_new ("()"), 641s # G_DBUS_CALL_FLAGS_NONE, 641s # -1, 641s # cancellable, 641s # callback, 641s # user_data); 641s # } 641s # 641s # /** 641s # * com_acme_coyote_call_run_finish: 641s # * @proxy: A #ComAcmeCoyoteProxy. 641s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 641s # * @error: Return location for error or %NULL. 641s # * 641s # * Finishes an operation started with com_acme_coyote_call_run(). 641s # * 641s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 641s # */ 641s # gboolean 641s # com_acme_coyote_call_run_finish ( 641s # ComAcmeCoyote *proxy, 641s # GAsyncResult *res, 641s # GError **error) 641s # { 641s # GVariant *_ret; 641s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 641s # if (_ret == NULL) 641s # goto _out; 641s # g_variant_get (_ret, 641s # "()"); 641s # g_variant_unref (_ret); 641s # _out: 641s # return _ret != NULL; 641s # } 641s # 641s # /** 641s # * com_acme_coyote_call_run_sync: 641s # * @proxy: A #ComAcmeCoyoteProxy. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @error: Return location for error or %NULL. 641s # * 641s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 641s # * 641s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 641s # * 641s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 641s # */ 641s # gboolean 641s # com_acme_coyote_call_run_sync ( 641s # ComAcmeCoyote *proxy, 641s # GCancellable *cancellable, 641s # GError **error) 641s # { 641s # GVariant *_ret; 641s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 641s # "Run", 641s # g_variant_new ("()"), 641s # G_DBUS_CALL_FLAGS_NONE, 641s # -1, 641s # cancellable, 641s # error); 641s # if (_ret == NULL) 641s # goto _out; 641s # g_variant_get (_ret, 641s # "()"); 641s # g_variant_unref (_ret); 641s # _out: 641s # return _ret != NULL; 641s # } 641s # 641s # /** 641s # * com_acme_coyote_call_sleep: 641s # * @proxy: A #ComAcmeCoyoteProxy. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 641s # * @user_data: User data to pass to @callback. 641s # * 641s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 641s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 641s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 641s # * 641s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 641s # */ 641s # void 641s # com_acme_coyote_call_sleep ( 641s # ComAcmeCoyote *proxy, 641s # GCancellable *cancellable, 641s # GAsyncReadyCallback callback, 641s # gpointer user_data) 641s # { 641s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 641s # "Sleep", 641s # g_variant_new ("()"), 641s # G_DBUS_CALL_FLAGS_NONE, 641s # -1, 641s # cancellable, 641s # callback, 641s # user_data); 641s # } 641s # 641s # /** 641s # * com_acme_coyote_call_sleep_finish: 641s # * @proxy: A #ComAcmeCoyoteProxy. 641s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 641s # * @error: Return location for error or %NULL. 641s # * 641s # * Finishes an operation started with com_acme_coyote_call_sleep(). 641s # * 641s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 641s # */ 641s # gboolean 641s # com_acme_coyote_call_sleep_finish ( 641s # ComAcmeCoyote *proxy, 641s # GAsyncResult *res, 641s # GError **error) 641s # { 641s # GVariant *_ret; 641s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 641s # if (_ret == NULL) 641s # goto _out; 641s # g_variant_get (_ret, 641s # "()"); 641s # g_variant_unref (_ret); 641s # _out: 641s # return _ret != NULL; 641s # } 641s # 641s # /** 641s # * com_acme_coyote_call_sleep_sync: 641s # * @proxy: A #ComAcmeCoyoteProxy. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @error: Return location for error or %NULL. 641s # * 641s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 641s # * 641s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 641s # * 641s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 641s # */ 641s # gboolean 641s # com_acme_coyote_call_sleep_sync ( 641s # ComAcmeCoyote *proxy, 641s # GCancellable *cancellable, 641s # GError **error) 641s # { 641s # GVariant *_ret; 641s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 641s # "Sleep", 641s # g_variant_new ("()"), 641s # G_DBUS_CALL_FLAGS_NONE, 641s # -1, 641s # cancellable, 641s # error); 641s # if (_ret == NULL) 641s # goto _out; 641s # g_variant_get (_ret, 641s # "()"); 641s # g_variant_unref (_ret); 641s # _out: 641s # return _ret != NULL; 641s # } 641s # 641s # /** 641s # * com_acme_coyote_call_attack: 641s # * @proxy: A #ComAcmeCoyoteProxy. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 641s # * @user_data: User data to pass to @callback. 641s # * 641s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 641s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 641s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 641s # * 641s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 641s # */ 641s # void 641s # com_acme_coyote_call_attack ( 641s # ComAcmeCoyote *proxy, 641s # GCancellable *cancellable, 641s # GAsyncReadyCallback callback, 641s # gpointer user_data) 641s # { 641s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 641s # "Attack", 641s # g_variant_new ("()"), 641s # G_DBUS_CALL_FLAGS_NONE, 641s # -1, 641s # cancellable, 641s # callback, 641s # user_data); 641s # } 641s # 641s # /** 641s # * com_acme_coyote_call_attack_finish: 641s # * @proxy: A #ComAcmeCoyoteProxy. 641s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 641s # * @error: Return location for error or %NULL. 641s # * 641s # * Finishes an operation started with com_acme_coyote_call_attack(). 641s # * 641s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 641s # */ 641s # gboolean 641s # com_acme_coyote_call_attack_finish ( 641s # ComAcmeCoyote *proxy, 641s # GAsyncResult *res, 641s # GError **error) 641s # { 641s # GVariant *_ret; 641s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 641s # if (_ret == NULL) 641s # goto _out; 641s # g_variant_get (_ret, 641s # "()"); 641s # g_variant_unref (_ret); 641s # _out: 641s # return _ret != NULL; 641s # } 641s # 641s # /** 641s # * com_acme_coyote_call_attack_sync: 641s # * @proxy: A #ComAcmeCoyoteProxy. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @error: Return location for error or %NULL. 641s # * 641s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 641s # * 641s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 641s # * 641s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 641s # */ 641s # gboolean 641s # com_acme_coyote_call_attack_sync ( 641s # ComAcmeCoyote *proxy, 641s # GCancellable *cancellable, 641s # GError **error) 641s # { 641s # GVariant *_ret; 641s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 641s # "Attack", 641s # g_variant_new ("()"), 641s # G_DBUS_CALL_FLAGS_NONE, 641s # -1, 641s # cancellable, 641s # error); 641s # if (_ret == NULL) 641s # goto _out; 641s # g_variant_get (_ret, 641s # "()"); 641s # g_variant_unref (_ret); 641s # _out: 641s # return _ret != NULL; 641s # } 641s # 641s # /** 641s # * com_acme_coyote_complete_run: 641s # * @object: A #ComAcmeCoyote. 641s # * @invocation: (transfer full): A #GDBusMethodInvocation. 641s # * 641s # * 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. 641s # * 641s # * This method will free @invocation, you cannot use it afterwards. 641s # */ 641s # void 641s # com_acme_coyote_complete_run ( 641s # ComAcmeCoyote *object G_GNUC_UNUSED, 641s # GDBusMethodInvocation *invocation) 641s # { 641s # g_dbus_method_invocation_return_value (invocation, 641s # g_variant_new ("()")); 641s # } 641s # 641s # /** 641s # * com_acme_coyote_complete_sleep: 641s # * @object: A #ComAcmeCoyote. 641s # * @invocation: (transfer full): A #GDBusMethodInvocation. 641s # * 641s # * 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. 641s # * 641s # * This method will free @invocation, you cannot use it afterwards. 641s # */ 641s # void 641s # com_acme_coyote_complete_sleep ( 641s # ComAcmeCoyote *object G_GNUC_UNUSED, 641s # GDBusMethodInvocation *invocation) 641s # { 641s # g_dbus_method_invocation_return_value (invocation, 641s # g_variant_new ("()")); 641s # } 641s # 641s # /** 641s # * com_acme_coyote_complete_attack: 641s # * @object: A #ComAcmeCoyote. 641s # * @invocation: (transfer full): A #GDBusMethodInvocation. 641s # * 641s # * 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. 641s # * 641s # * This method will free @invocation, you cannot use it afterwards. 641s # */ 641s # void 641s # com_acme_coyote_complete_attack ( 641s # ComAcmeCoyote *object G_GNUC_UNUSED, 641s # GDBusMethodInvocation *invocation) 641s # { 641s # g_dbus_method_invocation_return_value (invocation, 641s # g_variant_new ("()")); 641s # } 641s # 641s # /* ------------------------------------------------------------------------ */ 641s # 641s # /** 641s # * ComAcmeCoyoteProxy: 641s # * 641s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 641s # */ 641s # 641s # /** 641s # * ComAcmeCoyoteProxyClass: 641s # * @parent_class: The parent class. 641s # * 641s # * Class structure for #ComAcmeCoyoteProxy. 641s # */ 641s # 641s # struct _ComAcmeCoyoteProxyPrivate 641s # { 641s # GData *qdata; 641s # }; 641s # 641s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 641s # 641s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 641s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 641s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 641s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 641s # 641s # #else 641s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 641s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 641s # 641s # #endif 641s # static void 641s # com_acme_coyote_proxy_finalize (GObject *object) 641s # { 641s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 641s # g_datalist_clear (&proxy->priv->qdata); 641s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 641s # } 641s # 641s # static void 641s # com_acme_coyote_proxy_get_property (GObject *object, 641s # guint prop_id, 641s # GValue *value, 641s # GParamSpec *pspec G_GNUC_UNUSED) 641s # { 641s # const _ExtendedGDBusPropertyInfo *info; 641s # GVariant *variant; 641s # g_assert (prop_id != 0 && prop_id - 1 < 1); 641s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 641s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 641s # if (info->use_gvariant) 641s # { 641s # g_value_set_variant (value, variant); 641s # } 641s # else 641s # { 641s # if (variant != NULL) 641s # g_dbus_gvariant_to_gvalue (variant, value); 641s # } 641s # if (variant != NULL) 641s # g_variant_unref (variant); 641s # } 641s # 641s # static void 641s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 641s # GAsyncResult *res, 641s # gpointer user_data) 641s # { 641s # const _ExtendedGDBusPropertyInfo *info = user_data; 641s # GError *error; 641s # GVariant *_ret; 641s # error = NULL; 641s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 641s # if (!_ret) 641s # { 641s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 641s # info->parent_struct.name, 641s # error->message, g_quark_to_string (error->domain), error->code); 641s # g_error_free (error); 641s # } 641s # else 641s # { 641s # g_variant_unref (_ret); 641s # } 641s # } 641s # 641s # static void 641s # com_acme_coyote_proxy_set_property (GObject *object, 641s # guint prop_id, 641s # const GValue *value, 641s # GParamSpec *pspec G_GNUC_UNUSED) 641s # { 641s # const _ExtendedGDBusPropertyInfo *info; 641s # GVariant *variant; 641s # g_assert (prop_id != 0 && prop_id - 1 < 1); 641s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 641s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 641s # g_dbus_proxy_call (G_DBUS_PROXY (object), 641s # "org.freedesktop.DBus.Properties.Set", 641s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 641s # G_DBUS_CALL_FLAGS_NONE, 641s # -1, 641s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 641s # g_variant_unref (variant); 641s # } 641s # 641s # static void 641s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 641s # const gchar *sender_name G_GNUC_UNUSED, 641s # const gchar *signal_name, 641s # GVariant *parameters) 641s # { 641s # _ExtendedGDBusSignalInfo *info; 641s # GVariantIter iter; 641s # GVariant *child; 641s # GValue *paramv; 641s # gsize num_params; 641s # gsize n; 641s # guint signal_id; 641s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 641s # if (info == NULL) 641s # return; 641s # num_params = g_variant_n_children (parameters); 641s # paramv = g_new0 (GValue, num_params + 1); 641s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 641s # g_value_set_object (¶mv[0], proxy); 641s # g_variant_iter_init (&iter, parameters); 641s # n = 1; 641s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 641s # { 641s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 641s # if (arg_info->use_gvariant) 641s # { 641s # g_value_init (¶mv[n], G_TYPE_VARIANT); 641s # g_value_set_variant (¶mv[n], child); 641s # n++; 641s # } 641s # else 641s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 641s # g_variant_unref (child); 641s # } 641s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 641s # g_signal_emitv (paramv, signal_id, 0, NULL); 641s # for (n = 0; n < num_params + 1; n++) 641s # g_value_unset (¶mv[n]); 641s # g_free (paramv); 641s # } 641s # 641s # static void 641s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 641s # GVariant *changed_properties, 641s # const gchar *const *invalidated_properties) 641s # { 641s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 641s # guint n; 641s # const gchar *key; 641s # GVariantIter *iter; 641s # _ExtendedGDBusPropertyInfo *info; 641s # g_variant_get (changed_properties, "a{sv}", &iter); 641s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 641s # { 641s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 641s # g_datalist_remove_data (&proxy->priv->qdata, key); 641s # if (info != NULL) 641s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 641s # } 641s # g_variant_iter_free (iter); 641s # for (n = 0; invalidated_properties[n] != NULL; n++) 641s # { 641s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 641s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 641s # if (info != NULL) 641s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 641s # } 641s # } 641s # 641s # static const gchar * 641s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 641s # { 641s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 641s # GVariant *variant; 641s # const gchar *value = NULL; 641s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 641s # if (variant != NULL) 641s # { 641s # value = g_variant_get_string (variant, NULL); 641s # g_variant_unref (variant); 641s # } 641s # return value; 641s # } 641s # 641s # static void 641s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 641s # { 641s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 641s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 641s # #else 641s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 641s # #endif 641s # 641s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 641s # } 641s # 641s # static void 641s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 641s # { 641s # GObjectClass *gobject_class; 641s # GDBusProxyClass *proxy_class; 641s # 641s # gobject_class = G_OBJECT_CLASS (klass); 641s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 641s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 641s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 641s # 641s # proxy_class = G_DBUS_PROXY_CLASS (klass); 641s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 641s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 641s # 641s # com_acme_coyote_override_properties (gobject_class, 1); 641s # 641s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 641s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 641s # #endif 641s # } 641s # 641s # static void 641s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 641s # { 641s # iface->get_mood = com_acme_coyote_proxy_get_mood; 641s # } 641s # 641s # /** 641s # * com_acme_coyote_proxy_new: 641s # * @connection: A #GDBusConnection. 641s # * @flags: Flags from the #GDBusProxyFlags enumeration. 641s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 641s # * @object_path: An object path. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 641s # * @user_data: User data to pass to @callback. 641s # * 641s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 641s # * 641s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 641s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 641s # * 641s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 641s # */ 641s # void 641s # com_acme_coyote_proxy_new ( 641s # GDBusConnection *connection, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GAsyncReadyCallback callback, 641s # gpointer user_data) 641s # { 641s # 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); 641s # } 641s # 641s # /** 641s # * com_acme_coyote_proxy_new_finish: 641s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 641s # * @error: Return location for error or %NULL 641s # * 641s # * Finishes an operation started with com_acme_coyote_proxy_new(). 641s # * 641s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 641s # */ 641s # ComAcmeCoyote * 641s # com_acme_coyote_proxy_new_finish ( 641s # GAsyncResult *res, 641s # GError **error) 641s # { 641s # GObject *ret; 641s # GObject *source_object; 641s # source_object = g_async_result_get_source_object (res); 641s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 641s # g_object_unref (source_object); 641s # if (ret != NULL) 641s # return COM_ACME_COYOTE (ret); 641s # else 641s # return NULL; 641s # } 641s # 641s # /** 641s # * com_acme_coyote_proxy_new_sync: 641s # * @connection: A #GDBusConnection. 641s # * @flags: Flags from the #GDBusProxyFlags enumeration. 641s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 641s # * @object_path: An object path. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @error: Return location for error or %NULL 641s # * 641s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 641s # * 641s # * The calling thread is blocked until a reply is received. 641s # * 641s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 641s # * 641s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 641s # */ 641s # ComAcmeCoyote * 641s # com_acme_coyote_proxy_new_sync ( 641s # GDBusConnection *connection, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GError **error) 641s # { 641s # GInitable *ret; 641s # 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); 641s # if (ret != NULL) 641s # return COM_ACME_COYOTE (ret); 641s # else 641s # return NULL; 641s # } 641s # 641s # 641s # /** 641s # * com_acme_coyote_proxy_new_for_bus: 641s # * @bus_type: A #GBusType. 641s # * @flags: Flags from the #GDBusProxyFlags enumeration. 641s # * @name: A bus name (well-known or unique). 641s # * @object_path: An object path. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 641s # * @user_data: User data to pass to @callback. 641s # * 641s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 641s # * 641s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 641s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 641s # * 641s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 641s # */ 641s # void 641s # com_acme_coyote_proxy_new_for_bus ( 641s # GBusType bus_type, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GAsyncReadyCallback callback, 641s # gpointer user_data) 641s # { 641s # 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); 641s # } 641s # 641s # /** 641s # * com_acme_coyote_proxy_new_for_bus_finish: 641s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 641s # * @error: Return location for error or %NULL 641s # * 641s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 641s # * 641s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 641s # */ 641s # ComAcmeCoyote * 641s # com_acme_coyote_proxy_new_for_bus_finish ( 641s # GAsyncResult *res, 641s # GError **error) 641s # { 641s # GObject *ret; 641s # GObject *source_object; 641s # source_object = g_async_result_get_source_object (res); 641s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 641s # g_object_unref (source_object); 641s # if (ret != NULL) 641s # return COM_ACME_COYOTE (ret); 641s # else 641s # return NULL; 641s # } 641s # 641s # /** 641s # * com_acme_coyote_proxy_new_for_bus_sync: 641s # * @bus_type: A #GBusType. 641s # * @flags: Flags from the #GDBusProxyFlags enumeration. 641s # * @name: A bus name (well-known or unique). 641s # * @object_path: An object path. 641s # * @cancellable: (nullable): A #GCancellable or %NULL. 641s # * @error: Return location for error or %NULL 641s # * 641s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 641s # * 641s # * The calling thread is blocked until a reply is received. 641s # * 641s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 641s # * 641s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 641s # */ 641s # ComAcmeCoyote * 641s # com_acme_coyote_proxy_new_for_bus_sync ( 641s # GBusType bus_type, 641s # GDBusProxyFlags flags, 641s # const gchar *name, 641s # const gchar *object_path, 641s # GCancellable *cancellable, 641s # GError **error) 641s # { 641s # GInitable *ret; 641s # 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); 641s # if (ret != NULL) 641s # return COM_ACME_COYOTE (ret); 641s # else 641s # return NULL; 641s # } 641s # 641s # 641s # /* ------------------------------------------------------------------------ */ 641s # 641s # /** 641s # * ComAcmeCoyoteSkeleton: 641s # * 641s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 641s # */ 641s # 641s # /** 641s # * ComAcmeCoyoteSkeletonClass: 641s # * @parent_class: The parent class. 641s # * 641s # * Class structure for #ComAcmeCoyoteSkeleton. 641s # */ 641s # 641s # struct _ComAcmeCoyoteSkeletonPrivate 641s # { 641s # GValue *properties; 641s # GList *changed_properties; 641s # GSource *changed_properties_idle_source; 641s # GMainContext *context; 641s # GMutex lock; 641s # }; 641s # 641s # static void 641s # _com_acme_coyote_skeleton_handle_method_call ( 641s # GDBusConnection *connection G_GNUC_UNUSED, 641s # const gchar *sender G_GNUC_UNUSED, 641s # const gchar *object_path G_GNUC_UNUSED, 641s # const gchar *interface_name, 641s # const gchar *method_name, 641s # GVariant *parameters, 641s # GDBusMethodInvocation *invocation, 641s # gpointer user_data) 641s # { 641s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 641s # _ExtendedGDBusMethodInfo *info; 641s # GVariantIter iter; 641s # GVariant *child; 641s # GValue *paramv; 641s # gsize num_params; 641s # guint num_extra; 641s # gsize n; 641s # guint signal_id; 641s # GValue return_value = G_VALUE_INIT; 641s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 641s # g_assert (info != NULL); 641s # num_params = g_variant_n_children (parameters); 641s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 641s # n = 0; 641s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 641s # g_value_set_object (¶mv[n++], skeleton); 641s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 641s # g_value_set_object (¶mv[n++], invocation); 641s # if (info->pass_fdlist) 641s # { 641s # #ifdef G_OS_UNIX 641s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 641s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 641s # #else 641s # g_assert_not_reached (); 641s # #endif 641s # } 641s # g_variant_iter_init (&iter, parameters); 641s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 641s # { 641s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 641s # if (arg_info->use_gvariant) 641s # { 641s # g_value_init (¶mv[n], G_TYPE_VARIANT); 641s # g_value_set_variant (¶mv[n], child); 641s # n++; 641s # } 641s # else 641s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 641s # g_variant_unref (child); 641s # } 641s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 641s # g_value_init (&return_value, G_TYPE_BOOLEAN); 641s # g_signal_emitv (paramv, signal_id, 0, &return_value); 641s # if (!g_value_get_boolean (&return_value)) 641s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 641s # g_value_unset (&return_value); 641s # for (n = 0; n < num_params + num_extra; n++) 641s # g_value_unset (¶mv[n]); 641s # g_free (paramv); 641s # } 641s # 641s # static GVariant * 641s # _com_acme_coyote_skeleton_handle_get_property ( 641s # GDBusConnection *connection G_GNUC_UNUSED, 641s # const gchar *sender G_GNUC_UNUSED, 641s # const gchar *object_path G_GNUC_UNUSED, 641s # const gchar *interface_name G_GNUC_UNUSED, 641s # const gchar *property_name, 641s # GError **error, 641s # gpointer user_data) 641s # { 641s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 641s # GValue value = G_VALUE_INIT; 641s # GParamSpec *pspec; 641s # _ExtendedGDBusPropertyInfo *info; 641s # GVariant *ret; 641s # ret = NULL; 641s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 641s # g_assert (info != NULL); 641s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 641s # if (pspec == NULL) 641s # { 641s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 641s # } 641s # else 641s # { 641s # g_value_init (&value, pspec->value_type); 641s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 641s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 641s # g_value_unset (&value); 641s # } 641s # return ret; 641s # } 641s # 641s # static gboolean 641s # _com_acme_coyote_skeleton_handle_set_property ( 641s # GDBusConnection *connection G_GNUC_UNUSED, 641s # const gchar *sender G_GNUC_UNUSED, 641s # const gchar *object_path G_GNUC_UNUSED, 641s # const gchar *interface_name G_GNUC_UNUSED, 641s # const gchar *property_name, 641s # GVariant *variant, 641s # GError **error, 641s # gpointer user_data) 641s # { 641s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 641s # GValue value = G_VALUE_INIT; 641s # GParamSpec *pspec; 641s # _ExtendedGDBusPropertyInfo *info; 641s # gboolean ret; 641s # ret = FALSE; 641s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 641s # g_assert (info != NULL); 641s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 641s # if (pspec == NULL) 641s # { 641s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 641s # } 641s # else 641s # { 641s # if (info->use_gvariant) 641s # g_value_set_variant (&value, variant); 641s # else 641s # g_dbus_gvariant_to_gvalue (variant, &value); 641s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 641s # g_value_unset (&value); 641s # ret = TRUE; 641s # } 641s # return ret; 641s # } 641s # 641s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 641s # { 641s # _com_acme_coyote_skeleton_handle_method_call, 641s # _com_acme_coyote_skeleton_handle_get_property, 641s # _com_acme_coyote_skeleton_handle_set_property, 641s # {NULL} 641s # }; 641s # 641s # static GDBusInterfaceInfo * 641s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 641s # { 641s # return com_acme_coyote_interface_info (); 641s # } 641s # 641s # static GDBusInterfaceVTable * 641s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 641s # { 641s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 641s # } 641s # 641s # static GVariant * 641s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 641s # { 641s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 641s # 641s # GVariantBuilder builder; 641s # guint n; 641s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 641s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 641s # goto out; 641s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 641s # { 641s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 641s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 641s # { 641s # GVariant *value; 641s # 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); 641s # if (value != NULL) 641s # { 641s # g_variant_take_ref (value); 641s # g_variant_builder_add (&builder, "{sv}", info->name, value); 641s # g_variant_unref (value); 641s # } 641s # } 641s # } 641s # out: 641s # return g_variant_builder_end (&builder); 641s # } 641s # 641s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 641s # 641s # static void 641s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 641s # { 641s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 641s # gboolean emit_changed = FALSE; 641s # 641s # g_mutex_lock (&skeleton->priv->lock); 641s # if (skeleton->priv->changed_properties_idle_source != NULL) 641s # { 641s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 641s # skeleton->priv->changed_properties_idle_source = NULL; 641s # emit_changed = TRUE; 641s # } 641s # g_mutex_unlock (&skeleton->priv->lock); 641s # 641s # if (emit_changed) 641s # _com_acme_coyote_emit_changed (skeleton); 641s # } 641s # 641s # static void 641s # _com_acme_coyote_on_signal_surprised ( 641s # ComAcmeCoyote *object) 641s # { 641s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 641s # 641s # GList *connections, *l; 641s # GVariant *signal_variant; 641s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 641s # 641s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 641s # for (l = connections; l != NULL; l = l->next) 641s # { 641s # GDBusConnection *connection = l->data; 641s # g_dbus_connection_emit_signal (connection, 641s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 641s # signal_variant, NULL); 641s # } 641s # g_variant_unref (signal_variant); 641s # g_list_free_full (connections, g_object_unref); 641s # } 641s # 641s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 641s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 641s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 641s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 641s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 641s # 641s # #else 641s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 641s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 641s # 641s # #endif 641s # static void 641s # com_acme_coyote_skeleton_finalize (GObject *object) 641s # { 641s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 641s # guint n; 641s # for (n = 0; n < 1; n++) 641s # g_value_unset (&skeleton->priv->properties[n]); 641s # g_free (skeleton->priv->properties); 641s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 641s # if (skeleton->priv->changed_properties_idle_source != NULL) 641s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 641s # g_main_context_unref (skeleton->priv->context); 641s # g_mutex_clear (&skeleton->priv->lock); 641s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 641s # } 641s # 641s # static void 641s # com_acme_coyote_skeleton_get_property (GObject *object, 641s # guint prop_id, 641s # GValue *value, 641s # GParamSpec *pspec G_GNUC_UNUSED) 641s # { 641s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 641s # g_assert (prop_id != 0 && prop_id - 1 < 1); 641s # g_mutex_lock (&skeleton->priv->lock); 641s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 641s # g_mutex_unlock (&skeleton->priv->lock); 641s # } 641s # 641s # static gboolean 641s # _com_acme_coyote_emit_changed (gpointer user_data) 641s # { 641s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 641s # GList *l; 641s # GVariantBuilder builder; 641s # GVariantBuilder invalidated_builder; 641s # guint num_changes; 641s # 641s # g_mutex_lock (&skeleton->priv->lock); 641s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 641s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 641s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 641s # { 641s # ChangedProperty *cp = l->data; 641s # GVariant *variant; 641s # const GValue *cur_value; 641s # 641s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 641s # if (!_g_value_equal (cur_value, &cp->orig_value)) 641s # { 641s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 641s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 641s # g_variant_unref (variant); 641s # num_changes++; 641s # } 641s # } 641s # if (num_changes > 0) 641s # { 641s # GList *connections, *ll; 641s # GVariant *signal_variant; 641s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 641s # &builder, &invalidated_builder)); 641s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 641s # for (ll = connections; ll != NULL; ll = ll->next) 641s # { 641s # GDBusConnection *connection = ll->data; 641s # 641s # g_dbus_connection_emit_signal (connection, 641s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 641s # "org.freedesktop.DBus.Properties", 641s # "PropertiesChanged", 641s # signal_variant, 641s # NULL); 641s # } 641s # g_variant_unref (signal_variant); 641s # g_list_free_full (connections, g_object_unref); 641s # } 641s # else 641s # { 641s # g_variant_builder_clear (&builder); 641s # g_variant_builder_clear (&invalidated_builder); 641s # } 641s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 641s # skeleton->priv->changed_properties = NULL; 641s # skeleton->priv->changed_properties_idle_source = NULL; 641s # g_mutex_unlock (&skeleton->priv->lock); 641s # return FALSE; 641s # } 641s # 641s # static void 641s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 641s # { 641s # ChangedProperty *cp; 641s # GList *l; 641s # cp = NULL; 641s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 641s # { 641s # ChangedProperty *i_cp = l->data; 641s # if (i_cp->info == info) 641s # { 641s # cp = i_cp; 641s # break; 641s # } 641s # } 641s # if (cp == NULL) 641s # { 641s # cp = g_new0 (ChangedProperty, 1); 641s # cp->prop_id = prop_id; 641s # cp->info = info; 641s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 641s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 641s # g_value_copy (orig_value, &cp->orig_value); 641s # } 641s # } 641s # 641s # static void 641s # com_acme_coyote_skeleton_notify (GObject *object, 641s # GParamSpec *pspec G_GNUC_UNUSED) 641s # { 641s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 641s # g_mutex_lock (&skeleton->priv->lock); 641s # if (skeleton->priv->changed_properties != NULL && 641s # skeleton->priv->changed_properties_idle_source == NULL) 641s # { 641s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 641s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 641s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 641s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 641s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 641s # g_source_unref (skeleton->priv->changed_properties_idle_source); 641s # } 641s # g_mutex_unlock (&skeleton->priv->lock); 641s # } 641s # 641s # static void 641s # com_acme_coyote_skeleton_set_property (GObject *object, 641s # guint prop_id, 641s # const GValue *value, 641s # GParamSpec *pspec) 641s # { 641s # const _ExtendedGDBusPropertyInfo *info; 641s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 641s # g_assert (prop_id != 0 && prop_id - 1 < 1); 641s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 641s # g_mutex_lock (&skeleton->priv->lock); 641s # g_object_freeze_notify (object); 641s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 641s # { 641s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 641s # info->emits_changed_signal) 641s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 641s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 641s # g_object_notify_by_pspec (object, pspec); 641s # } 641s # g_mutex_unlock (&skeleton->priv->lock); 641s # g_object_thaw_notify (object); 641s # } 641s # 641s # static void 641s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 641s # { 641s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 641s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 641s # #else 641s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 641s # #endif 641s # 641s # g_mutex_init (&skeleton->priv->lock); 641s # skeleton->priv->context = g_main_context_ref_thread_default (); 641s # skeleton->priv->properties = g_new0 (GValue, 1); 641s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 641s # } 641s # 641s # static const gchar * 641s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 641s # { 641s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 641s # const gchar *value; 641s # g_mutex_lock (&skeleton->priv->lock); 641s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 641s # g_mutex_unlock (&skeleton->priv->lock); 641s # return value; 641s # } 641s # 641s # static void 641s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 641s # { 641s # GObjectClass *gobject_class; 641s # GDBusInterfaceSkeletonClass *skeleton_class; 641s # 641s # gobject_class = G_OBJECT_CLASS (klass); 641s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 641s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 641s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 641s # gobject_class->notify = com_acme_coyote_skeleton_notify; 641s # 641s # 641s # com_acme_coyote_override_properties (gobject_class, 1); 641s # 641s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 641s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 641s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 641s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 641s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 641s # 641s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 641s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 641s # #endif 641s # } 641s # 641s # static void 641s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 641s # { 641s # iface->surprised = _com_acme_coyote_on_signal_surprised; 641s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 641s # } 641s # 641s # /** 641s # * com_acme_coyote_skeleton_new: 641s # * 641s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 641s # * 641s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 641s # */ 641s # ComAcmeCoyote * 641s # com_acme_coyote_skeleton_new (void) 641s # { 641s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 641s # } 641s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgc8alx8g/tmpe5tb26kp2.xml', '/tmp/tmpgc8alx8g/tmpvp37fh9f1.xml', '--output', '-', '--body'] 641s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 641s # Output: /* 641s # * This file is generated by gdbus-codegen, do not modify it. 641s # * 641s # * The license of this code is the same as for the D-Bus interface description 641s # * it was derived from. Note that it links to GLib, so must comply with the 641s # * LGPL linking clauses. 641s # */ 641s # 641s # #ifdef HAVE_CONFIG_H 641s # # include "config.h" 641s # #endif 641s # 641s # #include 641s # #ifdef G_OS_UNIX 641s # # include 641s # #endif 641s # 641s # #ifdef G_ENABLE_DEBUG 641s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 641s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 641s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 641s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 641s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 641s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 641s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 641s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 641s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 641s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 641s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 641s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 641s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 641s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 641s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 641s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 641s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 641s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 641s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 641s # #else /* !G_ENABLE_DEBUG */ 641s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 641s # * Do not access GValues directly in your code. Instead, use the 641s # * g_value_get_*() functions 641s # */ 641s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 641s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 641s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 641s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 641s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 641s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 641s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 641s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 641s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 641s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 641s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 641s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 641s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 641s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 641s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 641s # #endif /* !G_ENABLE_DEBUG */ 641s # 641s # typedef struct 641s # { 641s # GDBusArgInfo parent_struct; 641s # gboolean use_gvariant; 641s # } _ExtendedGDBusArgInfo; 641s # 641s # typedef struct 641s # { 641s # GDBusMethodInfo parent_struct; 641s # const gchar *signal_name; 641s # gboolean pass_fdlist; 641s # } _ExtendedGDBusMethodInfo; 641s # 641s # typedef struct 641s # { 641s # GDBusSignalInfo parent_struct; 641s # const gchar *signal_name; 641s # } _ExtendedGDBusSignalInfo; 641s # 641s # typedef struct 641s # { 641s # GDBusPropertyInfo parent_struct; 641s # const gchar *hyphen_name; 641s # guint use_gvariant : 1; 641s # guint emits_changed_signal : 1; 641s # } _ExtendedGDBusPropertyInfo; 641s # 641s # typedef struct 641s # { 641s # GDBusInterfaceInfo parent_struct; 641s # const gchar *hyphen_name; 641s # } _ExtendedGDBusInterfaceInfo; 641s # 641s # typedef struct 641s # { 641s # const _ExtendedGDBusPropertyInfo *info; 641s # guint prop_id; 641s # GValue orig_value; /* the value before the change */ 641s # } ChangedProperty; 641s # 641s # static void 641s # _changed_property_free (ChangedProperty *data) 641s # { 641s # g_value_unset (&data->orig_value); 641s # g_free (data); 641s # } 641s # 641s # static gboolean 641s # _g_strv_equal0 (gchar **a, gchar **b) 641s # { 641s # gboolean ret = FALSE; 641s # guint n; 641s # if (a == NULL && b == NULL) 641s # { 641s # ret = TRUE; 641s # goto out; 641s # } 641s # if (a == NULL || b == NULL) 641s # goto out; 641s # if (g_strv_length (a) != g_strv_length (b)) 641s # goto out; 641s # for (n = 0; a[n] != NULL; n++) 641s # if (g_strcmp0 (a[n], b[n]) != 0) 641s # goto out; 641s # ret = TRUE; 641s # out: 641s # return ret; 641s # } 641s # 641s # static gboolean 641s # _g_variant_equal0 (GVariant *a, GVariant *b) 641s # { 641s # gboolean ret = FALSE; 641s # if (a == NULL && b == NULL) 641s # { 641s # ret = TRUE; 641s # goto out; 641s # } 641s # if (a == NULL || b == NULL) 641s # goto out; 641s # ret = g_variant_equal (a, b); 641s # out: 641s # return ret; 641s # } 641s # 641s # G_GNUC_UNUSED static gboolean 641s # _g_value_equal (const GValue *a, const GValue *b) 641s # { 641s # gboolean ret = FALSE; 641s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 641s # switch (G_VALUE_TYPE (a)) 641s # { 641s # case G_TYPE_BOOLEAN: 641s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 641s # break; 641s # case G_TYPE_UCHAR: 641s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 641s # break; 641s # case G_TYPE_INT: 641s # ret = (g_value_get_int (a) == g_value_get_int (b)); 641s # break; 641s # case G_TYPE_UINT: 641s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 641s # break; 641s # case G_TYPE_INT64: 641s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 641s # break; 641s # case G_TYPE_UINT64: 641s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 641s # break; 641s # case G_TYPE_DOUBLE: 641s # { 641s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 641s # gdouble da = g_value_get_double (a); 641s # gdouble db = g_value_get_double (b); 641s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 641s # } 641s # break; 641s # case G_TYPE_STRING: 641s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 641s # break; 641s # case G_TYPE_VARIANT: 641s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 641s # break; 641s # default: 641s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 641s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 641s # else 641s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 641s # break; 641s # } 641s # return ret; 641s # } 641s # 641s # static void 641s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 641s # GClosure *closure, 641s # GValue *return_value, 641s # unsigned int n_param_values, 641s # const GValue *param_values, 641s # void *invocation_hint G_GNUC_UNUSED, 641s # void *marshal_data) 641s # { 641s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 641s # (void *data1, 641s # GDBusMethodInvocation *arg_method_invocation, 641s # void *data2); 641s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 641s # GCClosure *cc = (GCClosure*) closure; 641s # void *data1, *data2; 641s # gboolean v_return; 641s # 641s # g_return_if_fail (return_value != NULL); 641s # g_return_if_fail (n_param_values == 2); 641s # 641s # if (G_CCLOSURE_SWAP_DATA (closure)) 641s # { 641s # data1 = closure->data; 641s # data2 = g_value_peek_pointer (param_values + 0); 641s # } 641s # else 641s # { 641s # data1 = g_value_peek_pointer (param_values + 0); 641s # data2 = closure->data; 641s # } 641s # 641s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 641s # (marshal_data ? marshal_data : cc->callback); 641s # 641s # v_return = 641s # callback (data1, 641s # g_marshal_value_peek_object (param_values + 1), 641s # data2); 641s # 641s # g_value_set_boolean (return_value, v_return); 641s # } 641s # 641s # /* ------------------------------------------------------------------------ 641s # * Code for interface org.project.Bar.Frobnicator 641s # * ------------------------------------------------------------------------ 641s # */ 641s # 641s # /** 641s # * SECTION:OrgProjectBarFrobnicator 641s # * @title: OrgProjectBarFrobnicator 641s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 641s # * 641s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 641s # */ 641s # 641s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 641s # 641s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 641s # { 641s # { 641s # -1, 641s # (gchar *) "RandomMethod", 641s # NULL, 641s # NULL, 641s # NULL 641s # }, 641s # "handle-random-method", 641s # FALSE 641s # }; 641s # 641s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 641s # { 641s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 641s # NULL 641s # }; 641s # 641s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 641s # { 641s # { 641s # -1, 641s # (gchar *) "org.project.Bar.Frobnicator", 641s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 641s # NULL, 641s # NULL, 641s # NULL 641s # }, 641s # "org-project-bar-frobnicator", 641s # }; 641s # 641s # 641s # /** 641s # * org_project_bar_frobnicator_interface_info: 641s # * 641s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 641s # * 641s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 641s # */ 641s # GDBusInterfaceInfo * 641s # org_project_bar_frobnicator_interface_info (void) 641s # { 641s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 641s # } 641s # 641s # /** 641s # * org_project_bar_frobnicator_override_properties: 641s # * @klass: The class structure for a #GObject derived class. 641s # * @property_id_begin: The property id to assign to the first overridden property. 641s # * 641s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 641s # * The properties are overridden in the order they are defined. 641s # * 641s # * Returns: The last property id. 641s # */ 641s # guint 641s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 641s # { 641s # return property_id_begin - 1; 641s # } 641s # 641s # 641s # inline static void 641s # org_project_bar_frobnicator_method_marshal_random_method ( 641s # GClosure *closure, 641s # GValue *return_value, 641s # unsigned int n_param_values, 641s # const GValue *param_values, 641s # void *invocation_hint, 641s # void *marshal_data) 641s # { 641s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 641s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 641s # } 641s # 641s # 641s # /** 641s # * OrgProjectBarFrobnicator: 641s # * 641s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 641s # */ 641s # 641s # /** 641s # * OrgProjectBarFrobnicatorIface: 641s # * @parent_iface: The parent interface. 641s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 641s # * 641s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 641s # */ 641s # 641s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 641s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 641s # 641s # static void 641s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 641s # { 641s # /* GObject signals for incoming D-Bus method calls: */ 641s # /** 641s # * OrgProjectBarFrobnicator::handle-random-method: 641s # * @object: A #OrgProjectBarFrobnicator. 641s # * @invocation: A #GDBusMethodInvocation. 641s # * 641s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 641s # * 641s # * 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. 641s # * 642s # * 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. 642s # */ 642s # g_signal_new ("handle-random-method", 642s # G_TYPE_FROM_INTERFACE (iface), 642s # G_SIGNAL_RUN_LAST, 642s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 642s # g_signal_accumulator_true_handled, 642s # NULL, 642s # org_project_bar_frobnicator_method_marshal_random_method, 642s # G_TYPE_BOOLEAN, 642s # 1, 642s # G_TYPE_DBUS_METHOD_INVOCATION); 642s # 642s # } 642s # 642s # /** 642s # * org_project_bar_frobnicator_call_random_method: 642s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 642s # * @cancellable: (nullable): A #GCancellable or %NULL. 642s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 642s # * @user_data: User data to pass to @callback. 642s # * 642s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 642s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 642s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 642s # * 642s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 642s # */ 642s # void 642s # org_project_bar_frobnicator_call_random_method ( 642s # OrgProjectBarFrobnicator *proxy, 642s # GCancellable *cancellable, 642s # GAsyncReadyCallback callback, 642s # gpointer user_data) 642s # { 642s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 642s # "RandomMethod", 642s # g_variant_new ("()"), 642s # G_DBUS_CALL_FLAGS_NONE, 642s # -1, 642s # cancellable, 642s # callback, 642s # user_data); 642s # } 642s # 642s # /** 642s # * org_project_bar_frobnicator_call_random_method_finish: 642s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 642s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 642s # * @error: Return location for error or %NULL. 642s # * 642s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 642s # * 642s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 642s # */ 642s # gboolean 642s # org_project_bar_frobnicator_call_random_method_finish ( 642s # OrgProjectBarFrobnicator *proxy, 642s # GAsyncResult *res, 642s # GError **error) 642s # { 642s # GVariant *_ret; 642s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 642s # if (_ret == NULL) 642s # goto _out; 642s # g_variant_get (_ret, 642s # "()"); 642s # g_variant_unref (_ret); 642s # _out: 642s # return _ret != NULL; 642s # } 642s # 642s # /** 642s # * org_project_bar_frobnicator_call_random_method_sync: 642s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 642s # * @cancellable: (nullable): A #GCancellable or %NULL. 642s # * @error: Return location for error or %NULL. 642s # * 642s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 642s # * 642s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 642s # * 642s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 642s # */ 642s # gboolean 642s # org_project_bar_frobnicator_call_random_method_sync ( 642s # OrgProjectBarFrobnicator *proxy, 642s # GCancellable *cancellable, 642s # GError **error) 642s # { 642s # GVariant *_ret; 642s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 642s # "RandomMethod", 642s # g_variant_new ("()"), 642s # G_DBUS_CALL_FLAGS_NONE, 642s # -1, 642s # cancellable, 642s # error); 642s # if (_ret == NULL) 642s # goto _out; 642s # g_variant_get (_ret, 642s # "()"); 642s # g_variant_unref (_ret); 642s # _out: 642s # return _ret != NULL; 642s # } 642s # 642s # /** 642s # * org_project_bar_frobnicator_complete_random_method: 642s # * @object: A #OrgProjectBarFrobnicator. 642s # * @invocation: (transfer full): A #GDBusMethodInvocation. 642s # * 642s # * 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. 642s # * 642s # * This method will free @invocation, you cannot use it afterwards. 642s # */ 642s # void 642s # org_project_bar_frobnicator_complete_random_method ( 642s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 642s # GDBusMethodInvocation *invocation) 642s # { 642s # g_dbus_method_invocation_return_value (invocation, 642s # g_variant_new ("()")); 642s # } 642s # 642s # /* ------------------------------------------------------------------------ */ 642s # 642s # /** 642s # * OrgProjectBarFrobnicatorProxy: 642s # * 642s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 642s # */ 642s # 642s # /** 642s # * OrgProjectBarFrobnicatorProxyClass: 642s # * @parent_class: The parent class. 642s # * 642s # * Class structure for #OrgProjectBarFrobnicatorProxy. 642s # */ 642s # 642s # struct _OrgProjectBarFrobnicatorProxyPrivate 642s # { 642s # GData *qdata; 642s # }; 642s # 642s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 642s # 642s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 642s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 642s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 642s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 642s # 642s # #else 642s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 642s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 642s # 642s # #endif 642s # static void 642s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 642s # { 642s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 642s # g_datalist_clear (&proxy->priv->qdata); 642s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 642s # } 642s # 642s # static void 642s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 642s # guint prop_id G_GNUC_UNUSED, 642s # GValue *value G_GNUC_UNUSED, 642s # GParamSpec *pspec G_GNUC_UNUSED) 642s # { 642s # } 642s # 642s # static void 642s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 642s # guint prop_id G_GNUC_UNUSED, 642s # const GValue *value G_GNUC_UNUSED, 642s # GParamSpec *pspec G_GNUC_UNUSED) 642s # { 642s # } 642s # 642s # static void 642s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 642s # const gchar *sender_name G_GNUC_UNUSED, 642s # const gchar *signal_name, 642s # GVariant *parameters) 642s # { 642s # _ExtendedGDBusSignalInfo *info; 642s # GVariantIter iter; 642s # GVariant *child; 642s # GValue *paramv; 642s # gsize num_params; 642s # gsize n; 642s # guint signal_id; 642s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 642s # if (info == NULL) 642s # return; 642s # num_params = g_variant_n_children (parameters); 642s # paramv = g_new0 (GValue, num_params + 1); 642s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 642s # g_value_set_object (¶mv[0], proxy); 642s # g_variant_iter_init (&iter, parameters); 642s # n = 1; 642s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 642s # { 642s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 642s # if (arg_info->use_gvariant) 642s # { 642s # g_value_init (¶mv[n], G_TYPE_VARIANT); 642s # g_value_set_variant (¶mv[n], child); 642s # n++; 642s # } 642s # else 642s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 642s # g_variant_unref (child); 642s # } 642s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 642s # g_signal_emitv (paramv, signal_id, 0, NULL); 642s # for (n = 0; n < num_params + 1; n++) 642s # g_value_unset (¶mv[n]); 642s # g_free (paramv); 642s # } 642s # 642s # static void 642s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 642s # GVariant *changed_properties, 642s # const gchar *const *invalidated_properties) 642s # { 642s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 642s # guint n; 642s # const gchar *key; 642s # GVariantIter *iter; 642s # _ExtendedGDBusPropertyInfo *info; 642s # g_variant_get (changed_properties, "a{sv}", &iter); 642s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 642s # { 642s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 642s # g_datalist_remove_data (&proxy->priv->qdata, key); 642s # if (info != NULL) 642s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 642s # } 642s # g_variant_iter_free (iter); 642s # for (n = 0; invalidated_properties[n] != NULL; n++) 642s # { 642s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 642s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 642s # if (info != NULL) 642s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 642s # } 642s # } 642s # 642s # static void 642s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 642s # { 642s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 642s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 642s # #else 642s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 642s # #endif 642s # 642s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 642s # } 642s # 642s # static void 642s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 642s # { 642s # GObjectClass *gobject_class; 642s # GDBusProxyClass *proxy_class; 642s # 642s # gobject_class = G_OBJECT_CLASS (klass); 642s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 642s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 642s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 642s # 642s # proxy_class = G_DBUS_PROXY_CLASS (klass); 642s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 642s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 642s # 642s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 642s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 642s # #endif 642s # } 642s # 642s # static void 642s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 642s # { 642s # } 642s # 642s # /** 642s # * org_project_bar_frobnicator_proxy_new: 642s # * @connection: A #GDBusConnection. 642s # * @flags: Flags from the #GDBusProxyFlags enumeration. 642s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 642s # * @object_path: An object path. 642s # * @cancellable: (nullable): A #GCancellable or %NULL. 642s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 642s # * @user_data: User data to pass to @callback. 642s # * 642s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 642s # * 642s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 642s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 642s # * 642s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 642s # */ 642s # void 642s # org_project_bar_frobnicator_proxy_new ( 642s # GDBusConnection *connection, 642s # GDBusProxyFlags flags, 642s # const gchar *name, 642s # const gchar *object_path, 642s # GCancellable *cancellable, 642s # GAsyncReadyCallback callback, 642s # gpointer user_data) 642s # { 642s # 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); 642s # } 642s # 642s # /** 642s # * org_project_bar_frobnicator_proxy_new_finish: 642s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 642s # * @error: Return location for error or %NULL 642s # * 642s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 642s # * 642s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 642s # */ 642s # OrgProjectBarFrobnicator * 642s # org_project_bar_frobnicator_proxy_new_finish ( 642s # GAsyncResult *res, 642s # GError **error) 642s # { 642s # GObject *ret; 642s # GObject *source_object; 642s # source_object = g_async_result_get_source_object (res); 642s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 642s # g_object_unref (source_object); 642s # if (ret != NULL) 642s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 642s # else 642s # return NULL; 642s # } 642s # 642s # /** 642s # * org_project_bar_frobnicator_proxy_new_sync: 642s # * @connection: A #GDBusConnection. 642s # * @flags: Flags from the #GDBusProxyFlags enumeration. 642s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 642s # * @object_path: An object path. 642s # * @cancellable: (nullable): A #GCancellable or %NULL. 642s # * @error: Return location for error or %NULL 642s # * 642s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 642s # * 642s # * The calling thread is blocked until a reply is received. 642s # * 642s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 642s # * 642s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 642s # */ 642s # OrgProjectBarFrobnicator * 642s # org_project_bar_frobnicator_proxy_new_sync ( 642s # GDBusConnection *connection, 642s # GDBusProxyFlags flags, 642s # const gchar *name, 642s # const gchar *object_path, 642s # GCancellable *cancellable, 642s # GError **error) 642s # { 642s # GInitable *ret; 642s # 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); 642s # if (ret != NULL) 642s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 642s # else 642s # return NULL; 642s # } 642s # 642s # 642s # /** 642s # * org_project_bar_frobnicator_proxy_new_for_bus: 642s # * @bus_type: A #GBusType. 642s # * @flags: Flags from the #GDBusProxyFlags enumeration. 642s # * @name: A bus name (well-known or unique). 642s # * @object_path: An object path. 642s # * @cancellable: (nullable): A #GCancellable or %NULL. 642s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 642s # * @user_data: User data to pass to @callback. 642s # * 642s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 642s # * 642s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 642s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 642s # * 642s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 642s # */ 642s # void 642s # org_project_bar_frobnicator_proxy_new_for_bus ( 642s # GBusType bus_type, 642s # GDBusProxyFlags flags, 642s # const gchar *name, 642s # const gchar *object_path, 642s # GCancellable *cancellable, 642s # GAsyncReadyCallback callback, 642s # gpointer user_data) 642s # { 642s # 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); 642s # } 642s # 642s # /** 642s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 642s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 642s # * @error: Return location for error or %NULL 642s # * 642s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 642s # * 642s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 642s # */ 642s # OrgProjectBarFrobnicator * 642s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 642s # GAsyncResult *res, 642s # GError **error) 642s # { 642s # GObject *ret; 642s # GObject *source_object; 642s # source_object = g_async_result_get_source_object (res); 642s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 642s # g_object_unref (source_object); 642s # if (ret != NULL) 642s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 642s # else 642s # return NULL; 642s # } 642s # 642s # /** 642s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 642s # * @bus_type: A #GBusType. 642s # * @flags: Flags from the #GDBusProxyFlags enumeration. 642s # * @name: A bus name (well-known or unique). 642s # * @object_path: An object path. 642s # * @cancellable: (nullable): A #GCancellable or %NULL. 642s # * @error: Return location for error or %NULL 642s # * 642s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 642s # * 642s # * The calling thread is blocked until a reply is received. 642s # * 642s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 642s # * 642s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 642s # */ 642s # OrgProjectBarFrobnicator * 642s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 642s # GBusType bus_type, 642s # GDBusProxyFlags flags, 642s # const gchar *name, 642s # const gchar *object_path, 642s # GCancellable *cancellable, 642s # GError **error) 642s # { 642s # GInitable *ret; 642s # 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); 642s # if (ret != NULL) 642s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 642s # else 642s # return NULL; 642s # } 642s # 642s # 642s # /* ------------------------------------------------------------------------ */ 642s # 642s # /** 642s # * OrgProjectBarFrobnicatorSkeleton: 642s # * 642s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 642s # */ 642s # 642s # /** 642s # * OrgProjectBarFrobnicatorSkeletonClass: 642s # * @parent_class: The parent class. 642s # * 642s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 642s # */ 642s # 642s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 642s # { 642s # GValue *properties; 642s # GList *changed_properties; 642s # GSource *changed_properties_idle_source; 642s # GMainContext *context; 642s # GMutex lock; 642s # }; 642s # 642s # static void 642s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 642s # GDBusConnection *connection G_GNUC_UNUSED, 642s # const gchar *sender G_GNUC_UNUSED, 642s # const gchar *object_path G_GNUC_UNUSED, 642s # const gchar *interface_name, 642s # const gchar *method_name, 642s # GVariant *parameters, 642s # GDBusMethodInvocation *invocation, 642s # gpointer user_data) 642s # { 642s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 642s # _ExtendedGDBusMethodInfo *info; 642s # GVariantIter iter; 642s # GVariant *child; 642s # GValue *paramv; 642s # gsize num_params; 642s # guint num_extra; 642s # gsize n; 642s # guint signal_id; 642s # GValue return_value = G_VALUE_INIT; 642s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 642s # g_assert (info != NULL); 642s # num_params = g_variant_n_children (parameters); 642s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 642s # n = 0; 642s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 642s # g_value_set_object (¶mv[n++], skeleton); 642s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 642s # g_value_set_object (¶mv[n++], invocation); 642s # if (info->pass_fdlist) 642s # { 642s # #ifdef G_OS_UNIX 642s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 642s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 642s # #else 642s # g_assert_not_reached (); 642s # #endif 642s # } 642s # g_variant_iter_init (&iter, parameters); 642s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 642s # { 642s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 642s # if (arg_info->use_gvariant) 642s # { 642s # g_value_init (¶mv[n], G_TYPE_VARIANT); 642s # g_value_set_variant (¶mv[n], child); 642s # n++; 642s # } 642s # else 642s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 642s # g_variant_unref (child); 642s # } 642s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 642s # g_value_init (&return_value, G_TYPE_BOOLEAN); 642s # g_signal_emitv (paramv, signal_id, 0, &return_value); 642s # if (!g_value_get_boolean (&return_value)) 642s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 642s # g_value_unset (&return_value); 642s # for (n = 0; n < num_params + num_extra; n++) 642s # g_value_unset (¶mv[n]); 642s # g_free (paramv); 642s # } 642s # 642s # static GVariant * 642s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 642s # GDBusConnection *connection G_GNUC_UNUSED, 642s # const gchar *sender G_GNUC_UNUSED, 642s # const gchar *object_path G_GNUC_UNUSED, 642s # const gchar *interface_name G_GNUC_UNUSED, 642s # const gchar *property_name, 642s # GError **error, 642s # gpointer user_data) 642s # { 642s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 642s # GValue value = G_VALUE_INIT; 642s # GParamSpec *pspec; 642s # _ExtendedGDBusPropertyInfo *info; 642s # GVariant *ret; 642s # ret = NULL; 642s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 642s # g_assert (info != NULL); 642s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 642s # if (pspec == NULL) 642s # { 642s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 642s # } 642s # else 642s # { 642s # g_value_init (&value, pspec->value_type); 642s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 642s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 642s # g_value_unset (&value); 642s # } 642s # return ret; 642s # } 642s # 642s # static gboolean 642s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 642s # GDBusConnection *connection G_GNUC_UNUSED, 642s # const gchar *sender G_GNUC_UNUSED, 642s # const gchar *object_path G_GNUC_UNUSED, 642s # const gchar *interface_name G_GNUC_UNUSED, 642s # const gchar *property_name, 642s # GVariant *variant, 642s # GError **error, 642s # gpointer user_data) 642s # { 642s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 642s # GValue value = G_VALUE_INIT; 642s # GParamSpec *pspec; 642s # _ExtendedGDBusPropertyInfo *info; 642s # gboolean ret; 642s # ret = FALSE; 642s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 642s # g_assert (info != NULL); 642s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 642s # if (pspec == NULL) 642s # { 642s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 642s # } 642s # else 642s # { 642s # if (info->use_gvariant) 642s # g_value_set_variant (&value, variant); 642s # else 642s # g_dbus_gvariant_to_gvalue (variant, &value); 642s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 642s # g_value_unset (&value); 642s # ret = TRUE; 642s # } 642s # return ret; 642s # } 642s # 642s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 642s # { 642s # _org_project_bar_frobnicator_skeleton_handle_method_call, 642s # _org_project_bar_frobnicator_skeleton_handle_get_property, 642s # _org_project_bar_frobnicator_skeleton_handle_set_property, 642s # {NULL} 642s # }; 642s # 642s # static GDBusInterfaceInfo * 642s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 642s # { 642s # return org_project_bar_frobnicator_interface_info (); 642s # } 642s # 642s # static GDBusInterfaceVTable * 642s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 642s # { 642s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 642s # } 642s # 642s # static GVariant * 642s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 642s # { 642s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 642s # 642s # GVariantBuilder builder; 642s # guint n; 642s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 642s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 642s # goto out; 642s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 642s # { 642s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 642s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 642s # { 642s # GVariant *value; 642s # 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); 642s # if (value != NULL) 642s # { 642s # g_variant_take_ref (value); 642s # g_variant_builder_add (&builder, "{sv}", info->name, value); 642s # g_variant_unref (value); 642s # } 642s # } 642s # } 642s # out: 642s # return g_variant_builder_end (&builder); 642s # } 642s # 642s # static void 642s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 642s # { 642s # } 642s # 642s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 642s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 642s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 642s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 642s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 642s # 642s # #else 642s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 642s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 642s # 642s # #endif 642s # static void 642s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 642s # { 642s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 642s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 642s # if (skeleton->priv->changed_properties_idle_source != NULL) 642s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 642s # g_main_context_unref (skeleton->priv->context); 642s # g_mutex_clear (&skeleton->priv->lock); 642s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 642s # } 642s # 642s # static void 642s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 642s # { 642s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 642s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 642s # #else 642s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 642s # #endif 642s # 642s # g_mutex_init (&skeleton->priv->lock); 642s # skeleton->priv->context = g_main_context_ref_thread_default (); 642s # } 642s # 642s # static void 642s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 642s # { 642s # GObjectClass *gobject_class; 642s # GDBusInterfaceSkeletonClass *skeleton_class; 642s # 642s # gobject_class = G_OBJECT_CLASS (klass); 642s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 642s # 642s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 642s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 642s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 642s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 642s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 642s # 642s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 642s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 642s # #endif 642s # } 642s # 642s # static void 642s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 642s # { 642s # } 642s # 642s # /** 642s # * org_project_bar_frobnicator_skeleton_new: 642s # * 642s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 642s # * 642s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 642s # */ 642s # OrgProjectBarFrobnicator * 642s # org_project_bar_frobnicator_skeleton_new (void) 642s # { 642s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 642s # } 642s # 642s # /* ------------------------------------------------------------------------ 642s # * Code for interface com.acme.Coyote 642s # * ------------------------------------------------------------------------ 642s # */ 642s # 642s # /** 642s # * SECTION:ComAcmeCoyote 642s # * @title: ComAcmeCoyote 642s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 642s # * 642s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 642s # */ 642s # 642s # enum 642s # { 642s # _COM_ACME_COYOTE_SURPRISED, 642s # }; 642s # 642s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 642s # 642s # /* ---- Introspection data for com.acme.Coyote ---- */ 642s # 642s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 642s # { 642s # { 642s # -1, 642s # (gchar *) "Run", 642s # NULL, 642s # NULL, 642s # NULL 642s # }, 642s # "handle-run", 642s # FALSE 642s # }; 642s # 642s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 642s # { 642s # { 642s # -1, 642s # (gchar *) "Sleep", 642s # NULL, 642s # NULL, 642s # NULL 642s # }, 642s # "handle-sleep", 642s # FALSE 642s # }; 642s # 642s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 642s # { 642s # { 642s # -1, 642s # (gchar *) "Attack", 642s # NULL, 642s # NULL, 642s # NULL 642s # }, 642s # "handle-attack", 642s # FALSE 642s # }; 642s # 642s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 642s # { 642s # &_com_acme_coyote_method_info_run.parent_struct, 642s # &_com_acme_coyote_method_info_sleep.parent_struct, 642s # &_com_acme_coyote_method_info_attack.parent_struct, 642s # NULL 642s # }; 642s # 642s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 642s # { 642s # { 642s # -1, 642s # (gchar *) "Surprised", 642s # NULL, 642s # NULL 642s # }, 642s # "surprised" 642s # }; 642s # 642s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 642s # { 642s # &_com_acme_coyote_signal_info_surprised.parent_struct, 642s # NULL 642s # }; 642s # 642s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 642s # { 642s # { 642s # -1, 642s # (gchar *) "Mood", 642s # (gchar *) "s", 642s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 642s # NULL 642s # }, 642s # "mood", 642s # FALSE, 642s # TRUE 642s # }; 642s # 642s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 642s # { 642s # &_com_acme_coyote_property_info_mood.parent_struct, 642s # NULL 642s # }; 642s # 642s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 642s # { 642s # { 642s # -1, 642s # (gchar *) "com.acme.Coyote", 642s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 642s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 642s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 642s # NULL 642s # }, 642s # "com-acme-coyote", 642s # }; 642s # 642s # 642s # /** 642s # * com_acme_coyote_interface_info: 642s # * 642s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 642s # * 642s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 642s # */ 642s # GDBusInterfaceInfo * 642s # com_acme_coyote_interface_info (void) 642s # { 642s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 642s # } 642s # 642s # /** 642s # * com_acme_coyote_override_properties: 642s # * @klass: The class structure for a #GObject derived class. 642s # * @property_id_begin: The property id to assign to the first overridden property. 642s # * 642s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 642s # * The properties are overridden in the order they are defined. 642s # * 642s # * Returns: The last property id. 642s # */ 642s # guint 642s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 642s # { 642s # g_object_class_override_property (klass, property_id_begin++, "mood"); 642s # return property_id_begin - 1; 642s # } 642s # 642s # 642s # inline static void 642s # com_acme_coyote_signal_marshal_surprised ( 642s # GClosure *closure, 642s # GValue *return_value, 642s # unsigned int n_param_values, 642s # const GValue *param_values, 642s # void *invocation_hint, 642s # void *marshal_data) 642s # { 642s # g_cclosure_marshal_VOID__VOID (closure, 642s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 642s # } 642s # 642s # inline static void 642s # com_acme_coyote_method_marshal_run ( 642s # GClosure *closure, 642s # GValue *return_value, 642s # unsigned int n_param_values, 642s # const GValue *param_values, 642s # void *invocation_hint, 642s # void *marshal_data) 642s # { 642s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 642s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 642s # } 642s # 642s # inline static void 642s # com_acme_coyote_method_marshal_sleep ( 642s # GClosure *closure, 642s # GValue *return_value, 642s # unsigned int n_param_values, 642s # const GValue *param_values, 642s # void *invocation_hint, 642s # void *marshal_data) 642s # { 642s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 642s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 642s # } 642s # 642s # inline static void 642s # com_acme_coyote_method_marshal_attack ( 642s # GClosure *closure, 642s # GValue *return_value, 642s # unsigned int n_param_values, 642s # const GValue *param_values, 642s # void *invocation_hint, 642s # void *marshal_data) 642s # { 642s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 642s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 642s # } 642s # 642s # 642s # /** 642s # * ComAcmeCoyote: 642s # * 642s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 642s # */ 642s # 642s # /** 642s # * ComAcmeCoyoteIface: 642s # * @parent_iface: The parent interface. 642s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 642s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 642s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 642s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 642s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 642s # * 642s # * Virtual table for the D-Bus interface com.acme.Coyote. 642s # */ 642s # 642s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 642s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 642s # 642s # static void 642s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 642s # { 642s # /* GObject signals for incoming D-Bus method calls: */ 642s # /** 642s # * ComAcmeCoyote::handle-run: 642s # * @object: A #ComAcmeCoyote. 642s # * @invocation: A #GDBusMethodInvocation. 642s # * 642s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 642s # * 642s # * 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. 642s # * 642s # * 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. 642s # */ 642s # g_signal_new ("handle-run", 642s # G_TYPE_FROM_INTERFACE (iface), 642s # G_SIGNAL_RUN_LAST, 642s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 642s # g_signal_accumulator_true_handled, 642s # NULL, 642s # com_acme_coyote_method_marshal_run, 642s # G_TYPE_BOOLEAN, 642s # 1, 642s # G_TYPE_DBUS_METHOD_INVOCATION); 642s # 642s # /** 642s # * ComAcmeCoyote::handle-sleep: 642s # * @object: A #ComAcmeCoyote. 642s # * @invocation: A #GDBusMethodInvocation. 642s # * 642s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 642s # * 642s # * 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. 642s # * 642s # * 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. 642s # */ 642s # g_signal_new ("handle-sleep", 642s # G_TYPE_FROM_INTERFACE (iface), 642s # G_SIGNAL_RUN_LAST, 642s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 642s # g_signal_accumulator_true_handled, 642s # NULL, 642s # com_acme_coyote_method_marshal_sleep, 642s # G_TYPE_BOOLEAN, 642s # 1, 642s # G_TYPE_DBUS_METHOD_INVOCATION); 642s # 642s # /** 642s # * ComAcmeCoyote::handle-attack: 642s # * @object: A #ComAcmeCoyote. 642s # * @invocation: A #GDBusMethodInvocation. 642s # * 642s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 642s # * 642s # * 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. 642s # * 642s # * 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. 642s # */ 642s # g_signal_new ("handle-attack", 642s # G_TYPE_FROM_INTERFACE (iface), 642s # G_SIGNAL_RUN_LAST, 642s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 642s # g_signal_accumulator_true_handled, 642s # NULL, 642s # com_acme_coyote_method_marshal_attack, 642s # G_TYPE_BOOLEAN, 642s # 1, 642s # G_TYPE_DBUS_METHOD_INVOCATION); 642s # 642s # /* GObject signals for received D-Bus signals: */ 642s # /** 642s # * ComAcmeCoyote::surprised: 642s # * @object: A #ComAcmeCoyote. 642s # * 642s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 642s # * 642s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 642s # */ 642s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 642s # g_signal_new ("surprised", 642s # G_TYPE_FROM_INTERFACE (iface), 642s # G_SIGNAL_RUN_LAST, 642s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 642s # NULL, 642s # NULL, 642s # com_acme_coyote_signal_marshal_surprised, 642s # G_TYPE_NONE, 642s # 0); 642s # 642s # /* GObject properties for D-Bus properties: */ 642s # /** 642s # * ComAcmeCoyote:mood: 642s # * 642s # * Represents the D-Bus property "Mood". 642s # * 642s # * 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. 642s # */ 642s # g_object_interface_install_property (iface, 642s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 642s # } 642s # 642s # /** 642s # * com_acme_coyote_get_mood: (skip) 642s # * @object: A #ComAcmeCoyote. 642s # * 642s # * Gets the value of the "Mood" D-Bus property. 642s # * 642s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 642s # * 642s # * 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. 642s # * 642s # * 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. 642s # */ 642s # const gchar * 642s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 642s # { 642s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 642s # 642s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 642s # } 642s # 642s # /** 642s # * com_acme_coyote_dup_mood: (skip) 642s # * @object: A #ComAcmeCoyote. 642s # * 642s # * Gets a copy of the "Mood" D-Bus property. 642s # * 642s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 642s # * 642s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 642s # */ 642s # gchar * 642s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 642s # { 642s # gchar *value; 642s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 642s # return value; 642s # } 642s # 642s # /** 642s # * com_acme_coyote_set_mood: (skip) 642s # * @object: A #ComAcmeCoyote. 642s # * @value: The value to set. 642s # * 642s # * Sets the "Mood" D-Bus property to @value. 642s # * 642s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 642s # */ 642s # void 642s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 642s # { 642s # g_object_set (G_OBJECT (object), "mood", value, NULL); 642s # } 642s # 642s # /** 642s # * com_acme_coyote_emit_surprised: 642s # * @object: A #ComAcmeCoyote. 642s # * 642s # * Emits the "Surprised" D-Bus signal. 642s # */ 642s # void 642s # com_acme_coyote_emit_surprised ( 642s # ComAcmeCoyote *object) 642s # { 642s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 642s # } 642s # 642s # /** 642s # * com_acme_coyote_call_run: 642s # * @proxy: A #ComAcmeCoyoteProxy. 642s # * @cancellable: (nullable): A #GCancellable or %NULL. 642s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 642s # * @user_data: User data to pass to @callback. 642s # * 642s # * Asynchronously invokes the Run() D-Bus method on @proxy. 642s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 642s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 642s # * 642s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 642s # */ 642s # void 642s # com_acme_coyote_call_run ( 642s # ComAcmeCoyote *proxy, 642s # GCancellable *cancellable, 642s # GAsyncReadyCallback callback, 642s # gpointer user_data) 642s # { 642s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 642s # "Run", 642s # g_variant_new ("()"), 642s # G_DBUS_CALL_FLAGS_NONE, 642s # -1, 642s # cancellable, 642s # callback, 642s # user_data); 642s # } 642s # 642s # /** 642s # * com_acme_coyote_call_run_finish: 642s # * @proxy: A #ComAcmeCoyoteProxy. 642s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 642s # * @error: Return location for error or %NULL. 642s # * 642s # * Finishes an operation started with com_acme_coyote_call_run(). 642s # * 642s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 642s # */ 642s # gboolean 642s # com_acme_coyote_call_run_finish ( 642s # ComAcmeCoyote *proxy, 642s # GAsyncResult *res, 642s # GError **error) 642s # { 642s # GVariant *_ret; 642s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 642s # if (_ret == NULL) 642s # goto _out; 642s # g_variant_get (_ret, 642s # "()"); 642s # g_variant_unref (_ret); 642s # _out: 642s # return _ret != NULL; 642s # } 642s # 642s # /** 642s # * com_acme_coyote_call_run_sync: 642s # * @proxy: A #ComAcmeCoyoteProxy. 642s # * @cancellable: (nullable): A #GCancellable or %NULL. 642s # * @error: Return location for error or %NULL. 642s # * 642s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 642s # * 642s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 642s # * 642s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 642s # */ 642s # gboolean 642s # com_acme_coyote_call_run_sync ( 642s # ComAcmeCoyote *proxy, 642s # GCancellable *cancellable, 642s # GError **error) 642s # { 642s # GVariant *_ret; 642s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 642s # "Run", 642s # g_variant_new ("()"), 642s # G_DBUS_CALL_FLAGS_NONE, 642s # -1, 642s # cancellable, 642s # error); 642s # if (_ret == NULL) 642s # goto _out; 642s # g_variant_get (_ret, 642s # "()"); 642s # g_variant_unref (_ret); 642s # _out: 642s # return _ret != NULL; 642s # } 642s # 642s # /** 642s # * com_acme_coyote_call_sleep: 642s # * @proxy: A #ComAcmeCoyoteProxy. 642s # * @cancellable: (nullable): A #GCancellable or %NULL. 642s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 642s # * @user_data: User data to pass to @callback. 642s # * 642s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 642s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 642s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 642s # * 642s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 642s # */ 642s # void 642s # com_acme_coyote_call_sleep ( 642s # ComAcmeCoyote *proxy, 642s # GCancellable *cancellable, 642s # GAsyncReadyCallback callback, 642s # gpointer user_data) 642s # { 642s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 642s # "Sleep", 642s # g_variant_new ("()"), 642s # G_DBUS_CALL_FLAGS_NONE, 642s # -1, 642s # cancellable, 642s # callback, 642s # user_data); 642s # } 642s # 642s # /** 642s # * com_acme_coyote_call_sleep_finish: 642s # * @proxy: A #ComAcmeCoyoteProxy. 642s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 642s # * @error: Return location for error or %NULL. 642s # * 642s # * Finishes an operation started with com_acme_coyote_call_sleep(). 642s # * 642s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 642s # */ 642s # gboolean 642s # com_acme_coyote_call_sleep_finish ( 642s # ComAcmeCoyote *proxy, 642s # GAsyncResult *res, 642s # GError **error) 642s # { 642s # GVariant *_ret; 642s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 642s # if (_ret == NULL) 642s # goto _out; 642s # g_variant_get (_ret, 642s # "()"); 642s # g_variant_unref (_ret); 642s # _out: 642s # return _ret != NULL; 642s # } 642s # 642s # /** 642s # * com_acme_coyote_call_sleep_sync: 642s # * @proxy: A #ComAcmeCoyoteProxy. 642s # * @cancellable: (nullable): A #GCancellable or %NULL. 642s # * @error: Return location for error or %NULL. 642s # * 642s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 642s # * 642s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 642s # * 642s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 642s # */ 642s # gboolean 642s # com_acme_coyote_call_sleep_sync ( 642s # ComAcmeCoyote *proxy, 642s # GCancellable *cancellable, 642s # GError **error) 642s # { 642s # GVariant *_ret; 642s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 642s # "Sleep", 642s # g_variant_new ("()"), 642s # G_DBUS_CALL_FLAGS_NONE, 642s # -1, 642s # cancellable, 642s # error); 642s # if (_ret == NULL) 642s # goto _out; 642s # g_variant_get (_ret, 642s # "()"); 642s # g_variant_unref (_ret); 642s # _out: 642s # return _ret != NULL; 642s # } 642s # 642s # /** 642s # * com_acme_coyote_call_attack: 642s # * @proxy: A #ComAcmeCoyoteProxy. 642s # * @cancellable: (nullable): A #GCancellable or %NULL. 642s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 642s # * @user_data: User data to pass to @callback. 642s # * 642s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 642s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 642s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 642s # * 642s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 642s # */ 642s # void 642s # com_acme_coyote_call_attack ( 642s # ComAcmeCoyote *proxy, 642s # GCancellable *cancellable, 642s # GAsyncReadyCallback callback, 642s # gpointer user_data) 642s # { 642s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 642s # "Attack", 642s # g_variant_new ("()"), 642s # G_DBUS_CALL_FLAGS_NONE, 642s # -1, 642s # cancellable, 642s # callback, 642s # user_data); 642s # } 642s # 642s # /** 642s # * com_acme_coyote_call_attack_finish: 642s # * @proxy: A #ComAcmeCoyoteProxy. 642s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 642s # * @error: Return location for error or %NULL. 642s # * 642s # * Finishes an operation started with com_acme_coyote_call_attack(). 642s # * 642s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 642s # */ 642s # gboolean 642s # com_acme_coyote_call_attack_finish ( 642s # ComAcmeCoyote *proxy, 642s # GAsyncResult *res, 642s # GError **error) 642s # { 642s # GVariant *_ret; 642s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 642s # if (_ret == NULL) 642s # goto _out; 642s # g_variant_get (_ret, 642s # "()"); 642s # g_variant_unref (_ret); 642s # _out: 642s # return _ret != NULL; 642s # } 642s # 642s # /** 642s # * com_acme_coyote_call_attack_sync: 642s # * @proxy: A #ComAcmeCoyoteProxy. 642s # * @cancellable: (nullable): A #GCancellable or %NULL. 642s # * @error: Return location for error or %NULL. 642s # * 642s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 642s # * 642s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 642s # * 642s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 642s # */ 642s # gboolean 642s # com_acme_coyote_call_attack_sync ( 642s # ComAcmeCoyote *proxy, 642s # GCancellable *cancellable, 642s # GError **error) 642s # { 642s # GVariant *_ret; 642s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 642s # "Attack", 642s # g_variant_new ("()"), 642s # G_DBUS_CALL_FLAGS_NONE, 642s # -1, 642s # cancellable, 642s # error); 642s # if (_ret == NULL) 642s # goto _out; 642s # g_variant_get (_ret, 642s # "()"); 642s # g_variant_unref (_ret); 642s # _out: 642s # return _ret != NULL; 642s # } 642s # 642s # /** 642s # * com_acme_coyote_complete_run: 642s # * @object: A #ComAcmeCoyote. 642s # * @invocation: (transfer full): A #GDBusMethodInvocation. 642s # * 642s # * 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. 642s # * 642s # * This method will free @invocation, you cannot use it afterwards. 642s # */ 642s # void 642s # com_acme_coyote_complete_run ( 642s # ComAcmeCoyote *object G_GNUC_UNUSED, 642s # GDBusMethodInvocation *invocation) 642s # { 642s # g_dbus_method_invocation_return_value (invocation, 642s # g_variant_new ("()")); 642s # } 642s # 642s # /** 642s # * com_acme_coyote_complete_sleep: 642s # * @object: A #ComAcmeCoyote. 642s # * @invocation: (transfer full): A #GDBusMethodInvocation. 642s # * 642s # * 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. 642s # * 642s # * This method will free @invocation, you cannot use it afterwards. 642s # */ 642s # void 642s # com_acme_coyote_complete_sleep ( 642s # ComAcmeCoyote *object G_GNUC_UNUSED, 642s # GDBusMethodInvocation *invocation) 642s # { 642s # g_dbus_method_invocation_return_value (invocation, 642s # g_variant_new ("()")); 642s # } 642s # 642s # /** 642s # * com_acme_coyote_complete_attack: 642s # * @object: A #ComAcmeCoyote. 642s # * @invocation: (transfer full): A #GDBusMethodInvocation. 642s # * 642s # * 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. 642s # * 642s # * This method will free @invocation, you cannot use it afterwards. 642s # */ 642s # void 642s # com_acme_coyote_complete_attack ( 642s # ComAcmeCoyote *object G_GNUC_UNUSED, 642s # GDBusMethodInvocation *invocation) 642s # { 642s # g_dbus_method_invocation_return_value (invocation, 642s # g_variant_new ("()")); 642s # } 642s # 642s # /* ------------------------------------------------------------------------ */ 642s # 642s # /** 642s # * ComAcmeCoyoteProxy: 642s # * 642s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 642s # */ 642s # 642s # /** 642s # * ComAcmeCoyoteProxyClass: 642s # * @parent_class: The parent class. 642s # * 642s # * Class structure for #ComAcmeCoyoteProxy. 642s # */ 642s # 642s # struct _ComAcmeCoyoteProxyPrivate 642s # { 642s # GData *qdata; 642s # }; 642s # 642s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 642s # 642s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 642s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 642s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 642s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 642s # 642s # #else 642s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 642s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 642s # 642s # #endif 642s # static void 642s # com_acme_coyote_proxy_finalize (GObject *object) 642s # { 642s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 642s # g_datalist_clear (&proxy->priv->qdata); 642s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 642s # } 642s # 642s # static void 642s # com_acme_coyote_proxy_get_property (GObject *object, 642s # guint prop_id, 642s # GValue *value, 642s # GParamSpec *pspec G_GNUC_UNUSED) 642s # { 642s # const _ExtendedGDBusPropertyInfo *info; 642s # GVariant *variant; 642s # g_assert (prop_id != 0 && prop_id - 1 < 1); 642s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 642s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 642s # if (info->use_gvariant) 642s # { 642s # g_value_set_variant (value, variant); 642s # } 642s # else 642s # { 642s # if (variant != NULL) 642s # g_dbus_gvariant_to_gvalue (variant, value); 642s # } 642s # if (variant != NULL) 642s # g_variant_unref (variant); 642s # } 642s # 642s # static void 642s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 642s # GAsyncResult *res, 642s # gpointer user_data) 642s # { 642s # const _ExtendedGDBusPropertyInfo *info = user_data; 642s # GError *error; 642s # GVariant *_ret; 642s # error = NULL; 642s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 642s # if (!_ret) 642s # { 642s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 642s # info->parent_struct.name, 642s # error->message, g_quark_to_string (error->domain), error->code); 642s # g_error_free (error); 642s # } 642s # else 642s # { 642s # g_variant_unref (_ret); 642s # } 642s # } 642s # 642s # static void 642s # com_acme_coyote_proxy_set_property (GObject *object, 642s # guint prop_id, 642s # const GValue *value, 642s # GParamSpec *pspec G_GNUC_UNUSED) 642s # { 642s # const _ExtendedGDBusPropertyInfo *info; 642s # GVariant *variant; 642s # g_assert (prop_id != 0 && prop_id - 1 < 1); 642s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 642s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 642s # g_dbus_proxy_call (G_DBUS_PROXY (object), 642s # "org.freedesktop.DBus.Properties.Set", 642s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 642s # G_DBUS_CALL_FLAGS_NONE, 642s # -1, 642s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 642s # g_variant_unref (variant); 642s # } 642s # 642s # static void 642s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 642s # const gchar *sender_name G_GNUC_UNUSED, 642s # const gchar *signal_name, 642s # GVariant *parameters) 642s # { 642s # _ExtendedGDBusSignalInfo *info; 642s # GVariantIter iter; 642s # GVariant *child; 642s # GValue *paramv; 642s # gsize num_params; 642s # gsize n; 642s # guint signal_id; 642s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 642s # if (info == NULL) 642s # return; 642s # num_params = g_variant_n_children (parameters); 642s # paramv = g_new0 (GValue, num_params + 1); 642s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 642s # g_value_set_object (¶mv[0], proxy); 642s # g_variant_iter_init (&iter, parameters); 642s # n = 1; 642s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 642s # { 642s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 642s # if (arg_info->use_gvariant) 642s # { 642s # g_value_init (¶mv[n], G_TYPE_VARIANT); 642s # g_value_set_variant (¶mv[n], child); 642s # n++; 642s # } 642s # else 642s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 642s # g_variant_unref (child); 642s # } 642s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 642s # g_signal_emitv (paramv, signal_id, 0, NULL); 642s # for (n = 0; n < num_params + 1; n++) 642s # g_value_unset (¶mv[n]); 642s # g_free (paramv); 642s # } 642s # 642s # static void 642s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 642s # GVariant *changed_properties, 642s # const gchar *const *invalidated_properties) 642s # { 642s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 642s # guint n; 642s # const gchar *key; 642s # GVariantIter *iter; 642s # _ExtendedGDBusPropertyInfo *info; 642s # g_variant_get (changed_properties, "a{sv}", &iter); 642s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 642s # { 642s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 642s # g_datalist_remove_data (&proxy->priv->qdata, key); 642s # if (info != NULL) 642s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 642s # } 642s # g_variant_iter_free (iter); 642s # for (n = 0; invalidated_properties[n] != NULL; n++) 642s # { 642s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 642s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 642s # if (info != NULL) 642s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 642s # } 642s # } 642s # 642s # static const gchar * 642s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 642s # { 642s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 642s # GVariant *variant; 642s # const gchar *value = NULL; 642s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 642s # if (variant != NULL) 642s # { 642s # value = g_variant_get_string (variant, NULL); 642s # g_variant_unref (variant); 642s # } 642s # return value; 642s # } 642s # 642s # static void 642s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 642s # { 642s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 642s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 642s # #else 642s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 642s # #endif 642s # 642s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 642s # } 642s # 642s # static void 642s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 642s # { 642s # GObjectClass *gobject_class; 642s # GDBusProxyClass *proxy_class; 642s # 642s # gobject_class = G_OBJECT_CLASS (klass); 642s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 642s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 642s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 642s # 642s # proxy_class = G_DBUS_PROXY_CLASS (klass); 642s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 642s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 642s # 642s # com_acme_coyote_override_properties (gobject_class, 1); 642s # 642s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 642s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 642s # #endif 642s # } 642s # 642s # static void 642s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 642s # { 642s # iface->get_mood = com_acme_coyote_proxy_get_mood; 642s # } 642s # 642s # /** 642s # * com_acme_coyote_proxy_new: 642s # * @connection: A #GDBusConnection. 642s # * @flags: Flags from the #GDBusProxyFlags enumeration. 642s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 642s # * @object_path: An object path. 642s # * @cancellable: (nullable): A #GCancellable or %NULL. 642s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 642s # * @user_data: User data to pass to @callback. 642s # * 642s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 642s # * 642s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 642s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 642s # * 642s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 642s # */ 642s # void 642s # com_acme_coyote_proxy_new ( 642s # GDBusConnection *connection, 642s # GDBusProxyFlags flags, 642s # const gchar *name, 642s # const gchar *object_path, 642s # GCancellable *cancellable, 642s # GAsyncReadyCallback callback, 642s # gpointer user_data) 642s # { 642s # 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); 642s # } 642s # 642s # /** 642s # * com_acme_coyote_proxy_new_finish: 642s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 642s # * @error: Return location for error or %NULL 642s # * 642s # * Finishes an operation started with com_acme_coyote_proxy_new(). 642s # * 642s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 642s # */ 642s # ComAcmeCoyote * 642s # com_acme_coyote_proxy_new_finish ( 642s # GAsyncResult *res, 642s # GError **error) 642s # { 642s # GObject *ret; 642s # GObject *source_object; 642s # source_object = g_async_result_get_source_object (res); 642s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 642s # g_object_unref (source_object); 642s # if (ret != NULL) 642s # return COM_ACME_COYOTE (ret); 642s # else 642s # return NULL; 642s # } 642s # 642s # /** 642s # * com_acme_coyote_proxy_new_sync: 642s # * @connection: A #GDBusConnection. 642s # * @flags: Flags from the #GDBusProxyFlags enumeration. 642s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 642s # * @object_path: An object path. 642s # * @cancellable: (nullable): A #GCancellable or %NULL. 642s # * @error: Return location for error or %NULL 642s # * 642s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 642s # * 642s # * The calling thread is blocked until a reply is received. 642s # * 642s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 642s # * 642s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 642s # */ 642s # ComAcmeCoyote * 642s # com_acme_coyote_proxy_new_sync ( 642s # GDBusConnection *connection, 642s # GDBusProxyFlags flags, 642s # const gchar *name, 642s # const gchar *object_path, 642s # GCancellable *cancellable, 642s # GError **error) 642s # { 642s # GInitable *ret; 642s # 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); 642s # if (ret != NULL) 642s # return COM_ACME_COYOTE (ret); 642s # else 642s # return NULL; 642s # } 642s # 642s # 642s # /** 642s # * com_acme_coyote_proxy_new_for_bus: 642s # * @bus_type: A #GBusType. 642s # * @flags: Flags from the #GDBusProxyFlags enumeration. 642s # * @name: A bus name (well-known or unique). 642s # * @object_path: An object path. 642s # * @cancellable: (nullable): A #GCancellable or %NULL. 642s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 642s # * @user_data: User data to pass to @callback. 642s # * 642s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 642s # * 642s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 642s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 642s # * 642s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 642s # */ 642s # void 642s # com_acme_coyote_proxy_new_for_bus ( 642s # GBusType bus_type, 642s # GDBusProxyFlags flags, 642s # const gchar *name, 642s # const gchar *object_path, 642s # GCancellable *cancellable, 642s # GAsyncReadyCallback callback, 642s # gpointer user_data) 642s # { 642s # 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); 642s # } 642s # 642s # /** 642s # * com_acme_coyote_proxy_new_for_bus_finish: 642s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 642s # * @error: Return location for error or %NULL 642s # * 642s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 642s # * 642s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 642s # */ 642s # ComAcmeCoyote * 642s # com_acme_coyote_proxy_new_for_bus_finish ( 642s # GAsyncResult *res, 642s # GError **error) 642s # { 642s # GObject *ret; 642s # GObject *source_object; 642s # source_object = g_async_result_get_source_object (res); 642s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 642s # g_object_unref (source_object); 642s # if (ret != NULL) 642s # return COM_ACME_COYOTE (ret); 642s # else 642s # return NULL; 642s # } 642s # 642s # /** 642s # * com_acme_coyote_proxy_new_for_bus_sync: 642s # * @bus_type: A #GBusType. 642s # * @flags: Flags from the #GDBusProxyFlags enumeration. 642s # * @name: A bus name (well-known or unique). 642s # * @object_path: An object path. 642s # * @cancellable: (nullable): A #GCancellable or %NULL. 642s # * @error: Return location for error or %NULL 642s # * 642s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 642s # * 642s # * The calling thread is blocked until a reply is received. 642s # * 642s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 642s # * 642s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 642s # */ 642s # ComAcmeCoyote * 642s # com_acme_coyote_proxy_new_for_bus_sync ( 642s # GBusType bus_type, 642s # GDBusProxyFlags flags, 642s # const gchar *name, 642s # const gchar *object_path, 642s # GCancellable *cancellable, 642s # GError **error) 642s # { 642s # GInitable *ret; 642s # 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); 642s # if (ret != NULL) 642s # return COM_ACME_COYOTE (ret); 642s # else 642s # return NULL; 642s # } 642s # 642s # 642s # /* ------------------------------------------------------------------------ */ 642s # 642s # /** 642s # * ComAcmeCoyoteSkeleton: 642s # * 642s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 642s # */ 642s # 642s # /** 642s # * ComAcmeCoyoteSkeletonClass: 642s # * @parent_class: The parent class. 642s # * 642s # * Class structure for #ComAcmeCoyoteSkeleton. 642s # */ 642s # 642s # struct _ComAcmeCoyoteSkeletonPrivate 642s # { 642s # GValue *properties; 642s # GList *changed_properties; 642s # GSource *changed_properties_idle_source; 642s # GMainContext *context; 642s # GMutex lock; 642s # }; 642s # 642s # static void 642s # _com_acme_coyote_skeleton_handle_method_call ( 642s # GDBusConnection *connection G_GNUC_UNUSED, 642s # const gchar *sender G_GNUC_UNUSED, 642s # const gchar *object_path G_GNUC_UNUSED, 642s # const gchar *interface_name, 642s # const gchar *method_name, 642s # GVariant *parameters, 642s # GDBusMethodInvocation *invocation, 642s # gpointer user_data) 642s # { 642s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 642s # _ExtendedGDBusMethodInfo *info; 642s # GVariantIter iter; 642s # GVariant *child; 642s # GValue *paramv; 642s # gsize num_params; 642s # guint num_extra; 642s # gsize n; 642s # guint signal_id; 642s # GValue return_value = G_VALUE_INIT; 642s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 642s # g_assert (info != NULL); 642s # num_params = g_variant_n_children (parameters); 642s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 642s # n = 0; 642s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 642s # g_value_set_object (¶mv[n++], skeleton); 642s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 642s # g_value_set_object (¶mv[n++], invocation); 642s # if (info->pass_fdlist) 642s # { 642s # #ifdef G_OS_UNIX 642s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 642s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 642s # #else 642s # g_assert_not_reached (); 642s # #endif 642s # } 642s # g_variant_iter_init (&iter, parameters); 642s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 642s # { 642s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 642s # if (arg_info->use_gvariant) 642s # { 642s # g_value_init (¶mv[n], G_TYPE_VARIANT); 642s # g_value_set_variant (¶mv[n], child); 642s # n++; 642s # } 642s # else 642s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 642s # g_variant_unref (child); 642s # } 642s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 642s # g_value_init (&return_value, G_TYPE_BOOLEAN); 642s # g_signal_emitv (paramv, signal_id, 0, &return_value); 642s # if (!g_value_get_boolean (&return_value)) 642s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 642s # g_value_unset (&return_value); 642s # for (n = 0; n < num_params + num_extra; n++) 642s # g_value_unset (¶mv[n]); 642s # g_free (paramv); 642s # } 642s # 642s # static GVariant * 642s # _com_acme_coyote_skeleton_handle_get_property ( 642s # GDBusConnection *connection G_GNUC_UNUSED, 642s # const gchar *sender G_GNUC_UNUSED, 642s # const gchar *object_path G_GNUC_UNUSED, 642s # const gchar *interface_name G_GNUC_UNUSED, 642s # const gchar *property_name, 642s # GError **error, 642s # gpointer user_data) 642s # { 642s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 642s # GValue value = G_VALUE_INIT; 642s # GParamSpec *pspec; 642s # _ExtendedGDBusPropertyInfo *info; 642s # GVariant *ret; 642s # ret = NULL; 642s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 642s # g_assert (info != NULL); 642s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 642s # if (pspec == NULL) 642s # { 642s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 642s # } 642s # else 642s # { 642s # g_value_init (&value, pspec->value_type); 642s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 642s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 642s # g_value_unset (&value); 642s # } 642s # return ret; 642s # } 642s # 642s # static gboolean 642s # _com_acme_coyote_skeleton_handle_set_property ( 642s # GDBusConnection *connection G_GNUC_UNUSED, 642s # const gchar *sender G_GNUC_UNUSED, 642s # const gchar *object_path G_GNUC_UNUSED, 642s # const gchar *interface_name G_GNUC_UNUSED, 642s # const gchar *property_name, 642s # GVariant *variant, 642s # GError **error, 642s # gpointer user_data) 642s # { 642s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 642s # GValue value = G_VALUE_INIT; 642s # GParamSpec *pspec; 642s # _ExtendedGDBusPropertyInfo *info; 642s # gboolean ret; 642s # ret = FALSE; 642s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 642s # g_assert (info != NULL); 642s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 642s # if (pspec == NULL) 642s # { 642s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 642s # } 642s # else 642s # { 642s # if (info->use_gvariant) 642s # g_value_set_variant (&value, variant); 642s # else 642s # g_dbus_gvariant_to_gvalue (variant, &value); 642s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 642s # g_value_unset (&value); 642s # ret = TRUE; 642s # } 642s # return ret; 642s # } 642s # 642s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 642s # { 642s # _com_acme_coyote_skeleton_handle_method_call, 642s # _com_acme_coyote_skeleton_handle_get_property, 642s # _com_acme_coyote_skeleton_handle_set_property, 642s # {NULL} 642s # }; 642s # 642s # static GDBusInterfaceInfo * 642s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 642s # { 642s # return com_acme_coyote_interface_info (); 642s # } 642s # 642s # static GDBusInterfaceVTable * 642s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 642s # { 642s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 642s # } 642s # 642s # static GVariant * 642s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 642s # { 642s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 642s # 642s # GVariantBuilder builder; 642s # guint n; 642s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 642s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 642s # goto out; 642s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 642s # { 642s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 642s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 642s # { 642s # GVariant *value; 642s # 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); 642s # if (value != NULL) 642s # { 642s # g_variant_take_ref (value); 642s # g_variant_builder_add (&builder, "{sv}", info->name, value); 642s # g_variant_unref (value); 642s # } 642s # } 642s # } 642s # out: 642s # return g_variant_builder_end (&builder); 642s # } 642s # 642s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 642s # 642s # static void 642s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 642s # { 642s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 642s # gboolean emit_changed = FALSE; 642s # 642s # g_mutex_lock (&skeleton->priv->lock); 642s # if (skeleton->priv->changed_properties_idle_source != NULL) 642s # { 642s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 642s # skeleton->priv->changed_properties_idle_source = NULL; 642s # emit_changed = TRUE; 642s # } 642s # g_mutex_unlock (&skeleton->priv->lock); 642s # 642s # if (emit_changed) 642s # _com_acme_coyote_emit_changed (skeleton); 642s # } 642s # 642s # static void 642s # _com_acme_coyote_on_signal_surprised ( 642s # ComAcmeCoyote *object) 642s # { 642s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 642s # 642s # GList *connections, *l; 642s # GVariant *signal_variant; 642s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 642s # 642s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 642s # for (l = connections; l != NULL; l = l->next) 642s # { 642s # GDBusConnection *connection = l->data; 642s # g_dbus_connection_emit_signal (connection, 642s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 642s # signal_variant, NULL); 642s # } 642s # g_variant_unref (signal_variant); 642s # g_list_free_full (connections, g_object_unref); 642s # } 642s # 642s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 642s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 642s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 642s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 642s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 642s # 642s # #else 642s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 642s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 642s # 642s # #endif 642s # static void 642s # com_acme_coyote_skeleton_finalize (GObject *object) 642s # { 642s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 642s # guint n; 642s # for (n = 0; n < 1; n++) 642s # g_value_unset (&skeleton->priv->properties[n]); 642s # g_free (skeleton->priv->properties); 642s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 642s # if (skeleton->priv->changed_properties_idle_source != NULL) 642s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 642s # g_main_context_unref (skeleton->priv->context); 642s # g_mutex_clear (&skeleton->priv->lock); 642s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 642s # } 642s # 642s # static void 642s # com_acme_coyote_skeleton_get_property (GObject *object, 642s # guint prop_id, 642s # GValue *value, 642s # GParamSpec *pspec G_GNUC_UNUSED) 642s # { 642s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 642s # g_assert (prop_id != 0 && prop_id - 1 < 1); 642s # g_mutex_lock (&skeleton->priv->lock); 642s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 642s # g_mutex_unlock (&skeleton->priv->lock); 642s # } 642s # 642s # static gboolean 642s # _com_acme_coyote_emit_changed (gpointer user_data) 642s # { 642s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 642s # GList *l; 642s # GVariantBuilder builder; 642s # GVariantBuilder invalidated_builder; 642s # guint num_changes; 642s # 642s # g_mutex_lock (&skeleton->priv->lock); 642s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 642s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 642s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 642s # { 642s # ChangedProperty *cp = l->data; 642s # GVariant *variant; 642s # const GValue *cur_value; 642s # 642s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 642s # if (!_g_value_equal (cur_value, &cp->orig_value)) 642s # { 642s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 642s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 642s # g_variant_unref (variant); 642s # num_changes++; 642s # } 642s # } 642s # if (num_changes > 0) 642s # { 642s # GList *connections, *ll; 642s # GVariant *signal_variant; 642s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 642s # &builder, &invalidated_builder)); 642s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 642s # for (ll = connections; ll != NULL; ll = ll->next) 642s # { 642s # GDBusConnection *connection = ll->data; 642s # 642s # g_dbus_connection_emit_signal (connection, 642s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 642s # "org.freedesktop.DBus.Properties", 642s # "PropertiesChanged", 642s # signal_variant, 642s # NULL); 642s # } 642s # g_variant_unref (signal_variant); 642s # g_list_free_full (connections, g_object_unref); 642s # } 642s # else 642s # { 642s # g_variant_builder_clear (&builder); 642s # g_variant_builder_clear (&invalidated_builder); 642s # } 642s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 642s # skeleton->priv->changed_properties = NULL; 642s # skeleton->priv->changed_properties_idle_source = NULL; 642s # g_mutex_unlock (&skeleton->priv->lock); 642s # return FALSE; 642s # } 642s # 642s # static void 642s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 642s # { 642s # ChangedProperty *cp; 642s # GList *l; 642s # cp = NULL; 642s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 642s # { 642s # ChangedProperty *i_cp = l->data; 642s # if (i_cp->info == info) 642s # { 642s # cp = i_cp; 642s # break; 642s # } 642s # } 642s # if (cp == NULL) 642s # { 642s # cp = g_new0 (ChangedProperty, 1); 642s # cp->prop_id = prop_id; 642s # cp->info = info; 642s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 642s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 642s # g_value_copy (orig_value, &cp->orig_value); 642s # } 642s # } 642s # 642s # static void 642s # com_acme_coyote_skeleton_notify (GObject *object, 642s # GParamSpec *pspec G_GNUC_UNUSED) 642s # { 642s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 642s # g_mutex_lock (&skeleton->priv->lock); 642s # if (skeleton->priv->changed_properties != NULL && 642s # skeleton->priv->changed_properties_idle_source == NULL) 642s # { 642s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 642s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 642s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 642s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 642s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 642s # g_source_unref (skeleton->priv->changed_properties_idle_source); 642s # } 642s # g_mutex_unlock (&skeleton->priv->lock); 642s # } 642s # 642s # static void 642s # com_acme_coyote_skeleton_set_property (GObject *object, 642s # guint prop_id, 642s # const GValue *value, 642s # GParamSpec *pspec) 642s # { 642s # const _ExtendedGDBusPropertyInfo *info; 642s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 642s # g_assert (prop_id != 0 && prop_id - 1 < 1); 642s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 642s # g_mutex_lock (&skeleton->priv->lock); 642s # g_object_freeze_notify (object); 642s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 642s # { 642s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 642s # info->emits_changed_signal) 642s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 642s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 642s # g_object_notify_by_pspec (object, pspec); 642s # } 642s # g_mutex_unlock (&skeleton->priv->lock); 642s # g_object_thaw_notify (object); 642s # } 642s # 642s # static void 642s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 642s # { 642s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 642s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 642s # #else 642s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 642s # #endif 642s # 642s # g_mutex_init (&skeleton->priv->lock); 642s # skeleton->priv->context = g_main_context_ref_thread_default (); 642s # skeleton->priv->properties = g_new0 (GValue, 1); 642s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 642s # } 642s # 642s # static const gchar * 642s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 642s # { 642s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 642s # const gchar *value; 642s # g_mutex_lock (&skeleton->priv->lock); 642s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 642s # g_mutex_unlock (&skeleton->priv->lock); 642s # return value; 642s # } 642s # 642s # static void 642s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 642s # { 642s # GObjectClass *gobject_class; 642s # GDBusInterfaceSkeletonClass *skeleton_class; 642s # 642s # gobject_class = G_OBJECT_CLASS (klass); 642s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 642s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 642s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 642s # gobject_class->notify = com_acme_coyote_skeleton_notify; 642s # 642s # 642s # com_acme_coyote_override_properties (gobject_class, 1); 642s # 642s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 642s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 642s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 642s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 642s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 642s # 642s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 642s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 642s # #endif 642s # } 642s # 642s # static void 642s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 642s # { 642s # iface->surprised = _com_acme_coyote_on_signal_surprised; 642s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 642s # } 642s # 642s # /** 642s # * com_acme_coyote_skeleton_new: 642s # * 642s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 642s # * 642s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 642s # */ 642s # ComAcmeCoyote * 642s # com_acme_coyote_skeleton_new (void) 642s # { 642s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 642s # } 642s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 642s # tmpdir: /tmp/tmper9ykjby 642s # codegen: /usr/bin/gdbus-codegen 642s # /tmp/tmper9ykjby/tmpprf8vf4t.xml: 642s # 642s # 642s # 642s # 642s # 642s # 642s # 642s # 642s # 642s # 642s # 642s # 642s # 642s # 642s # 642s # 642s # 642s # 642s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmper9ykjby/tmpprf8vf4t.xml', '--output', '-', '--header'] 642s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 642s # Output: /* 642s # * This file is generated by gdbus-codegen, do not modify it. 642s # * 642s # * The license of this code is the same as for the D-Bus interface description 642s # * it was derived from. Note that it links to GLib, so must comply with the 642s # * LGPL linking clauses. 642s # */ 642s # 642s # #ifndef __STDOUT__ 642s # #define __STDOUT__ 642s # 642s # #include 642s # 642s # G_BEGIN_DECLS 642s # 642s # 642s # /* ------------------------------------------------------------------------ */ 642s # /* Declarations for FDPassing */ 642s # 642s # #define TYPE_FDPASSING (fdpassing_get_type ()) 642s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 642s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 642s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 642s # 642s # struct _FDPassing; 642s # typedef struct _FDPassing FDPassing; 642s # typedef struct _FDPassingIface FDPassingIface; 642s # 642s # struct _FDPassingIface 642s # { 642s # GTypeInterface parent_iface; 642s # 642s # gboolean (*handle_hello_fd) ( 642s # FDPassing *object, 642s # GDBusMethodInvocation *invocation, 642s # GUnixFDList *fd_list, 642s # const gchar *arg_greeting); 642s # 642s # gboolean (*handle_no_annotation) ( 642s # FDPassing *object, 642s # GDBusMethodInvocation *invocation, 642s # GVariant *arg_greeting, 642s # const gchar *arg_greeting_locale); 642s # 642s # gboolean (*handle_no_annotation_nested) ( 642s # FDPassing *object, 642s # GDBusMethodInvocation *invocation, 642s # GVariant *arg_files); 642s # 642s # }; 642s # 642s # GType fdpassing_get_type (void) G_GNUC_CONST; 642s # 642s # GDBusInterfaceInfo *fdpassing_interface_info (void); 642s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 642s # 642s # 642s # /* D-Bus method call completion functions: */ 642s # void fdpassing_complete_hello_fd ( 642s # FDPassing *object, 642s # GDBusMethodInvocation *invocation, 642s # GUnixFDList *fd_list, 642s # const gchar *response); 642s # 642s # void fdpassing_complete_no_annotation ( 642s # FDPassing *object, 642s # GDBusMethodInvocation *invocation, 642s # GVariant *response, 642s # const gchar *response_locale); 642s # 642s # void fdpassing_complete_no_annotation_nested ( 642s # FDPassing *object, 642s # GDBusMethodInvocation *invocation); 642s # 642s # 642s # 642s # /* D-Bus method calls: */ 642s # void fdpassing_call_hello_fd ( 642s # FDPassing *proxy, 642s # const gchar *arg_greeting, 642s # GUnixFDList *fd_list, 642s # GCancellable *cancellable, 642s # GAsyncReadyCallback callback, 642s # gpointer user_data); 642s # 642s # gboolean fdpassing_call_hello_fd_finish ( 642s # FDPassing *proxy, 642s # gchar **out_response, 642s # GUnixFDList **out_fd_list, 642s # GAsyncResult *res, 642s # GError **error); 642s # 642s # gboolean fdpassing_call_hello_fd_sync ( 642s # FDPassing *proxy, 642s # const gchar *arg_greeting, 642s # GUnixFDList *fd_list, 642s # gchar **out_response, 642s # GUnixFDList **out_fd_list, 642s # GCancellable *cancellable, 642s # GError **error); 642s # 642s # void fdpassing_call_no_annotation ( 642s # FDPassing *proxy, 642s # GVariant *arg_greeting, 642s # const gchar *arg_greeting_locale, 642s # GCancellable *cancellable, 642s # GAsyncReadyCallback callback, 642s # gpointer user_data); 642s # 642s # gboolean fdpassing_call_no_annotation_finish ( 642s # FDPassing *proxy, 642s # GVariant **out_response, 642s # gchar **out_response_locale, 642s # GAsyncResult *res, 642s # GError **error); 642s # 642s # gboolean fdpassing_call_no_annotation_sync ( 642s # FDPassing *proxy, 642s # GVariant *arg_greeting, 642s # const gchar *arg_greeting_locale, 642s # GVariant **out_response, 642s # gchar **out_response_locale, 642s # GCancellable *cancellable, 642s # GError **error); 642s # 642s # void fdpassing_call_no_annotation_nested ( 642s # FDPassing *proxy, 642s # GVariant *arg_files, 642s # GCancellable *cancellable, 642s # GAsyncReadyCallback callback, 642s # gpointer user_data); 642s # 642s # gboolean fdpassing_call_no_annotation_nested_finish ( 642s # FDPassing *proxy, 642s # GAsyncResult *res, 642s # GError **error); 642s # 642s # gboolean fdpassing_call_no_annotation_nested_sync ( 642s # FDPassing *proxy, 642s # GVariant *arg_files, 642s # GCancellable *cancellable, 642s # GError **error); 642s # 642s # 642s # 642s # /* ---- */ 642s # 642s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 642s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 642s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 642s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 642s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 642s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 642s # 642s # typedef struct _FDPassingProxy FDPassingProxy; 642s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 642s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 642s # 642s # struct _FDPassingProxy 642s # { 642s # /*< private >*/ 642s # GDBusProxy parent_instance; 642s # FDPassingProxyPrivate *priv; 642s # }; 642s # 642s # struct _FDPassingProxyClass 642s # { 642s # GDBusProxyClass parent_class; 642s # }; 642s # 642s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 642s # 642s # #if GLIB_CHECK_VERSION(2, 44, 0) 642s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 642s # #endif 642s # 642s # void fdpassing_proxy_new ( 642s # GDBusConnection *connection, 642s # GDBusProxyFlags flags, 642s # const gchar *name, 642s # const gchar *object_path, 642s # GCancellable *cancellable, 642s # GAsyncReadyCallback callback, 642s # gpointer user_data); 642s # FDPassing *fdpassing_proxy_new_finish ( 642s # GAsyncResult *res, 642s # GError **error); 642s # FDPassing *fdpassing_proxy_new_sync ( 642s # GDBusConnection *connection, 642s # GDBusProxyFlags flags, 642s # const gchar *name, 642s # const gchar *object_path, 642s # GCancellable *cancellable, 642s # GError **error); 642s # 642s # void fdpassing_proxy_new_for_bus ( 642s # GBusType bus_type, 642s # GDBusProxyFlags flags, 642s # const gchar *name, 642s # const gchar *object_path, 642s # GCancellable *cancellable, 642s # GAsyncReadyCallback callback, 642s # gpointer user_data); 642s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 642s # GAsyncResult *res, 642s # GError **error); 642s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 642s # GBusType bus_type, 642s # GDBusProxyFlags flags, 642s # const gchar *name, 642s # const gchar *object_path, 642s # GCancellable *cancellable, 642s # GError **error); 642s # 642s # 642s # /* ---- */ 642s # 642s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 642s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 642s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 642s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 642s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 642s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 642s # 642s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 642s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 642s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 642s # 642s # struct _FDPassingSkeleton 642s # { 642s # /*< private >*/ 642s # GDBusInterfaceSkeleton parent_instance; 642s # FDPassingSkeletonPrivate *priv; 642s # }; 642s # 642s # struct _FDPassingSkeletonClass 642s # { 642s # GDBusInterfaceSkeletonClass parent_class; 642s # }; 642s # 642s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 642s # 642s # #if GLIB_CHECK_VERSION(2, 44, 0) 642s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 642s # #endif 642s # 642s # FDPassing *fdpassing_skeleton_new (void); 642s # 642s # 642s # G_END_DECLS 642s # 642s # #endif /* __STDOUT__ */ 642s # /tmp/tmper9ykjby/tmp2n7sznir.xml: 642s # 642s # 642s # 642s # 642s # 642s # 642s # 642s # 642s # 642s # 642s # 642s # 642s # 642s # 642s # 642s # 642s # 642s # 642s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmper9ykjby/tmp2n7sznir.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 642s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 642s # Output: /* 642s # * This file is generated by gdbus-codegen, do not modify it. 642s # * 642s # * The license of this code is the same as for the D-Bus interface description 642s # * it was derived from. Note that it links to GLib, so must comply with the 642s # * LGPL linking clauses. 642s # */ 642s # 642s # #ifndef __STDOUT__ 642s # #define __STDOUT__ 642s # 642s # #include 642s # 642s # G_BEGIN_DECLS 642s # 642s # 642s # /* ------------------------------------------------------------------------ */ 642s # /* Declarations for FDPassing */ 642s # 642s # #define TYPE_FDPASSING (fdpassing_get_type ()) 642s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 642s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 642s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 642s # 642s # struct _FDPassing; 642s # typedef struct _FDPassing FDPassing; 642s # typedef struct _FDPassingIface FDPassingIface; 642s # 642s # struct _FDPassingIface 642s # { 642s # GTypeInterface parent_iface; 642s # 642s # gboolean (*handle_hello_fd) ( 642s # FDPassing *object, 642s # GDBusMethodInvocation *invocation, 642s # GUnixFDList *fd_list, 642s # const gchar *arg_greeting); 642s # 642s # gboolean (*handle_no_annotation) ( 642s # FDPassing *object, 642s # GDBusMethodInvocation *invocation, 642s # GVariant *arg_greeting, 642s # const gchar *arg_greeting_locale); 642s # 642s # gboolean (*handle_no_annotation_nested) ( 642s # FDPassing *object, 642s # GDBusMethodInvocation *invocation, 642s # GVariant *arg_files); 642s # 642s # }; 642s # 642s # GType fdpassing_get_type (void) G_GNUC_CONST; 642s # 642s # GDBusInterfaceInfo *fdpassing_interface_info (void); 642s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 642s # 642s # 642s # /* D-Bus method call completion functions: */ 642s # void fdpassing_complete_hello_fd ( 642s # FDPassing *object, 642s # GDBusMethodInvocation *invocation, 642s # GUnixFDList *fd_list, 642s # const gchar *response); 642s # 642s # void fdpassing_complete_no_annotation ( 642s # FDPassing *object, 642s # GDBusMethodInvocation *invocation, 642s # GVariant *response, 642s # const gchar *response_locale); 642s # 642s # void fdpassing_complete_no_annotation_nested ( 642s # FDPassing *object, 642s # GDBusMethodInvocation *invocation); 642s # 642s # 642s # 642s # /* D-Bus method calls: */ 642s # void fdpassing_call_hello_fd ( 642s # FDPassing *proxy, 642s # const gchar *arg_greeting, 642s # GUnixFDList *fd_list, 642s # GCancellable *cancellable, 642s # GAsyncReadyCallback callback, 642s # gpointer user_data); 642s # 642s # gboolean fdpassing_call_hello_fd_finish ( 642s # FDPassing *proxy, 642s # gchar **out_response, 642s # GUnixFDList **out_fd_list, 642s # GAsyncResult *res, 642s # GError **error); 642s # 642s # gboolean fdpassing_call_hello_fd_sync ( 642s # FDPassing *proxy, 642s # const gchar *arg_greeting, 642s # GUnixFDList *fd_list, 642s # gchar **out_response, 642s # GUnixFDList **out_fd_list, 642s # GCancellable *cancellable, 642s # GError **error); 642s # 642s # void fdpassing_call_no_annotation ( 642s # FDPassing *proxy, 642s # GVariant *arg_greeting, 642s # const gchar *arg_greeting_locale, 642s # GCancellable *cancellable, 642s # GAsyncReadyCallback callback, 642s # gpointer user_data); 642s # 642s # gboolean fdpassing_call_no_annotation_finish ( 642s # FDPassing *proxy, 642s # GVariant **out_response, 642s # gchar **out_response_locale, 642s # GAsyncResult *res, 642s # GError **error); 642s # 642s # gboolean fdpassing_call_no_annotation_sync ( 642s # FDPassing *proxy, 642s # GVariant *arg_greeting, 642s # const gchar *arg_greeting_locale, 642s # GVariant **out_response, 642s # gchar **out_response_locale, 642s # GCancellable *cancellable, 642s # GError **error); 642s # 642s # void fdpassing_call_no_annotation_nested ( 642s # FDPassing *proxy, 642s # GVariant *arg_files, 642s # GCancellable *cancellable, 642s # GAsyncReadyCallback callback, 642s # gpointer user_data); 642s # 642s # gboolean fdpassing_call_no_annotation_nested_finish ( 642s # FDPassing *proxy, 642s # GAsyncResult *res, 642s # GError **error); 642s # 642s # gboolean fdpassing_call_no_annotation_nested_sync ( 642s # FDPassing *proxy, 642s # GVariant *arg_files, 642s # GCancellable *cancellable, 642s # GError **error); 642s # 642s # 642s # 642s # /* ---- */ 642s # 642s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 642s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 642s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 642s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 642s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 642s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 642s # 642s # typedef struct _FDPassingProxy FDPassingProxy; 642s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 642s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 642s # 642s # struct _FDPassingProxy 642s # { 642s # /*< private >*/ 642s # GDBusProxy parent_instance; 642s # FDPassingProxyPrivate *priv; 642s # }; 642s # 642s # struct _FDPassingProxyClass 642s # { 642s # GDBusProxyClass parent_class; 642s # }; 642s # 642s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 642s # 642s # #if GLIB_CHECK_VERSION(2, 44, 0) 642s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 642s # #endif 642s # 642s # void fdpassing_proxy_new ( 642s # GDBusConnection *connection, 642s # GDBusProxyFlags flags, 642s # const gchar *name, 642s # const gchar *object_path, 642s # GCancellable *cancellable, 642s # GAsyncReadyCallback callback, 642s # gpointer user_data); 642s # FDPassing *fdpassing_proxy_new_finish ( 642s # GAsyncResult *res, 642s # GError **error); 642s # FDPassing *fdpassing_proxy_new_sync ( 642s # GDBusConnection *connection, 642s # GDBusProxyFlags flags, 642s # const gchar *name, 642s # const gchar *object_path, 642s # GCancellable *cancellable, 642s # GError **error); 642s # 642s # void fdpassing_proxy_new_for_bus ( 642s # GBusType bus_type, 642s # GDBusProxyFlags flags, 642s # const gchar *name, 642s # const gchar *object_path, 642s # GCancellable *cancellable, 642s # GAsyncReadyCallback callback, 642s # gpointer user_data); 642s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 642s # GAsyncResult *res, 642s # GError **error); 642s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 642s # GBusType bus_type, 642s # GDBusProxyFlags flags, 642s # const gchar *name, 642s # const gchar *object_path, 642s # GCancellable *cancellable, 642s # GError **error); 642s # 642s # 642s # /* ---- */ 642s # 642s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 642s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 642s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 642s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 642s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 642s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 642s # 642s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 642s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 642s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 642s # 642s # struct _FDPassingSkeleton 642s # { 642s # /*< private >*/ 642s # GDBusInterfaceSkeleton parent_instance; 642s # FDPassingSkeletonPrivate *priv; 642s # }; 642s # 642s # struct _FDPassingSkeletonClass 642s # { 642s # GDBusInterfaceSkeletonClass parent_class; 642s # }; 642s # 642s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 642s # 642s # #if GLIB_CHECK_VERSION(2, 44, 0) 642s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 642s # #endif 642s # 642s # FDPassing *fdpassing_skeleton_new (void); 642s # 642s # 642s # G_END_DECLS 642s # 642s # #endif /* __STDOUT__ */ 642s # /tmp/tmper9ykjby/tmp5q9m74g3.xml: 642s # 642s # 642s # 642s # 642s # 642s # 642s # 642s # 642s # 642s # 642s # 642s # 642s # 642s # 642s # 642s # 642s # 642s # 642s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmper9ykjby/tmp5q9m74g3.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 642s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 642s # Output: /* 642s # * This file is generated by gdbus-codegen, do not modify it. 642s # * 642s # * The license of this code is the same as for the D-Bus interface description 642s # * it was derived from. Note that it links to GLib, so must comply with the 642s # * LGPL linking clauses. 642s # */ 642s # 642s # #ifndef __STDOUT__ 642s # #define __STDOUT__ 642s # 642s # #include 642s # 642s # G_BEGIN_DECLS 642s # 642s # 642s # /* ------------------------------------------------------------------------ */ 642s # /* Declarations for FDPassing */ 642s # 642s # #define TYPE_FDPASSING (fdpassing_get_type ()) 642s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 642s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 642s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 642s # 642s # struct _FDPassing; 642s # typedef struct _FDPassing FDPassing; 642s # typedef struct _FDPassingIface FDPassingIface; 642s # 642s # struct _FDPassingIface 642s # { 642s # GTypeInterface parent_iface; 642s # 642s # gboolean (*handle_hello_fd) ( 642s # FDPassing *object, 642s # GDBusMethodInvocation *invocation, 642s # GUnixFDList *fd_list, 642s # const gchar *arg_greeting); 642s # 642s # gboolean (*handle_no_annotation) ( 642s # FDPassing *object, 642s # GDBusMethodInvocation *invocation, 642s # GUnixFDList *fd_list, 642s # GVariant *arg_greeting, 642s # const gchar *arg_greeting_locale); 642s # 642s # gboolean (*handle_no_annotation_nested) ( 642s # FDPassing *object, 642s # GDBusMethodInvocation *invocation, 642s # GUnixFDList *fd_list, 642s # GVariant *arg_files); 642s # 642s # }; 642s # 642s # GType fdpassing_get_type (void) G_GNUC_CONST; 642s # 642s # GDBusInterfaceInfo *fdpassing_interface_info (void); 642s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 642s # 642s # 642s # /* D-Bus method call completion functions: */ 642s # void fdpassing_complete_hello_fd ( 642s # FDPassing *object, 642s # GDBusMethodInvocation *invocation, 642s # GUnixFDList *fd_list, 642s # const gchar *response); 642s # 642s # void fdpassing_complete_no_annotation ( 642s # FDPassing *object, 642s # GDBusMethodInvocation *invocation, 642s # GUnixFDList *fd_list, 642s # GVariant *response, 642s # const gchar *response_locale); 642s # 642s # void fdpassing_complete_no_annotation_nested ( 642s # FDPassing *object, 642s # GDBusMethodInvocation *invocation, 642s # GUnixFDList *fd_list); 642s # 642s # 642s # 642s # /* D-Bus method calls: */ 642s # void fdpassing_call_hello_fd ( 642s # FDPassing *proxy, 642s # const gchar *arg_greeting, 642s # GDBusCallFlags call_flags, 642s # gint timeout_msec, 642s # GUnixFDList *fd_list, 642s # GCancellable *cancellable, 642s # GAsyncReadyCallback callback, 642s # gpointer user_data); 642s # 642s # gboolean fdpassing_call_hello_fd_finish ( 642s # FDPassing *proxy, 642s # gchar **out_response, 642s # GUnixFDList **out_fd_list, 642s # GAsyncResult *res, 642s # GError **error); 642s # 642s # gboolean fdpassing_call_hello_fd_sync ( 642s # FDPassing *proxy, 642s # const gchar *arg_greeting, 642s # GDBusCallFlags call_flags, 642s # gint timeout_msec, 642s # GUnixFDList *fd_list, 642s # gchar **out_response, 642s # GUnixFDList **out_fd_list, 642s # GCancellable *cancellable, 642s # GError **error); 642s # 642s # void fdpassing_call_no_annotation ( 642s # FDPassing *proxy, 642s # GVariant *arg_greeting, 642s # const gchar *arg_greeting_locale, 642s # GDBusCallFlags call_flags, 642s # gint timeout_msec, 642s # GUnixFDList *fd_list, 642s # GCancellable *cancellable, 642s # GAsyncReadyCallback callback, 642s # gpointer user_data); 642s # 642s # gboolean fdpassing_call_no_annotation_finish ( 642s # FDPassing *proxy, 642s # GVariant **out_response, 642s # gchar **out_response_locale, 642s # GUnixFDList **out_fd_list, 642s # GAsyncResult *res, 642s # GError **error); 642s # 642s # gboolean fdpassing_call_no_annotation_sync ( 642s # FDPassing *proxy, 642s # GVariant *arg_greeting, 642s # const gchar *arg_greeting_locale, 642s # GDBusCallFlags call_flags, 642s # gint timeout_msec, 642s # GUnixFDList *fd_list, 642s # GVariant **out_response, 642s # gchar **out_response_locale, 642s # GUnixFDList **out_fd_list, 642s # GCancellable *cancellable, 642s # GError **error); 642s # 642s # void fdpassing_call_no_annotation_nested ( 642s # FDPassing *proxy, 642s # GVariant *arg_files, 642s # GDBusCallFlags call_flags, 642s # gint timeout_msec, 642s # GUnixFDList *fd_list, 642s # GCancellable *cancellable, 642s # GAsyncReadyCallback callback, 642s # gpointer user_data); 642s # 642s # gboolean fdpassing_call_no_annotation_nested_finish ( 642s # FDPassing *proxy, 642s # GUnixFDList **out_fd_list, 642s # GAsyncResult *res, 642s # GError **error); 642s # 642s # gboolean fdpassing_call_no_annotation_nested_sync ( 642s # FDPassing *proxy, 642s # GVariant *arg_files, 642s # GDBusCallFlags call_flags, 642s # gint timeout_msec, 642s # GUnixFDList *fd_list, 642s # GUnixFDList **out_fd_list, 642s # GCancellable *cancellable, 642s # GError **error); 642s # 642s # 642s # 642s # /* ---- */ 642s # 642s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 642s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 642s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 642s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 642s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 642s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 642s # 642s # typedef struct _FDPassingProxy FDPassingProxy; 642s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 642s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 642s # 642s # struct _FDPassingProxy 642s # { 642s # /*< private >*/ 642s # GDBusProxy parent_instance; 642s # FDPassingProxyPrivate *priv; 642s # }; 642s # 642s # struct _FDPassingProxyClass 642s # { 642s # GDBusProxyClass parent_class; 642s # }; 642s # 642s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 642s # 642s # #if GLIB_CHECK_VERSION(2, 44, 0) 642s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 642s # #endif 642s # 642s # void fdpassing_proxy_new ( 642s # GDBusConnection *connection, 642s # GDBusProxyFlags flags, 642s # const gchar *name, 642s # const gchar *object_path, 642s # GCancellable *cancellable, 642s # GAsyncReadyCallback callback, 642s # gpointer user_data); 642s # FDPassing *fdpassing_proxy_new_finish ( 642s # GAsyncResult *res, 642s # GError **error); 642s # FDPassing *fdpassing_proxy_new_sync ( 642s # GDBusConnection *connection, 642s # GDBusProxyFlags flags, 642s # const gchar *name, 642s # const gchar *object_path, 642s # GCancellable *cancellable, 642s # GError **error); 642s # 642s # void fdpassing_proxy_new_for_bus ( 642s # GBusType bus_type, 642s # GDBusProxyFlags flags, 642s # const gchar *name, 642s # const gchar *object_path, 642s # GCancellable *cancellable, 642s # GAsyncReadyCallback callback, 642s # gpointer user_data); 642s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 642s # GAsyncResult *res, 642s # GError **error); 642s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 642s # GBusType bus_type, 642s # GDBusProxyFlags flags, 642s # const gchar *name, 642s # const gchar *object_path, 642s # GCancellable *cancellable, 642s # GError **error); 642s # 642s # 642s # /* ---- */ 642s # 642s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 642s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 642s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 642s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 642s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 642s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 642s # 642s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 642s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 642s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 642s # 642s # struct _FDPassingSkeleton 642s # { 642s # /*< private >*/ 642s # GDBusInterfaceSkeleton parent_instance; 642s # FDPassingSkeletonPrivate *priv; 642s # }; 642s # 642s # struct _FDPassingSkeletonClass 642s # { 642s # GDBusInterfaceSkeletonClass parent_class; 642s # }; 642s # 642s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 642s # 642s # #if GLIB_CHECK_VERSION(2, 44, 0) 642s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 642s # #endif 642s # 642s # FDPassing *fdpassing_skeleton_new (void); 642s # 642s # 642s # G_END_DECLS 642s # 642s # #endif /* __STDOUT__ */ 642s 1..39 642s ok - glib/codegen.py.test 642s # Running test: glib/asyncqueue.test 642s TAP version 13 642s # random seed: R02Sd92e6f059dee05d785307814a8070a18 642s 1..7 642s # Start of asyncqueue tests 642s ok 1 /asyncqueue/basics 642s ok 2 /asyncqueue/sort 642s ok 3 /asyncqueue/destroy 642s ok 4 /asyncqueue/threads 642s ok 5 /asyncqueue/timed 642s ok 6 /asyncqueue/remove 642s ok 7 /asyncqueue/push_front 642s # End of asyncqueue tests 642s ok - glib/asyncqueue.test 642s # Running test: glib/collate.test 642s TAP version 13 642s # random seed: R02Sebabeb4882bc751d7cccbdc557088472 642s 1..9 642s # Start of unicode tests 642s # Start of collate tests 642s ok 1 /unicode/collate/0 642s ok 2 /unicode/collate/1 642s ok 3 /unicode/collate/2 642s # End of collate tests 642s # Start of collate-key tests 642s ok 4 /unicode/collate-key/0 642s ok 5 /unicode/collate-key/1 642s ok 6 /unicode/collate-key/2 642s # End of collate-key tests 642s # Start of collate-filename tests 642s ok 7 /unicode/collate-filename/0 642s ok 8 /unicode/collate-filename/1 642s ok 9 /unicode/collate-filename/2 642s # End of collate-filename tests 642s # End of unicode tests 642s ok - glib/collate.test 642s # Running test: glib/utils.test 642s TAP version 13 642s # random seed: R02Sa1e5616c984698dd5b0278e4a6ff5b69 642s 1..40 642s # Start of utils tests 642s ok 1 /utils/language-names 642s ok 2 /utils/locale-variants 642s ok 3 /utils/version 642s ok 4 /utils/appname 642s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 642s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 642s ok 5 /utils/prgname-thread-safety 642s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 642s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 642s ok 6 /utils/tmpdir 642s ok 7 /utils/basic_bits 642s ok 8 /utils/bits 642s ok 9 /utils/swap 642s ok 10 /utils/find-program 642s ok 11 /utils/find-program-for-path 642s ok 12 /utils/debug 642s ok 13 /utils/codeset 642s ok 14 /utils/codeset2 642s ok 15 /utils/console-charset 642s ok 16 /utils/gettext 642s ok 17 /utils/username 642s ok 18 /utils/realname 642s ok 19 /utils/hostname 642s ok 20 /utils/xdgdirs 642s ok 21 /utils/specialdir 642s # NAME: Ubuntu 642s ok 22 /utils/os-info 642s ok 23 /utils/clear-pointer 642s ok 24 /utils/clear-pointer-cast 642s ok 25 /utils/take-pointer 642s ok 26 /utils/clear-source 642s ok 27 /utils/misc-mem 642s # /utils/aligned-mem summary: Aligned memory allocator 642s # Alignment must not be zero 642s # Alignment must be a power of two 642s # Alignment must be a multiple of sizeof(void*) 642s ok 28 /utils/aligned-mem 642s # /utils/free-sized summary: Check that g_free_sized() works 642s ok 29 /utils/free-sized 642s ok 30 /utils/nullify 642s ok 31 /utils/atexit 642s ok 32 /utils/check-setuid 642s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 642s ok 33 /utils/int-limits 642s ok 34 /utils/clear-list 642s ok 35 /utils/clear-slist 642s # Start of specialdir tests 642s ok 36 /utils/specialdir/desktop 642s # End of specialdir tests 642s # Start of clear-pointer tests 642s ok 37 /utils/clear-pointer/side-effects 642s # End of clear-pointer tests 642s # Start of aligned-mem tests 642s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 642s ok 38 /utils/aligned-mem/alignment 642s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 642s ok 39 /utils/aligned-mem/zeroed 642s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 642s ok 40 /utils/aligned-mem/free-sized 642s # Start of subprocess tests 642s # End of subprocess tests 642s # End of aligned-mem tests 642s # End of utils tests 642s ok - glib/utils.test 642s # Running test: glib/scannerapi.test 642s TAP version 13 642s # random seed: R02Sbbcf117ad444eef790a7cccff94157f7 642s 1..4 642s # Start of scanner tests 642s ok 1 /scanner/warn 642s ok 2 /scanner/error 642s ok 3 /scanner/symbols 642s ok 4 /scanner/tokens 642s # End of scanner tests 642s ok - glib/scannerapi.test 642s # Running test: glib/gdbus-connection-flush.test 642s TAP version 13 642s # random seed: R02S936f89155b691bc99bab429efbbb2a9d 642s 1..2 642s # Start of gdbus tests 642s # Start of connection tests 642s # Start of flush tests 642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_589YK2/gdbus/connection/flush/busy/.dirs/home 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_589YK2/gdbus/connection/flush/busy/.dirs/cache 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_589YK2/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_589YK2/gdbus/connection/flush/busy/.dirs/system-config2 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_589YK2/gdbus/connection/flush/busy/.dirs/config 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_589YK2/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_589YK2/gdbus/connection/flush/busy/.dirs/system-data2 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_589YK2/gdbus/connection/flush/busy/.dirs/data 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_589YK2/gdbus/connection/flush/busy/.dirs/state 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_589YK2/gdbus/connection/flush/busy/.dirs/runtime 642s ok 1 /gdbus/connection/flush/busy 642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_589YK2/gdbus/connection/flush/idle/.dirs/home 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_589YK2/gdbus/connection/flush/idle/.dirs/cache 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_589YK2/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_589YK2/gdbus/connection/flush/idle/.dirs/system-config2 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_589YK2/gdbus/connection/flush/idle/.dirs/config 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_589YK2/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_589YK2/gdbus/connection/flush/idle/.dirs/system-data2 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_589YK2/gdbus/connection/flush/idle/.dirs/data 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_589YK2/gdbus/connection/flush/idle/.dirs/state 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_589YK2/gdbus/connection/flush/idle/.dirs/runtime 642s ok 2 /gdbus/connection/flush/idle 642s # End of flush tests 642s # End of connection tests 642s # End of gdbus tests 642s ok - glib/gdbus-connection-flush.test 642s # Running test: glib/appmonitor.test 642s TAP version 13 642s # random seed: R02S1a3d369a31d6085db76cb78af8275cc1 642s 1..1 642s # Start of monitor tests 642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_P7KZK2/monitor/app/.dirs/home 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_P7KZK2/monitor/app/.dirs/cache 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_P7KZK2/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_P7KZK2/monitor/app/.dirs/system-config2 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_P7KZK2/monitor/app/.dirs/config 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_P7KZK2/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_P7KZK2/monitor/app/.dirs/system-data2 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_P7KZK2/monitor/app/.dirs/data 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_P7KZK2/monitor/app/.dirs/state 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_P7KZK2/monitor/app/.dirs/runtime 642s # Using data directory: /tmp/test_appmonitor_P7KZK2/monitor/app/.dirs/data 642s ok 1 /monitor/app 642s # End of monitor tests 642s ok - glib/appmonitor.test 642s # Running test: glib/vfs.test 642s TAP version 13 642s # random seed: R02Saec1790cabde400a2e92993501199dfb 642s 1..3 642s # Start of gvfs tests 642s ok 1 /gvfs/local 642s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 642s ok 2 /gvfs/register-scheme 642s # Start of resource tests 642s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 642s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 642s ok 3 /gvfs/resource/malformed-escaping 642s # End of resource tests 642s # End of gvfs tests 642s ok - glib/vfs.test 642s # Running test: glib/slist.test 642s TAP version 13 642s # random seed: R02Sc4753c98083a44ec6a67dc92469f9e11 642s 1..14 642s # Start of slist tests 642s ok 1 /slist/sort 642s ok 2 /slist/sort-with-data 642s ok 3 /slist/insert-sorted 642s ok 4 /slist/insert-sorted-with-data 642s ok 5 /slist/reverse 642s ok 6 /slist/nth 642s ok 7 /slist/remove 642s ok 8 /slist/remove-all 642s ok 9 /slist/insert 642s ok 10 /slist/position 642s ok 11 /slist/concat 642s ok 12 /slist/copy 642s # Start of sort tests 642s ok 13 /slist/sort/stable 642s # End of sort tests 642s # Start of copy tests 642s ok 14 /slist/copy/deep 642s # End of copy tests 642s # End of slist tests 642s ok - glib/slist.test 642s # Running test: glib/spawn-singlethread.test 642s TAP version 13 642s # random seed: R02S06c808fa6924c9563118a1125e14894f 642s 1..9 642s # Start of gthread tests 642s ok 1 /gthread/spawn-single-sync 642s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 642s ok 2 /gthread/spawn-stderr-socket 642s ok 3 /gthread/spawn-single-async 642s # thread 1 642s # thread 1 642s ok 4 /gthread/spawn-single-async-with-fds 642s ok 5 /gthread/spawn-async-with-invalid-fds 642s ok 6 /gthread/spawn-script 642s ok 7 /gthread/spawn-posix-spawn 642s # Start of spawn tests 642s ok 8 /gthread/spawn/nonexistent 642s # FD map: 642s # • 5 → 15 642s # • 6 → 16 642s # • 7 → 17 642s # • 8 → 18 642s # • 9 → 19 642s # • 10 → 20 642s # • 11 → 21 642s # • 12 → 22 642s # • 13 → 23 642s # • 3 → 13 642s ok 9 /gthread/spawn/fd-assignment-clash 642s # End of spawn tests 642s # End of gthread tests 642s ok - glib/spawn-singlethread.test 642s # Running test: glib/accumulator.test 642s TAP version 13 642s # random seed: R02S6320a332d806d035c8d1ed6397f6f929 642s 1..1 642s # Start of gobject tests 642s ok 1 /gobject/accumulator 642s # End of gobject tests 642s ok - glib/accumulator.test 642s # Running test: glib/1bit-mutex.test 642s TAP version 13 642s # random seed: R02Se559345b40ef40ebbff43806b299c5c0 642s 1..2 642s # Start of glib tests 642s # Start of 1bit-mutex tests 642s # Executing: glib/1bit-mutex.test 642s # Executing: glib/1bit-mutex.test 644s ok 1 /glib/1bit-mutex/int 644s # slow test /glib/1bit-mutex/int executed in 8.83 secs 646s # Executing: glib/1bit-mutex.test 651s # Executing: glib/1bit-mutex.test 653s ok 2 /glib/1bit-mutex/pointer 653s # slow test /glib/1bit-mutex/pointer executed in 8.93 secs 653s # End of 1bit-mutex tests 653s # End of glib tests 653s ok - glib/1bit-mutex.test 653s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 653s TAP version 13 653s # random seed: R02S01c7432231df955377d64a4b95d1b559 653s 1..8 653s # Start of gdbus tests 653s # Start of codegen tests 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/annotations/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/annotations/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/annotations/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/annotations/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/annotations/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/annotations/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/annotations/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/annotations/.dirs/runtime 653s ok 1 /gdbus/codegen/annotations 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/interface_stability/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/interface_stability/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/interface_stability/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/interface_stability/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/interface_stability/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/interface_stability/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/interface_stability/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/interface_stability/.dirs/runtime 653s ok 2 /gdbus/codegen/interface_stability 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/object-manager/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/object-manager/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/object-manager/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/object-manager/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/object-manager/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/object-manager/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/object-manager/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/object-manager/.dirs/runtime 653s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 653s ok 3 /gdbus/codegen/object-manager 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/property-naming/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/property-naming/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/property-naming/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/property-naming/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/property-naming/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/property-naming/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/property-naming/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/property-naming/.dirs/runtime 653s ok 4 /gdbus/codegen/property-naming 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/autocleanups/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/autocleanups/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/autocleanups/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/autocleanups/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/autocleanups/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/autocleanups/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/autocleanups/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/autocleanups/.dirs/runtime 653s ok 5 /gdbus/codegen/autocleanups 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/deprecations/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/deprecations/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/deprecations/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/deprecations/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/deprecations/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/deprecations/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/deprecations/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/deprecations/.dirs/runtime 653s ok 6 /gdbus/codegen/deprecations 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/standalone-interface-info/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/standalone-interface-info/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/standalone-interface-info/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/standalone-interface-info/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/standalone-interface-info/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/standalone-interface-info/.dirs/runtime 653s ok 7 /gdbus/codegen/standalone-interface-info 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/unix-fd-list/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/unix-fd-list/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/unix-fd-list/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/unix-fd-list/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/unix-fd-list/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/unix-fd-list/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/unix-fd-list/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_WPPVK2/gdbus/codegen/unix-fd-list/.dirs/runtime 653s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 653s ok 8 /gdbus/codegen/unix-fd-list 653s # End of codegen tests 653s # End of gdbus tests 653s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 653s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 653s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 653s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 653s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 653s ok - glib/gdbus-test-codegen-min-required-2-64.test 653s # Running test: glib/power-profile-monitor-portal.test 654s TAP version 13 654s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 654s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 654s 1..2 654s ok - glib/power-profile-monitor-portal.test 654s # Running test: glib/gdbus-proxy-well-known-name.test 654s TAP version 13 654s # random seed: R02Sdfebf813a59649b056138ca178638736 654s 1..1 654s # Start of gdbus tests 654s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_OBNSK2/gdbus/proxy-well-known-name/.dirs/home 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_OBNSK2/gdbus/proxy-well-known-name/.dirs/cache 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_OBNSK2/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_OBNSK2/gdbus/proxy-well-known-name/.dirs/system-config2 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_OBNSK2/gdbus/proxy-well-known-name/.dirs/config 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_OBNSK2/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_OBNSK2/gdbus/proxy-well-known-name/.dirs/system-data2 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_OBNSK2/gdbus/proxy-well-known-name/.dirs/data 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_OBNSK2/gdbus/proxy-well-known-name/.dirs/state 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_OBNSK2/gdbus/proxy-well-known-name/.dirs/runtime 654s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 654s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 654s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 654s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 654s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 654s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 654s ok 1 /gdbus/proxy-well-known-name 654s # End of gdbus tests 654s ok - glib/gdbus-proxy-well-known-name.test 654s # Running test: glib/cxx-11.test 654s TAP version 13 654s # random seed: R02Sa3f05d97726e42d4b2a53248143acb2a 654s 1..2 654s # Start of gtask tests 654s # 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. 654s ok 1 /gtask/name 654s # Start of name tests 654s # 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. 654s ok 2 /gtask/name/macro-wrapper 654s # End of name tests 654s # End of gtask tests 654s ok - glib/cxx-11.test 654s # Running test: glib/properties-introspection.test 654s TAP version 13 654s # random seed: R02S0848be0b61ae8c0ade96f09e838f61cc 654s 1..2 654s # Start of properties tests 654s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 654s ok 1 /properties/introspection 654s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 654s ok 2 /properties/collision 654s # End of properties tests 654s ok - glib/properties-introspection.test 654s # Running test: glib/properties-refcount3.test 654s TAP version 13 654s # random seed: R02S594516ff095421c7aa467b0a6b7e211d 654s 1..1 654s # Start of gobject tests 654s # Start of refcount tests 656s # Executing: glib/properties-refcount3.test 661s # Executing: glib/properties-refcount3.test 666s # Executing: glib/properties-refcount3.test 671s # Executing: glib/properties-refcount3.test 676s # Executing: glib/properties-refcount3.test 681s # Executing: glib/properties-refcount3.test 684s # 684s # stopping 684s # 684s # stopped 684s # 684s # 20233625 1412572 684s # 684s ok 1 /gobject/refcount/properties-3 684s # slow test /gobject/refcount/properties-3 executed in 30.01 secs 684s # End of refcount tests 684s # End of gobject tests 684s ok - glib/properties-refcount3.test 684s # Running test: glib/override.test 684s TAP version 13 684s # random seed: R02S2fbe11e35f07f779b43091f67eaecb36 684s 1..1 684s # Start of gobject tests 684s # *** emitting foo on a TestA instance 684s # Expecting: TestA::foo,TestI::foo 684s # Got: TestA::foo,TestI::foo 684s # *** emitting bar on a TestA instance 684s # Expecting: TestA::bar 684s # Got: TestA::bar 684s # *** emitting baz on a TestA instance 684s # Expecting: TestA::baz 684s # Got: TestA::baz 684s # *** emitting foo on a TestB instance 684s # Expecting: TestB::foo,TestA::foo,TestI::foo 684s # Got: TestB::foo,TestA::foo,TestI::foo 684s # *** emitting bar on a TestB instance 684s # Expecting: TestB::bar,TestA::bar 684s # Got: TestB::bar,TestA::bar 684s # *** emitting baz on a TestB instance 684s # Expecting: TestB::baz,TestA::baz 684s # Got: TestB::baz,TestA::baz 684s # *** emitting foo on a TestC instance 684s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 684s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 684s # *** emitting bar on a TestC instance 684s # Expecting: TestC::bar,TestB::bar,TestA::bar 684s # Got: TestC::bar,TestB::bar,TestA::bar 684s # *** emitting baz on a TestC instance 684s # Expecting: TestC::baz,TestB::baz,TestA::baz 684s # Got: TestC::baz,TestB::baz,TestA::baz 684s ok 1 /gobject/override 684s # End of gobject tests 684s ok - glib/override.test 684s # Running test: glib/sandbox.test 684s TAP version 13 684s # random seed: R02S78817df3c013e8ed46c9592fffe43a1a 684s 1..4 684s # Start of sandbox tests 684s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_7WYSK2/sandbox/none/.dirs/home 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_7WYSK2/sandbox/none/.dirs/cache 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_7WYSK2/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_7WYSK2/sandbox/none/.dirs/system-config2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_7WYSK2/sandbox/none/.dirs/config 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_7WYSK2/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_7WYSK2/sandbox/none/.dirs/system-data2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_7WYSK2/sandbox/none/.dirs/data 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_7WYSK2/sandbox/none/.dirs/state 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_7WYSK2/sandbox/none/.dirs/runtime 684s ok 1 /sandbox/none 684s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_7WYSK2/sandbox/snap/.dirs/home 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_7WYSK2/sandbox/snap/.dirs/cache 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_7WYSK2/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_7WYSK2/sandbox/snap/.dirs/system-config2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_7WYSK2/sandbox/snap/.dirs/config 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_7WYSK2/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_7WYSK2/sandbox/snap/.dirs/system-data2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_7WYSK2/sandbox/snap/.dirs/data 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_7WYSK2/sandbox/snap/.dirs/state 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_7WYSK2/sandbox/snap/.dirs/runtime 684s # Created snap.yaml in /tmp/test_sandbox_7WYSK2/snap/current/meta/snap.yaml 684s ok 2 /sandbox/snap 684s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_7WYSK2/sandbox/classic-snap/.dirs/home 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_7WYSK2/sandbox/classic-snap/.dirs/cache 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_7WYSK2/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_7WYSK2/sandbox/classic-snap/.dirs/system-config2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_7WYSK2/sandbox/classic-snap/.dirs/config 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_7WYSK2/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_7WYSK2/sandbox/classic-snap/.dirs/system-data2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_7WYSK2/sandbox/classic-snap/.dirs/data 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_7WYSK2/sandbox/classic-snap/.dirs/state 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_7WYSK2/sandbox/classic-snap/.dirs/runtime 684s # Created snap.yaml in /tmp/test_sandbox_7WYSK2/snap/current/meta/snap.yaml 684s ok 3 /sandbox/classic-snap 684s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_7WYSK2/sandbox/flatpak/.dirs/home 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_7WYSK2/sandbox/flatpak/.dirs/cache 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_7WYSK2/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_7WYSK2/sandbox/flatpak/.dirs/system-config2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_7WYSK2/sandbox/flatpak/.dirs/config 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_7WYSK2/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_7WYSK2/sandbox/flatpak/.dirs/system-data2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_7WYSK2/sandbox/flatpak/.dirs/data 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_7WYSK2/sandbox/flatpak/.dirs/state 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_7WYSK2/sandbox/flatpak/.dirs/runtime 684s # Creating .flatpak-info in /tmp/test_sandbox_7WYSK2/sandbox/flatpak/.dirs/runtime/.flatpak-info 684s ok 4 /sandbox/flatpak 684s # End of sandbox tests 684s ok - glib/sandbox.test 684s # Running test: glib/data-input-stream.test 684s TAP version 13 684s # random seed: R02S624a74a02543e5212b4c71cf13280501 684s 1..10 684s # Start of data-input-stream tests 684s ok 1 /data-input-stream/basic 684s ok 2 /data-input-stream/read-lines-LF 684s ok 3 /data-input-stream/read-lines-LF-valid-utf8 684s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 684s ok 5 /data-input-stream/read-lines-CR 684s ok 6 /data-input-stream/read-lines-CR-LF 684s ok 7 /data-input-stream/read-lines-any 684s ok 8 /data-input-stream/read-until 684s ok 9 /data-input-stream/read-upto 684s ok 10 /data-input-stream/read-int 684s # End of data-input-stream tests 684s ok - glib/data-input-stream.test 684s # Running test: glib/gdbus-message.test 684s TAP version 13 684s # random seed: R02Sb5145efd3332b7c20c7f848f205de4c6 684s 1..3 684s # Start of gdbus tests 684s # Start of message tests 684s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_IKJYK2/gdbus/message/lock/.dirs/home 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_IKJYK2/gdbus/message/lock/.dirs/cache 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_IKJYK2/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_IKJYK2/gdbus/message/lock/.dirs/system-config2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_IKJYK2/gdbus/message/lock/.dirs/config 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_IKJYK2/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_IKJYK2/gdbus/message/lock/.dirs/system-data2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_IKJYK2/gdbus/message/lock/.dirs/data 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_IKJYK2/gdbus/message/lock/.dirs/state 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_IKJYK2/gdbus/message/lock/.dirs/runtime 684s ok 1 /gdbus/message/lock 684s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_IKJYK2/gdbus/message/copy/.dirs/home 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_IKJYK2/gdbus/message/copy/.dirs/cache 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_IKJYK2/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_IKJYK2/gdbus/message/copy/.dirs/system-config2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_IKJYK2/gdbus/message/copy/.dirs/config 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_IKJYK2/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_IKJYK2/gdbus/message/copy/.dirs/system-data2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_IKJYK2/gdbus/message/copy/.dirs/data 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_IKJYK2/gdbus/message/copy/.dirs/state 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_IKJYK2/gdbus/message/copy/.dirs/runtime 684s ok 2 /gdbus/message/copy 684s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_IKJYK2/gdbus/message/bytes-needed/.dirs/home 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_IKJYK2/gdbus/message/bytes-needed/.dirs/cache 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_IKJYK2/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_IKJYK2/gdbus/message/bytes-needed/.dirs/system-config2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_IKJYK2/gdbus/message/bytes-needed/.dirs/config 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_IKJYK2/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_IKJYK2/gdbus/message/bytes-needed/.dirs/system-data2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_IKJYK2/gdbus/message/bytes-needed/.dirs/data 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_IKJYK2/gdbus/message/bytes-needed/.dirs/state 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_IKJYK2/gdbus/message/bytes-needed/.dirs/runtime 684s # Vector: 0 684s # Vector: 1 684s # Vector: 2 684s # Vector: 3 684s # Vector: 4 684s # Vector: 5 684s ok 3 /gdbus/message/bytes-needed 684s # End of message tests 684s # End of gdbus tests 684s ok - glib/gdbus-message.test 684s # Running test: glib/option-context.test 684s TAP version 13 684s # random seed: R02S9c4e85c855ab221d83073a820b01994d 684s 1..57 684s # Start of option tests 684s ok 1 /option/basic 684s ok 2 /option/translate 684s ok 3 /option/strict-posix 684s # Start of help tests 684s ok 4 /option/help/options 684s ok 5 /option/help/no-options 684s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 684s ok 6 /option/help/no-help-options 684s # End of help tests 684s # Start of group tests 684s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 684s ok 7 /option/group/captions 684s ok 8 /option/group/main 684s ok 9 /option/group/error-hook 684s ok 10 /option/group/parse 684s # Start of captions tests 684s # Start of subprocess tests 684s # End of subprocess tests 684s # End of captions tests 684s # End of group tests 684s # Start of restoration tests 684s ok 11 /option/restoration/int 684s ok 12 /option/restoration/string 684s ok 13 /option/restoration/boolean 684s # End of restoration tests 684s # Start of arg tests 684s ok 14 /option/arg/reverse-string 684s ok 15 /option/arg/optional-int 684s # Start of repetition tests 684s ok 16 /option/arg/repetition/int 684s ok 17 /option/arg/repetition/string 684s ok 18 /option/arg/repetition/filename 684s ok 19 /option/arg/repetition/double 684s ok 20 /option/arg/repetition/locale 684s ok 21 /option/arg/repetition/int64 684s # End of repetition tests 684s # Start of array tests 684s ok 22 /option/arg/array/string 684s # End of array tests 684s # Start of callback tests 684s ok 23 /option/arg/callback/string 684s ok 24 /option/arg/callback/count 684s ok 25 /option/arg/callback/optional1 684s ok 26 /option/arg/callback/optional2 684s ok 27 /option/arg/callback/optional3 684s ok 28 /option/arg/callback/optional4 684s ok 29 /option/arg/callback/optional5 684s ok 30 /option/arg/callback/optional6 684s ok 31 /option/arg/callback/optional7 684s ok 32 /option/arg/callback/optional8 684s # End of callback tests 684s # Start of remaining tests 684s ok 33 /option/arg/remaining/callback 684s ok 34 /option/arg/remaining/callback-false 684s ok 35 /option/arg/remaining/non-option 684s ok 36 /option/arg/remaining/separator 684s ok 37 /option/arg/remaining/array 684s # End of remaining tests 684s # Start of ignore tests 684s ok 38 /option/arg/ignore/long 684s ok 39 /option/arg/ignore/short 684s ok 40 /option/arg/ignore/arg 684s # End of ignore tests 684s # Start of rest tests 684s ok 41 /option/arg/rest/non-option 684s ok 42 /option/arg/rest/separator1 684s ok 43 /option/arg/rest/separator2 684s ok 44 /option/arg/rest/separator3 684s ok 45 /option/arg/rest/separator4 684s ok 46 /option/arg/rest/separator5 684s # End of rest tests 684s # End of arg tests 684s # Start of context tests 684s ok 47 /option/context/add 684s ok 48 /option/context/empty2 684s ok 49 /option/context/empty3 684s # End of context tests 684s # Start of bug tests 684s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 684s ok 50 /option/bug/unknown-short 684s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 684s ok 51 /option/bug/lonely-dash 684s ok 52 /option/bug/triple-dash 684s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 684s ok 53 /option/bug/missing-arg 684s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 684s ok 54 /option/bug/dash-arg 684s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 684s ok 55 /option/bug/short-remaining 684s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 684s ok 56 /option/bug/double-free 684s ok 57 /option/bug/double-zero 684s # End of bug tests 684s # End of option tests 684s ok - glib/option-context.test 684s # Running test: glib/function-info.test 684s TAP version 13 684s # random seed: R02Sb7613955e6d1c032dcaf5ec4b511619a 684s 1..1 684s # Start of function-info tests 684s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_7GYYK2/function-info/invoker/.dirs/home 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_7GYYK2/function-info/invoker/.dirs/cache 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_7GYYK2/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_7GYYK2/function-info/invoker/.dirs/system-config2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_7GYYK2/function-info/invoker/.dirs/config 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_7GYYK2/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_7GYYK2/function-info/invoker/.dirs/system-data2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_7GYYK2/function-info/invoker/.dirs/data 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_7GYYK2/function-info/invoker/.dirs/state 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_7GYYK2/function-info/invoker/.dirs/runtime 684s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 684s # /function-info/invoker summary: Test preparing a function invoker 684s ok 1 /function-info/invoker 684s # End of function-info tests 684s ok - glib/function-info.test 684s # Running test: glib/sleepy-stream.test 684s TAP version 13 684s # random seed: R02S17a10945eb9300e7dc014bc2ddb9e359 684s 1..2 684s # Start of filter-stream tests 684s ok 1 /filter-stream/input 684s ok 2 /filter-stream/async 684s # End of filter-stream tests 684s ok - glib/sleepy-stream.test 684s # Running test: glib/utf8-misc.test 684s TAP version 13 684s # random seed: R02Sea4a67e7f5ce8dd0db8b47e9942c1f39 684s 1..7 684s # Start of utf8 tests 684s ok 1 /utf8/strlen 684s ok 2 /utf8/strncpy 684s ok 3 /utf8/strrchr 684s ok 4 /utf8/reverse 684s ok 5 /utf8/substring 684s ok 6 /utf8/make-valid 684s ok 7 /utf8/truncate-middle 684s # End of utf8 tests 684s ok - glib/utf8-misc.test 684s # Running test: glib/gdbus-close-pending.test 684s TAP version 13 684s # random seed: R02S8e1ddb41237b7f33714c4ea8d00cacd0 684s 1..2 684s # Start of gdbus tests 684s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_XR7YK2/gdbus/close-pending/.dirs/home 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_XR7YK2/gdbus/close-pending/.dirs/cache 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_XR7YK2/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_XR7YK2/gdbus/close-pending/.dirs/system-config2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_XR7YK2/gdbus/close-pending/.dirs/config 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_XR7YK2/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_XR7YK2/gdbus/close-pending/.dirs/system-data2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_XR7YK2/gdbus/close-pending/.dirs/data 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_XR7YK2/gdbus/close-pending/.dirs/state 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_XR7YK2/gdbus/close-pending/.dirs/runtime 684s ok 1 /gdbus/close-pending 684s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_XR7YK2/gdbus/unref-pending/.dirs/home 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_XR7YK2/gdbus/unref-pending/.dirs/cache 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_XR7YK2/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_XR7YK2/gdbus/unref-pending/.dirs/system-config2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_XR7YK2/gdbus/unref-pending/.dirs/config 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_XR7YK2/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_XR7YK2/gdbus/unref-pending/.dirs/system-data2 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_XR7YK2/gdbus/unref-pending/.dirs/data 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_XR7YK2/gdbus/unref-pending/.dirs/state 684s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_XR7YK2/gdbus/unref-pending/.dirs/runtime 685s ok 2 /gdbus/unref-pending 685s # End of gdbus tests 685s ok - glib/gdbus-close-pending.test 685s # Running test: glib/io-channel-basic.test 685s TAP version 13 685s # random seed: R02S6879bdc1fd0ba0e1f3e5dfea2fbeaf7a 685s 1..1 685s # Start of gio tests 685s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 685s # # random seed: R02Sadb30cf1d7af684d6631375c70855a4e 685s # # GLib-DEBUG: io-channel-basic: child writing 8+3348 bytes to 6 685s # GLib-DEBUG: io-channel-basic: ...from 5: IN 685s # GLib-DEBUG: io-channel-basic: ...from 5: 3348 bytes 685s # GLib-DEBUG: io-channel-basic: ...from 5: OK 685s # # GLib-DEBUG: io-channel-basic: child writing 8+4822 bytes to 6 685s # GLib-DEBUG: io-channel-basic: ...from 5: IN 685s # GLib-DEBUG: io-channel-basic: ...from 5: 4822 bytes 685s # GLib-DEBUG: io-channel-basic: ...from 5: OK 686s # Executing: glib/io-channel-basic.test 686s # # GLib-DEBUG: io-channel-basic: child writing 8+300 bytes to 6 686s # GLib-DEBUG: io-channel-basic: ...from 5: IN 686s # GLib-DEBUG: io-channel-basic: ...from 5: 300 bytes 686s # GLib-DEBUG: io-channel-basic: ...from 5: OK 686s # # GLib-DEBUG: io-channel-basic: child writing 8+4378 bytes to 6 686s # GLib-DEBUG: io-channel-basic: ...from 5: IN 686s # GLib-DEBUG: io-channel-basic: ...from 5: 4378 bytes 686s # GLib-DEBUG: io-channel-basic: ...from 5: OK 686s # # GLib-DEBUG: io-channel-basic: child writing 8+965 bytes to 6 686s # GLib-DEBUG: io-channel-basic: ...from 5: IN 686s # GLib-DEBUG: io-channel-basic: ...from 5: 965 bytes 686s # GLib-DEBUG: io-channel-basic: ...from 5: OK 686s # # GLib-DEBUG: io-channel-basic: child writing 8+72 bytes to 6 686s # GLib-DEBUG: io-channel-basic: ...from 5: IN 686s # GLib-DEBUG: io-channel-basic: ...from 5: 72 bytes 686s # GLib-DEBUG: io-channel-basic: ...from 5: OK 687s # # GLib-DEBUG: io-channel-basic: child writing 8+1756 bytes to 6 687s # GLib-DEBUG: io-channel-basic: ...from 5: IN 687s # GLib-DEBUG: io-channel-basic: ...from 5: 1756 bytes 687s # GLib-DEBUG: io-channel-basic: ...from 5: OK 687s # # GLib-DEBUG: io-channel-basic: child writing 8+4109 bytes to 6 687s # GLib-DEBUG: io-channel-basic: ...from 5: IN 687s # GLib-DEBUG: io-channel-basic: ...from 5: 4109 bytes 687s # GLib-DEBUG: io-channel-basic: ...from 5: OK 687s # # GLib-DEBUG: io-channel-basic: child writing 8+1371 bytes to 6 687s # GLib-DEBUG: io-channel-basic: ...from 5: IN 687s # GLib-DEBUG: io-channel-basic: ...from 5: 1371 bytes 687s # GLib-DEBUG: io-channel-basic: ...from 5: OK 687s # # GLib-DEBUG: io-channel-basic: child writing 8+56 bytes to 6 687s # GLib-DEBUG: io-channel-basic: ...from 5: IN 687s # GLib-DEBUG: io-channel-basic: ...from 5: 56 bytes 687s # GLib-DEBUG: io-channel-basic: ...from 5: OK 688s # # GLib-DEBUG: io-channel-basic: child writing 8+3638 bytes to 6 688s # GLib-DEBUG: io-channel-basic: ...from 5: IN 688s # GLib-DEBUG: io-channel-basic: ...from 5: 3638 bytes 688s # GLib-DEBUG: io-channel-basic: ...from 5: OK 688s # # GLib-DEBUG: io-channel-basic: child writing 8+3766 bytes to 6 688s # GLib-DEBUG: io-channel-basic: ...from 5: IN 688s # GLib-DEBUG: io-channel-basic: ...from 5: 3766 bytes 688s # GLib-DEBUG: io-channel-basic: ...from 5: OK 688s # # GLib-DEBUG: io-channel-basic: child writing 8+4151 bytes to 6 688s # GLib-DEBUG: io-channel-basic: ...from 5: IN 688s # GLib-DEBUG: io-channel-basic: ...from 5: 4151 bytes 688s # GLib-DEBUG: io-channel-basic: ...from 5: OK 688s # # GLib-DEBUG: io-channel-basic: child writing 8+4597 bytes to 6 688s # GLib-DEBUG: io-channel-basic: ...from 5: IN 688s # GLib-DEBUG: io-channel-basic: ...from 5: 4597 bytes 688s # GLib-DEBUG: io-channel-basic: ...from 5: OK 689s # # GLib-DEBUG: io-channel-basic: child writing 8+798 bytes to 6 689s # GLib-DEBUG: io-channel-basic: ...from 5: IN 689s # GLib-DEBUG: io-channel-basic: ...from 5: 798 bytes 689s # GLib-DEBUG: io-channel-basic: ...from 5: OK 689s # # GLib-DEBUG: io-channel-basic: child writing 8+3815 bytes to 6 689s # GLib-DEBUG: io-channel-basic: ...from 5: IN 689s # GLib-DEBUG: io-channel-basic: ...from 5: 3815 bytes 689s # GLib-DEBUG: io-channel-basic: ...from 5: OK 689s # # GLib-DEBUG: io-channel-basic: child writing 8+4853 bytes to 6 689s # GLib-DEBUG: io-channel-basic: ...from 5: IN 689s # GLib-DEBUG: io-channel-basic: ...from 5: 4853 bytes 689s # GLib-DEBUG: io-channel-basic: ...from 5: OK 690s # # GLib-DEBUG: io-channel-basic: child writing 8+3183 bytes to 6 690s # GLib-DEBUG: io-channel-basic: ...from 5: IN 690s # GLib-DEBUG: io-channel-basic: ...from 5: 3183 bytes 690s # GLib-DEBUG: io-channel-basic: ...from 5: OK 690s # # GLib-DEBUG: io-channel-basic: child writing 8+560 bytes to 6 690s # GLib-DEBUG: io-channel-basic: ...from 5: IN 690s # GLib-DEBUG: io-channel-basic: ...from 5: 560 bytes 690s # GLib-DEBUG: io-channel-basic: ...from 5: OK 690s # # GLib-DEBUG: io-channel-basic: child writing 8+345 bytes to 6 690s # GLib-DEBUG: io-channel-basic: ...from 5: IN 690s # GLib-DEBUG: io-channel-basic: ...from 5: 345 bytes 690s # GLib-DEBUG: io-channel-basic: ...from 5: OK 690s # # GLib-DEBUG: io-channel-basic: child writing 8+1044 bytes to 6 690s # GLib-DEBUG: io-channel-basic: ...from 5: IN 690s # GLib-DEBUG: io-channel-basic: ...from 5: 1044 bytes 690s # GLib-DEBUG: io-channel-basic: ...from 5: OK 691s # # GLib-DEBUG: io-channel-basic: child writing 8+1788 bytes to 6 691s # GLib-DEBUG: io-channel-basic: ...from 5: IN 691s # GLib-DEBUG: io-channel-basic: ...from 5: 1788 bytes 691s # GLib-DEBUG: io-channel-basic: ...from 5: OK 691s # Executing: glib/io-channel-basic.test 691s # # GLib-DEBUG: io-channel-basic: child writing 8+2009 bytes to 6 691s # GLib-DEBUG: io-channel-basic: ...from 5: IN 691s # GLib-DEBUG: io-channel-basic: ...from 5: 2009 bytes 691s # GLib-DEBUG: io-channel-basic: ...from 5: OK 691s # # GLib-DEBUG: io-channel-basic: child writing 8+754 bytes to 6 691s # # GLib-DEBUG: io-channel-basic: child exiting, closing 6 691s # GLib-DEBUG: io-channel-basic: ...from 5: HUP IN 691s # GLib-DEBUG: io-channel-basic: ...from 5: 754 bytes 691s # GLib-DEBUG: io-channel-basic: ...from 5: OK 691s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 691s # # random seed: R02S387f7726fbc39bbbdc0ae0ce0d21cb35 691s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 691s # # random seed: R02Se6f98bdfc107182a98816087bcfeb1e7 691s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 691s # # random seed: R02S10bb08973fd3f3caef8b2846b67a75de 691s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 691s # # random seed: R02Sc658f430dac2fdfc2e0a3d6fc52932db 691s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 691s # # random seed: R02S2115d2cba144b9e8a37a36b659999158 691s # # GLib-DEBUG: io-channel-basic: child writing 8+4711 bytes to 17 691s # GLib-DEBUG: io-channel-basic: ...from 16: IN 691s # GLib-DEBUG: io-channel-basic: ...from 16: 4711 bytes 691s # GLib-DEBUG: io-channel-basic: ...from 16: OK 691s # # GLib-DEBUG: io-channel-basic: child writing 8+3034 bytes to 9 691s # GLib-DEBUG: io-channel-basic: ...from 8: IN 691s # GLib-DEBUG: io-channel-basic: ...from 8: 3034 bytes 691s # GLib-DEBUG: io-channel-basic: ...from 8: OK 691s # # GLib-DEBUG: io-channel-basic: child writing 8+3412 bytes to 11 691s # GLib-DEBUG: io-channel-basic: ...from 10: IN 691s # GLib-DEBUG: io-channel-basic: ...from 10: 3412 bytes 691s # GLib-DEBUG: io-channel-basic: ...from 10: OK 691s # # GLib-DEBUG: io-channel-basic: child writing 8+4435 bytes to 15 691s # GLib-DEBUG: io-channel-basic: ...from 14: IN 691s # GLib-DEBUG: io-channel-basic: ...from 14: 4435 bytes 691s # GLib-DEBUG: io-channel-basic: ...from 14: OK 691s # # GLib-DEBUG: io-channel-basic: child writing 8+2925 bytes to 13 691s # GLib-DEBUG: io-channel-basic: ...from 12: IN 691s # GLib-DEBUG: io-channel-basic: ...from 12: 2925 bytes 691s # GLib-DEBUG: io-channel-basic: ...from 12: OK 692s # # GLib-DEBUG: io-channel-basic: child writing 8+3190 bytes to 17 692s # GLib-DEBUG: io-channel-basic: ...from 16: IN 692s # GLib-DEBUG: io-channel-basic: ...from 16: 3190 bytes 692s # GLib-DEBUG: io-channel-basic: ...from 16: OK 692s # # GLib-DEBUG: io-channel-basic: child writing 8+4985 bytes to 9 692s # GLib-DEBUG: io-channel-basic: ...from 8: IN 692s # GLib-DEBUG: io-channel-basic: ...from 8: 4985 bytes 692s # GLib-DEBUG: io-channel-basic: ...from 8: OK 692s # # GLib-DEBUG: io-channel-basic: child writing 8+1438 bytes to 11 692s # GLib-DEBUG: io-channel-basic: ...from 10: IN 692s # GLib-DEBUG: io-channel-basic: ...from 10: 1438 bytes 692s # GLib-DEBUG: io-channel-basic: ...from 10: OK 692s # # GLib-DEBUG: io-channel-basic: child writing 8+1703 bytes to 15 692s # GLib-DEBUG: io-channel-basic: ...from 14: IN 692s # GLib-DEBUG: io-channel-basic: ...from 14: 1703 bytes 692s # GLib-DEBUG: io-channel-basic: ...from 14: OK 692s # # GLib-DEBUG: io-channel-basic: child writing 8+4694 bytes to 13 692s # GLib-DEBUG: io-channel-basic: ...from 12: IN 692s # GLib-DEBUG: io-channel-basic: ...from 12: 4694 bytes 692s # GLib-DEBUG: io-channel-basic: ...from 12: OK 692s # # GLib-DEBUG: io-channel-basic: child writing 8+2155 bytes to 11 692s # GLib-DEBUG: io-channel-basic: ...from 10: IN 692s # GLib-DEBUG: io-channel-basic: ...from 10: 2155 bytes 692s # GLib-DEBUG: io-channel-basic: ...from 10: OK 692s # # GLib-DEBUG: io-channel-basic: child writing 8+4979 bytes to 17 692s # GLib-DEBUG: io-channel-basic: ...from 16: IN 692s # GLib-DEBUG: io-channel-basic: ...from 16: 4979 bytes 692s # GLib-DEBUG: io-channel-basic: ...from 16: OK 692s # # GLib-DEBUG: io-channel-basic: child writing 8+4640 bytes to 9 692s # GLib-DEBUG: io-channel-basic: ...from 8: IN 692s # GLib-DEBUG: io-channel-basic: ...from 8: 4640 bytes 692s # GLib-DEBUG: io-channel-basic: ...from 8: OK 692s # # GLib-DEBUG: io-channel-basic: child writing 8+1456 bytes to 13 692s # GLib-DEBUG: io-channel-basic: ...from 12: IN 692s # GLib-DEBUG: io-channel-basic: ...from 12: 1456 bytes 692s # GLib-DEBUG: io-channel-basic: ...from 12: OK 692s # # GLib-DEBUG: io-channel-basic: child writing 8+1864 bytes to 15 692s # GLib-DEBUG: io-channel-basic: ...from 14: IN 692s # GLib-DEBUG: io-channel-basic: ...from 14: 1864 bytes 692s # GLib-DEBUG: io-channel-basic: ...from 14: OK 692s # # GLib-DEBUG: io-channel-basic: child writing 8+1809 bytes to 17 692s # GLib-DEBUG: io-channel-basic: ...from 16: IN 692s # GLib-DEBUG: io-channel-basic: ...from 16: 1809 bytes 692s # GLib-DEBUG: io-channel-basic: ...from 16: OK 692s # # GLib-DEBUG: io-channel-basic: child writing 8+1883 bytes to 9 692s # GLib-DEBUG: io-channel-basic: ...from 8: IN 692s # GLib-DEBUG: io-channel-basic: ...from 8: 1883 bytes 692s # GLib-DEBUG: io-channel-basic: ...from 8: OK 692s # # GLib-DEBUG: io-channel-basic: child writing 8+3998 bytes to 15 692s # GLib-DEBUG: io-channel-basic: ...from 14: IN 692s # GLib-DEBUG: io-channel-basic: ...from 14: 3998 bytes 692s # GLib-DEBUG: io-channel-basic: ...from 14: OK 692s # # GLib-DEBUG: io-channel-basic: child writing 8+3961 bytes to 11 692s # GLib-DEBUG: io-channel-basic: ...from 10: IN 692s # GLib-DEBUG: io-channel-basic: ...from 10: 3961 bytes 692s # GLib-DEBUG: io-channel-basic: ...from 10: OK 692s # # GLib-DEBUG: io-channel-basic: child writing 8+584 bytes to 13 692s # GLib-DEBUG: io-channel-basic: ...from 12: IN 692s # GLib-DEBUG: io-channel-basic: ...from 12: 584 bytes 692s # GLib-DEBUG: io-channel-basic: ...from 12: OK 692s # # GLib-DEBUG: io-channel-basic: child writing 8+1194 bytes to 15 692s # GLib-DEBUG: io-channel-basic: ...from 14: IN 692s # GLib-DEBUG: io-channel-basic: ...from 14: 1194 bytes 692s # GLib-DEBUG: io-channel-basic: ...from 14: OK 692s # # GLib-DEBUG: io-channel-basic: child writing 8+4948 bytes to 9 692s # GLib-DEBUG: io-channel-basic: ...from 8: IN 692s # GLib-DEBUG: io-channel-basic: ...from 8: 4948 bytes 692s # GLib-DEBUG: io-channel-basic: ...from 8: OK 692s # # GLib-DEBUG: io-channel-basic: child writing 8+4978 bytes to 17 692s # GLib-DEBUG: io-channel-basic: ...from 16: IN 692s # GLib-DEBUG: io-channel-basic: ...from 16: 4978 bytes 692s # GLib-DEBUG: io-channel-basic: ...from 16: OK 692s # # GLib-DEBUG: io-channel-basic: child writing 8+1790 bytes to 13 692s # GLib-DEBUG: io-channel-basic: ...from 12: IN 692s # GLib-DEBUG: io-channel-basic: ...from 12: 1790 bytes 692s # GLib-DEBUG: io-channel-basic: ...from 12: OK 692s # # GLib-DEBUG: io-channel-basic: child writing 8+3284 bytes to 11 692s # GLib-DEBUG: io-channel-basic: ...from 10: IN 692s # GLib-DEBUG: io-channel-basic: ...from 10: 3284 bytes 692s # GLib-DEBUG: io-channel-basic: ...from 10: OK 693s # # GLib-DEBUG: io-channel-basic: child writing 8+1834 bytes to 15 693s # GLib-DEBUG: io-channel-basic: ...from 14: IN 693s # GLib-DEBUG: io-channel-basic: ...from 14: 1834 bytes 693s # GLib-DEBUG: io-channel-basic: ...from 14: OK 693s # # GLib-DEBUG: io-channel-basic: child writing 8+1539 bytes to 9 693s # GLib-DEBUG: io-channel-basic: ...from 8: IN 693s # GLib-DEBUG: io-channel-basic: ...from 8: 1539 bytes 693s # GLib-DEBUG: io-channel-basic: ...from 8: OK 693s # # GLib-DEBUG: io-channel-basic: child writing 8+3237 bytes to 17 693s # GLib-DEBUG: io-channel-basic: ...from 16: IN 693s # GLib-DEBUG: io-channel-basic: ...from 16: 3237 bytes 693s # GLib-DEBUG: io-channel-basic: ...from 16: OK 693s # # GLib-DEBUG: io-channel-basic: child writing 8+3201 bytes to 13 693s # GLib-DEBUG: io-channel-basic: ...from 12: IN 693s # GLib-DEBUG: io-channel-basic: ...from 12: 3201 bytes 693s # GLib-DEBUG: io-channel-basic: ...from 12: OK 693s # # GLib-DEBUG: io-channel-basic: child writing 8+1366 bytes to 11 693s # GLib-DEBUG: io-channel-basic: ...from 10: IN 693s # GLib-DEBUG: io-channel-basic: ...from 10: 1366 bytes 693s # GLib-DEBUG: io-channel-basic: ...from 10: OK 693s # # GLib-DEBUG: io-channel-basic: child writing 8+3883 bytes to 15 693s # GLib-DEBUG: io-channel-basic: ...from 14: IN 693s # GLib-DEBUG: io-channel-basic: ...from 14: 3883 bytes 693s # GLib-DEBUG: io-channel-basic: ...from 14: OK 693s # # GLib-DEBUG: io-channel-basic: child writing 8+153 bytes to 9 693s # GLib-DEBUG: io-channel-basic: ...from 8: IN 693s # GLib-DEBUG: io-channel-basic: ...from 8: 153 bytes 693s # GLib-DEBUG: io-channel-basic: ...from 8: OK 693s # # GLib-DEBUG: io-channel-basic: child writing 8+2542 bytes to 17 693s # GLib-DEBUG: io-channel-basic: ...from 16: IN 693s # GLib-DEBUG: io-channel-basic: ...from 16: 2542 bytes 693s # GLib-DEBUG: io-channel-basic: ...from 16: OK 693s # # GLib-DEBUG: io-channel-basic: child writing 8+1123 bytes to 13 693s # GLib-DEBUG: io-channel-basic: ...from 12: IN 693s # GLib-DEBUG: io-channel-basic: ...from 12: 1123 bytes 693s # GLib-DEBUG: io-channel-basic: ...from 12: OK 693s # # GLib-DEBUG: io-channel-basic: child writing 8+2613 bytes to 11 693s # GLib-DEBUG: io-channel-basic: ...from 10: IN 693s # GLib-DEBUG: io-channel-basic: ...from 10: 2613 bytes 693s # GLib-DEBUG: io-channel-basic: ...from 10: OK 693s # # GLib-DEBUG: io-channel-basic: child writing 8+146 bytes to 15 693s # GLib-DEBUG: io-channel-basic: ...from 14: IN 693s # GLib-DEBUG: io-channel-basic: ...from 14: 146 bytes 693s # GLib-DEBUG: io-channel-basic: ...from 14: OK 693s # # GLib-DEBUG: io-channel-basic: child writing 8+3048 bytes to 9 693s # GLib-DEBUG: io-channel-basic: ...from 8: IN 693s # GLib-DEBUG: io-channel-basic: ...from 8: 3048 bytes 693s # GLib-DEBUG: io-channel-basic: ...from 8: OK 693s # # GLib-DEBUG: io-channel-basic: child writing 8+3536 bytes to 17 693s # GLib-DEBUG: io-channel-basic: ...from 16: IN 693s # GLib-DEBUG: io-channel-basic: ...from 16: 3536 bytes 693s # GLib-DEBUG: io-channel-basic: ...from 16: OK 693s # # GLib-DEBUG: io-channel-basic: child writing 8+3574 bytes to 11 693s # GLib-DEBUG: io-channel-basic: ...from 10: IN 693s # GLib-DEBUG: io-channel-basic: ...from 10: 3574 bytes 693s # GLib-DEBUG: io-channel-basic: ...from 10: OK 693s # # GLib-DEBUG: io-channel-basic: child writing 8+1794 bytes to 13 693s # GLib-DEBUG: io-channel-basic: ...from 12: IN 693s # GLib-DEBUG: io-channel-basic: ...from 12: 1794 bytes 693s # GLib-DEBUG: io-channel-basic: ...from 12: OK 693s # # GLib-DEBUG: io-channel-basic: child writing 8+1271 bytes to 15 693s # GLib-DEBUG: io-channel-basic: ...from 14: IN 693s # GLib-DEBUG: io-channel-basic: ...from 14: 1271 bytes 693s # GLib-DEBUG: io-channel-basic: ...from 14: OK 693s # # GLib-DEBUG: io-channel-basic: child writing 8+4121 bytes to 9 693s # GLib-DEBUG: io-channel-basic: ...from 8: IN 693s # GLib-DEBUG: io-channel-basic: ...from 8: 4121 bytes 693s # GLib-DEBUG: io-channel-basic: ...from 8: OK 693s # # GLib-DEBUG: io-channel-basic: child writing 8+1029 bytes to 11 693s # GLib-DEBUG: io-channel-basic: ...from 10: IN 693s # GLib-DEBUG: io-channel-basic: ...from 10: 1029 bytes 693s # GLib-DEBUG: io-channel-basic: ...from 10: OK 693s # # GLib-DEBUG: io-channel-basic: child writing 8+3236 bytes to 17 693s # GLib-DEBUG: io-channel-basic: ...from 16: IN 693s # GLib-DEBUG: io-channel-basic: ...from 16: 3236 bytes 693s # GLib-DEBUG: io-channel-basic: ...from 16: OK 693s # # GLib-DEBUG: io-channel-basic: child writing 8+4850 bytes to 13 693s # GLib-DEBUG: io-channel-basic: ...from 12: IN 693s # GLib-DEBUG: io-channel-basic: ...from 12: 4850 bytes 693s # GLib-DEBUG: io-channel-basic: ...from 12: OK 694s # # GLib-DEBUG: io-channel-basic: child writing 8+1860 bytes to 15 694s # GLib-DEBUG: io-channel-basic: ...from 14: IN 694s # GLib-DEBUG: io-channel-basic: ...from 14: 1860 bytes 694s # GLib-DEBUG: io-channel-basic: ...from 14: OK 694s # # GLib-DEBUG: io-channel-basic: child writing 8+3980 bytes to 9 694s # GLib-DEBUG: io-channel-basic: ...from 8: IN 694s # GLib-DEBUG: io-channel-basic: ...from 8: 3980 bytes 694s # GLib-DEBUG: io-channel-basic: ...from 8: OK 694s # # GLib-DEBUG: io-channel-basic: child writing 8+3605 bytes to 11 694s # GLib-DEBUG: io-channel-basic: ...from 10: IN 694s # GLib-DEBUG: io-channel-basic: ...from 10: 3605 bytes 694s # GLib-DEBUG: io-channel-basic: ...from 10: OK 694s # # GLib-DEBUG: io-channel-basic: child writing 8+2880 bytes to 17 694s # GLib-DEBUG: io-channel-basic: ...from 16: IN 694s # GLib-DEBUG: io-channel-basic: ...from 16: 2880 bytes 694s # GLib-DEBUG: io-channel-basic: ...from 16: OK 694s # # GLib-DEBUG: io-channel-basic: child writing 8+182 bytes to 13 694s # GLib-DEBUG: io-channel-basic: ...from 12: IN 694s # GLib-DEBUG: io-channel-basic: ...from 12: 182 bytes 694s # GLib-DEBUG: io-channel-basic: ...from 12: OK 694s # # GLib-DEBUG: io-channel-basic: child writing 8+1526 bytes to 15 694s # GLib-DEBUG: io-channel-basic: ...from 14: IN 694s # GLib-DEBUG: io-channel-basic: ...from 14: 1526 bytes 694s # GLib-DEBUG: io-channel-basic: ...from 14: OK 694s # # GLib-DEBUG: io-channel-basic: child writing 8+3865 bytes to 9 694s # GLib-DEBUG: io-channel-basic: ...from 8: IN 694s # GLib-DEBUG: io-channel-basic: ...from 8: 3865 bytes 694s # GLib-DEBUG: io-channel-basic: ...from 8: OK 694s # # GLib-DEBUG: io-channel-basic: child writing 8+550 bytes to 11 694s # GLib-DEBUG: io-channel-basic: ...from 10: IN 694s # GLib-DEBUG: io-channel-basic: ...from 10: 550 bytes 694s # GLib-DEBUG: io-channel-basic: ...from 10: OK 694s # # GLib-DEBUG: io-channel-basic: child writing 8+3852 bytes to 17 694s # GLib-DEBUG: io-channel-basic: ...from 16: IN 694s # GLib-DEBUG: io-channel-basic: ...from 16: 3852 bytes 694s # GLib-DEBUG: io-channel-basic: ...from 16: OK 694s # # GLib-DEBUG: io-channel-basic: child writing 8+3269 bytes to 13 694s # GLib-DEBUG: io-channel-basic: ...from 12: IN 694s # GLib-DEBUG: io-channel-basic: ...from 12: 3269 bytes 694s # GLib-DEBUG: io-channel-basic: ...from 12: OK 694s # # GLib-DEBUG: io-channel-basic: child writing 8+3681 bytes to 15 694s # GLib-DEBUG: io-channel-basic: ...from 14: IN 694s # GLib-DEBUG: io-channel-basic: ...from 14: 3681 bytes 694s # GLib-DEBUG: io-channel-basic: ...from 14: OK 694s # # GLib-DEBUG: io-channel-basic: child writing 8+1729 bytes to 9 694s # GLib-DEBUG: io-channel-basic: ...from 8: IN 694s # GLib-DEBUG: io-channel-basic: ...from 8: 1729 bytes 694s # GLib-DEBUG: io-channel-basic: ...from 8: OK 694s # # GLib-DEBUG: io-channel-basic: child writing 8+2985 bytes to 11 694s # GLib-DEBUG: io-channel-basic: ...from 10: IN 694s # GLib-DEBUG: io-channel-basic: ...from 10: 2985 bytes 694s # GLib-DEBUG: io-channel-basic: ...from 10: OK 694s # # GLib-DEBUG: io-channel-basic: child writing 8+1504 bytes to 17 694s # GLib-DEBUG: io-channel-basic: ...from 16: IN 694s # GLib-DEBUG: io-channel-basic: ...from 16: 1504 bytes 694s # GLib-DEBUG: io-channel-basic: ...from 16: OK 694s # # GLib-DEBUG: io-channel-basic: child writing 8+732 bytes to 13 694s # GLib-DEBUG: io-channel-basic: ...from 12: IN 694s # GLib-DEBUG: io-channel-basic: ...from 12: 732 bytes 694s # GLib-DEBUG: io-channel-basic: ...from 12: OK 694s # # GLib-DEBUG: io-channel-basic: child writing 8+4730 bytes to 15 694s # GLib-DEBUG: io-channel-basic: ...from 14: IN 694s # GLib-DEBUG: io-channel-basic: ...from 14: 4730 bytes 694s # GLib-DEBUG: io-channel-basic: ...from 14: OK 694s # # GLib-DEBUG: io-channel-basic: child writing 8+1857 bytes to 9 694s # GLib-DEBUG: io-channel-basic: ...from 8: IN 694s # GLib-DEBUG: io-channel-basic: ...from 8: 1857 bytes 694s # GLib-DEBUG: io-channel-basic: ...from 8: OK 694s # # GLib-DEBUG: io-channel-basic: child writing 8+2729 bytes to 11 694s # GLib-DEBUG: io-channel-basic: ...from 10: IN 694s # GLib-DEBUG: io-channel-basic: ...from 10: 2729 bytes 694s # GLib-DEBUG: io-channel-basic: ...from 10: OK 694s # # GLib-DEBUG: io-channel-basic: child writing 8+4603 bytes to 13 694s # GLib-DEBUG: io-channel-basic: ...from 12: IN 694s # GLib-DEBUG: io-channel-basic: ...from 12: 4603 bytes 694s # GLib-DEBUG: io-channel-basic: ...from 12: OK 695s # # GLib-DEBUG: io-channel-basic: child writing 8+3252 bytes to 17 695s # GLib-DEBUG: io-channel-basic: ...from 16: IN 695s # GLib-DEBUG: io-channel-basic: ...from 16: 3252 bytes 695s # GLib-DEBUG: io-channel-basic: ...from 16: OK 695s # # GLib-DEBUG: io-channel-basic: child writing 8+1611 bytes to 9 695s # GLib-DEBUG: io-channel-basic: ...from 8: IN 695s # GLib-DEBUG: io-channel-basic: ...from 8: 1611 bytes 695s # GLib-DEBUG: io-channel-basic: ...from 8: OK 695s # # GLib-DEBUG: io-channel-basic: child writing 8+1212 bytes to 15 695s # GLib-DEBUG: io-channel-basic: ...from 14: IN 695s # GLib-DEBUG: io-channel-basic: ...from 14: 1212 bytes 695s # GLib-DEBUG: io-channel-basic: ...from 14: OK 695s # # GLib-DEBUG: io-channel-basic: child writing 8+2217 bytes to 13 695s # GLib-DEBUG: io-channel-basic: ...from 12: IN 695s # GLib-DEBUG: io-channel-basic: ...from 12: 2217 bytes 695s # GLib-DEBUG: io-channel-basic: ...from 12: OK 695s # # GLib-DEBUG: io-channel-basic: child writing 8+808 bytes to 17 695s # GLib-DEBUG: io-channel-basic: ...from 16: IN 695s # GLib-DEBUG: io-channel-basic: ...from 16: 808 bytes 695s # GLib-DEBUG: io-channel-basic: ...from 16: OK 695s # # GLib-DEBUG: io-channel-basic: child writing 8+2658 bytes to 11 695s # GLib-DEBUG: io-channel-basic: ...from 10: IN 695s # GLib-DEBUG: io-channel-basic: ...from 10: 2658 bytes 695s # GLib-DEBUG: io-channel-basic: ...from 10: OK 695s # # GLib-DEBUG: io-channel-basic: child writing 8+2576 bytes to 15 695s # GLib-DEBUG: io-channel-basic: ...from 14: IN 695s # GLib-DEBUG: io-channel-basic: ...from 14: 2576 bytes 695s # GLib-DEBUG: io-channel-basic: ...from 14: OK 695s # # GLib-DEBUG: io-channel-basic: child writing 8+159 bytes to 9 695s # GLib-DEBUG: io-channel-basic: ...from 8: IN 695s # GLib-DEBUG: io-channel-basic: ...from 8: 159 bytes 695s # GLib-DEBUG: io-channel-basic: ...from 8: OK 695s # # GLib-DEBUG: io-channel-basic: child writing 8+4638 bytes to 17 695s # GLib-DEBUG: io-channel-basic: ...from 16: IN 695s # GLib-DEBUG: io-channel-basic: ...from 16: 4638 bytes 695s # GLib-DEBUG: io-channel-basic: ...from 16: OK 695s # # GLib-DEBUG: io-channel-basic: child writing 8+2859 bytes to 11 695s # GLib-DEBUG: io-channel-basic: ...from 10: IN 695s # GLib-DEBUG: io-channel-basic: ...from 10: 2859 bytes 695s # GLib-DEBUG: io-channel-basic: ...from 10: OK 695s # # GLib-DEBUG: io-channel-basic: child writing 8+3191 bytes to 13 695s # GLib-DEBUG: io-channel-basic: ...from 12: IN 695s # GLib-DEBUG: io-channel-basic: ...from 12: 3191 bytes 695s # GLib-DEBUG: io-channel-basic: ...from 12: OK 695s # # GLib-DEBUG: io-channel-basic: child writing 8+720 bytes to 15 695s # GLib-DEBUG: io-channel-basic: ...from 14: IN 695s # GLib-DEBUG: io-channel-basic: ...from 14: 720 bytes 695s # GLib-DEBUG: io-channel-basic: ...from 14: OK 695s # # GLib-DEBUG: io-channel-basic: child writing 8+2331 bytes to 9 695s # GLib-DEBUG: io-channel-basic: ...from 8: IN 695s # GLib-DEBUG: io-channel-basic: ...from 8: 2331 bytes 695s # GLib-DEBUG: io-channel-basic: ...from 8: OK 695s # # GLib-DEBUG: io-channel-basic: child writing 8+4384 bytes to 11 695s # GLib-DEBUG: io-channel-basic: ...from 10: IN 695s # GLib-DEBUG: io-channel-basic: ...from 10: 4384 bytes 695s # GLib-DEBUG: io-channel-basic: ...from 10: OK 695s # # GLib-DEBUG: io-channel-basic: child writing 8+1574 bytes to 17 695s # GLib-DEBUG: io-channel-basic: ...from 16: IN 695s # GLib-DEBUG: io-channel-basic: ...from 16: 1574 bytes 695s # GLib-DEBUG: io-channel-basic: ...from 16: OK 695s # # GLib-DEBUG: io-channel-basic: child writing 8+4668 bytes to 13 695s # GLib-DEBUG: io-channel-basic: ...from 12: IN 695s # GLib-DEBUG: io-channel-basic: ...from 12: 4668 bytes 695s # GLib-DEBUG: io-channel-basic: ...from 12: OK 696s # # GLib-DEBUG: io-channel-basic: child writing 8+1713 bytes to 15 696s # GLib-DEBUG: io-channel-basic: ...from 14: IN 696s # GLib-DEBUG: io-channel-basic: ...from 14: 1713 bytes 696s # GLib-DEBUG: io-channel-basic: ...from 14: OK 696s # # GLib-DEBUG: io-channel-basic: child writing 8+4797 bytes to 9 696s # GLib-DEBUG: io-channel-basic: ...from 8: IN 696s # GLib-DEBUG: io-channel-basic: ...from 8: 4797 bytes 696s # GLib-DEBUG: io-channel-basic: ...from 8: OK 696s # # GLib-DEBUG: io-channel-basic: child writing 8+3262 bytes to 11 696s # GLib-DEBUG: io-channel-basic: ...from 10: IN 696s # GLib-DEBUG: io-channel-basic: ...from 10: 3262 bytes 696s # GLib-DEBUG: io-channel-basic: ...from 10: OK 696s # # GLib-DEBUG: io-channel-basic: child writing 8+3339 bytes to 17 696s # GLib-DEBUG: io-channel-basic: ...from 16: IN 696s # GLib-DEBUG: io-channel-basic: ...from 16: 3339 bytes 696s # GLib-DEBUG: io-channel-basic: ...from 16: OK 696s # # GLib-DEBUG: io-channel-basic: child writing 8+2080 bytes to 13 696s # GLib-DEBUG: io-channel-basic: ...from 12: IN 696s # GLib-DEBUG: io-channel-basic: ...from 12: 2080 bytes 696s # GLib-DEBUG: io-channel-basic: ...from 12: OK 696s # Executing: glib/io-channel-basic.test 696s # # GLib-DEBUG: io-channel-basic: child writing 8+1835 bytes to 9 696s # GLib-DEBUG: io-channel-basic: ...from 8: IN 696s # GLib-DEBUG: io-channel-basic: ...from 8: 1835 bytes 696s # GLib-DEBUG: io-channel-basic: ...from 8: OK 696s # # GLib-DEBUG: io-channel-basic: child writing 8+2463 bytes to 15 696s # GLib-DEBUG: io-channel-basic: ...from 14: IN 696s # GLib-DEBUG: io-channel-basic: ...from 14: 2463 bytes 696s # GLib-DEBUG: io-channel-basic: ...from 14: OK 696s # # GLib-DEBUG: io-channel-basic: child writing 8+4903 bytes to 11 696s # GLib-DEBUG: io-channel-basic: ...from 10: IN 696s # GLib-DEBUG: io-channel-basic: ...from 10: 4903 bytes 696s # GLib-DEBUG: io-channel-basic: ...from 10: OK 696s # # GLib-DEBUG: io-channel-basic: child writing 8+3856 bytes to 17 696s # GLib-DEBUG: io-channel-basic: ...from 16: IN 696s # GLib-DEBUG: io-channel-basic: ...from 16: 3856 bytes 696s # GLib-DEBUG: io-channel-basic: ...from 16: OK 696s # # GLib-DEBUG: io-channel-basic: child writing 8+252 bytes to 13 696s # GLib-DEBUG: io-channel-basic: ...from 12: IN 696s # GLib-DEBUG: io-channel-basic: ...from 12: 252 bytes 696s # GLib-DEBUG: io-channel-basic: ...from 12: OK 696s # # GLib-DEBUG: io-channel-basic: child writing 8+375 bytes to 9 696s # GLib-DEBUG: io-channel-basic: ...from 8: IN 696s # GLib-DEBUG: io-channel-basic: ...from 8: 375 bytes 696s # GLib-DEBUG: io-channel-basic: ...from 8: OK 696s # # GLib-DEBUG: io-channel-basic: child writing 8+3419 bytes to 15 696s # GLib-DEBUG: io-channel-basic: ...from 14: IN 696s # GLib-DEBUG: io-channel-basic: ...from 14: 3419 bytes 696s # GLib-DEBUG: io-channel-basic: ...from 14: OK 696s # # GLib-DEBUG: io-channel-basic: child writing 8+4315 bytes to 11 696s # GLib-DEBUG: io-channel-basic: ...from 10: IN 696s # GLib-DEBUG: io-channel-basic: ...from 10: 4315 bytes 696s # GLib-DEBUG: io-channel-basic: ...from 10: OK 696s # # GLib-DEBUG: io-channel-basic: child writing 8+243 bytes to 17 696s # GLib-DEBUG: io-channel-basic: ...from 16: IN 696s # GLib-DEBUG: io-channel-basic: ...from 16: 243 bytes 696s # GLib-DEBUG: io-channel-basic: ...from 16: OK 696s # # GLib-DEBUG: io-channel-basic: child writing 8+1893 bytes to 13 696s # GLib-DEBUG: io-channel-basic: ...from 12: IN 696s # GLib-DEBUG: io-channel-basic: ...from 12: 1893 bytes 696s # GLib-DEBUG: io-channel-basic: ...from 12: OK 696s # # GLib-DEBUG: io-channel-basic: child writing 8+2788 bytes to 11 696s # # GLib-DEBUG: io-channel-basic: child exiting, closing 11 696s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN 696s # GLib-DEBUG: io-channel-basic: ...from 10: 2788 bytes 696s # GLib-DEBUG: io-channel-basic: ...from 10: OK 696s # # GLib-DEBUG: io-channel-basic: child writing 8+4910 bytes to 9 696s # GLib-DEBUG: io-channel-basic: ...from 8: IN 696s # GLib-DEBUG: io-channel-basic: ...from 8: 4910 bytes 696s # GLib-DEBUG: io-channel-basic: ...from 8: OK 696s # # GLib-DEBUG: io-channel-basic: child writing 8+24 bytes to 15 696s # # GLib-DEBUG: io-channel-basic: child exiting, closing 15 696s # GLib-DEBUG: io-channel-basic: ...from 14: HUP IN 696s # GLib-DEBUG: io-channel-basic: ...from 14: 24 bytes 696s # GLib-DEBUG: io-channel-basic: ...from 14: OK 696s # # GLib-DEBUG: io-channel-basic: child writing 8+2592 bytes to 13 696s # # GLib-DEBUG: io-channel-basic: child exiting, closing 13 696s # GLib-DEBUG: io-channel-basic: ...from 12: HUP IN 696s # GLib-DEBUG: io-channel-basic: ...from 12: 2592 bytes 696s # GLib-DEBUG: io-channel-basic: ...from 12: OK 696s # # GLib-DEBUG: io-channel-basic: child writing 8+2496 bytes to 17 696s # GLib-DEBUG: io-channel-basic: ...from 16: IN 696s # GLib-DEBUG: io-channel-basic: ...from 16: 2496 bytes 696s # GLib-DEBUG: io-channel-basic: ...from 16: OK 697s # # GLib-DEBUG: io-channel-basic: child writing 8+150 bytes to 9 697s # GLib-DEBUG: io-channel-basic: ...from 8: IN 697s # GLib-DEBUG: io-channel-basic: ...from 8: 150 bytes 697s # GLib-DEBUG: io-channel-basic: ...from 8: OK 697s # # GLib-DEBUG: io-channel-basic: child writing 8+1655 bytes to 17 697s # GLib-DEBUG: io-channel-basic: ...from 16: IN 697s # # GLib-DEBUG: io-channel-basic: child exiting, closing 17 697s # GLib-DEBUG: io-channel-basic: ...from 16: 1655 bytes 697s # GLib-DEBUG: io-channel-basic: ...from 16: OK 697s # GLib-DEBUG: io-channel-basic: ...from 16: HUP 697s # # GLib-DEBUG: io-channel-basic: child writing 8+4710 bytes to 9 697s # GLib-DEBUG: io-channel-basic: ...from 8: IN 697s # GLib-DEBUG: io-channel-basic: ...from 8: 4710 bytes 697s # GLib-DEBUG: io-channel-basic: ...from 8: OK 697s # # GLib-DEBUG: io-channel-basic: child writing 8+2352 bytes to 9 697s # GLib-DEBUG: io-channel-basic: ...from 8: IN 697s # GLib-DEBUG: io-channel-basic: ...from 8: 2352 bytes 697s # GLib-DEBUG: io-channel-basic: ...from 8: OK 697s # # GLib-DEBUG: io-channel-basic: child writing 8+328 bytes to 9 697s # GLib-DEBUG: io-channel-basic: ...from 8: IN 697s # GLib-DEBUG: io-channel-basic: ...from 8: 328 bytes 697s # GLib-DEBUG: io-channel-basic: ...from 8: OK 698s # # GLib-DEBUG: io-channel-basic: child writing 8+1114 bytes to 9 698s # GLib-DEBUG: io-channel-basic: ...from 8: IN 698s # # GLib-DEBUG: io-channel-basic: child exiting, closing 9 698s # GLib-DEBUG: io-channel-basic: ...from 8: 1114 bytes 698s # GLib-DEBUG: io-channel-basic: ...from 8: OK 698s # GLib-DEBUG: io-channel-basic: ...from 8: HUP 698s ok 1 /gio/io-basics 698s # slow test /gio/io-basics executed in 12.77 secs 698s # End of gio tests 698s ok - glib/io-channel-basic.test 698s # Running test: glib/cxx.test 698s TAP version 13 698s # random seed: R02Se6a2a20bb0b0e226c35dc4c6f5e792cc 698s 1..2 698s # Start of gtask tests 698s # 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. 698s ok 1 /gtask/name 698s # Start of name tests 698s # 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. 698s ok 2 /gtask/name/macro-wrapper 698s # End of name tests 698s # End of gtask tests 698s ok - glib/cxx.test 698s # Running test: glib/unicode-encoding.test 698s TAP version 13 698s # random seed: R02S0507f2ff8f0a7194e2f8d427420b61e1 698s 1..1 698s # Start of unicode tests 698s ok 1 /unicode/encoding 698s # End of unicode tests 698s ok - glib/unicode-encoding.test 698s # Running test: glib/gdbus-sasl.test 698s TAP version 13 698s # random seed: R02S1eef1ecaa5936c758e769133a749e434 698s 1..1 698s # Start of gdbus tests 698s # Start of sasl tests 698s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_PNUMK2/gdbus/sasl/server/.dirs/home 698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_PNUMK2/gdbus/sasl/server/.dirs/cache 698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_PNUMK2/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_PNUMK2/gdbus/sasl/server/.dirs/system-config2 698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_PNUMK2/gdbus/sasl/server/.dirs/config 698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_PNUMK2/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_PNUMK2/gdbus/sasl/server/.dirs/system-data2 698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_PNUMK2/gdbus/sasl/server/.dirs/data 698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_PNUMK2/gdbus/sasl/server/.dirs/state 698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_PNUMK2/gdbus/sasl/server/.dirs/runtime 698s # New handshake: EXTERNAL with incorrect initial response 698s # C:“AUTH EXTERNAL 30” 698s # Expect: /^REJECTED.*$/ 698s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 698s # New handshake: EXTERNAL without initial response, failing to authenticate 698s # C:“AUTH EXTERNAL” 698s # Expect: /^DATA$/ 698s # S:“DATA” 698s # C:“DATA 30” 698s # Expect: /^REJECTED.*$/ 698s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 698s # New handshake: EXTERNAL with initial response 698s # C:“AUTH EXTERNAL 31303030” 698s # Expect: /^OK [0-9a-f]+$/ 698s # S:“OK da4dc445e1b9333b7753f67f65f24f29” 698s # New handshake: EXTERNAL without initial response 698s # C:“AUTH EXTERNAL” 698s # Expect: /^DATA$/ 698s # S:“DATA” 698s # C:“DATA 31303030” 698s # Expect: /^OK [0-9a-f]+$/ 698s # S:“OK da4dc445e1b9333b7753f67f65f24f29” 698s # New handshake: EXTERNAL with empty authorization identity 698s # C:“AUTH EXTERNAL” 698s # Expect: /^DATA$/ 698s # S:“DATA” 698s # C:“DATA” 698s # Expect: /^OK [0-9a-f]+$/ 698s # S:“OK da4dc445e1b9333b7753f67f65f24f29” 698s # New handshake: EXTERNAL with empty authorization identity and whitespace 698s # C:“AUTH EXTERNAL” 698s # Expect: /^DATA$/ 698s # S:“DATA” 698s # C:“DATA ” 698s # Expect: /^OK [0-9a-f]+$/ 698s # S:“OK da4dc445e1b9333b7753f67f65f24f29” 698s ok 1 /gdbus/sasl/server 698s # End of sasl tests 698s # End of gdbus tests 698s ok - glib/gdbus-sasl.test 698s # Running test: glib/strvbuilder.test 698s TAP version 13 698s # random seed: R02S6c39ee40d022347bf1ab933a93c3c89e 698s 1..6 698s # Start of strvbuilder tests 698s ok 1 /strvbuilder/empty 698s ok 2 /strvbuilder/add 698s ok 3 /strvbuilder/addv 698s ok 4 /strvbuilder/add_many 698s ok 5 /strvbuilder/take 698s ok 6 /strvbuilder/ref 698s # End of strvbuilder tests 698s ok - glib/strvbuilder.test 698s # Running test: glib/dbus-appinfo.test 698s TAP version 13 698s # random seed: R02S8c060928f3dc14d21133db9e533e7d46 698s 1..3 698s # Start of appinfo tests 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 698s ok 1 /appinfo/dbusappinfo 698s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 698s dbus-daemon[12146]: [session uid=1000 pid=12146] Activating service name='org.freedesktop.portal.Documents' requested by ':1.0' (uid=1000 pid=12145 comm="/usr/libexec/installed-tests/glib/dbus-appinfo" label="unconfined") 698s # Acquired a message bus connection 698s dbus-daemon[12146]: [session uid=1000 pid=12146] Successfully activated service 'org.freedesktop.portal.Documents' 698s # Acquired the name org.freedesktop.portal.Documents 698s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 698s ok 2 /appinfo/flatpak-doc-export 698s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 698s ok 3 /appinfo/flatpak-missing-doc-export 698s # End of appinfo tests 698s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 698s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 698s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 698s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 698s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 698s # Lost the name org.freedesktop.portal.Documents 698s ok - glib/dbus-appinfo.test 698s # Running test: glib/mainloop.test 698s TAP version 13 698s # random seed: R02S2991526640ed89810c9a9c661e2114d2 698s 1..45 698s # Start of maincontext tests 698s ok 1 /maincontext/basic 698s # Add same-priority sources: 21 698s # Find each source: 7 698s # Remove in random order: 30 698s ok 2 /maincontext/nsources_same_priority 698s # Add different-priority sources: 22 698s # Find each source: 7 698s # Remove in random order: 34 698s ok 3 /maincontext/nsources_different_priority 698s # Add sources from threads: 264 698s # Remove sources from threads: 143 698s ok 4 /maincontext/nsources_threadpool 698s ok 5 /maincontext/source_finalization 698s # /maincontext/idle-once summary: Test g_idle_add_once() works 698s ok 6 /maincontext/idle-once 698s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 698s ok 7 /maincontext/timeout-once 698s # Start of source_finalization_from_source tests 698s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 698s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 698s ok 8 /maincontext/source_finalization_from_source/0 698s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 698s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 698s ok 9 /maincontext/source_finalization_from_source/1 698s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 698s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 698s ok 10 /maincontext/source_finalization_from_source/2 698s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 698s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 698s ok 11 /maincontext/source_finalization_from_source/3 698s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 698s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 698s ok 12 /maincontext/source_finalization_from_source/4 698s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 698s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 698s ok 13 /maincontext/source_finalization_from_source/5 698s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 698s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 698s ok 14 /maincontext/source_finalization_from_source/6 698s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 698s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 698s ok 15 /maincontext/source_finalization_from_source/7 698s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 698s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 698s ok 16 /maincontext/source_finalization_from_source/8 698s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 698s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 698s ok 17 /maincontext/source_finalization_from_source/9 698s # End of source_finalization_from_source tests 698s # Start of source_finalization_from_dispatch tests 698s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 698s ok 18 /maincontext/source_finalization_from_dispatch/0 698s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 698s ok 19 /maincontext/source_finalization_from_dispatch/1 698s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 698s ok 20 /maincontext/source_finalization_from_dispatch/2 698s # End of source_finalization_from_dispatch tests 698s # End of maincontext tests 698s # Start of mainloop tests 698s ok 21 /mainloop/basic 698s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 698s ok 23 /mainloop/priorities 699s ok 24 /mainloop/invoke 699s # slow test /mainloop/invoke executed in 0.50 secs 700s ok 25 /mainloop/child_sources 700s # slow test /mainloop/child_sources executed in 1.18 secs 701s # Executing: glib/mainloop.test 703s ok 26 /mainloop/recursive_child_sources 703s # slow test /mainloop/recursive_child_sources executed in 2.16 secs 703s ok 27 /mainloop/recursive_loop_child_sources 703s ok 28 /mainloop/swapping_child_sources 703s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 703s ok 29 /mainloop/blocked_child_sources 703s ok 30 /mainloop/source_time 703s # slow test /mainloop/source_time executed in 1.00 secs 703s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 703s ok 31 /mainloop/overflow 704s ok 32 /mainloop/ready-time 704s # slow test /mainloop/ready-time executed in 0.50 secs 704s ok 33 /mainloop/wakeup 704s ok 34 /mainloop/remove-invalid 704s ok 35 /mainloop/unref-while-pending 705s ok 36 /mainloop/unix-fd 705s # slow test /mainloop/unix-fd executed in 1.32 secs 705s ok 37 /mainloop/unix-fd-source 705s ok 38 /mainloop/source-unix-fd-api 705s ok 39 /mainloop/wait 705s ok 40 /mainloop/unix-file-poll 705s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 705s ok 41 /mainloop/unix-fd-priority 705s ok 42 /mainloop/nfds 705s ok 43 /mainloop/steal-fd 705s # Start of ownerless-polling tests 705s ok 44 /mainloop/ownerless-polling/attach-first 705s ok 45 /mainloop/ownerless-polling/pop-first 705s # End of ownerless-polling tests 705s # End of mainloop tests 705s ok - glib/mainloop.test 705s # Running test: glib/mem-overflow.test 705s TAP version 13 705s # random seed: R02S9d9beb1da79edd4a8862ef5f5732d9ea 705s 1..2 705s # Start of mem tests 705s ok 1 /mem/overflow 705s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 705s ok 2 /mem/empty-alloc 705s # Start of overflow tests 705s # Start of subprocess tests 705s # End of subprocess tests 705s # End of overflow tests 705s # Start of empty-alloc tests 705s # End of empty-alloc tests 705s # End of mem tests 705s ok - glib/mem-overflow.test 705s # Running test: glib/simple-proxy.test 705s TAP version 13 705s # random seed: R02S77576ba5200291ed6ed3d80d4486d719 705s 1..3 705s # Start of static-proxy tests 705s ok 1 /static-proxy/uri 705s ok 2 /static-proxy/socks 705s ok 3 /static-proxy/ignore 705s # End of static-proxy tests 705s ok - glib/simple-proxy.test 705s # Running test: glib/macros-c-11.test 705s TAP version 13 705s # random seed: R02S8dd500ec8da6039162fd307aaa7b00c4 705s 1..4 705s # Start of C tests 705s ok 1 /C/standard-11 705s # End of C tests 705s # Start of alignof tests 705s ok 2 /alignof/fallback 705s # End of alignof tests 705s # Start of assert tests 705s ok 3 /assert/static 705s # End of assert tests 705s # Start of struct tests 705s ok 4 /struct/sizeof_member 705s # End of struct tests 705s ok - glib/macros-c-11.test 705s # Running test: glib/custom-dispatch.test 705s TAP version 13 706s # random seed: R02Sf8b40d7ccb360ea00c141e56e5451451 706s 1..2 706s # Start of properties tests 706s # Start of custom-dispatch tests 706s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 706s ok 1 /properties/custom-dispatch/init 706s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 706s ok 2 /properties/custom-dispatch/set 706s # End of custom-dispatch tests 706s # End of properties tests 706s ok - glib/custom-dispatch.test 706s # Running test: glib/autoptr-gio.test 706s TAP version 13 706s # random seed: R02S705d7028c1bfb381f5e49c64dcf50173 706s 1..1 706s # Start of autoptr tests 706s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 706s ok 1 /autoptr/autoptr 706s # End of autoptr tests 706s ok - glib/autoptr-gio.test 706s # Running test: glib/overflow-fallback.test 706s TAP version 13 706s # random seed: R02S474a136c9b43b5baeb980cae05dd718d 706s 1..6 706s # Start of glib tests 706s # Start of checked-math tests 706s ok 1 /glib/checked-math/guint-add 706s ok 2 /glib/checked-math/guint-mul 706s ok 3 /glib/checked-math/guint64-add 706s ok 4 /glib/checked-math/guint64-mul 706s ok 5 /glib/checked-math/gsize-add 706s ok 6 /glib/checked-math/gsize-mul 706s # End of checked-math tests 706s # End of glib tests 706s ok - glib/overflow-fallback.test 706s # Running test: glib/utf8-pointer.test 706s TAP version 13 706s # random seed: R02Sb1a4d25537d773b7f0d3738f35e5227a 706s 1..3 706s # Start of utf8 tests 706s # Executing: glib/utf8-pointer.test 706s ok 1 /utf8/offsets 706s # slow test /utf8/offsets executed in 0.78 secs 706s ok 2 /utf8/lengths 706s ok 3 /utf8/find 706s # End of utf8 tests 706s ok - glib/utf8-pointer.test 706s # Running test: glib/gdbus-peer.test 706s TAP version 13 706s # random seed: R02S4145d8860641ec6781ce8071d831de14 706s 1..12 706s # Start of gdbus tests 706s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/.dirs/home 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/.dirs/cache 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/.dirs/system-config2 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/.dirs/config 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/.dirs/system-data2 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/.dirs/data 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/.dirs/state 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/.dirs/runtime 706s # Testing with unix:dir address 706s # Testing with unix:tmpdir address 706s # Testing with unix:path address 706s ok 1 /gdbus/peer-to-peer 706s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/delayed-message-processing/.dirs/home 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/delayed-message-processing/.dirs/cache 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_JRDUK2/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_JRDUK2/gdbus/delayed-message-processing/.dirs/system-config2 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/delayed-message-processing/.dirs/config 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_JRDUK2/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_JRDUK2/gdbus/delayed-message-processing/.dirs/system-data2 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/delayed-message-processing/.dirs/data 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/delayed-message-processing/.dirs/state 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_JRDUK2/gdbus/delayed-message-processing/.dirs/runtime 706s # Testing with unix:dir address 707s ok 2 /gdbus/delayed-message-processing 707s # slow test /gdbus/delayed-message-processing executed in 0.51 secs 707s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/nonce-tcp/.dirs/home 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/nonce-tcp/.dirs/cache 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_JRDUK2/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_JRDUK2/gdbus/nonce-tcp/.dirs/system-config2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/nonce-tcp/.dirs/config 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_JRDUK2/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_JRDUK2/gdbus/nonce-tcp/.dirs/system-data2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/nonce-tcp/.dirs/data 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/nonce-tcp/.dirs/state 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_JRDUK2/gdbus/nonce-tcp/.dirs/runtime 707s ok 3 /gdbus/nonce-tcp 707s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/tcp-anonymous/.dirs/home 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/tcp-anonymous/.dirs/cache 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_JRDUK2/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_JRDUK2/gdbus/tcp-anonymous/.dirs/system-config2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/tcp-anonymous/.dirs/config 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_JRDUK2/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_JRDUK2/gdbus/tcp-anonymous/.dirs/system-data2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/tcp-anonymous/.dirs/data 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/tcp-anonymous/.dirs/state 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_JRDUK2/gdbus/tcp-anonymous/.dirs/runtime 707s ok 4 /gdbus/tcp-anonymous 707s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/credentials/.dirs/home 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/credentials/.dirs/cache 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_JRDUK2/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_JRDUK2/gdbus/credentials/.dirs/system-config2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/credentials/.dirs/config 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_JRDUK2/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_JRDUK2/gdbus/credentials/.dirs/system-data2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/credentials/.dirs/data 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/credentials/.dirs/state 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_JRDUK2/gdbus/credentials/.dirs/runtime 707s ok 5 /gdbus/credentials 707s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/codegen-peer-to-peer/.dirs/home 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/codegen-peer-to-peer/.dirs/cache 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_JRDUK2/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_JRDUK2/gdbus/codegen-peer-to-peer/.dirs/system-config2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/codegen-peer-to-peer/.dirs/config 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_JRDUK2/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_JRDUK2/gdbus/codegen-peer-to-peer/.dirs/system-data2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/codegen-peer-to-peer/.dirs/data 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/codegen-peer-to-peer/.dirs/state 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_JRDUK2/gdbus/codegen-peer-to-peer/.dirs/runtime 707s # Testing with unix:dir address 707s # Machine ID: 3fd1ab8e6b7343049504647bcb9f0d51 708s ok 6 /gdbus/codegen-peer-to-peer 708s # slow test /gdbus/codegen-peer-to-peer executed in 1.11 secs 708s # Start of peer-to-peer tests 708s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/signals/.dirs/home 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/signals/.dirs/cache 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/signals/.dirs/system-config2 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/signals/.dirs/config 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/signals/.dirs/system-data2 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/signals/.dirs/data 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/signals/.dirs/state 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/signals/.dirs/runtime 708s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 708s # Testing with unix:dir address 708s ok 7 /gdbus/peer-to-peer/signals 708s # Start of invalid tests 708s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/invalid/server/.dirs/home 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/invalid/server/.dirs/cache 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/invalid/server/.dirs/config 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/invalid/server/.dirs/data 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/invalid/server/.dirs/state 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/invalid/server/.dirs/runtime 708s ok 8 /gdbus/peer-to-peer/invalid/server 708s # Start of conn tests 708s # Start of stream tests 708s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 708s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 708s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 708s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 708s # End of stream tests 708s # Start of addr tests 708s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 708s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 708s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_JRDUK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 708s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 708s # End of addr tests 708s # End of conn tests 708s # End of invalid tests 708s # End of peer-to-peer tests 708s # End of gdbus tests 708s ok - glib/gdbus-peer.test 708s # Running test: glib/dataset.test 708s TAP version 13 708s # random seed: R02S3e7a8ebdf7fd7a1cb1aa0eaf14a40e52 708s 1..14 708s # Start of quark tests 708s ok 1 /quark/basic 708s ok 2 /quark/string 708s # End of quark tests 708s # Start of dataset tests 708s ok 3 /dataset/basic 708s ok 4 /dataset/id 708s ok 5 /dataset/full 708s ok 6 /dataset/foreach 708s ok 7 /dataset/destroy 708s # End of dataset tests 708s # Start of datalist tests 708s ok 8 /datalist/basic 708s ok 9 /datalist/id 708s ok 10 /datalist/recursive-clear 708s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 708s ok 11 /datalist/id-remove-multiple 708s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 708s ok 12 /datalist/id-remove-multiple-destroy-order 708s ok 13 /datalist/update-atomic 708s # Start of id-remove-multiple tests 708s ok 14 /datalist/id-remove-multiple/resize 708s # End of id-remove-multiple tests 708s # End of datalist tests 708s ok - glib/dataset.test 708s # Running test: glib/throws.test 708s TAP version 13 708s # random seed: R02S5160125f9bdf2782269b2b48896efea7 708s 1..3 708s # Start of throws tests 708s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_WTEOK2/throws/invoke-gerror/.dirs/home 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_WTEOK2/throws/invoke-gerror/.dirs/cache 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_WTEOK2/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_WTEOK2/throws/invoke-gerror/.dirs/system-config2 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_WTEOK2/throws/invoke-gerror/.dirs/config 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_WTEOK2/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_WTEOK2/throws/invoke-gerror/.dirs/system-data2 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_WTEOK2/throws/invoke-gerror/.dirs/data 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_WTEOK2/throws/invoke-gerror/.dirs/state 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_WTEOK2/throws/invoke-gerror/.dirs/runtime 708s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 708s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 708s ok 1 /throws/invoke-gerror 708s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_WTEOK2/throws/vfunc-can-throw-gerror/.dirs/home 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_WTEOK2/throws/vfunc-can-throw-gerror/.dirs/cache 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_WTEOK2/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_WTEOK2/throws/vfunc-can-throw-gerror/.dirs/system-config2 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_WTEOK2/throws/vfunc-can-throw-gerror/.dirs/config 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_WTEOK2/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_WTEOK2/throws/vfunc-can-throw-gerror/.dirs/system-data2 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_WTEOK2/throws/vfunc-can-throw-gerror/.dirs/data 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_WTEOK2/throws/vfunc-can-throw-gerror/.dirs/state 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_WTEOK2/throws/vfunc-can-throw-gerror/.dirs/runtime 708s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 708s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 708s ok 2 /throws/vfunc-can-throw-gerror 708s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_WTEOK2/throws/callback-can-throw-gerror/.dirs/home 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_WTEOK2/throws/callback-can-throw-gerror/.dirs/cache 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_WTEOK2/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_WTEOK2/throws/callback-can-throw-gerror/.dirs/system-config2 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_WTEOK2/throws/callback-can-throw-gerror/.dirs/config 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_WTEOK2/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_WTEOK2/throws/callback-can-throw-gerror/.dirs/system-data2 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_WTEOK2/throws/callback-can-throw-gerror/.dirs/data 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_WTEOK2/throws/callback-can-throw-gerror/.dirs/state 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_WTEOK2/throws/callback-can-throw-gerror/.dirs/runtime 708s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 708s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 708s ok 3 /throws/callback-can-throw-gerror 708s # End of throws tests 708s ok - glib/throws.test 708s # Running test: glib/keyfile.test 708s TAP version 13 708s # random seed: R02See6ad31a8e7e2ef652dfe52a489a2098 708s 1..36 708s # Start of keyfile tests 708s ok 1 /keyfile/line-ends 708s ok 2 /keyfile/whitespace 708s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 708s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 708s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 708s ok 3 /keyfile/comments 708s ok 4 /keyfile/listing 708s ok 5 /keyfile/string 708s ok 6 /keyfile/boolean 708s ok 7 /keyfile/number 708s ok 8 /keyfile/locale-string 708s ok 9 /keyfile/lists 708s ok 10 /keyfile/lists-set-get 708s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 708s ok 11 /keyfile/group-remove 708s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 708s ok 12 /keyfile/key-remove 708s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 708s ok 13 /keyfile/groups 708s ok 14 /keyfile/duplicate-keys 708s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 708s ok 15 /keyfile/duplicate-groups 708s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 708s ok 16 /keyfile/duplicate-groups2 708s ok 17 /keyfile/group-names 708s ok 18 /keyfile/key-names 708s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 708s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 708s ok 19 /keyfile/reload 708s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 708s ok 20 /keyfile/int64 708s ok 21 /keyfile/load 708s ok 22 /keyfile/save 708s ok 23 /keyfile/load-fail 708s ok 24 /keyfile/non-utf8 708s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 708s ok 25 /keyfile/page-boundary 708s ok 26 /keyfile/ref 708s ok 27 /keyfile/replace-value 708s ok 28 /keyfile/list-separator 708s ok 29 /keyfile/empty-string 708s ok 30 /keyfile/limbo 708s # Testing invalid encoding ?non-UTF-8? 708s # Testing invalid encoding ?UTF? 708s # Testing invalid encoding ?UTF-9? 708s ok 31 /keyfile/utf8 708s ok 32 /keyfile/roundtrip 708s ok 33 /keyfile/bytes 708s ok 34 /keyfile/get-locale 708s ok 35 /keyfile/free-when-not-last-ref 708s # Start of locale-string tests 708s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 708s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 708s ok 36 /keyfile/locale-string/multiple-loads 708s # End of locale-string tests 708s # End of keyfile tests 708s ok - glib/keyfile.test 708s # Running test: glib/union-info.test 708s TAP version 13 708s # random seed: R02Sb762b448c03fac7d0683f64eca497395 708s 1..2 708s # Start of union-info tests 708s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_8RJOK2/union-info/basic/.dirs/home 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_8RJOK2/union-info/basic/.dirs/cache 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_8RJOK2/union-info/basic/.dirs/system-config1:/tmp/test_union-info_8RJOK2/union-info/basic/.dirs/system-config2 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_8RJOK2/union-info/basic/.dirs/config 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_8RJOK2/union-info/basic/.dirs/system-data1:/tmp/test_union-info_8RJOK2/union-info/basic/.dirs/system-data2 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_8RJOK2/union-info/basic/.dirs/data 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_8RJOK2/union-info/basic/.dirs/state 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_8RJOK2/union-info/basic/.dirs/runtime 708s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 708s # /union-info/basic summary: Test basic properties of GIUnionInfo 708s ok 1 /union-info/basic 708s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_8RJOK2/union-info/methods/.dirs/home 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_8RJOK2/union-info/methods/.dirs/cache 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_8RJOK2/union-info/methods/.dirs/system-config1:/tmp/test_union-info_8RJOK2/union-info/methods/.dirs/system-config2 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_8RJOK2/union-info/methods/.dirs/config 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_8RJOK2/union-info/methods/.dirs/system-data1:/tmp/test_union-info_8RJOK2/union-info/methods/.dirs/system-data2 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_8RJOK2/union-info/methods/.dirs/data 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_8RJOK2/union-info/methods/.dirs/state 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_8RJOK2/union-info/methods/.dirs/runtime 708s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 708s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 708s ok 2 /union-info/methods 708s # End of union-info tests 708s ok - glib/union-info.test 708s # Running test: glib/genmarshal.py.test 708s TAP version 13 708s ok 1 __main__.TestGenmarshal.test_empty_list 708s # tmpdir: /tmp/tmpf9zm3bn5 708s # genmarshal: /usr/bin/glib-genmarshal 708s # /tmp/tmpf9zm3bn5/tmpv_1i7qkc.list: 708s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpf9zm3bn5/tmpv_1i7qkc.list', '--header', '--quiet'] 708s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 708s # 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. */ 708s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 708s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 708s # 708s # #include 708s # 708s # G_BEGIN_DECLS 708s # 708s # 708s # G_END_DECLS 708s # 708s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 708s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpf9zm3bn5/tmpv_1i7qkc.list', '--body', '--quiet'] 708s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 708s # 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. */ 708s # #include 708s # 708s # #ifdef G_ENABLE_DEBUG 708s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 708s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 708s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 708s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 708s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 708s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 708s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 708s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 708s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 708s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 708s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 708s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 708s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 708s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 708s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 708s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 708s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 708s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 708s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 708s # #else /* !G_ENABLE_DEBUG */ 708s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 708s # * Do not access GValues directly in your code. Instead, use the 708s # * g_value_get_*() functions 708s # */ 708s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 708s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 708s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 708s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 708s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 708s # #endif /* !G_ENABLE_DEBUG */ 708s ok 2 __main__.TestGenmarshal.test_help 708s # tmpdir: /tmp/tmpw1mtwcmr 708s # genmarshal: /usr/bin/glib-genmarshal 708s # Running: ['/usr/bin/glib-genmarshal', '--help'] 708s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 708s # Output: usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 708s # [--internal] [--valist-marshallers] [-v] 708s # [--g-fatal-warnings] [--include-header [HEADER]] 708s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 708s # [--prototypes] [--header] [--body] 708s # [--stdinc | --nostdinc] [--quiet | --verbose] 708s # [FILE ...] 708s # 708s # Generate signal marshallers for GObject 708s # 708s # positional arguments: 708s # FILE Files with lists of marshallers to generate, or "-" 708s # for standard input 708s # 708s # options: 708s # -h, --help show this help message and exit 708s # --prefix STRING Specify marshaller prefix 708s # --output FILE Write output into the specified file 708s # --skip-source Skip source location comments 708s # --internal Mark generated functions as internal 708s # --valist-marshallers Generate va_list marshallers 708s # -v, --version Print version information, and exit 708s # --g-fatal-warnings Make warnings fatal 708s # --include-header [HEADER] 708s # Include the specified header in the body 708s # --pragma-once Use "pragma once" as the inclusion guard 708s # -D CPP_DEFINES Pre-processor define 708s # -U CPP_UNDEFINES Pre-processor undefine 708s # --prototypes Generate the marshallers prototype in the C code 708s # --header Generate C headers 708s # --body Generate C code 708s # --stdinc Include standard marshallers 708s # --nostdinc Use standard marshallers 708s # --quiet Only print warnings and errors 708s # --verbose Be verbose, and include debugging information 708s ok 3 __main__.TestGenmarshal.test_no_args 708s # tmpdir: /tmp/tmp9etl60v2 708s # genmarshal: /usr/bin/glib-genmarshal 708s # Running: ['/usr/bin/glib-genmarshal'] 708s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 708s # Output: 708s ok 4 __main__.TestGenmarshal.test_void_boolean 708s # tmpdir: /tmp/tmpsgyxfunk 708s # genmarshal: /usr/bin/glib-genmarshal 708s # /tmp/tmpsgyxfunk/tmpsae84hzf.list: VOID:BOOLEAN 708s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpsgyxfunk/tmpsae84hzf.list', '--header', '--quiet'] 708s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 708s # 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. */ 708s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 708s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 708s # 708s # #include 708s # 708s # G_BEGIN_DECLS 708s # 708s # /* VOID:BOOLEAN (/tmp/tmpsgyxfunk/tmpsae84hzf.list:1) */ 708s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 708s # 708s # 708s # G_END_DECLS 708s # 708s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 708s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpsgyxfunk/tmpsae84hzf.list', '--body', '--quiet'] 708s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 708s # 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. */ 708s # #include 708s # 708s # #ifdef G_ENABLE_DEBUG 708s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 708s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 708s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 708s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 708s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 708s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 708s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 708s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 708s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 708s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 708s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 708s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 708s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 708s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 708s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 708s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 708s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 708s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 708s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 708s # #else /* !G_ENABLE_DEBUG */ 708s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 708s # * Do not access GValues directly in your code. Instead, use the 708s # * g_value_get_*() functions 708s # */ 708s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 708s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 708s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 708s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 708s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 708s # #endif /* !G_ENABLE_DEBUG */ 708s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 708s # tmpdir: /tmp/tmpmt9islfw 708s # genmarshal: /usr/bin/glib-genmarshal 708s # /tmp/tmpmt9islfw/tmp9kbpmaea.list: VOID:BOOLEAN,INT64 708s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpmt9islfw/tmp9kbpmaea.list', '--header', '--quiet'] 708s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 708s # 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. */ 708s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 708s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 708s # 708s # #include 708s # 708s # G_BEGIN_DECLS 708s # 708s # /* VOID:BOOLEAN,INT64 (/tmp/tmpmt9islfw/tmp9kbpmaea.list:1) */ 708s # extern 708s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 708s # GValue *return_value, 708s # guint n_param_values, 708s # const GValue *param_values, 708s # gpointer invocation_hint, 708s # gpointer marshal_data); 708s # 708s # 708s # G_END_DECLS 708s # 708s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 708s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpmt9islfw/tmp9kbpmaea.list', '--body', '--quiet'] 708s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 708s # 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. */ 708s # #include 708s # 708s # #ifdef G_ENABLE_DEBUG 708s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 708s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 708s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 708s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 708s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 708s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 708s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 708s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 708s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 708s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 708s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 708s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 708s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 708s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 708s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 708s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 708s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 708s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 708s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 708s # #else /* !G_ENABLE_DEBUG */ 708s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 708s # * Do not access GValues directly in your code. Instead, use the 708s # * g_value_get_*() functions 708s # */ 708s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 708s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 708s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 708s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 708s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 708s # #endif /* !G_ENABLE_DEBUG */ 708s # 708s # /* VOID:BOOLEAN,INT64 (/tmp/tmpmt9islfw/tmp9kbpmaea.list:1) */ 708s # void 708s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 708s # GValue *return_value G_GNUC_UNUSED, 708s # guint n_param_values, 708s # const GValue *param_values, 708s # gpointer invocation_hint G_GNUC_UNUSED, 708s # gpointer marshal_data) 708s # { 708s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 708s # gboolean arg1, 708s # gint64 arg2, 708s # gpointer data2); 708s # GCClosure *cc = (GCClosure *) closure; 708s # gpointer data1, data2; 708s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 708s # 708s # g_return_if_fail (n_param_values == 3); 708s # 708s # if (G_CCLOSURE_SWAP_DATA (closure)) 708s # { 708s # data1 = closure->data; 708s # data2 = g_value_peek_pointer (param_values + 0); 708s # } 708s # else 708s # { 708s # data1 = g_value_peek_pointer (param_values + 0); 708s # data2 = closure->data; 708s # } 708s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 708s # 708s # callback (data1, 708s # g_marshal_value_peek_boolean (param_values + 1), 708s # g_marshal_value_peek_int64 (param_values + 2), 708s # data2); 708s # } 708s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 708s # tmpdir: /tmp/tmplvhs1hcb 708s # genmarshal: /usr/bin/glib-genmarshal 708s # /tmp/tmplvhs1hcb/tmp_m1e9igz.list: VOID:PARAM 708s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmplvhs1hcb/tmp_m1e9igz.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 708s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 708s # 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. */ 708s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 708s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 708s # 708s # G_BEGIN_DECLS 708s # 708s # /* VOID:PARAM (/tmp/tmplvhs1hcb/tmp_m1e9igz.list:1) */ 708s # extern 708s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 708s # GValue *return_value, 708s # guint n_param_values, 708s # const GValue *param_values, 708s # gpointer invocation_hint, 708s # gpointer marshal_data); 708s # extern 708s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 708s # GValue *return_value, 708s # gpointer instance, 708s # va_list args, 708s # gpointer marshal_data, 708s # int n_params, 708s # GType *param_types); 708s # 708s # 708s # G_END_DECLS 708s # 708s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 708s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmplvhs1hcb/tmp_m1e9igz.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 708s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 708s # 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. */ 708s # #ifdef G_ENABLE_DEBUG 708s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 708s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 708s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 708s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 708s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 708s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 708s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 708s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 708s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 708s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 708s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 708s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 708s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 708s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 708s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 708s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 708s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 708s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 708s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 708s # #else /* !G_ENABLE_DEBUG */ 708s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 708s # * Do not access GValues directly in your code. Instead, use the 708s # * g_value_get_*() functions 708s # */ 708s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 708s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 708s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 708s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 708s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 708s # #endif /* !G_ENABLE_DEBUG */ 708s # 708s # /* VOID:PARAM (/tmp/tmplvhs1hcb/tmp_m1e9igz.list:1) */ 708s # void 708s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 708s # GValue *return_value G_GNUC_UNUSED, 708s # guint n_param_values, 708s # const GValue *param_values, 708s # gpointer invocation_hint G_GNUC_UNUSED, 708s # gpointer marshal_data) 708s # { 708s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 708s # gpointer arg1, 708s # gpointer data2); 708s # GCClosure *cc = (GCClosure *) closure; 708s # gpointer data1, data2; 708s # GMarshalFunc_VOID__PARAM callback; 708s # 708s # g_return_if_fail (n_param_values == 2); 708s # 708s # if (G_CCLOSURE_SWAP_DATA (closure)) 708s # { 708s # data1 = closure->data; 708s # data2 = g_value_peek_pointer (param_values + 0); 708s # } 708s # else 708s # { 708s # data1 = g_value_peek_pointer (param_values + 0); 708s # data2 = closure->data; 708s # } 708s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 708s # 708s # callback (data1, 708s # g_marshal_value_peek_param (param_values + 1), 708s # data2); 708s # } 708s # 708s # void 708s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 708s # GValue *return_value G_GNUC_UNUSED, 708s # gpointer instance, 708s # va_list args, 708s # gpointer marshal_data, 708s # int n_params, 708s # GType *param_types) 708s # { 708s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 708s # gpointer arg1, 708s # gpointer data2); 708s # GCClosure *cc = (GCClosure *) closure; 708s # gpointer data1, data2; 708s # GMarshalFunc_VOID__PARAM callback; 708s # gpointer arg0; 708s # va_list args_copy; 708s # 708s # va_copy (args_copy, args); 708s # arg0 = (gpointer) va_arg (args_copy, gpointer); 708s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 708s # arg0 = g_param_spec_ref (arg0); 708s # va_end (args_copy); 708s # 708s # 708s # if (G_CCLOSURE_SWAP_DATA (closure)) 708s # { 708s # data1 = closure->data; 708s # data2 = instance; 708s # } 708s # else 708s # { 708s # data1 = instance; 708s # data2 = closure->data; 708s # } 708s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 708s # 708s # callback (data1, 708s # arg0, 708s # data2); 708s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 708s # g_param_spec_unref (arg0); 708s # } 708s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 708s # tmpdir: /tmp/tmp1ohpieqm 708s # genmarshal: /usr/bin/glib-genmarshal 708s # /tmp/tmp1ohpieqm/tmpbxv3aqwh.list: VOID:STRING 708s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp1ohpieqm/tmpbxv3aqwh.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 708s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 708s # 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. */ 708s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 708s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 708s # 708s # G_BEGIN_DECLS 708s # 708s # /* VOID:STRING (/tmp/tmp1ohpieqm/tmpbxv3aqwh.list:1) */ 708s # extern 708s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 708s # GValue *return_value, 708s # guint n_param_values, 708s # const GValue *param_values, 708s # gpointer invocation_hint, 708s # gpointer marshal_data); 708s # extern 708s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 708s # GValue *return_value, 708s # gpointer instance, 708s # va_list args, 708s # gpointer marshal_data, 708s # int n_params, 708s # GType *param_types); 708s # 708s # 708s # G_END_DECLS 708s # 708s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 708s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp1ohpieqm/tmpbxv3aqwh.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 708s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 708s # 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. */ 708s # #ifdef G_ENABLE_DEBUG 708s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 708s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 708s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 708s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 708s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 708s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 708s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 708s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 708s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 708s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 708s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 708s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 708s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 708s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 708s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 708s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 708s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 708s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 708s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 708s # #else /* !G_ENABLE_DEBUG */ 708s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 708s # * Do not access GValues directly in your code. Instead, use the 708s # * g_value_get_*() functions 708s # */ 708s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 708s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 708s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 708s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 708s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 708s # #endif /* !G_ENABLE_DEBUG */ 708s # 708s # /* VOID:STRING (/tmp/tmp1ohpieqm/tmpbxv3aqwh.list:1) */ 708s # void 708s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 708s # GValue *return_value G_GNUC_UNUSED, 708s # guint n_param_values, 708s # const GValue *param_values, 708s # gpointer invocation_hint G_GNUC_UNUSED, 708s # gpointer marshal_data) 708s # { 708s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 708s # gpointer arg1, 708s # gpointer data2); 708s # GCClosure *cc = (GCClosure *) closure; 708s # gpointer data1, data2; 708s # GMarshalFunc_VOID__STRING callback; 708s # 708s # g_return_if_fail (n_param_values == 2); 708s # 708s # if (G_CCLOSURE_SWAP_DATA (closure)) 708s # { 708s # data1 = closure->data; 708s # data2 = g_value_peek_pointer (param_values + 0); 708s # } 708s # else 708s # { 708s # data1 = g_value_peek_pointer (param_values + 0); 708s # data2 = closure->data; 708s # } 708s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 708s # 708s # callback (data1, 708s # g_marshal_value_peek_string (param_values + 1), 708s # data2); 708s # } 708s # 708s # void 708s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 708s # GValue *return_value G_GNUC_UNUSED, 708s # gpointer instance, 708s # va_list args, 708s # gpointer marshal_data, 708s # int n_params, 708s # GType *param_types) 708s # { 708s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 708s # gpointer arg1, 708s # gpointer data2); 708s # GCClosure *cc = (GCClosure *) closure; 708s # gpointer data1, data2; 708s # GMarshalFunc_VOID__STRING callback; 708s # gpointer arg0; 708s # va_list args_copy; 708s # 708s # va_copy (args_copy, args); 708s # arg0 = (gpointer) va_arg (args_copy, gpointer); 708s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 708s # arg0 = g_strdup (arg0); 708s # va_end (args_copy); 708s # 708s # 708s # if (G_CCLOSURE_SWAP_DATA (closure)) 708s # { 708s # data1 = closure->data; 708s # data2 = instance; 708s # } 708s # else 708s # { 708s # data1 = instance; 708s # data2 = closure->data; 708s # } 708s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 708s # 708s # callback (data1, 708s # arg0, 708s # data2); 708s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 708s # g_free (arg0); 708s # } 708s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 708s # tmpdir: /tmp/tmp2hcawttb 708s # genmarshal: /usr/bin/glib-genmarshal 708s # /tmp/tmp2hcawttb/tmpu3cvunxr.list: VOID:VARIANT 708s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp2hcawttb/tmpu3cvunxr.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 708s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 708s # 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. */ 708s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 708s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 708s # 708s # G_BEGIN_DECLS 708s # 708s # /* VOID:VARIANT (/tmp/tmp2hcawttb/tmpu3cvunxr.list:1) */ 708s # extern 708s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 708s # GValue *return_value, 708s # guint n_param_values, 708s # const GValue *param_values, 708s # gpointer invocation_hint, 708s # gpointer marshal_data); 708s # extern 708s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 708s # GValue *return_value, 708s # gpointer instance, 708s # va_list args, 708s # gpointer marshal_data, 708s # int n_params, 708s # GType *param_types); 708s # 708s # 708s # G_END_DECLS 708s # 708s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 708s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp2hcawttb/tmpu3cvunxr.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 708s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-HvorNzJXDc,guid=bcbc6b882c1ef5ad23af2fef65f24e53', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4l9LOF/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.RK383b3RHV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9anPXO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4l9LOF/wrapper.sh --artifacts=/tmp/autopkgtest.4l9LOF/installed-tests-artifacts --chdir=/tmp/autopkgtest.4l9LOF/build.Xk2/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.4l9LOF/installed-tests-stderr --stdout=/tmp/autopkgtest.4l9LOF/installed-tests-stdout --tmp=/tmp/autopkgtest.4l9LOF/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1' --make-executable=/tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests -- /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4l9LOF/build.Xk2/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4l9LOF/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 708s # 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. */ 708s # #ifdef G_ENABLE_DEBUG 708s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 708s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 708s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 708s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 708s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 708s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 708s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 708s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 708s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 708s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 708s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 708s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 708s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 708s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 708s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 708s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 708s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 708s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 708s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 708s # #else /* !G_ENABLE_DEBUG */ 708s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 708s # * Do not access GValues directly in your code. Instead, use the 708s # * g_value_get_*() functions 708s # */ 708s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 708s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 708s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 708s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 708s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 708s # #endif /* !G_ENABLE_DEBUG */ 708s # 708s # /* VOID:VARIANT (/tmp/tmp2hcawttb/tmpu3cvunxr.list:1) */ 708s # void 708s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 708s # GValue *return_value G_GNUC_UNUSED, 708s # guint n_param_values, 708s # const GValue *param_values, 708s # gpointer invocation_hint G_GNUC_UNUSED, 708s # gpointer marshal_data) 708s # { 708s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 708s # gpointer arg1, 708s # gpointer data2); 708s # GCClosure *cc = (GCClosure *) closure; 708s # gpointer data1, data2; 708s # GMarshalFunc_VOID__VARIANT callback; 708s # 708s # g_return_if_fail (n_param_values == 2); 708s # 708s # if (G_CCLOSURE_SWAP_DATA (closure)) 708s # { 708s # data1 = closure->data; 708s # data2 = g_value_peek_pointer (param_values + 0); 708s # } 708s # else 708s # { 708s # data1 = g_value_peek_pointer (param_values + 0); 708s # data2 = closure->data; 708s # } 708s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 708s # 708s # callback (data1, 708s # g_marshal_value_peek_variant (param_values + 1), 708s # data2); 708s # } 708s # 708s # void 708s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 708s # GValue *return_value G_GNUC_UNUSED, 708s # gpointer instance, 708s # va_list args, 708s # gpointer marshal_data, 708s # int n_params, 708s # GType *param_types) 708s # { 708s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 708s # gpointer arg1, 708s # gpointer data2); 708s # GCClosure *cc = (GCClosure *) closure; 708s # gpointer data1, data2; 708s # GMarshalFunc_VOID__VARIANT callback; 708s # gpointer arg0; 708s # va_list args_copy; 708s # 708s # va_copy (args_copy, args); 708s # arg0 = (gpointer) va_arg (args_copy, gpointer); 708s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 708s # arg0 = g_variant_ref_sink (arg0); 708s # va_end (args_copy); 708s # 708s # 708s # if (G_CCLOSURE_SWAP_DATA (closure)) 708s # { 708s # data1 = closure->data; 708s # data2 = instance; 708s # } 708s # else 708s # { 708s # data1 = instance; 708s # data2 = closure->data; 708s # } 708s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 708s # 708s # callback (data1, 708s # arg0, 708s # data2); 708s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 708s # g_variant_unref (arg0); 708s # } 708s 1..8 708s ok - glib/genmarshal.py.test 708s # Running test: glib/unix-streams.test 708s TAP version 13 708s # random seed: R02S131cf4c906b63c991a65d36f6ab1099f 708s 1..9 708s # Start of unix-streams tests 708s ok 1 /unix-streams/basic 709s ok 2 /unix-streams/pipe-io-test 709s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 709s ok 3 /unix-streams/nonblocking-io-test 709s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 709s ok 4 /unix-streams/read_write 709s ok 5 /unix-streams/read_writev 709s ok 6 /unix-streams/write-wouldblock 709s ok 7 /unix-streams/writev-wouldblock 709s ok 8 /unix-streams/write-async-wouldblock 709s ok 9 /unix-streams/writev-async-wouldblock 709s # End of unix-streams tests 709s ok - glib/unix-streams.test 710s # Running test: glib/debugcontroller.test 710s TAP version 13 710s # random seed: R02S0aa252b6d20b9a8eb6a16af32f1436de 710s 1..3 710s # Start of debug-controller tests 710s # Start of dbus tests 710s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 710s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 710s # GLib-GIO-DEBUG: Debug output enabled 710s # GLib-GIO-DEBUG: Debug output disabled 710s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 710s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 710s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 710s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 710s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 710s ok 1 /debug-controller/dbus/basic 710s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 710s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 710s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 710s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 710s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 710s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 710s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 710s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 710s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 710s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 710s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 710s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 710s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 710s ok 2 /debug-controller/dbus/duplicate 710s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 710s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 710s # End of dbus tests 710s # End of debug-controller tests 710s ok - glib/debugcontroller.test 710s # Running test: glib/utils-c-90.test 710s TAP version 13 710s # random seed: R02S8f66d912446f7f181bf0d55a105aa0c7 710s 1..40 710s # Start of utils tests 710s ok 1 /utils/language-names 710s ok 2 /utils/locale-variants 710s ok 3 /utils/version 710s ok 4 /utils/appname 710s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 710s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 710s ok 5 /utils/prgname-thread-safety 710s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 710s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 710s ok 6 /utils/tmpdir 710s ok 7 /utils/basic_bits 710s ok 8 /utils/bits 710s ok 9 /utils/swap 710s ok 10 /utils/find-program 710s ok 11 /utils/find-program-for-path 710s ok 12 /utils/debug 710s ok 13 /utils/codeset 710s ok 14 /utils/codeset2 710s ok 15 /utils/console-charset 710s ok 16 /utils/gettext 710s ok 17 /utils/username 710s ok 18 /utils/realname 710s ok 19 /utils/hostname 710s ok 20 /utils/xdgdirs 710s ok 21 /utils/specialdir 710s # NAME: Ubuntu 710s ok 22 /utils/os-info 710s ok 23 /utils/clear-pointer 710s ok 24 /utils/clear-pointer-cast 710s ok 25 /utils/take-pointer 710s ok 26 /utils/clear-source 710s ok 27 /utils/misc-mem 710s # /utils/aligned-mem summary: Aligned memory allocator 710s # Alignment must not be zero 710s # Alignment must be a power of two 710s # Alignment must be a multiple of sizeof(void*) 710s ok 28 /utils/aligned-mem 710s # /utils/free-sized summary: Check that g_free_sized() works 710s ok 29 /utils/free-sized 710s ok 30 /utils/nullify 710s ok 31 /utils/atexit 710s ok 32 /utils/check-setuid 710s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 710s ok 33 /utils/int-limits 710s ok 34 /utils/clear-list 710s ok 35 /utils/clear-slist 710s # Start of specialdir tests 710s ok 36 /utils/specialdir/desktop 710s # End of specialdir tests 710s # Start of clear-pointer tests 710s ok 37 /utils/clear-pointer/side-effects 710s # End of clear-pointer tests 710s # Start of aligned-mem tests 710s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 710s ok 38 /utils/aligned-mem/alignment 710s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 710s ok 39 /utils/aligned-mem/zeroed 710s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 710s ok 40 /utils/aligned-mem/free-sized 710s # Start of subprocess tests 710s # End of subprocess tests 710s # End of aligned-mem tests 710s # End of utils tests 710s ok - glib/utils-c-90.test 710s # Running test: glib/utils-isolated.test 710s TAP version 13 710s # random seed: R02S43e1725536b5cefd400e632cbbfe6692 710s 1..9 710s # Start of utils-isolated tests 710s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_M3FLK2/utils-isolated/tmp-dir/.dirs/home 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_M3FLK2/utils-isolated/tmp-dir/.dirs/cache 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_M3FLK2/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_M3FLK2/utils-isolated/tmp-dir/.dirs/system-config2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_M3FLK2/utils-isolated/tmp-dir/.dirs/config 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_M3FLK2/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_M3FLK2/utils-isolated/tmp-dir/.dirs/system-data2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_M3FLK2/utils-isolated/tmp-dir/.dirs/data 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_M3FLK2/utils-isolated/tmp-dir/.dirs/state 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_M3FLK2/utils-isolated/tmp-dir/.dirs/runtime 710s ok 1 /utils-isolated/tmp-dir 710s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_M3FLK2/utils-isolated/home-dir/.dirs/home 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_M3FLK2/utils-isolated/home-dir/.dirs/cache 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_M3FLK2/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_M3FLK2/utils-isolated/home-dir/.dirs/system-config2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_M3FLK2/utils-isolated/home-dir/.dirs/config 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_M3FLK2/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_M3FLK2/utils-isolated/home-dir/.dirs/system-data2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_M3FLK2/utils-isolated/home-dir/.dirs/data 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_M3FLK2/utils-isolated/home-dir/.dirs/state 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_M3FLK2/utils-isolated/home-dir/.dirs/runtime 710s ok 2 /utils-isolated/home-dir 710s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_M3FLK2/utils-isolated/user-cache-dir/.dirs/home 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_M3FLK2/utils-isolated/user-cache-dir/.dirs/cache 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_M3FLK2/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_M3FLK2/utils-isolated/user-cache-dir/.dirs/system-config2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_M3FLK2/utils-isolated/user-cache-dir/.dirs/config 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_M3FLK2/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_M3FLK2/utils-isolated/user-cache-dir/.dirs/system-data2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_M3FLK2/utils-isolated/user-cache-dir/.dirs/data 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_M3FLK2/utils-isolated/user-cache-dir/.dirs/state 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_M3FLK2/utils-isolated/user-cache-dir/.dirs/runtime 710s ok 3 /utils-isolated/user-cache-dir 710s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_M3FLK2/utils-isolated/system-config-dirs/.dirs/home 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_M3FLK2/utils-isolated/system-config-dirs/.dirs/cache 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_M3FLK2/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_M3FLK2/utils-isolated/system-config-dirs/.dirs/system-config2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_M3FLK2/utils-isolated/system-config-dirs/.dirs/config 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_M3FLK2/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_M3FLK2/utils-isolated/system-config-dirs/.dirs/system-data2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_M3FLK2/utils-isolated/system-config-dirs/.dirs/data 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_M3FLK2/utils-isolated/system-config-dirs/.dirs/state 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_M3FLK2/utils-isolated/system-config-dirs/.dirs/runtime 710s ok 4 /utils-isolated/system-config-dirs 710s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_M3FLK2/utils-isolated/user-config-dir/.dirs/home 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_M3FLK2/utils-isolated/user-config-dir/.dirs/cache 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_M3FLK2/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_M3FLK2/utils-isolated/user-config-dir/.dirs/system-config2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_M3FLK2/utils-isolated/user-config-dir/.dirs/config 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_M3FLK2/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_M3FLK2/utils-isolated/user-config-dir/.dirs/system-data2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_M3FLK2/utils-isolated/user-config-dir/.dirs/data 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_M3FLK2/utils-isolated/user-config-dir/.dirs/state 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_M3FLK2/utils-isolated/user-config-dir/.dirs/runtime 710s ok 5 /utils-isolated/user-config-dir 710s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_M3FLK2/utils-isolated/system-data-dirs/.dirs/home 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_M3FLK2/utils-isolated/system-data-dirs/.dirs/cache 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_M3FLK2/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_M3FLK2/utils-isolated/system-data-dirs/.dirs/system-config2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_M3FLK2/utils-isolated/system-data-dirs/.dirs/config 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_M3FLK2/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_M3FLK2/utils-isolated/system-data-dirs/.dirs/system-data2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_M3FLK2/utils-isolated/system-data-dirs/.dirs/data 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_M3FLK2/utils-isolated/system-data-dirs/.dirs/state 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_M3FLK2/utils-isolated/system-data-dirs/.dirs/runtime 710s ok 6 /utils-isolated/system-data-dirs 710s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_M3FLK2/utils-isolated/user-data-dir/.dirs/home 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_M3FLK2/utils-isolated/user-data-dir/.dirs/cache 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_M3FLK2/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_M3FLK2/utils-isolated/user-data-dir/.dirs/system-config2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_M3FLK2/utils-isolated/user-data-dir/.dirs/config 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_M3FLK2/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_M3FLK2/utils-isolated/user-data-dir/.dirs/system-data2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_M3FLK2/utils-isolated/user-data-dir/.dirs/data 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_M3FLK2/utils-isolated/user-data-dir/.dirs/state 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_M3FLK2/utils-isolated/user-data-dir/.dirs/runtime 710s ok 7 /utils-isolated/user-data-dir 710s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_M3FLK2/utils-isolated/user-state-dir/.dirs/home 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_M3FLK2/utils-isolated/user-state-dir/.dirs/cache 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_M3FLK2/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_M3FLK2/utils-isolated/user-state-dir/.dirs/system-config2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_M3FLK2/utils-isolated/user-state-dir/.dirs/config 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_M3FLK2/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_M3FLK2/utils-isolated/user-state-dir/.dirs/system-data2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_M3FLK2/utils-isolated/user-state-dir/.dirs/data 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_M3FLK2/utils-isolated/user-state-dir/.dirs/state 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_M3FLK2/utils-isolated/user-state-dir/.dirs/runtime 710s ok 8 /utils-isolated/user-state-dir 710s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_M3FLK2/utils-isolated/user-runtime-dir/.dirs/home 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_M3FLK2/utils-isolated/user-runtime-dir/.dirs/cache 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_M3FLK2/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_M3FLK2/utils-isolated/user-runtime-dir/.dirs/system-config2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_M3FLK2/utils-isolated/user-runtime-dir/.dirs/config 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_M3FLK2/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_M3FLK2/utils-isolated/user-runtime-dir/.dirs/system-data2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_M3FLK2/utils-isolated/user-runtime-dir/.dirs/data 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_M3FLK2/utils-isolated/user-runtime-dir/.dirs/state 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_M3FLK2/utils-isolated/user-runtime-dir/.dirs/runtime 710s ok 9 /utils-isolated/user-runtime-dir 710s # End of utils-isolated tests 710s ok - glib/utils-isolated.test 710s # Running test: glib/charset.test 710s TAP version 13 710s # random seed: R02S60a9c79bdd51573f4f416b58f7212df4 710s 1..2 710s # Start of charset tests 710s # Test 0 710s # Test 1 710s # Test 2 710s # Test 3 710s ok 1 /charset/language_names_with_category 710s ok 2 /charset/language_names_with_category_async 710s # End of charset tests 710s ok - glib/charset.test 710s # Running test: glib/memory-monitor-dbus.test 710s TAP version 13 710s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 710s 1..1 710s ok - glib/memory-monitor-dbus.test 710s # Running test: glib/refcount-macro.test 710s TAP version 13 710s # random seed: R02S8d1ce82bba44ac4be15e1843eab04741 710s 1..4 710s # Start of refcount tests 710s ok 1 /refcount/grefcount 710s ok 2 /refcount/gatomicrefcount 710s # Start of grefcount tests 710s ok 3 /refcount/grefcount/saturation 710s # End of grefcount tests 710s # Start of gatomicrefcount tests 710s ok 4 /refcount/gatomicrefcount/saturation 710s # End of gatomicrefcount tests 710s # End of refcount tests 710s ok - glib/refcount-macro.test 710s # Running test: glib/gdbus-proxy.test 710s TAP version 13 710s # random seed: R02Sd3d28f646e80afd6921f058e444cdfa6 710s 1..5 710s # Start of gdbus tests 710s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_H8XIK2/gdbus/proxy/.dirs/home 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_H8XIK2/gdbus/proxy/.dirs/cache 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_H8XIK2/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_H8XIK2/gdbus/proxy/.dirs/system-config2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_H8XIK2/gdbus/proxy/.dirs/config 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_H8XIK2/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_H8XIK2/gdbus/proxy/.dirs/system-data2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_H8XIK2/gdbus/proxy/.dirs/data 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_H8XIK2/gdbus/proxy/.dirs/state 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_H8XIK2/gdbus/proxy/.dirs/runtime 710s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 711s # Executing: glib/gdbus-proxy.test 711s ok 1 /gdbus/proxy 711s # slow test /gdbus/proxy executed in 1.72 secs 711s # Start of proxy tests 711s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_H8XIK2/gdbus/proxy/no-properties/.dirs/home 711s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_H8XIK2/gdbus/proxy/no-properties/.dirs/cache 711s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_H8XIK2/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_H8XIK2/gdbus/proxy/no-properties/.dirs/system-config2 711s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_H8XIK2/gdbus/proxy/no-properties/.dirs/config 711s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_H8XIK2/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_H8XIK2/gdbus/proxy/no-properties/.dirs/system-data2 711s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_H8XIK2/gdbus/proxy/no-properties/.dirs/data 711s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_H8XIK2/gdbus/proxy/no-properties/.dirs/state 711s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_H8XIK2/gdbus/proxy/no-properties/.dirs/runtime 711s ok 2 /gdbus/proxy/no-properties 711s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_H8XIK2/gdbus/proxy/wellknown-noauto/.dirs/home 711s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_H8XIK2/gdbus/proxy/wellknown-noauto/.dirs/cache 711s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_H8XIK2/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_H8XIK2/gdbus/proxy/wellknown-noauto/.dirs/system-config2 711s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_H8XIK2/gdbus/proxy/wellknown-noauto/.dirs/config 711s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_H8XIK2/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_H8XIK2/gdbus/proxy/wellknown-noauto/.dirs/system-data2 711s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_H8XIK2/gdbus/proxy/wellknown-noauto/.dirs/data 711s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_H8XIK2/gdbus/proxy/wellknown-noauto/.dirs/state 711s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_H8XIK2/gdbus/proxy/wellknown-noauto/.dirs/runtime 711s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 711s ok 3 /gdbus/proxy/wellknown-noauto 711s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_H8XIK2/gdbus/proxy/async/.dirs/home 711s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_H8XIK2/gdbus/proxy/async/.dirs/cache 711s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_H8XIK2/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_H8XIK2/gdbus/proxy/async/.dirs/system-config2 711s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_H8XIK2/gdbus/proxy/async/.dirs/config 711s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_H8XIK2/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_H8XIK2/gdbus/proxy/async/.dirs/system-data2 711s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_H8XIK2/gdbus/proxy/async/.dirs/data 711s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_H8XIK2/gdbus/proxy/async/.dirs/state 711s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_H8XIK2/gdbus/proxy/async/.dirs/runtime 711s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 713s ok 4 /gdbus/proxy/async 713s # slow test /gdbus/proxy/async executed in 1.72 secs 713s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_H8XIK2/gdbus/proxy/no-match-rule/.dirs/home 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_H8XIK2/gdbus/proxy/no-match-rule/.dirs/cache 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_H8XIK2/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_H8XIK2/gdbus/proxy/no-match-rule/.dirs/system-config2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_H8XIK2/gdbus/proxy/no-match-rule/.dirs/config 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_H8XIK2/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_H8XIK2/gdbus/proxy/no-match-rule/.dirs/system-data2 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_H8XIK2/gdbus/proxy/no-match-rule/.dirs/data 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_H8XIK2/gdbus/proxy/no-match-rule/.dirs/state 713s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_H8XIK2/gdbus/proxy/no-match-rule/.dirs/runtime 713s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 713s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 715s ok 5 /gdbus/proxy/no-match-rule 715s # slow test /gdbus/proxy/no-match-rule executed in 1.73 secs 715s # End of proxy tests 715s # End of gdbus tests 715s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 715s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 715s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 715s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 715s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 715s ok - glib/gdbus-proxy.test 715s # Running test: glib/gdbus-connection-loss.test 715s TAP version 13 715s # random seed: R02S46a65c6d436bc5e525427dfbf5162a4f 715s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 715s 1..1 715s # Start of gdbus tests 715s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_IYNSK2/gdbus/connection-loss/.dirs/home 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_IYNSK2/gdbus/connection-loss/.dirs/cache 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_IYNSK2/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_IYNSK2/gdbus/connection-loss/.dirs/system-config2 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_IYNSK2/gdbus/connection-loss/.dirs/config 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_IYNSK2/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_IYNSK2/gdbus/connection-loss/.dirs/system-data2 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_IYNSK2/gdbus/connection-loss/.dirs/data 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_IYNSK2/gdbus/connection-loss/.dirs/state 715s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_IYNSK2/gdbus/connection-loss/.dirs/runtime 715s ok 1 /gdbus/connection-loss 715s # End of gdbus tests 715s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 715s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 715s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 715s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 715s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 715s ok - glib/gdbus-connection-loss.test 715s # Running test: glib/reference.test 715s TAP version 13 715s # random seed: R02Sf6de677d5e26d8e6d3a9fd6d8c56b2ce 715s 1..29 715s # Start of type tests 715s ok 1 /type/fundamentals 715s ok 2 /type/qdata 715s ok 3 /type/query 715s ok 4 /type/class-private 715s # End of type tests 715s # Start of object tests 715s ok 5 /object/clear 715s ok 6 /object/clear-function 715s ok 7 /object/set 715s ok 8 /object/set-function 715s ok 9 /object/value 715s ok 10 /object/initially-unowned 715s ok 11 /object/weak-pointer 715s ok 12 /object/weak-ref 715s ok 13 /object/toggle-ref 715s ok 14 /object/qdata 715s ok 15 /object/qdata2 715s # Start of set tests 715s # /object/set/derived-type summary: Check that g_set_object() doesn?t give strict aliasing warnings when used on types derived from GObject 715s ok 16 /object/set/derived-type 715s # End of set tests 715s # Start of weak-pointer tests 715s ok 17 /object/weak-pointer/clear 715s ok 18 /object/weak-pointer/clear-function 715s ok 19 /object/weak-pointer/set 715s ok 20 /object/weak-pointer/set-function 715s # End of weak-pointer tests 715s # Start of weak-ref tests 715s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 715s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 715s ok 21 /object/weak-ref/on-dispose 715s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 715s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 715s ok 22 /object/weak-ref/on-run-dispose 715s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 715s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 715s ok 23 /object/weak-ref/on-toggle-notify 715s ok 24 /object/weak-ref/in-toggle-notify 715s ok 25 /object/weak-ref/many 715s # Start of concurrent tests 716s # Executing: glib/reference.test 718s ok 26 /object/weak-ref/concurrent/0 718s # slow test /object/weak-ref/concurrent/0 executed in 2.73 secs 721s # Executing: glib/reference.test 721s ok 27 /object/weak-ref/concurrent/1 721s # slow test /object/weak-ref/concurrent/1 executed in 3.23 secs 721s # End of concurrent tests 721s # End of weak-ref tests 721s # Start of toggle-ref tests 721s ok 28 /object/toggle-ref/ref-on-dispose 721s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 721s # End of toggle-ref tests 721s # End of object tests 721s ok - glib/reference.test 721s # Running test: glib/strfuncs.test 721s TAP version 13 721s # random seed: R02Sf5678c92d78a77da598ce3b7f2ce3d0b 721s 1..50 721s # Start of strfuncs tests 721s ok 1 /strfuncs/ascii-strcasecmp 721s ok 2 /strfuncs/ascii_strdown 721s ok 3 /strfuncs/ascii_strdup 721s ok 4 /strfuncs/ascii_strtod 721s ok 5 /strfuncs/bounds-check 721s ok 6 /strfuncs/has-prefix 721s ok 7 /strfuncs/has-prefix-macro 721s ok 8 /strfuncs/has-suffix 721s ok 9 /strfuncs/has-suffix-macro 721s ok 10 /strfuncs/memdup 721s ok 11 /strfuncs/memdup2 721s ok 12 /strfuncs/set_str 721s ok 13 /strfuncs/stpcpy 721s ok 14 /strfuncs/str_match_string 721s ok 15 /strfuncs/str_tokenize_and_fold 721s ok 16 /strfuncs/strcanon 721s ok 17 /strfuncs/strchomp 721s ok 18 /strfuncs/strchug 721s ok 19 /strfuncs/strcompress-strescape 721s ok 20 /strfuncs/strconcat 721s ok 21 /strfuncs/strdelimit 721s ok 22 /strfuncs/strdup 721s ok 23 /strfuncs/strdup-printf 721s ok 24 /strfuncs/strdupv 721s ok 25 /strfuncs/strerror 721s ok 26 /strfuncs/strip-context 721s ok 27 /strfuncs/strjoin 721s ok 28 /strfuncs/strjoinv 721s ok 29 /strfuncs/strlcat 721s ok 30 /strfuncs/strlcpy 721s ok 31 /strfuncs/strncasecmp 721s ok 32 /strfuncs/strndup 721s ok 33 /strfuncs/strnfill 721s ok 34 /strfuncs/strreverse 721s ok 35 /strfuncs/strsignal 721s ok 36 /strfuncs/strsplit 721s ok 37 /strfuncs/strsplit-set 721s ok 38 /strfuncs/strstr 721s ok 39 /strfuncs/strtod 721s ok 40 /strfuncs/strtoull-strtoll 721s ok 41 /strfuncs/strup 721s ok 42 /strfuncs/strv-contains 721s ok 43 /strfuncs/strv-equal 721s ok 44 /strfuncs/strv-length 721s ok 45 /strfuncs/test-is-to-digit 721s ok 46 /strfuncs/transliteration 721s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 721s ok 47 /strfuncs/str-equal 721s # Start of ascii-string-to-num tests 721s ok 48 /strfuncs/ascii-string-to-num/pathological 721s ok 49 /strfuncs/ascii-string-to-num/usual 721s # End of ascii-string-to-num tests 721s # Start of strdup tests 721s ok 50 /strfuncs/strdup/inline 721s # End of strdup tests 721s # End of strfuncs tests 721s ok - glib/strfuncs.test 721s # Running test: glib/module-test-plugin.test 721s TAP version 13 721s # random seed: R02Sf1a0aa943d1067e302bae023f8ff09fd 721s 1..2 721s # Start of module tests 721s ok 1 /module/basics 721s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 721s ok 2 /module/invalid-libtool-archive 721s # End of module tests 721s ok - glib/module-test-plugin.test 721s # Running test: glib/g-file-info.test 721s TAP version 13 721s # random seed: R02Sedaeab15c5f36851c3cd8dea22962bae 721s 1..6 721s # Start of g-file-info tests 721s ok 1 /g-file-info/test_g_file_info 721s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 721s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 721s ok 2 /g-file-info/xattrs 721s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 721s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 721s ok 3 /g-file-info/set-modified-date-time-precision 721s # Start of test_g_file_info tests 721s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 721s ok 4 /g-file-info/test_g_file_info/modification-time 721s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 721s ok 5 /g-file-info/test_g_file_info/access-time 721s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 721s ok 6 /g-file-info/test_g_file_info/creation-time 721s # End of test_g_file_info tests 721s # End of g-file-info tests 721s ok - glib/g-file-info.test 721s # Running test: glib/tls-interaction.test 721s TAP version 13 721s # random seed: R02S9a3a1ab64e9d4e1b65c49aad0cd38bd6 721s 1..42 721s # Start of tls-interaction tests 721s # Start of ask-password tests 721s # Start of invoke-with-loop tests 721s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 721s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 721s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 721s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 721s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 721s # End of invoke-with-loop tests 721s # Start of invoke-without-loop tests 721s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 721s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 721s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 721s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 721s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 721s # End of invoke-without-loop tests 721s # Start of invoke-in-loop tests 721s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 721s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 721s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 721s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 721s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 721s # End of invoke-in-loop tests 721s # Start of sync tests 721s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 721s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 721s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 721s # End of sync tests 721s # Start of async tests 721s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 721s ok 20 /tls-interaction/ask-password/async/async-implementation-success 721s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 721s # End of async tests 721s # End of ask-password tests 721s # Start of request-certificate tests 721s # Start of invoke-with-loop tests 721s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 721s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 721s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 721s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 721s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 721s # End of invoke-with-loop tests 721s # Start of invoke-without-loop tests 721s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 721s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 721s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 721s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 721s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 721s # End of invoke-without-loop tests 721s # Start of invoke-in-loop tests 721s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 721s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 721s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 721s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 721s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 721s # End of invoke-in-loop tests 721s # Start of sync tests 721s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 721s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 721s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 721s # End of sync tests 721s # Start of async tests 721s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 721s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 721s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 721s # End of async tests 721s # End of request-certificate tests 721s # End of tls-interaction tests 721s ok - glib/tls-interaction.test 721s # Running test: glib/guuid.test 721s TAP version 13 721s # random seed: R02S36a3d6f0283dd8aabae2ba26467decd0 721s 1..2 721s # Start of uuid tests 721s ok 1 /uuid/string 721s ok 2 /uuid/random 721s # End of uuid tests 721s ok - glib/guuid.test 721s # Running test: glib/buffered-input-stream.test 721s TAP version 13 721s # random seed: R02Sfa8fdd180fbfda7b22603b294320a7e4 721s 1..10 721s # Start of buffered-input-stream tests 721s ok 1 /buffered-input-stream/peek 721s ok 2 /buffered-input-stream/peek-buffer 721s ok 3 /buffered-input-stream/set-buffer-size 721s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 721s ok 4 /buffered-input-stream/read-byte 721s ok 5 /buffered-input-stream/read 721s ok 6 /buffered-input-stream/read-async 721s ok 7 /buffered-input-stream/skip 721s ok 8 /buffered-input-stream/skip-async 721s ok 9 /buffered-input-stream/seek 721s # End of buffered-input-stream tests 721s # Start of filter-input-stream tests 721s ok 10 /filter-input-stream/close 721s # End of filter-input-stream tests 721s ok - glib/buffered-input-stream.test 721s # Running test: glib/spawn-test.test 721s TAP version 13 721s # random seed: R02S221fc5f755a314ee973c4e1e97b4f7fc 721s 1..2 721s # Start of spawn tests 721s ok 1 /spawn/basics 721s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 721s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 721s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 721s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 721s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 721s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 721s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 721s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 721s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 721s # Fetching GSpawn result output with stdin open, stdout open, stderr open 721s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 721s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 721s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 721s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 721s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 721s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 721s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 721s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 721s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 721s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 721s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 721s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 721s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 721s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 721s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 721s # Fetching GSpawn result with stdin open, stdout open, stderr open 721s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 721s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 721s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 721s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 721s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 721s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 721s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 721s ok 2 /spawn/stdio-overwrite 721s # End of spawn tests 721s ok - glib/spawn-test.test 721s # Running test: glib/gdbus-test-codegen.test 721s TAP version 13 721s # random seed: R02S7bb308faeed2ff4cd444dffc7bbb5afa 721s 1..8 721s # Start of gdbus tests 721s # Start of codegen tests 721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/annotations/.dirs/home 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/annotations/.dirs/cache 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/annotations/.dirs/system-config2 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/annotations/.dirs/config 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/annotations/.dirs/system-data2 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/annotations/.dirs/data 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/annotations/.dirs/state 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/annotations/.dirs/runtime 721s ok 1 /gdbus/codegen/annotations 721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/interface_stability/.dirs/home 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/interface_stability/.dirs/cache 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/interface_stability/.dirs/system-config2 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/interface_stability/.dirs/config 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/interface_stability/.dirs/system-data2 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/interface_stability/.dirs/data 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/interface_stability/.dirs/state 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/interface_stability/.dirs/runtime 721s ok 2 /gdbus/codegen/interface_stability 721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/object-manager/.dirs/home 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/object-manager/.dirs/cache 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/object-manager/.dirs/system-config2 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/object-manager/.dirs/config 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/object-manager/.dirs/system-data2 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/object-manager/.dirs/data 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/object-manager/.dirs/state 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/object-manager/.dirs/runtime 721s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 721s ok 3 /gdbus/codegen/object-manager 721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/property-naming/.dirs/home 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/property-naming/.dirs/cache 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/property-naming/.dirs/system-config2 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/property-naming/.dirs/config 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/property-naming/.dirs/system-data2 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/property-naming/.dirs/data 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/property-naming/.dirs/state 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/property-naming/.dirs/runtime 721s ok 4 /gdbus/codegen/property-naming 721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/autocleanups/.dirs/home 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/autocleanups/.dirs/cache 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/autocleanups/.dirs/system-config2 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/autocleanups/.dirs/config 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/autocleanups/.dirs/system-data2 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/autocleanups/.dirs/data 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/autocleanups/.dirs/state 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/autocleanups/.dirs/runtime 721s ok 5 /gdbus/codegen/autocleanups 721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/deprecations/.dirs/home 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/deprecations/.dirs/cache 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/deprecations/.dirs/system-config2 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/deprecations/.dirs/config 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/deprecations/.dirs/system-data2 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/deprecations/.dirs/data 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/deprecations/.dirs/state 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/deprecations/.dirs/runtime 721s ok 6 /gdbus/codegen/deprecations 721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/standalone-interface-info/.dirs/home 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/standalone-interface-info/.dirs/cache 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/standalone-interface-info/.dirs/config 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/standalone-interface-info/.dirs/data 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/standalone-interface-info/.dirs/state 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/standalone-interface-info/.dirs/runtime 721s ok 7 /gdbus/codegen/standalone-interface-info 721s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/unix-fd-list/.dirs/home 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/unix-fd-list/.dirs/cache 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/unix-fd-list/.dirs/system-config2 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/unix-fd-list/.dirs/config 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/unix-fd-list/.dirs/system-data2 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/unix-fd-list/.dirs/data 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/unix-fd-list/.dirs/state 721s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_N4ZPK2/gdbus/codegen/unix-fd-list/.dirs/runtime 721s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 721s ok 8 /gdbus/codegen/unix-fd-list 721s # End of codegen tests 721s # End of gdbus tests 721s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 721s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 721s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 721s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 721s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 721s ok - glib/gdbus-test-codegen.test 721s # Running test: glib/markup-subparser.test 721s TAP version 13 721s # random seed: R02Sf9b0d96631c9cfe5e5ef7c7dd464dfa4 721s 1..14 721s # Start of glib tests 721s # Start of markup tests 721s # Start of subparser tests 721s # Start of success tests 721s ok 1 /glib/markup/subparser/success/0 721s ok 2 /glib/markup/subparser/success/1 721s ok 3 /glib/markup/subparser/success/2 721s ok 4 /glib/markup/subparser/success/3 721s ok 5 /glib/markup/subparser/success/4 721s ok 6 /glib/markup/subparser/success/5 721s ok 7 /glib/markup/subparser/success/6 721s # End of success tests 721s # Start of failure tests 721s ok 8 /glib/markup/subparser/failure/0 721s ok 9 /glib/markup/subparser/failure/1 721s ok 10 /glib/markup/subparser/failure/2 721s ok 11 /glib/markup/subparser/failure/3 721s ok 12 /glib/markup/subparser/failure/4 721s ok 13 /glib/markup/subparser/failure/5 721s ok 14 /glib/markup/subparser/failure/6 721s # End of failure tests 721s # End of subparser tests 721s # End of markup tests 721s # End of glib tests 721s ok - glib/markup-subparser.test 721s # Running test: glib/dynamictype.test 721s TAP version 13 721s # random seed: R02Sfb501d2e7fce3f0c99c0de76c5d4e05b 721s 1..2 721s # Start of gobject tests 721s ok 1 /gobject/dynamic-type 721s # Start of dynamic-type tests 721s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 721s ok 2 /gobject/dynamic-type/query 721s # End of dynamic-type tests 721s # End of gobject tests 721s ok - glib/dynamictype.test 721s # Running test: glib/memory-monitor.test 721s TAP version 13 721s # random seed: R02S58bb447512ff5680b14c1a0b102ccfe2 721s 1..1 721s # Start of memory-monitor tests 721s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 721s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ?gio-memory-monitor? 721s ok 1 /memory-monitor/default 721s # End of memory-monitor tests 721s ok - glib/memory-monitor.test 721s # Running test: glib/references.test 721s TAP version 13 721s # random seed: R02Sf2b93c1685d12b009cc78374a766b6b3 721s 1..1 721s # Start of gobject tests 721s ok 1 /gobject/references 721s # End of gobject tests 721s ok - glib/references.test 721s # Running test: glib/gnotification.test 721s TAP version 13 721s # random seed: R02Sf87f41ffdace3a84574c433a1db4edc2 721s 1..2 721s # Start of gnotification tests 721s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 721s ok 1 /gnotification/basic 721s ok 2 /gnotification/properties 721s # End of gnotification tests 721s ok - glib/gnotification.test 721s # Running test: glib/option-argv0.test 721s TAP version 13 721s # random seed: R02S27b5bb90e3ae0fd1c2b4eeb13575a3c3 721s 1..1 721s # Start of option tests 721s ok 1 /option/argv0 721s # End of option tests 721s ok - glib/option-argv0.test 721s # Running test: glib/object.test 721s TAP version 13 721s # random seed: R02S5717ee7752136e2dcfc6db2b94fbe5ae 721s 1..2 721s # Start of object tests 721s # Start of constructor tests 721s ok 1 /object/constructor/singleton 721s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 721s # End of constructor tests 721s # End of object tests 721s ok - glib/object.test 721s # Running test: glib/cxx-14.test 721s TAP version 13 721s # random seed: R02Sb6a723023d05bfc5f76b18741743d6dc 721s 1..2 721s # Start of gtask tests 721s # 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. 721s ok 1 /gtask/name 721s # Start of name tests 721s # 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. 721s ok 2 /gtask/name/macro-wrapper 721s # End of name tests 721s # End of gtask tests 721s ok - glib/cxx-14.test 721s # Running test: glib/hostutils.test 721s TAP version 13 721s # random seed: R02S2f9f0c6ccbce3b8068a8819d35dc8984 721s 1..3 721s # Start of hostutils tests 721s ok 1 /hostutils/to_ascii 721s ok 2 /hostutils/to_unicode 721s ok 3 /hostutils/is_ip_addr 721s # End of hostutils tests 721s ok - glib/hostutils.test 721s # Running test: glib/value.test 721s TAP version 13 721s # random seed: R02S385dc87a848cb6d8fac7c37ea429e902 721s 1..8 721s # Start of value tests 721s ok 1 /value/basic 721s ok 2 /value/collection 721s ok 3 /value/copying 721s ok 4 /value/enum-transformation 721s ok 5 /value/gtype 721s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 721s ok 6 /value/string 721s # Next: GObject object in GValue of GObject to GValue of GObject 721s # Next: GObject object in GValue of GObject to GValue of TestInterface 721s # Next: GObject object in GValue of GObject to GValue of TestObjectA 721s # Next: GObject object in GValue of GObject to GValue of TestObjectB 721s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 721s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 721s # Next: TestObjectA object in GValue of GObject to GValue of GObject 721s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 721s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 721s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 721s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 721s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 721s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 721s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 721s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 721s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 721s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 721s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 721s # Next: TestObjectB object in GValue of GObject to GValue of GObject 721s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 721s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 721s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 721s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 721s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 721s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 721s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 721s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 721s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 721s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 721s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 721s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 721s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 721s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 721s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 721s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 721s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 721s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 721s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 721s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 721s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 721s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 721s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 721s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 721s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 721s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 721s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 721s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 721s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 721s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 721s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 721s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 721s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 721s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 721s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 721s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 721s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 721s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 721s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 721s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 721s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 721s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 721s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 721s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 721s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 721s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 721s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 721s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 721s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 721s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 721s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 721s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 721s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 721s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 721s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 721s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 721s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 721s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 721s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 721s ok 7 /value/transform-object 721s # Start of array tests 721s ok 8 /value/array/basic 721s # End of array tests 721s # End of value tests 721s ok - glib/value.test 721s # Running test: glib/thread-deprecated.test 721s TAP version 13 721s # random seed: R02S3cb7cabc9040c670c981acb31126ed1f 721s 1..6 721s # Start of thread tests 721s ok 1 /thread/mutex 722s ok 2 /thread/static-rec-mutex 726s # Executing: glib/thread-deprecated.test 726s ok 3 /thread/static-private 726s # slow test /thread/static-private executed in 4.20 secs 731s # Executing: glib/thread-deprecated.test 731s ok 4 /thread/static-rw-lock 731s # slow test /thread/static-rw-lock executed in 5.00 secs 731s ok 5 /thread/once 736s # Executing: glib/thread-deprecated.test 741s # Executing: glib/thread-deprecated.test 741s ok 6 /thread/rerun-all 741s # slow test /thread/rerun-all executed in 10.02 secs 741s # End of thread tests 741s ok - glib/thread-deprecated.test 741s # Running test: glib/gsocketclient-slow.test 741s TAP version 13 741s # random seed: R02S28ff0991a27dd47fd38bf74b925224a4 741s 1..3 741s # Start of socket-client tests 741s # Start of happy-eyeballs tests 741s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 741s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1c716414cad0 and GSocketClientAsyncConnectData 0x1c71641462a0 741s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 741s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 741s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1c716414e1e0 for GSocketClientAsyncConnectData 0x1c71641462a0 741s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 741s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 741s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 741s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 741s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 741s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 741s ok 1 /socket-client/happy-eyeballs/slow 741s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 741s # Start of cancellation tests 741s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1c7164151900 and GSocketClientAsyncConnectData 0x1c716414d9f0 741s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 741s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 741s ok 2 /socket-client/happy-eyeballs/cancellation/instant 741s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1c71641506f0 and GSocketClientAsyncConnectData 0x1c71641462a0 741s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 741s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 741s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1c7164152550 for GSocketClientAsyncConnectData 0x1c71641462a0 741s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 742s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 742s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 742s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 742s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 742s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 742s ok 3 /socket-client/happy-eyeballs/cancellation/delayed 742s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 742s # End of cancellation tests 742s # End of happy-eyeballs tests 742s # End of socket-client tests 742s ok - glib/gsocketclient-slow.test 742s # Running test: glib/markup-escape.test 742s TAP version 13 742s # random seed: R02S5d78994aac38791953eefffc18c3b297 742s 1..41 742s # Start of markup tests 742s ok 1 /markup/format 742s # Start of escape-text tests 742s ok 2 /markup/escape-text/0 742s ok 3 /markup/escape-text/1 742s ok 4 /markup/escape-text/2 742s ok 5 /markup/escape-text/3 742s ok 6 /markup/escape-text/4 742s ok 7 /markup/escape-text/5 742s ok 8 /markup/escape-text/6 742s ok 9 /markup/escape-text/7 742s ok 10 /markup/escape-text/8 742s ok 11 /markup/escape-text/9 742s ok 12 /markup/escape-text/10 742s ok 13 /markup/escape-text/11 742s ok 14 /markup/escape-text/12 742s ok 15 /markup/escape-text/13 742s ok 16 /markup/escape-text/14 742s ok 17 /markup/escape-text/15 742s ok 18 /markup/escape-text/16 742s ok 19 /markup/escape-text/17 742s ok 20 /markup/escape-text/18 742s ok 21 /markup/escape-text/19 742s ok 22 /markup/escape-text/20 742s ok 23 /markup/escape-text/21 742s ok 24 /markup/escape-text/22 742s # End of escape-text tests 742s # Start of escape-unichar tests 742s ok 25 /markup/escape-unichar/0 742s ok 26 /markup/escape-unichar/1 742s ok 27 /markup/escape-unichar/2 742s ok 28 /markup/escape-unichar/3 742s ok 29 /markup/escape-unichar/4 742s ok 30 /markup/escape-unichar/5 742s ok 31 /markup/escape-unichar/6 742s ok 32 /markup/escape-unichar/7 742s ok 33 /markup/escape-unichar/8 742s ok 34 /markup/escape-unichar/9 742s ok 35 /markup/escape-unichar/10 742s ok 36 /markup/escape-unichar/11 742s ok 37 /markup/escape-unichar/12 742s ok 38 /markup/escape-unichar/13 742s ok 39 /markup/escape-unichar/14 742s ok 40 /markup/escape-unichar/15 742s ok 41 /markup/escape-unichar/16 742s # End of escape-unichar tests 742s # End of markup tests 742s ok - glib/markup-escape.test 742s # Running test: glib/gdbus-export.test 742s TAP version 13 742s # random seed: R02S4bb3ea79513205d375db2a5f7dc1cb81 742s 1..6 742s # Start of gdbus tests 742s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_WX2OK2/gdbus/object-registration/.dirs/home 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_WX2OK2/gdbus/object-registration/.dirs/cache 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_WX2OK2/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_WX2OK2/gdbus/object-registration/.dirs/system-config2 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_WX2OK2/gdbus/object-registration/.dirs/config 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_WX2OK2/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_WX2OK2/gdbus/object-registration/.dirs/system-data2 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_WX2OK2/gdbus/object-registration/.dirs/data 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_WX2OK2/gdbus/object-registration/.dirs/state 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_WX2OK2/gdbus/object-registration/.dirs/runtime 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s ok 1 /gdbus/object-registration 742s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_WX2OK2/gdbus/object-registration-with-closures/.dirs/home 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_WX2OK2/gdbus/object-registration-with-closures/.dirs/cache 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_WX2OK2/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_WX2OK2/gdbus/object-registration-with-closures/.dirs/system-config2 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_WX2OK2/gdbus/object-registration-with-closures/.dirs/config 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_WX2OK2/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_WX2OK2/gdbus/object-registration-with-closures/.dirs/system-data2 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_WX2OK2/gdbus/object-registration-with-closures/.dirs/data 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_WX2OK2/gdbus/object-registration-with-closures/.dirs/state 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_WX2OK2/gdbus/object-registration-with-closures/.dirs/runtime 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s ok 2 /gdbus/object-registration-with-closures 742s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_WX2OK2/gdbus/registered-interfaces/.dirs/home 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_WX2OK2/gdbus/registered-interfaces/.dirs/cache 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_WX2OK2/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_WX2OK2/gdbus/registered-interfaces/.dirs/system-config2 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_WX2OK2/gdbus/registered-interfaces/.dirs/config 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_WX2OK2/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_WX2OK2/gdbus/registered-interfaces/.dirs/system-data2 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_WX2OK2/gdbus/registered-interfaces/.dirs/data 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_WX2OK2/gdbus/registered-interfaces/.dirs/state 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_WX2OK2/gdbus/registered-interfaces/.dirs/runtime 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s ok 3 /gdbus/registered-interfaces 742s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_WX2OK2/gdbus/async-properties/.dirs/home 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_WX2OK2/gdbus/async-properties/.dirs/cache 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_WX2OK2/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_WX2OK2/gdbus/async-properties/.dirs/system-config2 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_WX2OK2/gdbus/async-properties/.dirs/config 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_WX2OK2/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_WX2OK2/gdbus/async-properties/.dirs/system-data2 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_WX2OK2/gdbus/async-properties/.dirs/data 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_WX2OK2/gdbus/async-properties/.dirs/state 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_WX2OK2/gdbus/async-properties/.dirs/runtime 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s ok 4 /gdbus/async-properties 742s # Start of threaded-unregistration tests 742s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_WX2OK2/gdbus/threaded-unregistration/object/.dirs/home 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_WX2OK2/gdbus/threaded-unregistration/object/.dirs/cache 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_WX2OK2/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_WX2OK2/gdbus/threaded-unregistration/object/.dirs/system-config2 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_WX2OK2/gdbus/threaded-unregistration/object/.dirs/config 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_WX2OK2/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_WX2OK2/gdbus/threaded-unregistration/object/.dirs/system-data2 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_WX2OK2/gdbus/threaded-unregistration/object/.dirs/data 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_WX2OK2/gdbus/threaded-unregistration/object/.dirs/state 742s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_WX2OK2/gdbus/threaded-unregistration/object/.dirs/runtime 742s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 742s # /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 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 742s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s ok 5 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (0 iterations with unregistration first, 1000 with call first); skipping test 743s # slow test /gdbus/threaded-unregistration/object executed in 1.16 secs 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_WX2OK2/gdbus/threaded-unregistration/subtree/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_WX2OK2/gdbus/threaded-unregistration/subtree/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_WX2OK2/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_WX2OK2/gdbus/threaded-unregistration/subtree/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_WX2OK2/gdbus/threaded-unregistration/subtree/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_WX2OK2/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_WX2OK2/gdbus/threaded-unregistration/subtree/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_WX2OK2/gdbus/threaded-unregistration/subtree/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_WX2OK2/gdbus/threaded-unregistration/subtree/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_WX2OK2/gdbus/threaded-unregistration/subtree/.dirs/runtime 743s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 743s # /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 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 743s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 744s ok 6 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (0 iterations with unregistration first, 1000 with call first); skipping test 744s # slow test /gdbus/threaded-unregistration/subtree executed in 1.03 secs 744s # End of threaded-unregistration tests 744s # End of gdbus tests 744s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 744s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 744s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 744s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 744s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 744s ok - glib/gdbus-export.test 744s # Running test: glib/repository-search-paths.test 744s TAP version 13 744s # random seed: R02S05989e3d513da7f817f2db0878919736 744s 1..4 744s # Start of repository tests 744s # Start of search-paths tests 744s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_VAXUK2/repository/search-paths/default/.dirs/home 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_VAXUK2/repository/search-paths/default/.dirs/cache 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_VAXUK2/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_VAXUK2/repository/search-paths/default/.dirs/system-config2 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_VAXUK2/repository/search-paths/default/.dirs/config 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_VAXUK2/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_VAXUK2/repository/search-paths/default/.dirs/system-data2 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_VAXUK2/repository/search-paths/default/.dirs/data 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_VAXUK2/repository/search-paths/default/.dirs/state 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_VAXUK2/repository/search-paths/default/.dirs/runtime 744s ok 1 /repository/search-paths/default 744s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_VAXUK2/repository/search-paths/prepend/.dirs/home 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_VAXUK2/repository/search-paths/prepend/.dirs/cache 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_VAXUK2/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_VAXUK2/repository/search-paths/prepend/.dirs/system-config2 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_VAXUK2/repository/search-paths/prepend/.dirs/config 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_VAXUK2/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_VAXUK2/repository/search-paths/prepend/.dirs/system-data2 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_VAXUK2/repository/search-paths/prepend/.dirs/data 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_VAXUK2/repository/search-paths/prepend/.dirs/state 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_VAXUK2/repository/search-paths/prepend/.dirs/runtime 744s ok 2 /repository/search-paths/prepend 744s # End of search-paths tests 744s # Start of library-paths tests 744s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_VAXUK2/repository/library-paths/default/.dirs/home 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_VAXUK2/repository/library-paths/default/.dirs/cache 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_VAXUK2/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_VAXUK2/repository/library-paths/default/.dirs/system-config2 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_VAXUK2/repository/library-paths/default/.dirs/config 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_VAXUK2/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_VAXUK2/repository/library-paths/default/.dirs/system-data2 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_VAXUK2/repository/library-paths/default/.dirs/data 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_VAXUK2/repository/library-paths/default/.dirs/state 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_VAXUK2/repository/library-paths/default/.dirs/runtime 744s ok 3 /repository/library-paths/default 744s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_VAXUK2/repository/library-paths/prepend/.dirs/home 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_VAXUK2/repository/library-paths/prepend/.dirs/cache 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_VAXUK2/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_VAXUK2/repository/library-paths/prepend/.dirs/system-config2 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_VAXUK2/repository/library-paths/prepend/.dirs/config 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_VAXUK2/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_VAXUK2/repository/library-paths/prepend/.dirs/system-data2 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_VAXUK2/repository/library-paths/prepend/.dirs/data 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_VAXUK2/repository/library-paths/prepend/.dirs/state 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_VAXUK2/repository/library-paths/prepend/.dirs/runtime 744s ok 4 /repository/library-paths/prepend 744s # End of library-paths tests 744s # End of repository tests 744s ok - glib/repository-search-paths.test 744s # Running test: glib/search-utils.test 744s TAP version 13 744s # random seed: R02S6d7f1d2738592792703078797041aa00 744s # GLib-DEBUG: Current user locale: C.UTF-8 744s 1..6 744s # Start of search tests 744s # GLib-DEBUG: Started 744s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 744s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 744s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 744s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 744s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 744s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 744s ok 1 /search/basic 744s # GLib-DEBUG: Started 744s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 744s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 744s # GLib-DEBUG: 'ele' - 'élève' should match: OK 744s # GLib-DEBUG: 'AzaÏs' - 'Azais' should NOT match: OK 744s # GLib-DEBUG: 'Azais' - 'AzaÏs' should match: OK 744s ok 2 /search/composed 744s # GLib-DEBUG: Started 744s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 744s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 744s ok 3 /search/decomposed 744s # GLib-DEBUG: Started 744s # GLib-DEBUG: 'ist' - 'İstanbul' should match: OK 744s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 744s ok 4 /search/turkish 744s # GLib-DEBUG: Started 744s # GLib-DEBUG: 'jor' - 'J?rgen' should match: OK 744s # GLib-DEBUG: 'Jo?r' - 'Jorgen' should NOT match: OK 744s # GLib-DEBUG: 'jor' - 'Jo?rgen' should match: OK 744s ok 5 /search/c_locale_unicode 744s # GLib-DEBUG: Started 744s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 744s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 744s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 744s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 744s ok 6 /search/multi_words 744s # End of search tests 744s ok - glib/search-utils.test 744s # Running test: glib/gdbus-error.test 744s TAP version 13 744s # random seed: R02Sabe750ff63e6566eae1098c43ab61716 744s 1..4 744s # Start of gdbus tests 744s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_VKDUK2/gdbus/registered-errors/.dirs/home 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_VKDUK2/gdbus/registered-errors/.dirs/cache 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_VKDUK2/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_VKDUK2/gdbus/registered-errors/.dirs/system-config2 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_VKDUK2/gdbus/registered-errors/.dirs/config 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_VKDUK2/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_VKDUK2/gdbus/registered-errors/.dirs/system-data2 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_VKDUK2/gdbus/registered-errors/.dirs/data 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_VKDUK2/gdbus/registered-errors/.dirs/state 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_VKDUK2/gdbus/registered-errors/.dirs/runtime 744s ok 1 /gdbus/registered-errors 744s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_VKDUK2/gdbus/unregistered-errors/.dirs/home 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_VKDUK2/gdbus/unregistered-errors/.dirs/cache 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_VKDUK2/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_VKDUK2/gdbus/unregistered-errors/.dirs/system-config2 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_VKDUK2/gdbus/unregistered-errors/.dirs/config 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_VKDUK2/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_VKDUK2/gdbus/unregistered-errors/.dirs/system-data2 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_VKDUK2/gdbus/unregistered-errors/.dirs/data 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_VKDUK2/gdbus/unregistered-errors/.dirs/state 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_VKDUK2/gdbus/unregistered-errors/.dirs/runtime 744s ok 2 /gdbus/unregistered-errors 744s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_VKDUK2/gdbus/transparent-gerror/.dirs/home 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_VKDUK2/gdbus/transparent-gerror/.dirs/cache 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_VKDUK2/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_VKDUK2/gdbus/transparent-gerror/.dirs/system-config2 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_VKDUK2/gdbus/transparent-gerror/.dirs/config 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_VKDUK2/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_VKDUK2/gdbus/transparent-gerror/.dirs/system-data2 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_VKDUK2/gdbus/transparent-gerror/.dirs/data 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_VKDUK2/gdbus/transparent-gerror/.dirs/state 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_VKDUK2/gdbus/transparent-gerror/.dirs/runtime 744s ok 3 /gdbus/transparent-gerror 744s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_VKDUK2/gdbus/register-error/.dirs/home 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_VKDUK2/gdbus/register-error/.dirs/cache 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_VKDUK2/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_VKDUK2/gdbus/register-error/.dirs/system-config2 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_VKDUK2/gdbus/register-error/.dirs/config 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_VKDUK2/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_VKDUK2/gdbus/register-error/.dirs/system-data2 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_VKDUK2/gdbus/register-error/.dirs/data 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_VKDUK2/gdbus/register-error/.dirs/state 744s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_VKDUK2/gdbus/register-error/.dirs/runtime 744s ok 4 /gdbus/register-error 744s # End of gdbus tests 744s ok - glib/gdbus-error.test 744s # Running test: glib/timeout.test 744s TAP version 13 744s # random seed: R02Sd109e0e11cb45af93c8943c8d77905da 744s 1..5 744s # Start of timeout tests 744s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 746s # Executing: glib/timeout.test 746s ok 1 /timeout/seconds 746s # slow test /timeout/seconds executed in 2.10 secs 748s ok 2 /timeout/seconds-once 748s # slow test /timeout/seconds-once executed in 2.10 secs 748s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 751s ok 3 /timeout/weeks-overflow 751s # slow test /timeout/weeks-overflow executed in 2.10 secs 751s ok 4 /timeout/far-future-ready-time 751s # Executing: glib/timeout.test 756s # Executing: glib/timeout.test 761s # Executing: glib/timeout.test 761s ok 5 /timeout/rounding 761s # slow test /timeout/rounding executed in 10.12 secs 761s # End of timeout tests 761s ok - glib/timeout.test 761s # Running test: glib/gmenumodel.test 761s TAP version 13 761s # random seed: R02S264bd3a62ef11d634cf89fbbb2545e71 761s 1..14 761s # Start of gmenu tests 763s ok 1 /gmenu/equality 763s # slow test /gmenu/equality executed in 1.91 secs 765s ok 2 /gmenu/random 765s # slow test /gmenu/random executed in 2.17 secs 765s ok 3 /gmenu/attributes 765s ok 4 /gmenu/links 765s ok 5 /gmenu/mutable 765s ok 6 /gmenu/convenience 765s ok 7 /gmenu/menuitem 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 765s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 765s ok 8 /gmenu/input-validation 765s # Start of dbus tests 765s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 766s # Executing: glib/gmenumodel.test 766s ok 9 /gmenu/dbus/roundtrip 766s # slow test /gmenu/dbus/roundtrip executed in 1.07 secs 766s ok 10 /gmenu/dbus/subscriptions 769s ok 11 /gmenu/dbus/threaded 769s # slow test /gmenu/dbus/threaded executed in 2.39 secs 769s # Start of peer tests 770s ok 12 /gmenu/dbus/peer/roundtrip 770s # slow test /gmenu/dbus/peer/roundtrip executed in 1.06 secs 770s ok 13 /gmenu/dbus/peer/subscriptions # SKIP Not reliable? #932678 770s # End of peer tests 770s # End of dbus tests 770s # Start of attributes tests 770s ok 14 /gmenu/attributes/iterate 770s # End of attributes tests 770s # End of gmenu tests 770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 770s ok - glib/gmenumodel.test 770s # Running test: glib/sequence.test 770s TAP version 13 770s # random seed: R02Saf2ba73a1b217683b31a54b0a6632ec0 770s 1..16 770s # Start of sequence tests 770s ok 1 /sequence/out-of-range-jump 770s ok 2 /sequence/iter-move 770s ok 3 /sequence/insert-sorted-non-pointer 770s ok 4 /sequence/stable-sort 770s ok 5 /sequence/is_empty 770s # Start of random tests 771s # Executing: glib/sequence.test 771s ok 6 /sequence/random/seed:825541564 771s # slow test /sequence/random/seed:825541564 executed in 0.72 secs 771s ok 7 /sequence/random/seed:801678400 771s # slow test /sequence/random/seed:801678400 executed in 0.68 secs 772s ok 8 /sequence/random/seed:1477639090 772s # slow test /sequence/random/seed:1477639090 executed in 0.71 secs 773s ok 9 /sequence/random/seed:3369132895 773s # slow test /sequence/random/seed:3369132895 executed in 0.66 secs 773s ok 10 /sequence/random/seed:1192944867 773s # slow test /sequence/random/seed:1192944867 executed in 0.69 secs 774s ok 11 /sequence/random/seed:770458294 774s # slow test /sequence/random/seed:770458294 executed in 0.72 secs 775s ok 12 /sequence/random/seed:1099575817 775s # slow test /sequence/random/seed:1099575817 executed in 0.69 secs 776s ok 13 /sequence/random/seed:590523467 776s # slow test /sequence/random/seed:590523467 executed in 0.72 secs 776s # Executing: glib/sequence.test 776s ok 14 /sequence/random/seed:3583571454 776s # slow test /sequence/random/seed:3583571454 executed in 0.72 secs 777s ok 15 /sequence/random/seed:579241222 777s # slow test /sequence/random/seed:579241222 executed in 0.72 secs 778s ok 16 /sequence/random/seed:258005652 778s # slow test /sequence/random/seed:258005652 executed in 0.72 secs 778s # End of random tests 778s # End of sequence tests 778s ok - glib/sequence.test 778s # Running test: glib/gdbus-proxy-threads.test 778s TAP version 13 778s # random seed: R02Sda84200cf5fdda5f2bdfca0eb5782030 778s 1..1 778s # Start of gdbus tests 778s # Start of proxy tests 778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_AHHJK2/gdbus/proxy/vs-threads/.dirs/home 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_AHHJK2/gdbus/proxy/vs-threads/.dirs/cache 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_AHHJK2/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_AHHJK2/gdbus/proxy/vs-threads/.dirs/system-config2 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_AHHJK2/gdbus/proxy/vs-threads/.dirs/config 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_AHHJK2/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_AHHJK2/gdbus/proxy/vs-threads/.dirs/system-data2 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_AHHJK2/gdbus/proxy/vs-threads/.dirs/data 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_AHHJK2/gdbus/proxy/vs-threads/.dirs/state 778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_AHHJK2/gdbus/proxy/vs-threads/.dirs/runtime 778s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 781s # Executing: glib/gdbus-proxy-threads.test 781s ok 1 /gdbus/proxy/vs-threads 781s # slow test /gdbus/proxy/vs-threads executed in 3.39 secs 781s # End of proxy tests 781s # End of gdbus tests 781s cleaning up pid 14631 781s ok - glib/gdbus-proxy-threads.test 781s # Running test: glib/thumbnail-verification.test 781s TAP version 13 781s # random seed: R02Sf4eb00a26c4c227563000011bfb4dab2 781s 1..1 781s # Start of png-thumbs tests 781s ok 1 /png-thumbs/validity 781s # End of png-thumbs tests 781s ok - glib/thumbnail-verification.test 781s # Running test: glib/environment.test 781s TAP version 13 781s # random seed: R02S3bffd681a8e4752b042e0c5c8bbea425 781s 1..6 781s # Start of environ tests 781s # /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. 781s ok 1 /environ/listenv 781s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 781s ok 2 /environ/getenv 781s ok 3 /environ/setenv 781s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 781s ok 4 /environ/array 781s # /environ/null summary: Test getting and setting variables on a NULL envp array. 781s ok 5 /environ/null 781s # /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. 781s ok 6 /environ/case 781s # End of environ tests 781s ok - glib/environment.test 781s # Running test: glib/properties-refcount2.test 781s TAP version 13 781s # random seed: R02Se95a81c21602ddddf35547eaf9867246 781s 1..1 781s # Start of gobject tests 781s # Start of refcount tests 781s # init 0x13a54f14e770 781s # 781s # . 781s # . 781s # . 781s # . 781s # . 781s # . 781s # . 781s # . 781s # . 781s # . 781s # . 781s # . 782s # . 782s # . 782s # . 782s # . 782s # . 782s # . 782s # . 782s # . 782s # . 782s # . 782s # . 782s # . 782s # . 782s # . 782s # . 782s # . 782s # . 782s # . 782s # . 782s # . 782s # . 782s # . 782s # . 782s # . 782s # . 782s # . 782s # . 782s # . 782s # . 782s # . 783s # . 783s # . 783s # . 783s # . 783s # . 783s # . 783s # . 783s # . 783s # . 783s # . 783s # . 783s # . 783s # . 783s # . 783s # . 783s # . 783s # . 783s # . 783s # . 783s # . 783s # . 783s # . 783s # . 783s # . 783s # . 783s # . 783s # . 783s # . 783s # . 783s # . 783s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # dispose 0x13a54f14e770! 784s # 784s ok 1 /gobject/refcount/properties-2 784s # slow test /gobject/refcount/properties-2 executed in 3.28 secs 784s # End of refcount tests 784s # End of gobject tests 784s ok - glib/properties-refcount2.test 784s # Running test: glib/unicode-normalize.test 784s TAP version 13 784s # random seed: R02S0df87a2e4b01c85ac9a6c24287e25387 784s 1..3 784s # Start of unicode tests 784s # Processing Part0 # Specific cases 784s # Processing Part1 # Character by character test 785s # Processing Part2 # Canonical Order Test 785s # Processing Part3 # PRI #29 Test 785s ok 1 /unicode/normalize 785s # Invalid UTF-8 vector 0 785s # Invalid UTF-8 vector 1 785s # Invalid UTF-8 vector 2 785s # Invalid UTF-8 vector 3 785s # Invalid UTF-8 vector 4 785s # Invalid UTF-8 vector 5 785s # Invalid UTF-8 vector 6 785s # Invalid UTF-8 vector 7 785s # Invalid UTF-8 vector 8 785s # Invalid UTF-8 vector 9 785s # Invalid UTF-8 vector 10 785s # Invalid UTF-8 vector 11 785s # Invalid UTF-8 vector 12 785s ok 2 /unicode/normalize-invalid 785s # Start of normalize tests 785s ok 3 /unicode/normalize/bad-length 785s # End of normalize tests 785s # End of unicode tests 785s ok - glib/unicode-normalize.test 785s # Running test: glib/gthash.test 785s TAP version 13 785s # random seed: R02S96d0a8a0b9f2d3d669d8b995a5d2972a 785s 1..1 785s # Start of gthash tests 785s ok 1 /gthash/build-retrieve 785s # End of gthash tests 785s ok - glib/gthash.test 785s # Running test: glib/fdo-notification-backend.test 785s TAP version 13 785s # random seed: R02Se4eba5996e48719f82d48155487db99e 785s 1..2 785s # Start of fdo-notification-backend tests 785s # Test constructing a GFdoNotificationBackend 785s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 785s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 785s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 785s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 785s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 785s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 785s ok 1 /fdo-notification-backend/construction 785s # Start of dbus tests 785s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 785s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 785s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 785s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 785s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 785s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 785s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 785s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 785s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 785s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 785s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 785s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 785s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 785s ok 2 /fdo-notification-backend/dbus/activate-action 785s # End of dbus tests 785s # End of fdo-notification-backend tests 785s ok - glib/fdo-notification-backend.test 785s # Running test: glib/bytes.test 785s TAP version 13 785s # random seed: R02S0fef35ba7652f2571bbef6530fe3d9d7 785s 1..21 785s # Start of bytes tests 785s ok 1 /bytes/new 785s ok 2 /bytes/new-take 785s ok 3 /bytes/new-static 785s ok 4 /bytes/new-with-free-func 785s ok 5 /bytes/new-from-bytes 785s ok 6 /bytes/new-from-bytes-slice 785s ok 7 /bytes/new-from-bytes-shared-ref 785s ok 8 /bytes/hash 785s ok 9 /bytes/equal 785s ok 10 /bytes/compare 785s ok 11 /bytes/null 785s ok 12 /bytes/get-region 785s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 785s ok 13 /bytes/unref-null 785s # Start of to-data tests 785s ok 14 /bytes/to-data/transferred 785s ok 15 /bytes/to-data/two-refs 785s ok 16 /bytes/to-data/non-malloc 785s ok 17 /bytes/to-data/different-free-func 785s # End of to-data tests 785s # Start of to-array tests 785s ok 18 /bytes/to-array/transferred 785s ok 19 /bytes/to-array/two-refs 785s ok 20 /bytes/to-array/non-malloc 785s # Start of transferred tests 785s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 785s ok 21 /bytes/to-array/transferred/oversize 785s # End of transferred tests 785s # End of to-array tests 785s # End of bytes tests 785s ok - glib/bytes.test 785s # Running test: glib/atomic-c-99.test 785s TAP version 13 785s # random seed: R02S66e65468097fb715dbdbd9cdd9bdfbee 785s 1..2 785s # Start of atomic tests 785s ok 1 /atomic/types 785s ok 2 /atomic/threaded 785s # End of atomic tests 785s ok - glib/atomic-c-99.test 785s # Running test: glib/hmac.test 785s TAP version 13 785s # random seed: R02S8cfc6de7dd4acb4e82ac4824e9cac65e 785s 1..37 785s # Start of hmac tests 785s ok 1 /hmac/sha1-1 785s ok 2 /hmac/sha1-2 785s ok 3 /hmac/sha1-3 785s ok 4 /hmac/sha1-4 785s ok 5 /hmac/sha1-5 785s ok 6 /hmac/sha1-6 785s ok 7 /hmac/sha1-7 785s ok 8 /hmac/sha256-1 785s ok 9 /hmac/sha256-2 785s ok 10 /hmac/sha256-3 785s ok 11 /hmac/sha256-4 785s ok 12 /hmac/sha256-5 785s ok 13 /hmac/sha256-6 785s ok 14 /hmac/sha384-1 785s ok 15 /hmac/sha384-2 785s ok 16 /hmac/sha384-3 785s ok 17 /hmac/sha384-4 785s ok 18 /hmac/sha384-5 785s ok 19 /hmac/sha384-6 785s ok 20 /hmac/sha512-1 785s ok 21 /hmac/sha512-2 785s ok 22 /hmac/sha512-3 785s ok 23 /hmac/sha512-4 785s ok 24 /hmac/sha512-5 785s ok 25 /hmac/sha512-6 785s ok 26 /hmac/md5-1 785s ok 27 /hmac/md5-2 785s ok 28 /hmac/md5-3 785s ok 29 /hmac/md5-4 785s ok 30 /hmac/md5-5 785s ok 31 /hmac/md5-6 785s ok 32 /hmac/md5-7 785s ok 33 /hmac/ref-unref 785s ok 34 /hmac/copy 785s ok 35 /hmac/for-data 785s ok 36 /hmac/for-string 785s ok 37 /hmac/for-bytes 785s # End of hmac tests 785s ok - glib/hmac.test 785s # Running test: glib/hash.test 785s TAP version 13 785s # random seed: R02S53eaaf71a2ba280ff1424d43aae7a25c 785s 1..34 785s # Start of hash tests 785s ok 1 /hash/misc 785s ok 2 /hash/one 785s ok 3 /hash/honeyman 785s ok 4 /hash/direct 785s ok 5 /hash/direct2 785s ok 6 /hash/int 785s ok 7 /hash/int64 785s ok 8 /hash/double 785s ok 9 /hash/string 785s ok 10 /hash/set 785s ok 11 /hash/set-ref 785s ok 12 /hash/ref 785s ok 13 /hash/remove-all 785s ok 14 /hash/recursive-remove-all 785s ok 15 /hash/find 785s ok 16 /hash/foreach 785s ok 17 /hash/foreach-steal 785s ok 18 /hash/steal-extended 785s ok 19 /hash/steal-all-keys 785s ok 20 /hash/steal-all-values 785s ok 21 /hash/lookup-extended 785s ok 22 /hash/new-similar 785s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 785s ok 23 /hash/lookup-null-key 785s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 785s ok 24 /hash/destroy-modify 785s ok 25 /hash/consistency 785s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 785s ok 26 /hash/iter-replace 785s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 785s ok 27 /hash/set-insert-corruption 785s ok 28 /hash/set-to-strv 785s ok 29 /hash/get-keys-as-ptr-array 785s ok 30 /hash/get-values-as-ptr-array 785s ok 31 /hash/primes 785s # Start of int64 tests 785s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 785s ok 32 /hash/int64/collisions 785s # End of int64 tests 785s # Start of double tests 785s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 785s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 785s ok 33 /hash/double/collisions 785s # End of double tests 785s # Start of recursive-remove-all tests 785s # End of recursive-remove-all tests 785s # Start of steal-extended tests 785s ok 34 /hash/steal-extended/optional 785s # End of steal-extended tests 785s # End of hash tests 785s ok - glib/hash.test 785s # Running test: glib/network-monitor-race.test 785s TAP version 13 785s # random seed: R02S2a030be24c1726ac9a9434eebbcda318 785s 1..1 785s # Start of network-monitor tests 785s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 786s # Executing: glib/network-monitor-race.test 787s ok 1 /network-monitor/create-in-thread 787s # slow test /network-monitor/create-in-thread executed in 2.16 secs 787s # End of network-monitor tests 787s ok - glib/network-monitor-race.test 787s # Running test: glib/refcount.test 787s TAP version 13 787s # random seed: R02S0794f460609503083d3523ab11bd3e21 787s 1..4 787s # Start of refcount tests 787s ok 1 /refcount/grefcount 787s ok 2 /refcount/gatomicrefcount 787s # Start of grefcount tests 787s ok 3 /refcount/grefcount/saturation 787s # End of grefcount tests 787s # Start of gatomicrefcount tests 787s ok 4 /refcount/gatomicrefcount/saturation 787s # End of gatomicrefcount tests 787s # End of refcount tests 787s ok - glib/refcount.test 787s # Running test: glib/thread-pool-slow.test 787s TAP version 13 787s # random seed: R02S1932bc1d2b2deac35b97bd2725b1e7d1 787s 1..7 787s # Start of threadpool tests 787s ok 1 /threadpool/functions 787s ok 2 /threadpool/stop-unused 787s # slow test /threadpool/stop-unused executed in 0.51 secs 788s ok 3 /threadpool/pools 788s # [unsorted] ===> pushed new thread with id:77, number of threads:1, unprocessed:0 788s # [unsorted] ===> pushed new thread with id:54, number of threads:2, unprocessed:0 788s # [unsorted] ===> pushed new thread with id:28, number of threads:3, unprocessed:1 788s # [unsorted] ===> pushed new thread with id:62, number of threads:4, unprocessed:1 788s # [unsorted] ===> pushed new thread with id:91, number of threads:5, unprocessed:2 788s # [unsorted] ===> pushed new thread with id:4, number of threads:6, unprocessed:1 788s # [unsorted] ===> pushed new thread with id:84, number of threads:7, unprocessed:2 788s # [unsorted] ===> pushed new thread with id:6, number of threads:8, unprocessed:1 788s # [unsorted] ===> pushed new thread with id:64, number of threads:9, unprocessed:1 788s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:2 788s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:2 788s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:3 788s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:4 788s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:5 788s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:6 788s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:7 788s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:8 788s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:9 788s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:10 788s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:11 788s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:12 788s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:13 788s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:14 788s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:15 788s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:16 788s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:17 788s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:18 788s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:19 788s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:20 788s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:21 788s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:22 788s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:23 788s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:24 788s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:25 788s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:26 788s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:27 788s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:28 788s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:29 788s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:30 788s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:31 788s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:32 788s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:33 788s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:34 788s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:35 788s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:36 788s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:37 788s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:38 788s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:39 788s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:40 788s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:41 788s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:42 788s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:43 788s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:44 788s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:45 788s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:46 788s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:47 788s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:48 788s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:49 788s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:50 788s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:51 788s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:52 788s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:53 788s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:54 788s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:55 788s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:56 788s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:57 788s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:58 788s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:59 788s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:60 788s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:61 788s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:62 788s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:63 788s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:64 788s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:65 788s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:66 788s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:67 788s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:68 788s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:69 788s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:70 788s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:71 788s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:72 788s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:73 788s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:74 788s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:75 788s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:76 788s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:77 788s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:78 788s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:79 788s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:80 788s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:81 788s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:82 788s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:83 788s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:84 788s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:85 788s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:86 788s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:87 788s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:88 788s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:89 788s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:90 788s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:91 788s ok 4 /threadpool/no-sort 788s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:1 788s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:2 788s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:3 788s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:4 788s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:5 788s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:6 788s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:7 788s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:8 788s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:9 788s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:10 788s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:11 788s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:12 788s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:13 788s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:14 788s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:15 788s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:16 788s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:17 788s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:18 788s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:19 788s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:20 788s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:21 788s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:22 788s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:23 788s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:24 788s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:25 788s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:26 788s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:27 788s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:28 788s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:29 788s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:30 788s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:31 788s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:32 788s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:33 788s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:34 788s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:35 788s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:36 788s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:37 788s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:38 788s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:39 788s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:40 788s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:41 788s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:42 788s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:43 788s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:44 788s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:45 788s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:46 788s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:47 788s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:48 788s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:49 788s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:50 788s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:51 788s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:52 788s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:53 788s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:54 788s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:55 788s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:56 788s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:57 788s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:58 788s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:59 788s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:60 788s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:61 788s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:62 788s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:63 788s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:64 788s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:65 788s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:66 788s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:67 788s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:68 788s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:69 788s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:70 788s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:71 788s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:72 788s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:73 788s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:74 788s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:75 788s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:76 788s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:77 788s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:78 788s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:79 788s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:80 788s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:81 788s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:82 788s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:83 788s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:84 788s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:85 788s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:86 788s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:87 788s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:88 788s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:89 788s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:90 788s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:91 788s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:92 788s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:93 788s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:94 788s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:95 788s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:96 788s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:97 788s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:98 788s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:99 788s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:100 788s # Starting thread pool processing 788s ok 5 /threadpool/sort 788s ok 6 /threadpool/stop-unused-multiple 788s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 788s # Pool idle thread count: 0, unprocessed jobs: 47 789s # Pool idle thread count: 0, unprocessed jobs: 0 789s # Pool idle thread count: 0, unprocessed jobs: 0 789s # Pool idle thread count: 10, unprocessed jobs: 0 789s # Pool idle thread count: 10, unprocessed jobs: 0 790s # Pool idle thread count: 10, unprocessed jobs: 0 790s # Pool idle thread count: 10, unprocessed jobs: 0 790s # Pool idle thread count: 10, unprocessed jobs: 0 790s # Pool idle thread count: 10, unprocessed jobs: 0 791s # Executing: glib/thread-pool-slow.test 791s # Pool idle thread count: 10, unprocessed jobs: 0 791s # Pool idle thread count: 10, unprocessed jobs: 0 791s # Pool idle thread count: 10, unprocessed jobs: 0 791s # Pool idle thread count: 10, unprocessed jobs: 0 792s # Pool idle thread count: 10, unprocessed jobs: 0 792s # Pool idle thread count: 10, unprocessed jobs: 0 792s # Pool idle thread count: 10, unprocessed jobs: 0 792s # Pool idle thread count: 10, unprocessed jobs: 0 793s # Pool idle thread count: 10, unprocessed jobs: 0 793s # Pool idle thread count: 10, unprocessed jobs: 0 793s # Pool idle thread count: 10, unprocessed jobs: 0 793s # Pool idle thread count: 10, unprocessed jobs: 0 794s # Pool idle thread count: 10, unprocessed jobs: 0 794s # Pool idle thread count: 10, unprocessed jobs: 0 794s # Pool idle thread count: 10, unprocessed jobs: 0 794s # Pool idle thread count: 10, unprocessed jobs: 0 795s # Pool idle thread count: 10, unprocessed jobs: 0 795s # Pool idle thread count: 10, unprocessed jobs: 0 795s # Pool idle thread count: 10, unprocessed jobs: 0 795s # Pool idle thread count: 10, unprocessed jobs: 0 796s # Executing: glib/thread-pool-slow.test 796s # Pool idle thread count: 10, unprocessed jobs: 0 796s # Pool idle thread count: 10, unprocessed jobs: 0 796s # Pool idle thread count: 10, unprocessed jobs: 0 796s # Pool idle thread count: 10, unprocessed jobs: 0 797s # Pool idle thread count: 10, unprocessed jobs: 0 797s # Pool idle thread count: 10, unprocessed jobs: 0 797s # Pool idle thread count: 10, unprocessed jobs: 2 797s # Pool idle thread count: 8, unprocessed jobs: 0 797s # Pool idle thread count: 8, unprocessed jobs: 0 797s # Pool idle thread count: 8, unprocessed jobs: 0 798s # Pool idle thread count: 10, unprocessed jobs: 0 798s # Pool idle thread count: 10, unprocessed jobs: 0 798s # Pool idle thread count: 10, unprocessed jobs: 0 798s # Pool idle thread count: 10, unprocessed jobs: 0 799s # Pool idle thread count: 10, unprocessed jobs: 0 799s # Pool idle thread count: 10, unprocessed jobs: 0 799s # Pool idle thread count: 2, unprocessed jobs: 0 799s # Pool idle thread count: 2, unprocessed jobs: 0 800s # Pool idle thread count: 2, unprocessed jobs: 0 800s # Pool idle thread count: 2, unprocessed jobs: 0 800s # Pool idle thread count: 2, unprocessed jobs: 0 800s # Pool idle thread count: 2, unprocessed jobs: 0 801s # Executing: glib/thread-pool-slow.test 801s # Pool idle thread count: 2, unprocessed jobs: 0 801s # Pool idle thread count: 2, unprocessed jobs: 0 801s # Pool idle thread count: 2, unprocessed jobs: 0 801s # Pool idle thread count: 2, unprocessed jobs: 0 802s # Pool idle thread count: 2, unprocessed jobs: 0 802s # Pool idle thread count: 2, unprocessed jobs: 0 802s # Pool idle thread count: 2, unprocessed jobs: 0 802s # Pool idle thread count: 2, unprocessed jobs: 0 803s # Pool idle thread count: 2, unprocessed jobs: 0 803s # Pool idle thread count: 2, unprocessed jobs: 0 803s # Pool idle thread count: 2, unprocessed jobs: 0 803s # Pool idle thread count: 2, unprocessed jobs: 0 804s # Pool idle thread count: 2, unprocessed jobs: 0 804s # Pool idle thread count: 2, unprocessed jobs: 0 804s # Pool idle thread count: 2, unprocessed jobs: 0 804s # Pool idle thread count: 2, unprocessed jobs: 0 805s # Pool idle thread count: 2, unprocessed jobs: 0 805s # Pool idle thread count: 2, unprocessed jobs: 0 805s # Pool idle thread count: 2, unprocessed jobs: 0 805s # Pool idle thread count: 2, unprocessed jobs: 0 806s # Executing: glib/thread-pool-slow.test 806s # Pool idle thread count: 2, unprocessed jobs: 0 806s # Pool idle thread count: 2, unprocessed jobs: 0 806s # Pool idle thread count: 2, unprocessed jobs: 0 806s # Pool idle thread count: 2, unprocessed jobs: 0 807s # Pool idle thread count: 2, unprocessed jobs: 0 807s # Pool idle thread count: 2, unprocessed jobs: 0 807s # Pool idle thread count: 2, unprocessed jobs: 0 807s # Pool idle thread count: 2, unprocessed jobs: 0 808s ok 7 /threadpool/idle-time 808s # slow test /threadpool/idle-time executed in 19.53 secs 808s # End of threadpool tests 808s ok - glib/thread-pool-slow.test 808s # Running test: glib/rand.test 808s TAP version 13 808s # random seed: R02Sdf7191db6181742d59f12e7958670b33 808s 1..2 808s # Start of rand tests 808s ok 1 /rand/test-rand 808s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 808s ok 2 /rand/double-range 808s # End of rand tests 808s ok - glib/rand.test 808s # Running test: glib/performance-threaded.test 808s Running test "liststore-is-a" 809s 2298 runs, min/avg/max = 0.418/0.435/0.691 ms 809s Running test "liststore-interface-peek" 810s 2756 runs, min/avg/max = 0.350/0.363/2.892 ms 810s Running test "liststore-interface-peek-same" 811s # Executing: glib/performance-threaded.test 811s 2780 runs, min/avg/max = 0.349/0.360/1.168 ms 811s ok - glib/performance-threaded.test 811s # Running test: glib/memory-output-stream.test 811s TAP version 13 811s # random seed: R02Sd155c4efd8dcf7da80c64bf4cf03cae1 811s 1..10 811s # Start of memory-output-stream tests 811s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 811s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 811s ok 1 /memory-output-stream/truncate 811s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 811s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 811s ok 2 /memory-output-stream/get-data-size 811s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 811s ok 3 /memory-output-stream/properties 811s ok 4 /memory-output-stream/write-bytes 811s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 811s ok 5 /memory-output-stream/write-null 811s ok 6 /memory-output-stream/writev 811s ok 7 /memory-output-stream/writev_nonblocking 811s ok 8 /memory-output-stream/steal_as_bytes 811s # Start of seek tests 811s ok 9 /memory-output-stream/seek/fixed 811s ok 10 /memory-output-stream/seek/resizable 811s # End of seek tests 811s # End of memory-output-stream tests 811s ok - glib/memory-output-stream.test 811s # Running test: glib/gdbus-server-auth.test 811s TAP version 13 811s # random seed: R02S432715dfb47d626f2099c5159bd4e9dc 811s 1..9 811s # Start of gdbus tests 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/.dirs/runtime 811s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_8ZDJK2/gdbus-server-auth-TEDJK2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 811s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_8ZDJK2/gdbus-server-auth-TEDJK2/dbus-EgELR39k 811s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 811s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 811s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 811s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 811s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 811s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 811s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 811s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 811s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 811s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 811s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 811s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 811s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 811s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 811s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 811s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 811s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 811s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 811s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 811s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 811s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 811s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 811s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 811s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 811s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 811s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 811s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 811s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 811s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 811s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 811s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 811s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 811s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 811s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 811s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 811s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 811s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 811s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 811s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 811s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 811s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 811s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 811s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15002 811s ok 1 /gdbus/server-auth 811s # Start of server-auth tests 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/abstract/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/abstract/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/abstract/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/abstract/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/abstract/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/abstract/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/abstract/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/abstract/.dirs/runtime 811s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_8ZDJK2/gdbus-server-auth-ZDGKK2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 811s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_8ZDJK2/gdbus-server-auth-ZDGKK2/dbus-Eugswqix 811s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 811s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 811s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 811s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 811s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 811s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 811s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 811s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 811s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 811s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 811s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 811s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 811s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 811s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 811s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 811s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 811s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 811s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 811s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 811s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 811s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 811s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 811s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 811s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 811s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 811s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 811s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 811s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 811s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 811s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 811s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 811s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 811s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 811s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 811s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 811s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 811s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 811s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 811s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 811s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 811s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 811s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 811s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15002 811s ok 2 /gdbus/server-auth/abstract 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/tcp/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/tcp/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/tcp/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/tcp/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/tcp/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/tcp/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/tcp/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/tcp/.dirs/runtime 811s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 811s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/anonymous/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/anonymous/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/anonymous/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/anonymous/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/anonymous/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/anonymous/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/anonymous/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/anonymous/.dirs/runtime 811s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_8ZDJK2/gdbus-server-auth-D84JK2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 811s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_8ZDJK2/gdbus-server-auth-D84JK2/dbus-5jd8Msi2 811s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 811s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 811s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 811s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 811s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 811s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 811s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 811s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 811s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 811s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 811s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 811s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 811s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 811s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 811s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 811s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 811s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 811s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 811s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 811s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 811s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 811s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15002 811s ok 4 /gdbus/server-auth/anonymous 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/external/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/external/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/external/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/external/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/external/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/external/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/external/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/external/.dirs/runtime 811s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_8ZDJK2/gdbus-server-auth-4GLKK2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 811s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_8ZDJK2/gdbus-server-auth-4GLKK2/dbus-Dg3RbWTf 811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15002 811s ok 5 /gdbus/server-auth/external 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/sha1/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/sha1/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/sha1/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/sha1/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/sha1/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/sha1/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/sha1/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/sha1/.dirs/runtime 811s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_8ZDJK2/gdbus-server-auth-BKBRK2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 811s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 811s # Start of anonymous tests 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/anonymous/tcp/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/anonymous/tcp/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/anonymous/tcp/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/anonymous/tcp/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/anonymous/tcp/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 811s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 811s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 811s # End of anonymous tests 811s # Start of external tests 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/external/require-same-user/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/external/require-same-user/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/external/require-same-user/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/external/require-same-user/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/external/require-same-user/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/external/require-same-user/.dirs/runtime 811s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_8ZDJK2/gdbus-server-auth-MTARK2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 811s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_8ZDJK2/gdbus-server-auth-MTARK2/dbus-Y5HEONLU 811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15002 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 811s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 811s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15002,uid=1000,gid=1000 811s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15002 811s ok 8 /gdbus/server-auth/external/require-same-user 811s # End of external tests 811s # Start of sha1 tests 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/sha1/tcp/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/sha1/tcp/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/sha1/tcp/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/sha1/tcp/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/sha1/tcp/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_8ZDJK2/gdbus/server-auth/sha1/tcp/.dirs/runtime 811s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 811s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 811s # End of sha1 tests 811s # End of server-auth tests 811s # End of gdbus tests 811s ok - glib/gdbus-server-auth.test 811s # Running test: glib/memchunk.test 811s TAP version 13 811s # random seed: R02Sba3f99c31a2e8fc4a172f2da8faba708 811s 1..1 811s # Start of memchunk tests 811s ok 1 /memchunk/basic 811s # End of memchunk tests 811s ok - glib/memchunk.test 811s # Running test: glib/object-info.test 811s TAP version 13 811s # random seed: R02S1d3a082ee6c6f06af6e4193350c7be75 811s 1..2 811s # Start of object-info tests 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_F2ZQK2/object-info/find-method-using-interfaces/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_F2ZQK2/object-info/find-method-using-interfaces/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_F2ZQK2/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_F2ZQK2/object-info/find-method-using-interfaces/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_F2ZQK2/object-info/find-method-using-interfaces/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_F2ZQK2/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_F2ZQK2/object-info/find-method-using-interfaces/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_F2ZQK2/object-info/find-method-using-interfaces/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_F2ZQK2/object-info/find-method-using-interfaces/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_F2ZQK2/object-info/find-method-using-interfaces/.dirs/runtime 811s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 811s ok 1 /object-info/find-method-using-interfaces 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_F2ZQK2/object-info/find-vfunc-using-interfaces/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_F2ZQK2/object-info/find-vfunc-using-interfaces/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_F2ZQK2/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_F2ZQK2/object-info/find-vfunc-using-interfaces/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_F2ZQK2/object-info/find-vfunc-using-interfaces/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_F2ZQK2/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_F2ZQK2/object-info/find-vfunc-using-interfaces/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_F2ZQK2/object-info/find-vfunc-using-interfaces/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_F2ZQK2/object-info/find-vfunc-using-interfaces/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_F2ZQK2/object-info/find-vfunc-using-interfaces/.dirs/runtime 811s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 811s ok 2 /object-info/find-vfunc-using-interfaces 811s # End of object-info tests 811s ok - glib/object-info.test 811s # Running test: glib/defaultiface.test 811s TAP version 13 811s # random seed: R02S666ea7c2b87232f094a03c42212f0432 811s 1..2 811s # Start of gobject tests 811s ok 1 /gobject/static-iface 811s ok 2 /gobject/dynamic-iface 811s # End of gobject tests 811s ok - glib/defaultiface.test 811s # Running test: glib/live-g-file.test 811s TAP version 13 811s # random seed: R02Se8ccbdff42df3ca5756bd3c1b9a059e3 811s 1..13 811s # Start of live-g-file tests 811s # Cleaning target testing structure in 'testdir_live-g-file'... 811s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 811s ok 1 /live-g-file/prep_clean_structure 811s # 811s # Going to create testing structure in 'testdir_live-g-file'... 811s # Creating directory 'dir1'... 811s # Creating directory 'dir1/subdir'... 811s # Creating directory 'dir2'... 811s # Creating directory 'dir-target'... 811s # Creating directory 'dir_no-access'... 811s # Creating directory 'dir_no-write'... 811s # Creating file 'target-file'... 811s # Creating file 'normal_file'... 811s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 811s # Creating file 'executable_file'... 811s # Creating file 'private_file'... 811s # Creating file 'normal_file2'... 811s # Creating file 'readonly_file'... 811s # Creating file 'UTF_pr?i?lis? z'... 811s # Creating directory 'dir_pr?i?lis? z'... 811s # Creating symlink 'lost_symlink' --> 'nowhere'... 811s # Creating directory 'dir_hidden'... 811s # Creating file 'dir_hidden/.a-hidden-file'... 811s # Creating file 'dir_hidden/file-in-.hidden1'... 811s # Creating file 'dir_hidden/file-in-.hidden2'... 811s # Creating pattern file... 811s # done. 811s ok 2 /live-g-file/create_structure 811s # Testing sample structure in 'testdir_live-g-file'... 811s # Testing file 'dir1'... 811s # Testing file 'dir1/subdir'... 811s # Testing file 'dir2'... 811s # Testing file 'dir-target'... 811s # Testing file 'dir_no-access'... 811s # Testing file 'dir_no-write'... 811s # Testing file 'target-file'... 811s # Testing file 'normal_file'... 811s # Testing file 'normal_file-symlink'... 811s # Testing file 'executable_file'... 811s # Testing file 'private_file'... 811s # Testing file 'normal_file2'... 811s # Testing file 'readonly_file'... 811s # Testing file 'UTF_pr?i?lis? z'... 811s # Testing file 'dir_pr?i?lis? z'... 811s # Testing file 'lost_symlink'... 811s # Testing file 'dir_hidden'... 811s # Testing file 'dir_hidden/.a-hidden-file'... 811s # Testing file 'dir_hidden/file-in-.hidden1'... 811s # Testing file 'dir_hidden/file-in-.hidden2'... 811s # Testing pattern file... 811s # read 65536 bytes, total = 65536 of 65536. 811s ok 3 /live-g-file/test_initial_structure 811s # Traversing through the sample structure in 'testdir_live-g-file'... 811s # Found file dir1, relative to root: dir1 811s # Found file subdir, relative to root: dir1/subdir 811s # Found file dir2, relative to root: dir2 811s # Found file dir-target, relative to root: dir-target 811s # Found file dir_no-access, relative to root: dir_no-access 811s # Found file dir_no-write, relative to root: dir_no-write 811s # Found file target-file, relative to root: target-file 811s # Found file normal_file, relative to root: normal_file 811s # Found file normal_file-symlink, relative to root: normal_file-symlink 811s # Found file executable_file, relative to root: executable_file 811s # Found file private_file, relative to root: private_file 811s # Found file normal_file2, relative to root: normal_file2 811s # Found file readonly_file, relative to root: readonly_file 811s # Found file UTF_pr?i?lis? z, relative to root: UTF_pr?i?lis? z 811s # Found file dir_pr?i?lis? z, relative to root: dir_pr?i?lis? z 811s # Found file lost_symlink, relative to root: lost_symlink 811s # Found file dir_hidden, relative to root: dir_hidden 811s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 811s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 811s # Found file .hidden, relative to root: dir_hidden/.hidden 811s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 811s # Found file pattern_file, relative to root: pattern_file 811s ok 4 /live-g-file/test_traverse_structure 811s # Test enumerate 'testdir_live-g-file'... 811s # Testing file 'dir_no-access' 811s # Testing file 'normal_file' 811s # Testing file 'normal_file-symlink' 811s # Testing file 'not_exists' 811s # Testing file 'not_exists' 811s # Testing file 'not_exists2' 811s # Testing file 'not_exists3' 811s # Testing file 'not_exists4' 811s # Testing file 'dir_no-execute/file' 811s ok 5 /live-g-file/test_enumerate 811s # test_open: 'dir1' 811s # test_open: 'dir_no-access' 811s # test_open: 'target-file' 811s # test_open: 'normal_file-symlink' 811s # test_open: 'executable_file' 811s # test_open: 'private_file' 811s # test_open: 'readonly_file' 811s # test_open: 'UTF_pr?i?lis? z' 811s # test_open: 'pattern_file' 811s # test_open: 'not_exists' 811s # test_open: 'dir_no-execute/file' 811s # test_open: 'lost_symlink' 811s ok 6 /live-g-file/test_open 811s # test_create: 'dir1' 811s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/dir1?: Is a directory 811s # test_create: 'dir1/subdir' 811s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/dir1/subdir?: Is a directory 811s # test_create: 'dir2' 811s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/dir2?: File exists 811s # test_create: 'normal_file' 811s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/normal_file?: File exists 811s # test_create: 'executable_file' 811s # test_create: 'private_file' 811s # test_create: 'normal_file2' 811s # test_create: 'UTF_pr?i?lis? z' 811s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 811s # test_create: 'dir_pr?i?lis? z' 811s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/dir_pr?i?lis? z?: File exists 811s # test_create: 'pattern_file' 811s # test_create: 'not_exists2' 811s # test_create: 'not_exists3' 811s # test_create: 'not_exists4' 811s ok 7 /live-g-file/test_create 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'dir1/subdir' --> 'dir-target' 811s # res = 0, error code 25 = Can?t recursively copy directory 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'dir1/subdir' --> '.' 811s # res = 0, error code 2 = Target file exists 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'dir1/subdir' --> 'target-file' 811s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/target-file/dir1/subdir?: Not a directory 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'dir1/subdir' --> 'not_exists' 811s # res = 0, error code 25 = Can?t recursively copy directory 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 811s # res = 0, error code 25 = Can?t recursively copy directory 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 811s # res = 0, error code 25 = Can?t recursively copy directory 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'dir2' --> 'dir-target' 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'dir-target' --> 'dir-target' 811s # res = 0, error code 25 = Can?t recursively copy directory 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'dir-target' --> '.' 811s # res = 0, error code 2 = Target file exists 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'dir-target' --> 'target-file' 811s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/target-file/dir-target?: Not a directory 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'dir-target' --> 'not_exists' 811s # res = 0, error code 25 = Can?t recursively copy directory 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'dir-target' --> 'dir_no-access' 811s # res = 0, error code 25 = Can?t recursively copy directory 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'dir-target' --> 'dir_no-write' 811s # res = 0, error code 25 = Can?t recursively copy directory 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'target-file' --> 'dir-target' 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'target-file' --> '.' 811s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/target-file?: File exists 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'target-file' --> 'target-file' 811s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/target-file/target-file?: Not a directory 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'target-file' --> 'not_exists' 811s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/not_exists/target-file?: No such file or directory 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'target-file' --> 'dir_no-access' 811s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/dir_no-access/target-file?: Permission denied 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'target-file' --> 'dir_no-write' 811s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/dir_no-write/target-file?: Permission denied 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'normal_file-symlink' --> '.' 811s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/normal_file-symlink: File exists 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'normal_file-symlink' --> 'target-file' 811s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 811s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 811s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 811s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'executable_file' --> 'dir-target' 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'executable_file' --> 'dir-target' 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'executable_file' --> '.' 811s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/executable_file?: File exists 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'executable_file' --> 'target-file' 811s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/target-file/executable_file?: Not a directory 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'executable_file' --> 'not_exists' 811s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/not_exists/executable_file?: No such file or directory 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'executable_file' --> 'dir_no-access' 811s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/dir_no-access/executable_file?: Permission denied 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'executable_file' --> 'dir_no-write' 811s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/dir_no-write/executable_file?: Permission denied 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'private_file' --> 'dir-target' 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'private_file' --> 'dir-target' 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'private_file' --> '.' 811s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/private_file?: File exists 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'private_file' --> 'target-file' 811s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/target-file/private_file?: Not a directory 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'private_file' --> 'not_exists' 811s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/not_exists/private_file?: No such file or directory 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'private_file' --> 'dir_no-access' 811s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/dir_no-access/private_file?: Permission denied 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'private_file' --> 'dir_no-write' 811s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/dir_no-write/private_file?: Permission denied 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'normal_file2' --> 'dir-target' 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'normal_file2' --> 'dir-target' 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'normal_file2' --> '.' 811s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/normal_file2?: File exists 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'normal_file2' --> 'target-file' 811s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/target-file/normal_file2?: Not a directory 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'normal_file2' --> 'not_exists' 811s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/not_exists/normal_file2?: No such file or directory 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'normal_file2' --> 'dir_no-access' 811s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/dir_no-access/normal_file2?: Permission denied 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'normal_file2' --> 'dir_no-write' 811s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/dir_no-write/normal_file2?: Permission denied 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'UTF_pr?i?lis? z' --> '.' 811s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'UTF_pr?i?lis? z' --> 'target-file' 811s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/target-file/UTF_pr?i?lis? z?: Not a directory 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'UTF_pr?i?lis? z' --> 'not_exists' 811s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/not_exists/UTF_pr?i?lis? z?: No such file or directory 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-access' 811s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/dir_no-access/UTF_pr?i?lis? z?: Permission denied 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-write' 811s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/dir_no-write/UTF_pr?i?lis? z?: Permission denied 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'pattern_file' --> 'dir-target' 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'pattern_file' --> '.' 811s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/pattern_file?: File exists 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'pattern_file' --> 'target-file' 811s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/target-file/pattern_file?: Not a directory 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'pattern_file' --> 'not_exists' 811s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/not_exists/pattern_file?: No such file or directory 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'pattern_file' --> 'dir_no-access' 811s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/dir_no-access/pattern_file?: Permission denied 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'pattern_file' --> 'dir_no-write' 811s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/dir_no-write/pattern_file?: Permission denied 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'not_exists' --> 'dir-target' 811s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/not_exists?: No such file or directory 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'not_exists' --> '.' 811s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/not_exists?: No such file or directory 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'not_exists' --> 'target-file' 811s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/not_exists?: No such file or directory 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'not_exists' --> 'not_exists' 811s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/not_exists?: No such file or directory 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'not_exists' --> 'dir_no-access' 811s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/not_exists?: No such file or directory 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'not_exists' --> 'dir_no-write' 811s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/not_exists?: No such file or directory 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'not_exists' --> 'dir-target' 811s # res = 0, error code 1 = Error moving file /tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/not_exists: No such file or directory 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'lost_symlink' --> 'dir-target' 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'lost_symlink' --> '.' 811s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/lost_symlink: File exists 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'lost_symlink' --> 'target-file' 811s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/target-file/lost_symlink: Not a directory 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'lost_symlink' --> 'not_exists' 811s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 811s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 811s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 811s ok 8 /live-g-file/test_copy_move 811s # Deleting dir1, path = /tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/dir1 811s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/dir1: Directory not empty 811s # Deleting dir2, path = /tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/dir2 811s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/dir2: No such file or directory 811s # Deleting executable_file, path = /tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/executable_file 811s # Deleting readonly_file, path = /tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/readonly_file 811s # Deleting dir_pr?i?lis? z, path = /tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/dir_pr?i?lis? z 811s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/not_exists 811s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/not_exists: No such file or directory 811s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/not_exists 811s # result = 0, error = Error trashing file /tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/not_exists: No such file or directory 811s # Deleting dir_no-execute/file, path = /tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/dir_no-execute/file 811s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/dir_no-execute/file: No such file or directory 811s # Deleting lost_symlink, path = /tmp/test-tmp-glib_live-g-file.test-QDXRK2/testdir_live-g-file/lost_symlink 811s ok 9 /live-g-file/test_delete 811s # We do not have CAP_DAC_OVERRIDE or equivalent 811s ok 10 /live-g-file/test_make_directory_with_parents 811s # Cleaning target testing structure in 'testdir_live-g-file'... 811s # deleting 'dir1' 811s # deleting 'subdir' 811s # deleting 'dir-target' 811s # deleting 'dir2' 811s # deleting 'target-file' 811s # deleting 'normal_file-symlink' 811s # deleting 'pattern_file' 811s # deleting 'executable_file' 811s # deleting 'private_file' 811s # deleting 'normal_file2' 811s # deleting 'UTF_pr?i?lis? z' 811s # deleting 'lost_symlink' 811s # deleting 'dir_no-access' 811s # deleting 'dir_no-write' 811s # deleting 'target-file' 811s # deleting 'normal_file' 811s # deleting 'normal_file-symlink' 811s # deleting 'executable_file~' 811s # deleting 'private_file' 811s # deleting 'normal_file2~' 811s # deleting 'a' 811s # deleting 'UTF_pr?i?lis? z' 811s # deleting 'dir_hidden' 811s # deleting '.a-hidden-file' 811s # deleting 'file-in-.hidden1' 811s # deleting '.hidden' 811s # deleting 'file-in-.hidden2' 811s # deleting 'pattern_file' 811s # deleting 'normal_file2' 811s # deleting 'not_exists2' 811s # deleting 'not_exists3' 811s # deleting 'not_exists4' 811s ok 11 /live-g-file/final_clean 811s # Start of test_unix_is_mountpoint tests 811s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 811s ok 13 /live-g-file/test_unix_is_mountpoint/proc 811s # End of test_unix_is_mountpoint tests 811s # End of live-g-file tests 811s ok - glib/live-g-file.test 811s # Running test: glib/unix-fd.test 811s TAP version 13 811s # random seed: R02S0be8dcd0ce7b4ae0733da3ff6a668a45 811s 1..2 811s # Start of unix-fd tests 811s ok 1 /unix-fd/fd-list 811s ok 2 /unix-fd/scm 811s # End of unix-fd tests 811s ok - glib/unix-fd.test 811s # Running test: glib/inet-address.test 811s TAP version 13 811s # random seed: R02S8492dd49c54de4716b42008298025aff 811s 1..11 811s # Start of inet-address tests 811s ok 1 /inet-address/parse 811s ok 2 /inet-address/any 811s ok 3 /inet-address/loopback 811s ok 4 /inet-address/bytes 811s ok 5 /inet-address/property 811s # End of inet-address tests 811s # Start of socket-address tests 811s ok 6 /socket-address/basic 811s ok 7 /socket-address/to-string 811s # End of socket-address tests 811s # Start of address-mask tests 811s ok 8 /address-mask/parse 811s ok 9 /address-mask/property 811s ok 10 /address-mask/equal 811s ok 11 /address-mask/match 811s # End of address-mask tests 811s ok - glib/inet-address.test 811s # Running test: glib/gdbus-names.test 811s TAP version 13 811s # random seed: R02Sa0a1db172dc9eafdd42cc4bc415d3a5a 811s 1..10 811s # Start of gdbus tests 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_G6QOK2/gdbus/validate-names/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_G6QOK2/gdbus/validate-names/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_G6QOK2/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_G6QOK2/gdbus/validate-names/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_G6QOK2/gdbus/validate-names/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_G6QOK2/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_G6QOK2/gdbus/validate-names/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_G6QOK2/gdbus/validate-names/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_G6QOK2/gdbus/validate-names/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_G6QOK2/gdbus/validate-names/.dirs/runtime 811s ok 1 /gdbus/validate-names 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-own-name/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-own-name/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_G6QOK2/gdbus/bus-own-name/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-own-name/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_G6QOK2/gdbus/bus-own-name/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-own-name/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-own-name/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-own-name/.dirs/runtime 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s ok 2 /gdbus/bus-own-name 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-name/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-name/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-name/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-name/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-name/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-name/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-name/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-name/.dirs/runtime 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s ok 3 /gdbus/bus-watch-name 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-name-auto-start/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-name-auto-start/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-name-auto-start/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-name-auto-start/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-name-auto-start/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-name-auto-start/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-name-auto-start/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-name-auto-start/.dirs/runtime 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s ok 4 /gdbus/bus-watch-name-auto-start 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 811s dbus-daemon[15034]: [session uid=1000 pid=15034] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=15025 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 811s # Acquired a message bus connection 811s dbus-daemon[15034]: [session uid=1000 pid=15034] Successfully activated service 'org.gtk.GDBus.FakeService' 811s # Acquired the name org.gtk.GDBus.FakeService 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-name-closures/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-name-closures/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-name-closures/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-name-closures/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-name-closures/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-name-closures/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-name-closures/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-name-closures/.dirs/runtime 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s ok 6 /gdbus/bus-watch-name-closures 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-name-closures-auto-start/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-name-closures-auto-start/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-name-closures-auto-start/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-name-closures-auto-start/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s ok 7 /gdbus/bus-watch-name-closures-auto-start 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-different-context/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-different-context/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-different-context/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-different-context/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-different-context/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-different-context/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-different-context/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-watch-different-context/.dirs/runtime 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s ok 8 /gdbus/bus-watch-different-context 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-unwatch-early/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-unwatch-early/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_G6QOK2/gdbus/bus-unwatch-early/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-unwatch-early/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_G6QOK2/gdbus/bus-unwatch-early/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-unwatch-early/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-unwatch-early/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_G6QOK2/gdbus/bus-unwatch-early/.dirs/runtime 811s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 811s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s ok 9 /gdbus/bus-unwatch-early 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_G6QOK2/gdbus/escape-object-path/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_G6QOK2/gdbus/escape-object-path/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_G6QOK2/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_G6QOK2/gdbus/escape-object-path/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_G6QOK2/gdbus/escape-object-path/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_G6QOK2/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_G6QOK2/gdbus/escape-object-path/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_G6QOK2/gdbus/escape-object-path/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_G6QOK2/gdbus/escape-object-path/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_G6QOK2/gdbus/escape-object-path/.dirs/runtime 811s ok 10 /gdbus/escape-object-path 811s # End of gdbus tests 811s ok - glib/gdbus-names.test 811s # Running test: glib/relation.test 811s TAP version 13 811s # random seed: R02Sf920b3e79462cc76572fc73adad990fe 811s 1..1 811s # Start of glib tests 811s ok 1 /glib/relation 811s # End of glib tests 811s ok - glib/relation.test 811s # Running test: glib/power-profile-monitor-dbus.test 811s TAP version 13 811s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 811s 1..1 811s ok - glib/power-profile-monitor-dbus.test 811s # Running test: glib/gdbus-addresses.test 811s TAP version 13 811s # random seed: R02S9b6ae60ae8e358c8cc929dbfc0a4ee66 811s 1..9 811s # Start of gdbus tests 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_XOR2K2/gdbus/empty-address/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_XOR2K2/gdbus/empty-address/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_XOR2K2/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_XOR2K2/gdbus/empty-address/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_XOR2K2/gdbus/empty-address/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_XOR2K2/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_XOR2K2/gdbus/empty-address/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_XOR2K2/gdbus/empty-address/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_XOR2K2/gdbus/empty-address/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_XOR2K2/gdbus/empty-address/.dirs/runtime 811s ok 1 /gdbus/empty-address 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_XOR2K2/gdbus/unsupported-address/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_XOR2K2/gdbus/unsupported-address/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_XOR2K2/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_XOR2K2/gdbus/unsupported-address/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_XOR2K2/gdbus/unsupported-address/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_XOR2K2/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_XOR2K2/gdbus/unsupported-address/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_XOR2K2/gdbus/unsupported-address/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_XOR2K2/gdbus/unsupported-address/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_XOR2K2/gdbus/unsupported-address/.dirs/runtime 811s ok 2 /gdbus/unsupported-address 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_XOR2K2/gdbus/address-parsing/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_XOR2K2/gdbus/address-parsing/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_XOR2K2/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_XOR2K2/gdbus/address-parsing/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_XOR2K2/gdbus/address-parsing/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_XOR2K2/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_XOR2K2/gdbus/address-parsing/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_XOR2K2/gdbus/address-parsing/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_XOR2K2/gdbus/address-parsing/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_XOR2K2/gdbus/address-parsing/.dirs/runtime 811s ok 3 /gdbus/address-parsing 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_XOR2K2/gdbus/unix-address/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_XOR2K2/gdbus/unix-address/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_XOR2K2/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_XOR2K2/gdbus/unix-address/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_XOR2K2/gdbus/unix-address/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_XOR2K2/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_XOR2K2/gdbus/unix-address/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_XOR2K2/gdbus/unix-address/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_XOR2K2/gdbus/unix-address/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_XOR2K2/gdbus/unix-address/.dirs/runtime 811s ok 4 /gdbus/unix-address 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_XOR2K2/gdbus/nonce-tcp-address/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_XOR2K2/gdbus/nonce-tcp-address/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_XOR2K2/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_XOR2K2/gdbus/nonce-tcp-address/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_XOR2K2/gdbus/nonce-tcp-address/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_XOR2K2/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_XOR2K2/gdbus/nonce-tcp-address/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_XOR2K2/gdbus/nonce-tcp-address/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_XOR2K2/gdbus/nonce-tcp-address/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_XOR2K2/gdbus/nonce-tcp-address/.dirs/runtime 811s ok 5 /gdbus/nonce-tcp-address 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_XOR2K2/gdbus/tcp-address/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_XOR2K2/gdbus/tcp-address/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_XOR2K2/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_XOR2K2/gdbus/tcp-address/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_XOR2K2/gdbus/tcp-address/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_XOR2K2/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_XOR2K2/gdbus/tcp-address/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_XOR2K2/gdbus/tcp-address/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_XOR2K2/gdbus/tcp-address/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_XOR2K2/gdbus/tcp-address/.dirs/runtime 811s ok 6 /gdbus/tcp-address 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_XOR2K2/gdbus/autolaunch-address/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_XOR2K2/gdbus/autolaunch-address/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_XOR2K2/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_XOR2K2/gdbus/autolaunch-address/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_XOR2K2/gdbus/autolaunch-address/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_XOR2K2/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_XOR2K2/gdbus/autolaunch-address/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_XOR2K2/gdbus/autolaunch-address/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_XOR2K2/gdbus/autolaunch-address/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_XOR2K2/gdbus/autolaunch-address/.dirs/runtime 811s ok 7 /gdbus/autolaunch-address 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_XOR2K2/gdbus/mixed-address/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_XOR2K2/gdbus/mixed-address/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_XOR2K2/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_XOR2K2/gdbus/mixed-address/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_XOR2K2/gdbus/mixed-address/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_XOR2K2/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_XOR2K2/gdbus/mixed-address/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_XOR2K2/gdbus/mixed-address/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_XOR2K2/gdbus/mixed-address/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_XOR2K2/gdbus/mixed-address/.dirs/runtime 811s ok 8 /gdbus/mixed-address 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_XOR2K2/gdbus/escape-address/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_XOR2K2/gdbus/escape-address/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_XOR2K2/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_XOR2K2/gdbus/escape-address/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_XOR2K2/gdbus/escape-address/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_XOR2K2/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_XOR2K2/gdbus/escape-address/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_XOR2K2/gdbus/escape-address/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_XOR2K2/gdbus/escape-address/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_XOR2K2/gdbus/escape-address/.dirs/runtime 811s ok 9 /gdbus/escape-address 811s # End of gdbus tests 811s ok - glib/gdbus-addresses.test 811s # Running test: glib/binding.test 811s TAP version 13 811s # random seed: R02S4ed4b293cfe575296eaddb26a0913213 811s 1..19 811s # Start of binding tests 811s ok 1 /binding/default 811s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 811s ok 2 /binding/canonicalisation 811s ok 3 /binding/bidirectional 811s ok 4 /binding/transform 811s ok 5 /binding/transform-default 811s ok 6 /binding/transform-closure 811s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 811s ok 7 /binding/chain 811s ok 8 /binding/sync-create 811s ok 9 /binding/invert-boolean 811s ok 10 /binding/same-object 811s ok 11 /binding/unbind 811s ok 12 /binding/unbind-weak 811s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 811s ok 13 /binding/unbind-multiple 811s ok 14 /binding/fail 811s ok 15 /binding/interface 811s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 811s ok 16 /binding/concurrent-unbind 811s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 811s ok 17 /binding/concurrent-finalizing 811s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 811s ok 18 /binding/dispose-source 811s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 811s ok 19 /binding/dispose-target 811s # End of binding tests 811s ok - glib/binding.test 811s # Running test: glib/credentials.test 811s TAP version 13 811s # random seed: R02S557c75a6970fbf018c4802beae179c62 811s 1..1 811s # Start of credentials tests 811s # GCredentials:linux-ucred:pid=15662,uid=1000,gid=1000 811s # GCredentials:linux-ucred:pid=15662,uid=0,gid=1000 811s ok 1 /credentials/basic 811s # End of credentials tests 811s ok - glib/credentials.test 811s # Running test: glib/properties-refcount4.test 811s TAP version 13 811s # random seed: R02S29db6b2c90845e9cf933a8d26e9ad9e3 811s 1..1 811s # Start of gobject tests 811s # Start of refcount tests 811s ok 1 /gobject/refcount/properties-4 811s # End of refcount tests 811s # End of gobject tests 811s ok - glib/properties-refcount4.test 811s # Running test: glib/signals.test 811s TAP version 13 811s # random seed: R02Sa80b4b275ce3fcc932af9da98c65f847 811s 1..31 811s # Start of gobject tests 811s # Start of signals tests 811s ok 1 /gobject/signals/all-types 811s ok 2 /gobject/signals/variant 811s ok 3 /gobject/signals/destroy-target-object 811s ok 4 /gobject/signals/generic-marshaller-1 811s ok 5 /gobject/signals/generic-marshaller-2 811s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 811s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 811s ok 8 /gobject/signals/generic-marshaller-int-return 811s ok 9 /gobject/signals/generic-marshaller-uint-return 811s ok 10 /gobject/signals/generic-marshaller-interface-return 811s ok 11 /gobject/signals/custom-marshaller 811s ok 12 /gobject/signals/connect 811s ok 13 /gobject/signals/emission-hook 811s ok 14 /gobject/signals/emitv 811s ok 15 /gobject/signals/accumulator 811s # Signal: accumulator-class-first 811s # Signal: accumulator-class-last 811s # Signal: accumulator-class-cleanup 811s # Signal: accumulator-class-first-last 811s # Signal: accumulator-class-first-last-cleanup 811s # Signal: accumulator-class-last-cleanup 811s ok 16 /gobject/signals/accumulator-class 811s ok 17 /gobject/signals/introspection 811s ok 18 /gobject/signals/block-handler 811s ok 19 /gobject/signals/stop-emission 811s ok 20 /gobject/signals/invocation-hint 811s ok 21 /gobject/signals/test-disconnection-wrong-object 811s ok 22 /gobject/signals/clear-signal-handler 811s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 811s ok 23 /gobject/signals/lookup 811s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 811s ok 24 /gobject/signals/parse-name 811s ok 25 /gobject/signals/is-valid-name 811s ok 26 /gobject/signals/weak-ref-disconnect 811s # Start of lookup tests 811s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 811s ok 27 /gobject/signals/lookup/invalid 811s # End of lookup tests 811s # Start of parse-name tests 811s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 811s # Parser input: 811s # Parser input: 7zip 811s # Parser input: invalid:signal 811s # Parser input: simple-detailed:: 811s # Parser input: simple-detailed: 811s # Parser input: : 811s # Parser input: :: 811s # Parser input: :valid-detail 811s # Parser input: ::valid-detail 811s ok 28 /gobject/signals/parse-name/invalid 811s # End of parse-name tests 811s # Start of invalid-name tests 811s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 811s ok 29 /gobject/signals/invalid-name/colon 811s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 811s ok 30 /gobject/signals/invalid-name/first-char 811s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 811s ok 31 /gobject/signals/invalid-name/empty 811s # End of invalid-name tests 811s # End of signals tests 811s # End of gobject tests 811s ok - glib/signals.test 811s # Running test: glib/signals-refcount1.test 811s TAP version 13 811s # random seed: R02Sf3171c7095565eac201274d5740e4746 811s 1..1 811s # Start of gobject tests 811s # Start of refcount tests 811s # init 0x76664c8f420 811s # 811s # init 0x76664c8f5c0 811s # 816s # Executing: glib/signals-refcount1.test 816s # dispose 0x76664c8f420! 816s # 816s # dispose 0x76664c8f5c0! 816s # 816s ok 1 /gobject/refcount/signals 816s # slow test /gobject/refcount/signals executed in 5.00 secs 816s # End of refcount tests 816s # End of gobject tests 816s ok - glib/signals-refcount1.test 816s # Running test: glib/gdbus-bz627724.test 816s TAP version 13 816s # random seed: R02Sb78f9acd2b18266cb0aa70c5965c3fe0 816s 1..1 816s # Start of gdbus tests 816s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_47S4K2/gdbus/bz627724/.dirs/home 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_47S4K2/gdbus/bz627724/.dirs/cache 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_47S4K2/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_47S4K2/gdbus/bz627724/.dirs/system-config2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_47S4K2/gdbus/bz627724/.dirs/config 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_47S4K2/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_47S4K2/gdbus/bz627724/.dirs/system-data2 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_47S4K2/gdbus/bz627724/.dirs/data 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_47S4K2/gdbus/bz627724/.dirs/state 816s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_47S4K2/gdbus/bz627724/.dirs/runtime 816s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s ok 1 /gdbus/bz627724 816s # End of gdbus tests 816s ok - glib/gdbus-bz627724.test 816s # Running test: glib/type.test 816s TAP version 13 816s # random seed: R02S9e47b5868a8b29a1af4f19efc237c4a9 816s 1..6 816s # Start of type tests 816s ok 1 /type/registration-serial 816s ok 2 /type/interface-prerequisite 816s ok 3 /type/interface-check 816s ok 4 /type/next-base 816s ok 5 /type/is-a 816s # Invalid types can?t be queried. 816s # Unclassed types can?t be queried. 816s ok 6 /type/query 816s # End of type tests 816s ok - glib/type.test 816s # Running test: glib/list.test 816s TAP version 13 816s # random seed: R02S3898d0f7c1ff8d923174f60db75b677f 816s 1..20 816s # Start of list tests 816s ok 1 /list/sort 816s ok 2 /list/sort-with-data 816s ok 3 /list/insert-before-link 816s ok 4 /list/insert-sorted 816s ok 5 /list/insert-sorted-with-data 816s ok 6 /list/reverse 816s ok 7 /list/nth 816s ok 8 /list/concat 816s ok 9 /list/remove 816s ok 10 /list/remove-all 816s ok 11 /list/first-last 816s ok 12 /list/insert 816s ok 13 /list/free-full 816s ok 14 /list/copy 816s ok 15 /list/copy-deep 816s ok 16 /list/delete-link 816s ok 17 /list/prepend 816s ok 18 /list/position 816s ok 19 /list/double-free 816s # Start of sort tests 816s ok 20 /list/sort/stable 816s # End of sort tests 816s # End of list tests 816s ok - glib/list.test 816s # Running test: glib/gapplication.test 816s TAP version 13 816s # random seed: R02S6c7df27f72488cfb82b5e36d15eb02a4 816s 1..24 816s # Start of gapplication tests 816s ok 1 /gapplication/no-dbus 816s ok 2 /gapplication/no-appid 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 816s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s ok 3 /gapplication/properties 816s ok 4 /gapplication/app-id 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 816s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s ok 5 /gapplication/quit 816s ok 6 /gapplication/registered 816s ok 7 /gapplication/local-actions 816s ok 8 /gapplication/local-command-line 816s ok 9 /gapplication/resource-path 816s ok 10 /gapplication/test-help 816s ok 11 /gapplication/command-line-done 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 816s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s ok 12 /gapplication/test-busy 816s ok 13 /gapplication/test-handle-local-options1 816s ok 14 /gapplication/test-handle-local-options2 816s ok 15 /gapplication/test-handle-local-options3 816s ok 16 /gapplication/api 816s ok 17 /gapplication/version 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 816s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 816s # launching subprocess 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s ok 18 /gapplication/replace 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 816s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 816s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 816s # launching subprocess 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s ok 19 /gapplication/no-replace 817s # slow test /gapplication/no-replace executed in 0.51 secs 817s # Start of dbus tests 817s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 817s # Message 0 817s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 817s # Message 1 817s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 817s # Message 2 817s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s ok 20 /gapplication/dbus/activate 817s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 817s # Message 0 817s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 817s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 817s # Message 1 817s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 817s # Message 2 817s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 817s # Message 3 817s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s ok 21 /gapplication/dbus/open 817s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 817s # Message 0 817s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 817s # Message 1 817s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 817s # Message 2 817s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s ok 22 /gapplication/dbus/command-line 817s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 817s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s ok 23 /gapplication/dbus/command-line-done 817s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 817s # Message 0 817s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 817s # Message 1 817s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 817s # Message 2 817s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 817s # Message 3 817s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 817s # Message 4 817s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 817s # Message 5 817s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 817s ok 24 /gapplication/dbus/activate-action 817s # End of dbus tests 817s # End of gapplication tests 817s ok - glib/gapplication.test 817s # Running test: glib/mappedfile.test 817s TAP version 13 817s # random seed: R02Sdab3e566b43573f3cc8495647640f344 817s 1..7 817s # Start of mappedfile tests 817s ok 1 /mappedfile/basic 817s ok 2 /mappedfile/empty 817s ok 3 /mappedfile/device 817s ok 4 /mappedfile/nonexisting 817s ok 5 /mappedfile/writable 817s ok 6 /mappedfile/writable_fd 817s ok 7 /mappedfile/gbytes 817s # End of mappedfile tests 817s ok - glib/mappedfile.test 817s # Running test: glib/socket.test 817s TAP version 13 817s # random seed: R02Sc54ddfe573e5dae6071a94d5f52ad49a 817s 1..28 817s # Start of socket tests 818s ok 1 /socket/ipv4_sync 818s # slow test /socket/ipv4_sync executed in 1.00 secs 819s ok 2 /socket/ipv4_async 819s # slow test /socket/ipv4_async executed in 1.00 secs 819s ok 3 /socket/ipv6_sync 819s ok 4 /socket/ipv6_async 819s ok 5 /socket/ipv6_v4mapped 820s ok 6 /socket/close_graceful 820s # slow test /socket/close_graceful executed in 1.00 secs 820s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 820s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 820s ok 8 /socket/fd_reuse 820s ok 9 /socket/address 820s ok 10 /socket/unix-from-fd 820s ok 11 /socket/unix-connection 820s ok 12 /socket/unix-connection-ancillary-data 820s ok 13 /socket/source-postmortem 820s ok 14 /socket/read_write 820s ok 15 /socket/read_writev 820s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 820s ok 16 /socket/receive_bytes 820s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 820s ok 17 /socket/receive_bytes_from 820s # Start of ipv4_sync tests 820s ok 18 /socket/ipv4_sync/datagram 820s # Start of datagram tests 821s # Executing: glib/socket.test 821s ok 19 /socket/ipv4_sync/datagram/timeouts 821s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 821s # End of datagram tests 821s # End of ipv4_sync tests 821s # Start of ipv6_sync tests 821s ok 20 /socket/ipv6_sync/datagram 821s # Start of datagram tests 822s ok 21 /socket/ipv6_sync/datagram/timeouts 822s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 822s # End of datagram tests 822s # End of ipv6_sync tests 822s # Start of reuse tests 822s ok 22 /socket/reuse/tcp 822s ok 23 /socket/reuse/udp 822s # End of reuse tests 822s # Start of get_available tests 822s ok 24 /socket/get_available/datagram 822s ok 25 /socket/get_available/stream 822s # End of get_available tests 822s # Start of credentials tests 822s # Supported on this OS: GCredentials:linux-ucred:pid=0 822s ok 26 /socket/credentials/tcp_client 822s # Supported on this OS: GCredentials:linux-ucred:pid=0 822s ok 27 /socket/credentials/tcp_server 822s # Supported on this OS: GCredentials:linux-ucred:pid=15721,uid=1000,gid=1000 822s ok 28 /socket/credentials/unix_socketpair 822s # End of credentials tests 822s # End of socket tests 822s ok - glib/socket.test 822s # Running test: glib/convert.test 822s TAP version 13 822s # random seed: R02S4135d167f241f4d56c39e07f90070dd5 822s 1..14 822s # Start of conversion tests 822s ok 1 /conversion/no-conv 822s ok 2 /conversion/iconv-state 822s ok 3 /conversion/illegal-sequence 822s ok 4 /conversion/byte-order 822s ok 5 /conversion/unicode 822s ok 6 /conversion/filename-utf8 822s ok 7 /conversion/filename-display 822s ok 8 /conversion/convert-embedded-nul 822s # Start of locale-to-utf8 tests 822s ok 9 /conversion/locale-to-utf8/embedded-nul 822s # Start of embedded-nul tests 822s # Start of subprocess tests 822s # End of subprocess tests 822s # End of embedded-nul tests 822s # End of locale-to-utf8 tests 822s # Start of locale-from-utf8 tests 822s ok 10 /conversion/locale-from-utf8/embedded-nul 822s # Start of embedded-nul tests 822s # Start of subprocess tests 822s # End of subprocess tests 822s # End of embedded-nul tests 822s # End of locale-from-utf8 tests 822s # Start of filename-to-utf8 tests 822s ok 11 /conversion/filename-to-utf8/embedded-nul 822s # Start of embedded-nul tests 822s # Start of subprocess tests 822s # End of subprocess tests 822s # End of embedded-nul tests 822s # End of filename-to-utf8 tests 822s # Start of filename-from-utf8 tests 822s ok 12 /conversion/filename-from-utf8/embedded-nul 822s # Start of embedded-nul tests 822s # Start of subprocess tests 822s # End of subprocess tests 822s # End of embedded-nul tests 822s # End of filename-from-utf8 tests 822s # Start of filename-from-uri tests 822s ok 13 /conversion/filename-from-uri/query-is-ignored 822s ok 14 /conversion/filename-from-uri/fragment-is-ignored 822s # End of filename-from-uri tests 822s # End of conversion tests 822s ok - glib/convert.test 822s # Running test: glib/pollable.test 822s TAP version 13 822s # random seed: R02S49388202aace283eb266c4abb792a765 822s 1..6 822s # Start of pollable tests 822s ok 1 /pollable/converter 822s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 822s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1974498f790 and GSocketClientAsyncConnectData 0x19744982ad0 822s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 822s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 822s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x19744990810 for GSocketClientAsyncConnectData 0x19744982ad0 822s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 822s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 822s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 822s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 822s ok 2 /pollable/socket 822s # Start of unix tests 822s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 822s ok 3 /pollable/unix/pipe 822s # /pollable/unix/pty summary: Test that PTYs are considered pollable 822s ok 4 /pollable/unix/pty 822s # /pollable/unix/file summary: Test that regular files are not considered pollable 822s ok 5 /pollable/unix/file 822s # /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 822s ok 6 /pollable/unix/nulldev 822s # End of unix tests 822s # End of pollable tests 822s ok - glib/pollable.test 822s # Running test: glib/async-close-output-stream.test 822s TAP version 13 822s # random seed: R02S67804449f43862375e0f3f879183c9d6 822s 1..3 822s # Start of close-async tests 822s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 822s ok 1 /close-async/without-flush 822s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 822s ok 2 /close-async/with-flush 822s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 822s ok 3 /close-async/with-async-flush 822s # End of close-async tests 822s ok - glib/async-close-output-stream.test 822s # Running test: glib/performance.test 822s Running test simple-construction 826s # Executing: glib/performance.test 830s Millions of constructed objects per second: 4.234 830s Running test simple-construction1 831s # Executing: glib/performance.test 832s Millions of constructed objects per second: 52.556 832s Running test complex-construction 836s # Executing: glib/performance.test 837s Millions of constructed objects per second: 2.611 837s Running test complex-construction1 841s # Executing: glib/performance.test 842s not ok - Test timed out after 300 seconds 844s Millions of constructed objects per second: 3.299 844s Running test complex-construction2 846s # Executing: glib/performance.test 850s Millions of constructed objects per second: 3.606 850s Running test finalization 851s # Executing: glib/performance.test 852s Millions of finalized objects per second: 0.800 852s Running test type-check 852s Million type checks per second: inf 852s Running test emit-unhandled 854s Emissions per second: 1143041 854s Running test emit-unhandled-empty 855s Emissions per second: 9830007 855s Running test emit-unhandled-generic 856s # Executing: glib/performance.test 856s Emissions per second: 1375321 856s Running test emit-unhandled-generic-empty 857s Emissions per second: 9808456 857s Running test emit-unhandled-args 859s Emissions per second: 1014329 859s Running test emit-handled 861s # Executing: glib/performance.test 861s Emissions per second: 822855 861s Running test emit-handled-empty 862s Emissions per second: 846279 862s Running test emit-handled-generic 864s Emissions per second: 832057 864s Running test emit-handled-generic-empty 865s Emissions per second: 1342831 865s Running test emit-handled-args 866s # Executing: glib/performance.test 867s Emissions per second: 794565 867s Running test notify-unhandled 868s Notify (unhandled) per second: 11035678 868s Running test notify-by-pspec-unhandled 869s Notify (unhandled) per second: 44479028 869s Running test notify-handled 871s # Executing: glib/performance.test 871s Notify per second: 476947 871s Running test notify-by-pspec-handled 874s Notify per second: 491241 874s Running test property-set 875s Property set per second: 2402858 875s Running test property-get 876s # Executing: glib/performance.test 876s Property get per second: 2253150 876s Running test refcount 881s # Executing: glib/performance.test 882s Million refs+unref per second: 6.12 882s ok - glib/performance.test 882s # Running test: glib/regex.test 882s TAP version 13 882s # random seed: R02Scec139f8b15d770f5f8f0ba1a25d62a6 882s 1..848 882s # Start of regex tests 882s ok 1 /regex/properties 882s ok 2 /regex/class 882s ok 3 /regex/lookahead 882s ok 4 /regex/lookbehind 882s ok 5 /regex/subpattern 882s ok 6 /regex/condition 882s ok 7 /regex/recursion 882s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 882s ok 8 /regex/multiline 882s ok 9 /regex/explicit-crlf 882s ok 10 /regex/max-lookbehind 882s ok 11 /regex/compile-errors 882s ok 12 /regex/jit-unsupported-matching 882s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 882s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 882s ok 13 /regex/unmatched-named-subpattern 882s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 882s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 882s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 882s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 882s ok 14 /regex/compiled-regex-after-jit-failure 882s # Start of new tests 882s ok 15 /regex/new/1 882s ok 16 /regex/new/2 882s ok 17 /regex/new/3 882s ok 18 /regex/new/4 882s ok 19 /regex/new/5 882s ok 20 /regex/new/6 882s ok 21 /regex/new/7 882s ok 22 /regex/new/8 882s ok 23 /regex/new/9 882s ok 24 /regex/new/10 882s ok 25 /regex/new/11 882s ok 26 /regex/new/12 882s ok 27 /regex/new/13 882s ok 28 /regex/new/14 882s ok 29 /regex/new/15 882s ok 30 /regex/new/16 882s ok 31 /regex/new/17 882s ok 32 /regex/new/18 882s ok 33 /regex/new/19 882s ok 34 /regex/new/71 882s ok 35 /regex/new/80 882s ok 36 /regex/new/82 882s # End of new tests 882s # Start of new-check-flags tests 882s ok 37 /regex/new-check-flags/20 882s ok 38 /regex/new-check-flags/21 882s ok 39 /regex/new-check-flags/22 882s ok 40 /regex/new-check-flags/23 882s ok 41 /regex/new-check-flags/24 882s ok 42 /regex/new-check-flags/25 882s ok 43 /regex/new-check-flags/26 882s ok 44 /regex/new-check-flags/27 882s ok 45 /regex/new-check-flags/28 882s ok 46 /regex/new-check-flags/29 882s ok 47 /regex/new-check-flags/30 882s ok 48 /regex/new-check-flags/31 882s ok 49 /regex/new-check-flags/32 882s ok 50 /regex/new-check-flags/33 882s ok 51 /regex/new-check-flags/34 882s ok 52 /regex/new-check-flags/35 882s ok 53 /regex/new-check-flags/36 882s # End of new-check-flags tests 882s # Start of new-fail tests 882s ok 54 /regex/new-fail/37 882s ok 55 /regex/new-fail/38 882s ok 56 /regex/new-fail/39 882s ok 57 /regex/new-fail/40 882s ok 58 /regex/new-fail/41 882s ok 59 /regex/new-fail/42 882s ok 60 /regex/new-fail/43 882s ok 61 /regex/new-fail/44 882s ok 62 /regex/new-fail/45 882s ok 63 /regex/new-fail/46 882s ok 64 /regex/new-fail/47 882s ok 65 /regex/new-fail/48 882s ok 66 /regex/new-fail/49 882s ok 67 /regex/new-fail/50 882s ok 68 /regex/new-fail/51 882s ok 69 /regex/new-fail/52 882s ok 70 /regex/new-fail/53 882s ok 71 /regex/new-fail/54 882s ok 72 /regex/new-fail/55 882s ok 73 /regex/new-fail/56 882s ok 74 /regex/new-fail/57 882s ok 75 /regex/new-fail/58 882s ok 76 /regex/new-fail/59 882s ok 77 /regex/new-fail/60 882s ok 78 /regex/new-fail/61 882s ok 79 /regex/new-fail/62 882s ok 80 /regex/new-fail/63 882s ok 81 /regex/new-fail/64 882s ok 82 /regex/new-fail/65 882s ok 83 /regex/new-fail/66 882s ok 84 /regex/new-fail/67 882s ok 85 /regex/new-fail/68 882s ok 86 /regex/new-fail/69 882s ok 87 /regex/new-fail/70 882s ok 88 /regex/new-fail/72 882s ok 89 /regex/new-fail/73 882s ok 90 /regex/new-fail/74 882s ok 91 /regex/new-fail/75 882s ok 92 /regex/new-fail/76 882s ok 93 /regex/new-fail/77 882s ok 94 /regex/new-fail/78 882s ok 95 /regex/new-fail/79 882s ok 96 /regex/new-fail/81 882s ok 97 /regex/new-fail/83 882s ok 98 /regex/new-fail/84 882s ok 99 /regex/new-fail/85 882s ok 100 /regex/new-fail/86 882s ok 101 /regex/new-fail/87 882s ok 102 /regex/new-fail/88 882s ok 103 /regex/new-fail/89 882s ok 104 /regex/new-fail/90 882s ok 105 /regex/new-fail/91 882s # End of new-fail tests 882s # Start of match-simple tests 882s ok 106 /regex/match-simple/92 882s ok 107 /regex/match-simple/93 882s ok 108 /regex/match-simple/94 882s ok 109 /regex/match-simple/95 882s ok 110 /regex/match-simple/96 882s ok 111 /regex/match-simple/97 882s ok 112 /regex/match-simple/98 882s ok 113 /regex/match-simple/99 882s ok 114 /regex/match-simple/100 882s ok 115 /regex/match-simple/101 882s ok 116 /regex/match-simple/102 882s ok 117 /regex/match-simple/103 882s ok 118 /regex/match-simple/104 882s ok 119 /regex/match-simple/105 882s ok 120 /regex/match-simple/106 882s ok 121 /regex/match-simple/107 882s ok 122 /regex/match-simple/108 882s ok 123 /regex/match-simple/109 882s ok 124 /regex/match-simple/110 882s ok 125 /regex/match-simple/111 882s ok 126 /regex/match-simple/112 882s ok 127 /regex/match-simple/113 882s ok 128 /regex/match-simple/114 882s ok 129 /regex/match-simple/115 882s ok 130 /regex/match-simple/116 882s ok 131 /regex/match-simple/117 882s ok 132 /regex/match-simple/118 882s ok 133 /regex/match-simple/119 882s ok 134 /regex/match-simple/120 882s ok 135 /regex/match-simple/121 882s ok 136 /regex/match-simple/122 882s ok 137 /regex/match-simple/123 882s ok 138 /regex/match-simple/124 882s ok 139 /regex/match-simple/125 882s ok 140 /regex/match-simple/126 882s ok 141 /regex/match-simple/127 882s ok 142 /regex/match-simple/128 882s ok 143 /regex/match-simple/129 882s ok 144 /regex/match-simple/130 882s ok 145 /regex/match-simple/131 882s ok 146 /regex/match-simple/132 882s ok 147 /regex/match-simple/133 882s ok 148 /regex/match-simple/134 882s ok 149 /regex/match-simple/135 882s ok 150 /regex/match-simple/136 882s ok 151 /regex/match-simple/137 882s ok 152 /regex/match-simple/138 882s ok 153 /regex/match-simple/139 882s ok 154 /regex/match-simple/140 882s ok 155 /regex/match-simple/141 882s ok 156 /regex/match-simple/142 882s ok 157 /regex/match-simple/143 882s ok 158 /regex/match-simple/144 882s ok 159 /regex/match-simple/145 882s ok 160 /regex/match-simple/146 882s ok 161 /regex/match-simple/147 882s ok 162 /regex/match-simple/148 882s ok 163 /regex/match-simple/149 882s ok 164 /regex/match-simple/150 882s ok 165 /regex/match-simple/151 882s ok 166 /regex/match-simple/152 882s ok 167 /regex/match-simple/153 882s ok 168 /regex/match-simple/154 882s ok 169 /regex/match-simple/155 882s ok 170 /regex/match-simple/156 882s ok 171 /regex/match-simple/157 882s ok 172 /regex/match-simple/158 882s ok 173 /regex/match-simple/159 882s ok 174 /regex/match-simple/160 882s ok 175 /regex/match-simple/161 882s ok 176 /regex/match-simple/162 882s ok 177 /regex/match-simple/163 882s ok 178 /regex/match-simple/164 882s # End of match-simple tests 882s # Start of match-simple-optimized tests 882s ok 179 /regex/match-simple-optimized/92 882s ok 180 /regex/match-simple-optimized/93 882s ok 181 /regex/match-simple-optimized/94 882s ok 182 /regex/match-simple-optimized/95 882s ok 183 /regex/match-simple-optimized/96 882s ok 184 /regex/match-simple-optimized/97 882s ok 185 /regex/match-simple-optimized/98 882s ok 186 /regex/match-simple-optimized/99 882s ok 187 /regex/match-simple-optimized/100 882s ok 188 /regex/match-simple-optimized/101 882s ok 189 /regex/match-simple-optimized/102 882s ok 190 /regex/match-simple-optimized/103 882s ok 191 /regex/match-simple-optimized/104 882s ok 192 /regex/match-simple-optimized/105 882s ok 193 /regex/match-simple-optimized/106 882s ok 194 /regex/match-simple-optimized/107 882s ok 195 /regex/match-simple-optimized/108 882s ok 196 /regex/match-simple-optimized/109 882s ok 197 /regex/match-simple-optimized/110 882s ok 198 /regex/match-simple-optimized/111 882s ok 199 /regex/match-simple-optimized/112 882s ok 200 /regex/match-simple-optimized/113 882s ok 201 /regex/match-simple-optimized/114 882s ok 202 /regex/match-simple-optimized/115 882s ok 203 /regex/match-simple-optimized/116 882s ok 204 /regex/match-simple-optimized/117 882s ok 205 /regex/match-simple-optimized/118 882s ok 206 /regex/match-simple-optimized/119 882s ok 207 /regex/match-simple-optimized/120 882s ok 208 /regex/match-simple-optimized/121 882s ok 209 /regex/match-simple-optimized/122 882s ok 210 /regex/match-simple-optimized/123 882s ok 211 /regex/match-simple-optimized/124 882s ok 212 /regex/match-simple-optimized/125 882s ok 213 /regex/match-simple-optimized/126 882s ok 214 /regex/match-simple-optimized/127 882s ok 215 /regex/match-simple-optimized/128 882s ok 216 /regex/match-simple-optimized/129 882s ok 217 /regex/match-simple-optimized/130 882s ok 218 /regex/match-simple-optimized/131 882s ok 219 /regex/match-simple-optimized/132 882s ok 220 /regex/match-simple-optimized/133 882s ok 221 /regex/match-simple-optimized/134 882s ok 222 /regex/match-simple-optimized/135 882s ok 223 /regex/match-simple-optimized/136 882s ok 224 /regex/match-simple-optimized/137 882s ok 225 /regex/match-simple-optimized/138 882s ok 226 /regex/match-simple-optimized/139 882s ok 227 /regex/match-simple-optimized/140 882s ok 228 /regex/match-simple-optimized/141 882s ok 229 /regex/match-simple-optimized/142 882s ok 230 /regex/match-simple-optimized/143 882s ok 231 /regex/match-simple-optimized/144 882s ok 232 /regex/match-simple-optimized/145 882s ok 233 /regex/match-simple-optimized/146 882s ok 234 /regex/match-simple-optimized/147 882s ok 235 /regex/match-simple-optimized/148 882s ok 236 /regex/match-simple-optimized/149 882s ok 237 /regex/match-simple-optimized/150 882s ok 238 /regex/match-simple-optimized/151 882s ok 239 /regex/match-simple-optimized/152 882s ok 240 /regex/match-simple-optimized/153 882s ok 241 /regex/match-simple-optimized/154 882s ok 242 /regex/match-simple-optimized/155 882s ok 243 /regex/match-simple-optimized/156 882s ok 244 /regex/match-simple-optimized/157 882s ok 245 /regex/match-simple-optimized/158 882s ok 246 /regex/match-simple-optimized/159 882s ok 247 /regex/match-simple-optimized/160 882s ok 248 /regex/match-simple-optimized/161 882s ok 249 /regex/match-simple-optimized/162 882s ok 250 /regex/match-simple-optimized/163 882s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 882s ok 251 /regex/match-simple-optimized/164 882s # End of match-simple-optimized tests 882s # Start of match tests 882s ok 252 /regex/match/165 882s ok 253 /regex/match/166 882s ok 254 /regex/match/167 882s ok 255 /regex/match/168 882s ok 256 /regex/match/169 882s ok 257 /regex/match/170 882s ok 258 /regex/match/171 882s ok 259 /regex/match/172 882s ok 260 /regex/match/173 882s ok 261 /regex/match/174 882s ok 262 /regex/match/175 882s ok 263 /regex/match/176 882s ok 264 /regex/match/177 882s ok 265 /regex/match/178 882s ok 266 /regex/match/179 882s ok 267 /regex/match/180 882s ok 268 /regex/match/181 882s ok 269 /regex/match/182 882s ok 270 /regex/match/183 882s ok 271 /regex/match/184 882s ok 272 /regex/match/185 882s ok 273 /regex/match/186 882s ok 274 /regex/match/187 882s ok 275 /regex/match/188 882s ok 276 /regex/match/189 882s ok 277 /regex/match/190 882s ok 278 /regex/match/191 882s ok 279 /regex/match/192 882s ok 280 /regex/match/193 882s ok 281 /regex/match/194 882s ok 282 /regex/match/195 882s ok 283 /regex/match/196 882s ok 284 /regex/match/197 882s ok 285 /regex/match/198 882s ok 286 /regex/match/199 882s ok 287 /regex/match/200 882s ok 288 /regex/match/201 882s ok 289 /regex/match/202 882s ok 290 /regex/match/203 882s ok 291 /regex/match/204 882s ok 292 /regex/match/205 882s ok 293 /regex/match/206 882s ok 294 /regex/match/207 882s ok 295 /regex/match/208 882s ok 296 /regex/match/209 882s ok 297 /regex/match/210 882s ok 298 /regex/match/211 882s ok 299 /regex/match/212 882s ok 300 /regex/match/213 882s ok 301 /regex/match/214 882s ok 302 /regex/match/215 882s ok 303 /regex/match/216 882s ok 304 /regex/match/217 882s ok 305 /regex/match/218 882s ok 306 /regex/match/219 882s ok 307 /regex/match/220 882s ok 308 /regex/match/221 882s ok 309 /regex/match/222 882s ok 310 /regex/match/223 882s ok 311 /regex/match/224 882s ok 312 /regex/match/225 882s ok 313 /regex/match/226 882s ok 314 /regex/match/227 882s ok 315 /regex/match/228 882s ok 316 /regex/match/229 882s ok 317 /regex/match/230 882s ok 318 /regex/match/231 882s ok 319 /regex/match/232 882s ok 320 /regex/match/233 882s ok 321 /regex/match/234 882s ok 322 /regex/match/235 882s ok 323 /regex/match/236 882s ok 324 /regex/match/237 882s ok 325 /regex/match/238 882s ok 326 /regex/match/239 882s ok 327 /regex/match/240 882s ok 328 /regex/match/241 882s ok 329 /regex/match/242 882s ok 330 /regex/match/243 882s ok 331 /regex/match/244 882s ok 332 /regex/match/245 882s ok 333 /regex/match/246 882s ok 334 /regex/match/partial281 882s ok 335 /regex/match/partial282 882s ok 336 /regex/match/partial283 882s ok 337 /regex/match/partial284 882s ok 338 /regex/match/partial285 882s ok 339 /regex/match/partial286 882s ok 340 /regex/match/partial287 882s ok 341 /regex/match/partial288 882s ok 342 /regex/match/partial289 882s ok 343 /regex/match/partial290 882s ok 344 /regex/match/partial291 882s ok 345 /regex/match/partial292 882s ok 346 /regex/match/partial293 882s ok 347 /regex/match/partial294 882s ok 348 /regex/match/partial295 882s ok 349 /regex/match/partial296 882s ok 350 /regex/match/partial297 882s ok 351 /regex/match/partial298 882s ok 352 /regex/match/partial299 882s ok 353 /regex/match/partial300 882s ok 354 /regex/match/partial301 882s ok 355 /regex/match/partial302 882s # Start of next0 tests 882s ok 356 /regex/match/next0/247 882s ok 357 /regex/match/next0/248 882s ok 358 /regex/match/next0/249 882s ok 359 /regex/match/next0/250 882s # End of next0 tests 882s # Start of next1 tests 882s ok 360 /regex/match/next1/251 882s ok 361 /regex/match/next1/252 882s ok 362 /regex/match/next1/253 882s ok 363 /regex/match/next1/254 882s ok 364 /regex/match/next1/255 882s # End of next1 tests 882s # Start of next2 tests 882s ok 365 /regex/match/next2/256 882s ok 366 /regex/match/next2/257 882s ok 367 /regex/match/next2/258 882s ok 368 /regex/match/next2/259 882s ok 369 /regex/match/next2/260 882s ok 370 /regex/match/next2/261 882s ok 371 /regex/match/next2/262 882s ok 372 /regex/match/next2/263 882s # End of next2 tests 882s # Start of next3 tests 882s ok 373 /regex/match/next3/264 882s ok 374 /regex/match/next3/265 882s ok 375 /regex/match/next3/266 882s ok 376 /regex/match/next3/267 882s ok 377 /regex/match/next3/268 882s ok 378 /regex/match/next3/269 882s # End of next3 tests 882s # Start of next4 tests 882s ok 379 /regex/match/next4/270 882s # End of next4 tests 882s # Start of count tests 882s ok 380 /regex/match/count/271 882s ok 381 /regex/match/count/272 882s ok 382 /regex/match/count/273 882s ok 383 /regex/match/count/274 882s ok 384 /regex/match/count/275 882s ok 385 /regex/match/count/276 882s ok 386 /regex/match/count/277 882s ok 387 /regex/match/count/278 882s ok 388 /regex/match/count/279 882s ok 389 /regex/match/count/280 882s # End of count tests 882s # Start of count-optimized tests 882s ok 390 /regex/match/count-optimized/271 882s ok 391 /regex/match/count-optimized/272 882s ok 392 /regex/match/count-optimized/273 882s ok 393 /regex/match/count-optimized/274 882s ok 394 /regex/match/count-optimized/275 882s ok 395 /regex/match/count-optimized/276 882s ok 396 /regex/match/count-optimized/277 882s ok 397 /regex/match/count-optimized/278 882s ok 398 /regex/match/count-optimized/279 882s ok 399 /regex/match/count-optimized/280 882s # End of count-optimized tests 882s # Start of partial-optimized tests 882s ok 400 /regex/match/partial-optimized/281 882s ok 401 /regex/match/partial-optimized/282 882s ok 402 /regex/match/partial-optimized/283 882s ok 403 /regex/match/partial-optimized/284 882s ok 404 /regex/match/partial-optimized/285 882s ok 405 /regex/match/partial-optimized/286 882s ok 406 /regex/match/partial-optimized/287 882s ok 407 /regex/match/partial-optimized/288 882s ok 408 /regex/match/partial-optimized/289 882s ok 409 /regex/match/partial-optimized/290 882s ok 410 /regex/match/partial-optimized/291 882s ok 411 /regex/match/partial-optimized/292 882s ok 412 /regex/match/partial-optimized/293 882s ok 413 /regex/match/partial-optimized/294 882s ok 414 /regex/match/partial-optimized/295 882s ok 415 /regex/match/partial-optimized/296 882s ok 416 /regex/match/partial-optimized/297 882s ok 417 /regex/match/partial-optimized/298 882s ok 418 /regex/match/partial-optimized/299 882s ok 419 /regex/match/partial-optimized/300 882s ok 420 /regex/match/partial-optimized/301 882s ok 421 /regex/match/partial-optimized/302 882s # End of partial-optimized tests 882s # Start of subpattern tests 882s ok 422 /regex/match/subpattern/303 882s ok 423 /regex/match/subpattern/304 882s ok 424 /regex/match/subpattern/305 882s ok 425 /regex/match/subpattern/306 882s ok 426 /regex/match/subpattern/307 882s ok 427 /regex/match/subpattern/308 882s ok 428 /regex/match/subpattern/309 882s ok 429 /regex/match/subpattern/310 882s ok 430 /regex/match/subpattern/311 882s ok 431 /regex/match/subpattern/312 882s ok 432 /regex/match/subpattern/313 882s ok 433 /regex/match/subpattern/314 882s ok 434 /regex/match/subpattern/315 882s # Start of named tests 882s # Start of dupnames tests 882s ok 435 /regex/match/subpattern/named/dupnames/325 882s ok 436 /regex/match/subpattern/named/dupnames/326 882s ok 437 /regex/match/subpattern/named/dupnames/327 882s ok 438 /regex/match/subpattern/named/dupnames/328 882s ok 439 /regex/match/subpattern/named/dupnames/329 882s # End of dupnames tests 882s # End of named tests 882s # End of subpattern tests 882s # Start of subpattern-optimized tests 882s ok 440 /regex/match/subpattern-optimized/303 882s ok 441 /regex/match/subpattern-optimized/304 882s ok 442 /regex/match/subpattern-optimized/305 882s ok 443 /regex/match/subpattern-optimized/306 882s ok 444 /regex/match/subpattern-optimized/307 882s ok 445 /regex/match/subpattern-optimized/308 882s ok 446 /regex/match/subpattern-optimized/309 882s ok 447 /regex/match/subpattern-optimized/310 882s ok 448 /regex/match/subpattern-optimized/311 882s ok 449 /regex/match/subpattern-optimized/312 882s ok 450 /regex/match/subpattern-optimized/313 882s ok 451 /regex/match/subpattern-optimized/314 882s ok 452 /regex/match/subpattern-optimized/315 882s # End of subpattern-optimized tests 882s # Start of named tests 882s # Start of subpattern tests 882s ok 453 /regex/match/named/subpattern/316 882s ok 454 /regex/match/named/subpattern/317 882s ok 455 /regex/match/named/subpattern/318 882s ok 456 /regex/match/named/subpattern/319 882s ok 457 /regex/match/named/subpattern/320 882s ok 458 /regex/match/named/subpattern/321 882s ok 459 /regex/match/named/subpattern/322 882s ok 460 /regex/match/named/subpattern/323 882s ok 461 /regex/match/named/subpattern/324 882s ok 462 /regex/match/named/subpattern/330 882s ok 463 /regex/match/named/subpattern/331 882s ok 464 /regex/match/named/subpattern/332 882s ok 465 /regex/match/named/subpattern/333 882s ok 466 /regex/match/named/subpattern/334 882s # End of subpattern tests 882s # End of named tests 882s # End of match tests 882s # Start of match-optimized tests 882s ok 467 /regex/match-optimized/165 882s ok 468 /regex/match-optimized/166 882s ok 469 /regex/match-optimized/167 882s ok 470 /regex/match-optimized/168 882s ok 471 /regex/match-optimized/169 882s ok 472 /regex/match-optimized/170 882s ok 473 /regex/match-optimized/171 882s ok 474 /regex/match-optimized/172 882s ok 475 /regex/match-optimized/173 882s ok 476 /regex/match-optimized/174 882s ok 477 /regex/match-optimized/175 882s ok 478 /regex/match-optimized/176 882s ok 479 /regex/match-optimized/177 882s ok 480 /regex/match-optimized/178 882s ok 481 /regex/match-optimized/179 882s ok 482 /regex/match-optimized/180 882s ok 483 /regex/match-optimized/181 882s ok 484 /regex/match-optimized/182 882s ok 485 /regex/match-optimized/183 882s ok 486 /regex/match-optimized/184 882s ok 487 /regex/match-optimized/185 882s ok 488 /regex/match-optimized/186 882s ok 489 /regex/match-optimized/187 882s ok 490 /regex/match-optimized/188 882s ok 491 /regex/match-optimized/189 882s ok 492 /regex/match-optimized/190 882s ok 493 /regex/match-optimized/191 882s ok 494 /regex/match-optimized/192 882s ok 495 /regex/match-optimized/193 882s ok 496 /regex/match-optimized/194 882s ok 497 /regex/match-optimized/195 882s ok 498 /regex/match-optimized/196 882s ok 499 /regex/match-optimized/197 882s ok 500 /regex/match-optimized/198 882s ok 501 /regex/match-optimized/199 882s ok 502 /regex/match-optimized/200 882s ok 503 /regex/match-optimized/201 882s ok 504 /regex/match-optimized/202 882s ok 505 /regex/match-optimized/203 882s ok 506 /regex/match-optimized/204 882s ok 507 /regex/match-optimized/205 882s ok 508 /regex/match-optimized/206 882s ok 509 /regex/match-optimized/207 882s ok 510 /regex/match-optimized/208 882s ok 511 /regex/match-optimized/209 882s ok 512 /regex/match-optimized/210 882s ok 513 /regex/match-optimized/211 882s ok 514 /regex/match-optimized/212 882s ok 515 /regex/match-optimized/213 882s ok 516 /regex/match-optimized/214 882s ok 517 /regex/match-optimized/215 882s ok 518 /regex/match-optimized/216 882s ok 519 /regex/match-optimized/217 882s ok 520 /regex/match-optimized/218 882s ok 521 /regex/match-optimized/219 882s ok 522 /regex/match-optimized/220 882s ok 523 /regex/match-optimized/221 882s ok 524 /regex/match-optimized/222 882s ok 525 /regex/match-optimized/223 882s ok 526 /regex/match-optimized/224 882s ok 527 /regex/match-optimized/225 882s ok 528 /regex/match-optimized/226 882s ok 529 /regex/match-optimized/227 882s ok 530 /regex/match-optimized/228 882s ok 531 /regex/match-optimized/229 882s ok 532 /regex/match-optimized/230 882s ok 533 /regex/match-optimized/231 882s ok 534 /regex/match-optimized/232 882s ok 535 /regex/match-optimized/233 882s ok 536 /regex/match-optimized/234 882s ok 537 /regex/match-optimized/235 882s ok 538 /regex/match-optimized/236 882s ok 539 /regex/match-optimized/237 882s ok 540 /regex/match-optimized/238 882s ok 541 /regex/match-optimized/239 882s ok 542 /regex/match-optimized/240 882s ok 543 /regex/match-optimized/241 882s ok 544 /regex/match-optimized/242 882s ok 545 /regex/match-optimized/243 882s ok 546 /regex/match-optimized/244 882s ok 547 /regex/match-optimized/245 882s ok 548 /regex/match-optimized/246 882s # End of match-optimized tests 882s # Start of fetch-all0 tests 882s ok 549 /regex/fetch-all0/335 882s ok 550 /regex/fetch-all0/336 882s # End of fetch-all0 tests 882s # Start of fetch-all1 tests 882s ok 551 /regex/fetch-all1/337 882s ok 552 /regex/fetch-all1/338 882s ok 553 /regex/fetch-all1/339 882s # End of fetch-all1 tests 882s # Start of fetch-all2 tests 882s ok 554 /regex/fetch-all2/340 882s ok 555 /regex/fetch-all2/341 882s ok 556 /regex/fetch-all2/342 882s # End of fetch-all2 tests 882s # Start of fetch-all3 tests 882s ok 557 /regex/fetch-all3/343 882s ok 558 /regex/fetch-all3/344 882s ok 559 /regex/fetch-all3/345 882s ok 560 /regex/fetch-all3/346 882s ok 561 /regex/fetch-all3/347 882s # End of fetch-all3 tests 882s # Start of split tests 882s # Start of simple0 tests 882s ok 562 /regex/split/simple0/348 882s ok 563 /regex/split/simple0/349 882s ok 564 /regex/split/simple0/364 882s ok 565 /regex/split/simple0/365 882s # End of simple0 tests 882s # Start of simple1 tests 882s ok 566 /regex/split/simple1/350 882s ok 567 /regex/split/simple1/351 882s # End of simple1 tests 882s # Start of simple2 tests 882s ok 568 /regex/split/simple2/352 882s ok 569 /regex/split/simple2/358 882s ok 570 /regex/split/simple2/360 882s # End of simple2 tests 882s # Start of simple3 tests 882s ok 571 /regex/split/simple3/353 882s ok 572 /regex/split/simple3/354 882s ok 573 /regex/split/simple3/355 882s ok 574 /regex/split/simple3/356 882s ok 575 /regex/split/simple3/357 882s ok 576 /regex/split/simple3/359 882s ok 577 /regex/split/simple3/361 882s ok 578 /regex/split/simple3/362 882s ok 579 /regex/split/simple3/363 882s # End of simple3 tests 882s # End of split tests 882s # Start of split0 tests 882s ok 580 /regex/split0/366 882s ok 581 /regex/split0/368 882s # End of split0 tests 882s # Start of full-split0 tests 882s ok 582 /regex/full-split0/367 882s ok 583 /regex/full-split0/369 882s ok 584 /regex/full-split0/370 882s ok 585 /regex/full-split0/371 882s ok 586 /regex/full-split0/372 882s # End of full-split0 tests 882s # Start of split1 tests 882s ok 587 /regex/split1/373 882s ok 588 /regex/split1/376 882s # End of split1 tests 882s # Start of full-split1 tests 882s ok 589 /regex/full-split1/374 882s ok 590 /regex/full-split1/375 882s ok 591 /regex/full-split1/377 882s ok 592 /regex/full-split1/378 882s ok 593 /regex/full-split1/404 882s # End of full-split1 tests 882s # Start of split2 tests 882s ok 594 /regex/split2/379 882s ok 595 /regex/split2/383 882s ok 596 /regex/split2/395 882s # End of split2 tests 882s # Start of full-split2 tests 882s ok 597 /regex/full-split2/380 882s ok 598 /regex/full-split2/381 882s ok 599 /regex/full-split2/382 882s ok 600 /regex/full-split2/384 882s ok 601 /regex/full-split2/396 882s ok 602 /regex/full-split2/399 882s ok 603 /regex/full-split2/405 882s # End of full-split2 tests 882s # Start of split3 tests 882s ok 604 /regex/split3/385 882s ok 605 /regex/split3/387 882s ok 606 /regex/split3/389 882s ok 607 /regex/split3/391 882s ok 608 /regex/split3/393 882s ok 609 /regex/split3/397 882s ok 610 /regex/split3/400 882s ok 611 /regex/split3/402 882s # End of split3 tests 882s # Start of full-split3 tests 882s ok 612 /regex/full-split3/386 882s ok 613 /regex/full-split3/388 882s ok 614 /regex/full-split3/390 882s ok 615 /regex/full-split3/392 882s ok 616 /regex/full-split3/394 882s ok 617 /regex/full-split3/398 882s ok 618 /regex/full-split3/401 882s ok 619 /regex/full-split3/403 882s ok 620 /regex/full-split3/406 882s ok 621 /regex/full-split3/407 882s # End of full-split3 tests 882s # Start of check-repacement tests 882s ok 622 /regex/check-repacement/408 882s ok 623 /regex/check-repacement/409 882s ok 624 /regex/check-repacement/410 882s ok 625 /regex/check-repacement/411 882s ok 626 /regex/check-repacement/412 882s ok 627 /regex/check-repacement/413 882s ok 628 /regex/check-repacement/414 882s ok 629 /regex/check-repacement/415 882s # End of check-repacement tests 882s # Start of expand tests 882s ok 630 /regex/expand/416 882s ok 631 /regex/expand/417 882s ok 632 /regex/expand/418 882s ok 633 /regex/expand/419 882s ok 634 /regex/expand/420 882s ok 635 /regex/expand/421 882s ok 636 /regex/expand/422 882s ok 637 /regex/expand/423 882s ok 638 /regex/expand/424 882s ok 639 /regex/expand/425 882s ok 640 /regex/expand/426 882s ok 641 /regex/expand/427 882s ok 642 /regex/expand/428 882s ok 643 /regex/expand/429 882s ok 644 /regex/expand/430 882s ok 645 /regex/expand/431 882s ok 646 /regex/expand/432 882s ok 647 /regex/expand/433 882s ok 648 /regex/expand/434 882s ok 649 /regex/expand/435 882s ok 650 /regex/expand/436 882s ok 651 /regex/expand/437 882s ok 652 /regex/expand/438 882s ok 653 /regex/expand/439 882s ok 654 /regex/expand/440 882s ok 655 /regex/expand/441 882s ok 656 /regex/expand/442 882s ok 657 /regex/expand/443 882s ok 658 /regex/expand/444 882s ok 659 /regex/expand/445 882s ok 660 /regex/expand/446 882s ok 661 /regex/expand/447 882s ok 662 /regex/expand/448 882s ok 663 /regex/expand/449 882s ok 664 /regex/expand/450 882s ok 665 /regex/expand/451 882s ok 666 /regex/expand/452 882s ok 667 /regex/expand/453 882s ok 668 /regex/expand/454 882s ok 669 /regex/expand/455 882s ok 670 /regex/expand/456 882s ok 671 /regex/expand/457 882s ok 672 /regex/expand/458 882s ok 673 /regex/expand/459 882s ok 674 /regex/expand/460 882s ok 675 /regex/expand/461 882s ok 676 /regex/expand/462 882s ok 677 /regex/expand/463 882s ok 678 /regex/expand/464 882s ok 679 /regex/expand/465 882s ok 680 /regex/expand/466 882s ok 681 /regex/expand/467 882s ok 682 /regex/expand/468 882s ok 683 /regex/expand/469 882s ok 684 /regex/expand/470 882s ok 685 /regex/expand/471 882s ok 686 /regex/expand/472 882s ok 687 /regex/expand/473 882s ok 688 /regex/expand/474 882s ok 689 /regex/expand/475 882s ok 690 /regex/expand/476 882s ok 691 /regex/expand/477 882s ok 692 /regex/expand/478 882s ok 693 /regex/expand/479 882s ok 694 /regex/expand/480 882s ok 695 /regex/expand/481 882s # End of expand tests 882s # Start of replace tests 882s ok 696 /regex/replace/482 882s ok 697 /regex/replace/483 882s ok 698 /regex/replace/484 882s ok 699 /regex/replace/485 882s ok 700 /regex/replace/486 882s ok 701 /regex/replace/487 882s ok 702 /regex/replace/488 882s ok 703 /regex/replace/489 882s ok 704 /regex/replace/490 882s ok 705 /regex/replace/491 882s ok 706 /regex/replace/492 882s ok 707 /regex/replace/493 882s ok 708 /regex/replace/494 882s ok 709 /regex/replace/495 882s ok 710 /regex/replace/496 882s ok 711 /regex/replace/497 882s ok 712 /regex/replace/498 882s ok 713 /regex/replace/499 882s ok 714 /regex/replace/500 882s ok 715 /regex/replace/501 882s ok 716 /regex/replace/502 882s ok 717 /regex/replace/503 882s ok 718 /regex/replace/504 882s ok 719 /regex/replace/505 882s ok 720 /regex/replace/506 882s ok 721 /regex/replace/507 882s ok 722 /regex/replace/508 882s ok 723 /regex/replace/509 882s # End of replace tests 882s # Start of replace-optimized tests 882s ok 724 /regex/replace-optimized/482 882s ok 725 /regex/replace-optimized/483 882s ok 726 /regex/replace-optimized/484 882s ok 727 /regex/replace-optimized/485 882s ok 728 /regex/replace-optimized/486 882s ok 729 /regex/replace-optimized/487 882s ok 730 /regex/replace-optimized/488 882s ok 731 /regex/replace-optimized/489 882s ok 732 /regex/replace-optimized/490 882s ok 733 /regex/replace-optimized/491 882s ok 734 /regex/replace-optimized/492 882s ok 735 /regex/replace-optimized/493 882s ok 736 /regex/replace-optimized/494 882s ok 737 /regex/replace-optimized/495 882s ok 738 /regex/replace-optimized/496 882s ok 739 /regex/replace-optimized/497 882s ok 740 /regex/replace-optimized/498 882s ok 741 /regex/replace-optimized/499 882s ok 742 /regex/replace-optimized/500 882s ok 743 /regex/replace-optimized/501 882s ok 744 /regex/replace-optimized/502 882s ok 745 /regex/replace-optimized/503 882s ok 746 /regex/replace-optimized/504 882s ok 747 /regex/replace-optimized/505 882s ok 748 /regex/replace-optimized/506 882s ok 749 /regex/replace-optimized/507 882s ok 750 /regex/replace-optimized/508 882s ok 751 /regex/replace-optimized/509 882s # End of replace-optimized tests 882s # Start of replace-literally tests 882s ok 752 /regex/replace-literally/510 882s ok 753 /regex/replace-literally/511 882s ok 754 /regex/replace-literally/512 882s ok 755 /regex/replace-literally/513 882s ok 756 /regex/replace-literally/514 882s ok 757 /regex/replace-literally/515 882s ok 758 /regex/replace-literally/516 882s ok 759 /regex/replace-literally/517 882s ok 760 /regex/replace-literally/518 882s ok 761 /regex/replace-literally/519 882s ok 762 /regex/replace-literally/520 882s ok 763 /regex/replace-literally/521 882s ok 764 /regex/replace-literally/522 882s ok 765 /regex/replace-literally/523 882s ok 766 /regex/replace-literally/524 882s ok 767 /regex/replace-literally/525 882s ok 768 /regex/replace-literally/526 882s ok 769 /regex/replace-literally/527 882s ok 770 /regex/replace-literally/528 882s ok 771 /regex/replace-literally/529 882s # End of replace-literally tests 882s # Start of string-number tests 882s ok 772 /regex/string-number/530 882s ok 773 /regex/string-number/531 882s ok 774 /regex/string-number/532 882s ok 775 /regex/string-number/533 882s ok 776 /regex/string-number/534 882s ok 777 /regex/string-number/535 882s ok 778 /regex/string-number/536 882s ok 779 /regex/string-number/537 882s ok 780 /regex/string-number/538 882s ok 781 /regex/string-number/539 882s ok 782 /regex/string-number/540 882s ok 783 /regex/string-number/541 882s ok 784 /regex/string-number/542 882s ok 785 /regex/string-number/543 882s ok 786 /regex/string-number/544 882s # End of string-number tests 882s # Start of escape_nul tests 882s ok 787 /regex/escape_nul/545 882s ok 788 /regex/escape_nul/546 882s ok 789 /regex/escape_nul/547 882s ok 790 /regex/escape_nul/548 882s ok 791 /regex/escape_nul/549 882s ok 792 /regex/escape_nul/550 882s ok 793 /regex/escape_nul/551 882s ok 794 /regex/escape_nul/552 882s ok 795 /regex/escape_nul/553 882s ok 796 /regex/escape_nul/554 882s ok 797 /regex/escape_nul/555 882s ok 798 /regex/escape_nul/556 882s ok 799 /regex/escape_nul/557 882s ok 800 /regex/escape_nul/558 882s ok 801 /regex/escape_nul/559 882s # End of escape_nul tests 882s # Start of escape tests 882s ok 802 /regex/escape/560 882s ok 803 /regex/escape/561 882s ok 804 /regex/escape/562 882s ok 805 /regex/escape/563 882s ok 806 /regex/escape/564 882s ok 807 /regex/escape/565 882s ok 808 /regex/escape/566 882s ok 809 /regex/escape/567 882s ok 810 /regex/escape/568 882s ok 811 /regex/escape/569 882s ok 812 /regex/escape/570 882s ok 813 /regex/escape/571 882s ok 814 /regex/escape/572 882s ok 815 /regex/escape/573 882s ok 816 /regex/escape/574 882s ok 817 /regex/escape/575 882s ok 818 /regex/escape/576 882s ok 819 /regex/escape/577 882s # End of escape tests 882s # Start of match-all0 tests 882s ok 820 /regex/match-all0/578 882s ok 821 /regex/match-all0/580 882s # End of match-all0 tests 882s # Start of match-all-full0 tests 882s ok 822 /regex/match-all-full0/579 882s ok 823 /regex/match-all-full0/581 882s ok 824 /regex/match-all-full0/582 882s ok 825 /regex/match-all-full0/583 882s # End of match-all-full0 tests 882s # Start of match-all1 tests 882s ok 826 /regex/match-all1/584 882s ok 827 /regex/match-all1/586 882s ok 828 /regex/match-all1/591 882s # End of match-all1 tests 882s # Start of match-all-full1 tests 882s ok 829 /regex/match-all-full1/585 882s ok 830 /regex/match-all-full1/587 882s ok 831 /regex/match-all-full1/588 882s ok 832 /regex/match-all-full1/589 882s ok 833 /regex/match-all-full1/590 882s ok 834 /regex/match-all-full1/592 882s # End of match-all-full1 tests 882s # Start of match-all2 tests 882s ok 835 /regex/match-all2/593 882s ok 836 /regex/match-all2/595 882s ok 837 /regex/match-all2/597 882s # End of match-all2 tests 882s # Start of match-all-full2 tests 882s ok 838 /regex/match-all-full2/594 882s ok 839 /regex/match-all-full2/596 882s ok 840 /regex/match-all-full2/598 882s # End of match-all-full2 tests 882s # Start of match-all3 tests 882s ok 841 /regex/match-all3/599 882s ok 842 /regex/match-all3/601 882s # End of match-all3 tests 882s # Start of match-all-full3 tests 882s ok 843 /regex/match-all-full3/600 882s ok 844 /regex/match-all-full3/602 882s # End of match-all-full3 tests 882s # Start of match-notempty tests 882s ok 845 /regex/match-notempty/603 882s # End of match-notempty tests 882s # Start of match-notempty-optimized tests 882s ok 846 /regex/match-notempty-optimized/603 882s # End of match-notempty-optimized tests 882s # Start of match-notempty-atstart tests 882s ok 847 /regex/match-notempty-atstart/604 882s # End of match-notempty-atstart tests 882s # Start of match-notempty-atstart-optimized tests 882s ok 848 /regex/match-notempty-atstart-optimized/604 882s # End of match-notempty-atstart-optimized tests 882s # End of regex tests 882s ok - glib/regex.test 882s # Running test: glib/utf8-performance.test 882s TAP version 13 882s # random seed: R02S029698a84303d301d730b069ddc6af15 882s 1..36 882s # Start of utf8 tests 882s # Start of perf tests 882s # Start of get_char tests 882s # max perf: 0.4 MB/s 882s ok 1 /utf8/perf/get_char/ascii 882s # max perf: 67.0 MB/s 882s ok 2 /utf8/perf/get_char/latin1 882s # max perf: inf MB/s 882s ok 3 /utf8/perf/get_char/cyrillic 882s # max perf: 156.0 MB/s 882s ok 4 /utf8/perf/get_char/han 882s # End of get_char tests 882s # Start of get_char-backwards tests 882s # max perf: inf MB/s 882s ok 5 /utf8/perf/get_char-backwards/ascii 882s # max perf: inf MB/s 882s ok 6 /utf8/perf/get_char-backwards/latin1 882s # max perf: 160.0 MB/s 882s ok 7 /utf8/perf/get_char-backwards/cyrillic 882s # max perf: inf MB/s 882s ok 8 /utf8/perf/get_char-backwards/han 882s # End of get_char-backwards tests 882s # Start of get_char_validated tests 882s # max perf: inf MB/s 882s ok 9 /utf8/perf/get_char_validated/ascii 882s # max perf: inf MB/s 882s ok 10 /utf8/perf/get_char_validated/latin1 882s # max perf: inf MB/s 882s ok 11 /utf8/perf/get_char_validated/cyrillic 882s # max perf: inf MB/s 882s ok 12 /utf8/perf/get_char_validated/han 882s # End of get_char_validated tests 882s # Start of utf8_to_ucs4 tests 882s # max perf: 21.5 MB/s 882s ok 13 /utf8/perf/utf8_to_ucs4/ascii 882s # max perf: 67.0 MB/s 882s ok 14 /utf8/perf/utf8_to_ucs4/latin1 882s # max perf: 160.0 MB/s 882s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 882s # max perf: inf MB/s 882s ok 16 /utf8/perf/utf8_to_ucs4/han 882s # End of utf8_to_ucs4 tests 882s # Start of utf8_to_ucs4-sized tests 882s # max perf: 43.0 MB/s 882s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 882s # max perf: 67.0 MB/s 882s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 882s # max perf: 160.0 MB/s 882s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 882s # max perf: inf MB/s 882s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 882s # End of utf8_to_ucs4-sized tests 882s # Start of utf8_to_ucs4_fast tests 882s # max perf: 43.0 MB/s 882s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 882s # max perf: inf MB/s 882s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 882s # max perf: 160.0 MB/s 882s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 882s # max perf: 156.0 MB/s 882s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 882s # End of utf8_to_ucs4_fast tests 882s # Start of utf8_to_ucs4_fast-sized tests 882s # max perf: inf MB/s 882s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 882s # max perf: inf MB/s 882s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 882s # max perf: 160.0 MB/s 882s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 882s # max perf: 156.0 MB/s 882s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 882s # End of utf8_to_ucs4_fast-sized tests 882s # Start of utf8_validate tests 882s # max perf: inf MB/s 882s ok 29 /utf8/perf/utf8_validate/ascii 882s # max perf: 67.0 MB/s 882s ok 30 /utf8/perf/utf8_validate/latin1 882s # max perf: inf MB/s 882s ok 31 /utf8/perf/utf8_validate/cyrillic 882s # max perf: 156.0 MB/s 882s ok 32 /utf8/perf/utf8_validate/han 882s # End of utf8_validate tests 882s # Start of utf8_validate-sized tests 882s # max perf: inf MB/s 882s ok 33 /utf8/perf/utf8_validate-sized/ascii 882s # max perf: inf MB/s 882s ok 34 /utf8/perf/utf8_validate-sized/latin1 882s # max perf: 160.0 MB/s 882s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 882s # max perf: 156.0 MB/s 882s ok 36 /utf8/perf/utf8_validate-sized/han 882s # End of utf8_validate-sized tests 882s # End of perf tests 882s # End of utf8 tests 882s ok - glib/utf8-performance.test 882s # Running test: glib/markup.test 882s TAP version 13 882s # random seed: R02S032fc6f6aeebad36e37d883bc967358d 882s 1..1 882s # Start of markup tests 882s ok 1 /markup/stack 882s # End of markup tests 882s ok - glib/markup.test 882s # Running test: glib/stream-rw_all.test 882s TAP version 13 882s # random seed: R02S697dbcc85a520847f20ac326e9e51567 882s 1..3 882s # Start of stream tests 882s # Start of read_all_async tests 882s ok 1 /stream/read_all_async/memory 882s # End of read_all_async tests 882s # Start of write_all_async tests 882s ok 2 /stream/write_all_async/memory 882s # End of write_all_async tests 882s # Start of read_write_all_async tests 882s ok 3 /stream/read_write_all_async/pipe 882s # End of read_write_all_async tests 882s # End of stream tests 882s ok - glib/stream-rw_all.test 882s # Running test: glib/volumemonitor.test 882s TAP version 13 882s # random seed: R02Sb950cb99d0576bcfa797f66b1d5accd7 882s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 882s 1..3 882s # Start of volumemonitor tests 882s ok 1 /volumemonitor/connected_drives 882s ok 2 /volumemonitor/volumes 882s ok 3 /volumemonitor/mounts 882s # End of volumemonitor tests 882s ok - glib/volumemonitor.test 882s # Running test: glib/gdbus-connection-slow.test 882s TAP version 13 882s # random seed: R02S46fc3f72c5fca036ba8a0f00a9d3c612 882s 1..2 882s # Start of gdbus tests 882s # Start of connection tests 882s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_IKVTK2/gdbus/connection/flush/.dirs/home 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_IKVTK2/gdbus/connection/flush/.dirs/cache 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_IKVTK2/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_IKVTK2/gdbus/connection/flush/.dirs/system-config2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_IKVTK2/gdbus/connection/flush/.dirs/config 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_IKVTK2/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_IKVTK2/gdbus/connection/flush/.dirs/system-data2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_IKVTK2/gdbus/connection/flush/.dirs/data 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_IKVTK2/gdbus/connection/flush/.dirs/state 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_IKVTK2/gdbus/connection/flush/.dirs/runtime 882s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 882s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 882s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 882s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 882s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 882s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 882s ok 1 /gdbus/connection/flush 882s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_IKVTK2/gdbus/connection/large_message/.dirs/home 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_IKVTK2/gdbus/connection/large_message/.dirs/cache 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_IKVTK2/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_IKVTK2/gdbus/connection/large_message/.dirs/system-config2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_IKVTK2/gdbus/connection/large_message/.dirs/config 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_IKVTK2/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_IKVTK2/gdbus/connection/large_message/.dirs/system-data2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_IKVTK2/gdbus/connection/large_message/.dirs/data 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_IKVTK2/gdbus/connection/large_message/.dirs/state 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_IKVTK2/gdbus/connection/large_message/.dirs/runtime 882s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 882s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 882s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 882s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 882s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 882s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 882s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 883s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 883s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 883s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 883s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 883s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 883s ok 2 /gdbus/connection/large_message 883s # End of connection tests 883s # End of gdbus tests 883s ok - glib/gdbus-connection-slow.test 883s # Running test: glib/macros-c-90.test 883s TAP version 13 883s # random seed: R02Sd8af3da4b8be41ebcafc341157ebea4e 883s 1..4 883s # Start of C tests 883s ok 1 /C/standard-90 883s # End of C tests 883s # Start of alignof tests 883s ok 2 /alignof/fallback 883s # End of alignof tests 883s # Start of assert tests 883s ok 3 /assert/static 883s # End of assert tests 883s # Start of struct tests 883s ok 4 /struct/sizeof_member 883s # End of struct tests 883s ok - glib/macros-c-90.test 883s # Running test: glib/gdbus-auth.test 883s TAP version 13 883s # random seed: R02Sbcb2b696972e622257907976932669b8 883s 1..5 883s # Start of gdbus tests 883s # Start of auth tests 883s # Start of client tests 883s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_NMCRK2/gdbus/auth/client/EXTERNAL/.dirs/home 883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_NMCRK2/gdbus/auth/client/EXTERNAL/.dirs/cache 883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_NMCRK2/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_NMCRK2/gdbus/auth/client/EXTERNAL/.dirs/system-config2 883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_NMCRK2/gdbus/auth/client/EXTERNAL/.dirs/config 883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_NMCRK2/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_NMCRK2/gdbus/auth/client/EXTERNAL/.dirs/system-data2 883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_NMCRK2/gdbus/auth/client/EXTERNAL/.dirs/data 883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_NMCRK2/gdbus/auth/client/EXTERNAL/.dirs/state 883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_NMCRK2/gdbus/auth/client/EXTERNAL/.dirs/runtime 883s ok 1 /gdbus/auth/client/EXTERNAL 883s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_NMCRK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_NMCRK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_NMCRK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_NMCRK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_NMCRK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_NMCRK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_NMCRK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_NMCRK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_NMCRK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_NMCRK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 883s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 883s # End of client tests 883s # Start of server tests 883s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_NMCRK2/gdbus/auth/server/ANONYMOUS/.dirs/home 883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_NMCRK2/gdbus/auth/server/ANONYMOUS/.dirs/cache 883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_NMCRK2/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_NMCRK2/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_NMCRK2/gdbus/auth/server/ANONYMOUS/.dirs/config 883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_NMCRK2/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_NMCRK2/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_NMCRK2/gdbus/auth/server/ANONYMOUS/.dirs/data 883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_NMCRK2/gdbus/auth/server/ANONYMOUS/.dirs/state 883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_NMCRK2/gdbus/auth/server/ANONYMOUS/.dirs/runtime 883s ok 3 /gdbus/auth/server/ANONYMOUS 883s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_NMCRK2/gdbus/auth/server/EXTERNAL/.dirs/home 883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_NMCRK2/gdbus/auth/server/EXTERNAL/.dirs/cache 883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_NMCRK2/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_NMCRK2/gdbus/auth/server/EXTERNAL/.dirs/system-config2 883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_NMCRK2/gdbus/auth/server/EXTERNAL/.dirs/config 883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_NMCRK2/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_NMCRK2/gdbus/auth/server/EXTERNAL/.dirs/system-data2 883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_NMCRK2/gdbus/auth/server/EXTERNAL/.dirs/data 883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_NMCRK2/gdbus/auth/server/EXTERNAL/.dirs/state 883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_NMCRK2/gdbus/auth/server/EXTERNAL/.dirs/runtime 883s ok 4 /gdbus/auth/server/EXTERNAL 883s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_NMCRK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_NMCRK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_NMCRK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_NMCRK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_NMCRK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_NMCRK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_NMCRK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_NMCRK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_NMCRK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_NMCRK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 883s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 883s # End of server tests 883s # End of auth tests 883s # End of gdbus tests 883s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 883s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 883s ok - glib/gdbus-auth.test 883s # Running test: glib/type-flags.test 883s TAP version 13 883s # random seed: R02S13719324edf2986711a5a16c98a5d094 883s 1..4 883s # Start of type tests 883s # Start of flags tests 883s ok 1 /type/flags/interface 883s ok 2 /type/flags/final 883s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 883s ok 3 /type/flags/deprecated 883s # Start of final tests 883s ok 4 /type/flags/final/instance-check 883s # End of final tests 883s # End of flags tests 883s # End of type tests 883s ok - glib/type-flags.test 883s # Running test: glib/actions.test 883s TAP version 13 883s # random seed: R02S870eb7d5a4763a8b23a48c6fdb5fe4f2 883s 1..12 883s # Start of actions tests 883s ok 1 /actions/basic 883s ok 2 /actions/name 883s ok 3 /actions/simplegroup 883s ok 4 /actions/stateful 883s ok 5 /actions/default-activate 883s ok 6 /actions/entries 883s ok 7 /actions/parse-detailed 883s ok 8 /actions/property 883s ok 9 /actions/no-properties 883s # Start of dbus tests 883s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 883s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 883s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 883s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 883s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 883s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 883s ok 10 /actions/dbus/export 883s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 883s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 883s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 883s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 883s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 883s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 883s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 885s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 885s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 885s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 885s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 885s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 885s ok 11 /actions/dbus/threaded 885s # slow test /actions/dbus/threaded executed in 1.92 secs 885s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 885s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 885s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 885s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 885s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 885s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 885s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 885s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 885s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 885s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 885s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 885s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 885s ok 12 /actions/dbus/bug679509 885s # End of dbus tests 885s # End of actions tests 885s ok - glib/actions.test 885s # Running test: glib/cxx-2b.test 885s TAP version 13 885s # random seed: R02Sd20988f40c5607ebd8db95e0939be37b 885s 1..2 885s # Start of gtask tests 885s # 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. 885s ok 1 /gtask/name 885s # Start of name tests 885s # 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. 885s ok 2 /gtask/name/macro-wrapper 885s # End of name tests 885s # End of gtask tests 885s ok - glib/cxx-2b.test 885s # Running test: glib/basic-signals.test 885s TAP version 13 885s # random seed: R02S2774c7f81d01f7c2eedd640b29ea555e 885s 1..1 885s # Start of gobject tests 885s ok 1 /gobject/basic-signals 885s # End of gobject tests 885s ok - glib/basic-signals.test 885s # Running test: glib/atomic.test 885s TAP version 13 885s # random seed: R02Sfbb86d5bd36bb1a086bdc4908eb07cfd 885s 1..2 885s # Start of atomic tests 885s ok 1 /atomic/types 885s ok 2 /atomic/threaded 885s # End of atomic tests 885s ok - glib/atomic.test 885s # Running test: glib/macros.test 885s TAP version 13 885s # random seed: R02S28bcb4264498c76a9ffa37f72ecce6af 885s 1..3 885s # Start of alignof tests 885s ok 1 /alignof/fallback 885s # End of alignof tests 885s # Start of assert tests 885s ok 2 /assert/static 885s # End of assert tests 885s # Start of struct tests 885s ok 3 /struct/sizeof_member 885s # End of struct tests 885s ok - glib/macros.test 885s # Running test: glib/node.test 885s TAP version 13 885s # random seed: R02S6f7aef775d5e537fe3f2274ad1b12d19 885s 1..6 885s # Start of node tests 885s ok 1 /node/allocation 885s ok 2 /node/construction 885s ok 3 /node/traversal 885s ok 4 /node/misc 885s ok 5 /node/unlink 885s ok 6 /node/copy 885s # End of node tests 885s ok - glib/node.test 885s # Running test: glib/pathbuf.test 885s TAP version 13 885s # random seed: R02S7bab0bf20469d51ab1d616f2afe154d3 885s 1..3 885s # Start of pathbuf tests 885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_7QWWK2/pathbuf/init/.dirs/home 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_7QWWK2/pathbuf/init/.dirs/cache 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_7QWWK2/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_7QWWK2/pathbuf/init/.dirs/system-config2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_7QWWK2/pathbuf/init/.dirs/config 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_7QWWK2/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_7QWWK2/pathbuf/init/.dirs/system-data2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_7QWWK2/pathbuf/init/.dirs/data 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_7QWWK2/pathbuf/init/.dirs/state 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_7QWWK2/pathbuf/init/.dirs/runtime 885s # Initializing empty path buf 885s # Initializing with empty path 885s # Initializing with full path 885s # Initializing with no path 885s # Allocating GPathBuf on the heap 885s ok 1 /pathbuf/init 885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_7QWWK2/pathbuf/push-pop/.dirs/home 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_7QWWK2/pathbuf/push-pop/.dirs/cache 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_7QWWK2/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_7QWWK2/pathbuf/push-pop/.dirs/system-config2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_7QWWK2/pathbuf/push-pop/.dirs/config 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_7QWWK2/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_7QWWK2/pathbuf/push-pop/.dirs/system-data2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_7QWWK2/pathbuf/push-pop/.dirs/data 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_7QWWK2/pathbuf/push-pop/.dirs/state 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_7QWWK2/pathbuf/push-pop/.dirs/runtime 885s # Pushing relative path component 885s # Pushing absolute path component 885s # Popping a path component 885s # Can't pop the last element of a path buffer 885s ok 2 /pathbuf/push-pop 885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_7QWWK2/pathbuf/filename-extension/.dirs/home 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_7QWWK2/pathbuf/filename-extension/.dirs/cache 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_7QWWK2/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_7QWWK2/pathbuf/filename-extension/.dirs/system-config2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_7QWWK2/pathbuf/filename-extension/.dirs/config 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_7QWWK2/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_7QWWK2/pathbuf/filename-extension/.dirs/system-data2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_7QWWK2/pathbuf/filename-extension/.dirs/data 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_7QWWK2/pathbuf/filename-extension/.dirs/state 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_7QWWK2/pathbuf/filename-extension/.dirs/runtime 885s ok 3 /pathbuf/filename-extension 885s # End of pathbuf tests 885s ok - glib/pathbuf.test 885s # Running test: glib/rec-mutex.test 885s TAP version 13 885s # random seed: R02S506dd4c42a1d90e33a967da798cf7be4 885s 1..29 885s # Start of thread tests 885s ok 1 /thread/rec-mutex1 885s ok 2 /thread/rec-mutex2 885s ok 3 /thread/rec-mutex3 885s ok 4 /thread/rec-mutex4 885s # Start of rec-mutex tests 885s # Start of perf tests 885s # Start of uncontended tests 885s # max perf: 1.000000 mips 885s ok 5 /thread/rec-mutex/perf/uncontended/depth1 885s # max perf: 1.000000 mips 885s ok 6 /thread/rec-mutex/perf/uncontended/depth2 885s # max perf: 0.029412 mips 885s ok 7 /thread/rec-mutex/perf/uncontended/depth3 885s # max perf: inf mips 885s ok 8 /thread/rec-mutex/perf/uncontended/depth4 885s # max perf: 0.029412 mips 885s ok 9 /thread/rec-mutex/perf/uncontended/depth5 885s # End of uncontended tests 885s # Start of contended1 tests 885s # max perf: inf mips 885s ok 10 /thread/rec-mutex/perf/contended1/depth1 885s # max perf: inf mips 885s ok 11 /thread/rec-mutex/perf/contended1/depth2 885s # max perf: 2.000000 mips 885s ok 12 /thread/rec-mutex/perf/contended1/depth3 885s # max perf: 2.000000 mips 885s ok 13 /thread/rec-mutex/perf/contended1/depth4 885s # max perf: 2.000000 mips 885s ok 14 /thread/rec-mutex/perf/contended1/depth5 885s # End of contended1 tests 885s # Start of contended2 tests 885s # max perf: inf mips 885s ok 15 /thread/rec-mutex/perf/contended2/depth1 885s # max perf: 3.000000 mips 885s ok 16 /thread/rec-mutex/perf/contended2/depth2 885s # max perf: 3.000000 mips 885s ok 17 /thread/rec-mutex/perf/contended2/depth3 885s # max perf: inf mips 885s ok 18 /thread/rec-mutex/perf/contended2/depth4 885s # max perf: 3.000000 mips 885s ok 19 /thread/rec-mutex/perf/contended2/depth5 885s # End of contended2 tests 885s # Start of contended3 tests 885s # max perf: 4.000000 mips 885s ok 20 /thread/rec-mutex/perf/contended3/depth1 885s # max perf: 4.000000 mips 885s ok 21 /thread/rec-mutex/perf/contended3/depth2 885s # max perf: 4.000000 mips 885s ok 22 /thread/rec-mutex/perf/contended3/depth3 885s # max perf: 4.000000 mips 885s ok 23 /thread/rec-mutex/perf/contended3/depth4 885s # max perf: 2.000000 mips 885s ok 24 /thread/rec-mutex/perf/contended3/depth5 885s # End of contended3 tests 885s # Start of contended4 tests 885s # max perf: inf mips 885s ok 25 /thread/rec-mutex/perf/contended4/depth1 885s # max perf: 5.000000 mips 885s ok 26 /thread/rec-mutex/perf/contended4/depth2 885s # max perf: 5.000000 mips 885s ok 27 /thread/rec-mutex/perf/contended4/depth3 885s # max perf: 2.500000 mips 885s ok 28 /thread/rec-mutex/perf/contended4/depth4 885s # max perf: 2.500000 mips 885s ok 29 /thread/rec-mutex/perf/contended4/depth5 885s # End of contended4 tests 885s # End of perf tests 885s # End of rec-mutex tests 885s # End of thread tests 885s ok - glib/rec-mutex.test 885s # Running test: glib/pattern.test 885s TAP version 13 885s # random seed: R02S37dcaca90f171f459ccd1a25f6ea8638 885s 1..90 885s # Start of pattern tests 885s # Start of compile tests 885s ok 1 /pattern/compile/0 885s ok 2 /pattern/compile/1 885s ok 3 /pattern/compile/2 885s ok 4 /pattern/compile/3 885s ok 5 /pattern/compile/4 885s ok 6 /pattern/compile/5 885s ok 7 /pattern/compile/6 885s ok 8 /pattern/compile/7 885s ok 9 /pattern/compile/8 885s ok 10 /pattern/compile/9 885s ok 11 /pattern/compile/10 885s ok 12 /pattern/compile/11 885s ok 13 /pattern/compile/12 885s ok 14 /pattern/compile/13 885s # End of compile tests 885s # Start of copy tests 885s ok 15 /pattern/copy/0 885s ok 16 /pattern/copy/1 885s ok 17 /pattern/copy/2 885s ok 18 /pattern/copy/3 885s ok 19 /pattern/copy/4 885s ok 20 /pattern/copy/5 885s ok 21 /pattern/copy/6 885s ok 22 /pattern/copy/7 885s ok 23 /pattern/copy/8 885s ok 24 /pattern/copy/9 885s ok 25 /pattern/copy/10 885s ok 26 /pattern/copy/11 885s ok 27 /pattern/copy/12 885s ok 28 /pattern/copy/13 885s # End of copy tests 885s # Start of match tests 885s ok 29 /pattern/match/0 885s ok 30 /pattern/match/1 885s ok 31 /pattern/match/2 885s ok 32 /pattern/match/3 885s ok 33 /pattern/match/4 885s ok 34 /pattern/match/5 885s ok 35 /pattern/match/6 885s ok 36 /pattern/match/7 885s ok 37 /pattern/match/8 885s ok 38 /pattern/match/9 885s ok 39 /pattern/match/10 885s ok 40 /pattern/match/11 885s ok 41 /pattern/match/12 885s ok 42 /pattern/match/13 885s ok 43 /pattern/match/14 885s ok 44 /pattern/match/15 885s ok 45 /pattern/match/16 885s ok 46 /pattern/match/17 885s ok 47 /pattern/match/18 885s ok 48 /pattern/match/19 885s ok 49 /pattern/match/20 885s ok 50 /pattern/match/21 885s ok 51 /pattern/match/22 885s ok 52 /pattern/match/23 885s ok 53 /pattern/match/24 885s ok 54 /pattern/match/25 885s ok 55 /pattern/match/26 885s ok 56 /pattern/match/27 885s ok 57 /pattern/match/28 885s ok 58 /pattern/match/29 885s ok 59 /pattern/match/30 885s ok 60 /pattern/match/31 885s ok 61 /pattern/match/32 885s ok 62 /pattern/match/33 885s ok 63 /pattern/match/34 885s ok 64 /pattern/match/35 885s ok 65 /pattern/match/36 885s ok 66 /pattern/match/37 885s ok 67 /pattern/match/38 885s ok 68 /pattern/match/39 885s ok 69 /pattern/match/40 885s ok 70 /pattern/match/41 885s ok 71 /pattern/match/42 885s ok 72 /pattern/match/43 885s ok 73 /pattern/match/44 885s ok 74 /pattern/match/45 885s ok 75 /pattern/match/46 885s ok 76 /pattern/match/47 885s ok 77 /pattern/match/48 885s ok 78 /pattern/match/49 885s ok 79 /pattern/match/50 885s # End of match tests 885s # Start of equal tests 885s ok 80 /pattern/equal/0 885s ok 81 /pattern/equal/1 885s ok 82 /pattern/equal/2 885s ok 83 /pattern/equal/3 885s ok 84 /pattern/equal/4 885s ok 85 /pattern/equal/5 885s ok 86 /pattern/equal/6 885s ok 87 /pattern/equal/7 885s ok 88 /pattern/equal/8 885s ok 89 /pattern/equal/9 885s ok 90 /pattern/equal/10 885s # End of equal tests 885s # End of pattern tests 885s ok - glib/pattern.test 885s # Running test: glib/properties.test 885s TAP version 13 885s # random seed: R02S7ab50818dd0b34224143a16734c29613 885s 1..13 885s # Start of properties tests 885s ok 1 /properties/install 885s ok 2 /properties/install-many 885s ok 3 /properties/notify 885s ok 4 /properties/notify-queue 885s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 885s ok 5 /properties/construct 885s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 885s # Test g_object_get_property with an initialized value 885s # Test g_object_get_property with an uninitialized value 885s # Test g_object_get_property with a transformable value 885s ok 6 /properties/get-property 885s ok 7 /properties/testv_with_no_properties 885s ok 8 /properties/testv_with_valid_properties 885s ok 9 /properties/testv_with_invalid_property_type 885s ok 10 /properties/testv_with_invalid_property_names 885s ok 11 /properties/testv_getv 885s ok 12 /properties/testv_notify_queue 885s # Start of set-property tests 885s # Start of variant tests 885s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 885s ok 13 /properties/set-property/variant/floating 885s # End of variant tests 885s # End of set-property tests 885s # End of properties tests 885s ok - glib/properties.test 885s # Running test: glib/include.test 885s TAP version 13 885s # random seed: R02S2332b05c7dd2d2ef336745e2666cc704 885s 1..1 885s # Start of include tests 885s ok 1 /include/rwlock 885s # End of include tests 885s ok - glib/include.test 885s # Running test: glib/module-test-library.test 885s TAP version 13 885s # random seed: R02S149bfcffec6cf2d08e2dfd9995106220 885s 1..2 885s # Start of module tests 885s ok 1 /module/basics 885s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 885s ok 2 /module/invalid-libtool-archive 885s # End of module tests 885s ok - glib/module-test-library.test 885s # Running test: glib/atomic-c-11.test 885s TAP version 13 885s # random seed: R02S9beaf7adc2acb45c688a069658a2551f 885s 1..2 885s # Start of atomic tests 885s ok 1 /atomic/types 885s ok 2 /atomic/threaded 885s # End of atomic tests 885s ok - glib/atomic-c-11.test 885s # Running test: glib/g-file.test 885s TAP version 13 885s # random seed: R02S12e02b1ff5d14ad5573b25c1d5c529e7 885s 1..8 885s # Start of g-file tests 885s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 885s ok 1 /g-file/test_g_file_new_null 885s ok 2 /g-file/test_g_file_new_for_path 885s ok 3 /g-file/test_g_file_new_for_uri 885s ok 4 /g-file/test_g_file_dup 885s ok 5 /g-file/test_g_file_get_parse_name_utf8 885s file:///tmp/test-tmp-glib_g-file.test-JYZ2K2 885s file:///tmp 885s file:///tmp 885s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 885s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 885s ok 6 /g-file/test_g_file_new_for_commandline_arg 885s /dir1 /dir1/dir2/dir3/ 885s /dir1/ /dir1/dir2/dir3/ 885s /dir1 /dir1/dir2/dir3 885s /dir1/ /dir1/dir2/dir3 885s /tmp/ /something/ 885s /dir1/dir2 /dir1/ 885s //dir1/new //dir1/new/dir2/dir3 885s /dir/UTF-8 p??li? ?lu?ou?k? k?? /dir/UTF-8 p??li? ?lu?ou?k? k??/dir2 885s file:///dir1 file:///dir1/dir2/dir3/ 885s file:///dir1/ file:///dir1/dir2/dir3/ 885s file:///dir1 file:///dir1/dir2/dir3 885s file:///dir1/ file:///dir1/dir2/dir3 885s file:///tmp/ file:///something/ 885s file:///dir1/dir2 file:///dir1/ 885s file:////dir1/new file:////dir1/new/dir2/dir3 885s 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 885s ok 7 /g-file/test_g_file_has_prefix 885s ok 8 /g-file/test_g_file_get_parent_child 885s # End of g-file tests 885s ok - glib/g-file.test 885s # Running test: glib/overflow.test 885s TAP version 13 885s # random seed: R02S24def01ccebbe18c6728f00eabd26e24 885s 1..6 885s # Start of glib tests 885s # Start of checked-math tests 885s ok 1 /glib/checked-math/guint-add 885s ok 2 /glib/checked-math/guint-mul 885s ok 3 /glib/checked-math/guint64-add 885s ok 4 /glib/checked-math/guint64-mul 885s ok 5 /glib/checked-math/gsize-add 885s ok 6 /glib/checked-math/gsize-mul 885s # End of checked-math tests 885s # End of glib tests 885s ok - glib/overflow.test 885s # Running test: glib/gdatetime.test 885s TAP version 13 885s # random seed: R02Sd648f30e8ffd09bf01c832027d1edcf3 885s 1..68 885s # Start of GDateTime tests 885s # Bug Reference: http://bugzilla.gnome.org/702674 885s ok 1 /GDateTime/invalid 885s ok 2 /GDateTime/add_days 885s ok 3 /GDateTime/add_full 885s ok 4 /GDateTime/add_hours 885s ok 5 /GDateTime/add_minutes 885s ok 6 /GDateTime/add_months 885s ok 7 /GDateTime/add_seconds 885s ok 8 /GDateTime/add_weeks 885s ok 9 /GDateTime/add_years 885s ok 10 /GDateTime/compare 885s ok 11 /GDateTime/diff 885s ok 12 /GDateTime/equal 885s ok 13 /GDateTime/get_day_of_week 885s ok 14 /GDateTime/get_day_of_month 885s ok 15 /GDateTime/get_day_of_year 885s ok 16 /GDateTime/get_hour 885s ok 17 /GDateTime/get_microsecond 885s ok 18 /GDateTime/get_minute 885s ok 19 /GDateTime/get_month 885s ok 20 /GDateTime/get_second 885s ok 21 /GDateTime/get_utc_offset 885s ok 22 /GDateTime/get_year 885s ok 23 /GDateTime/hash 885s ok 24 /GDateTime/new_from_unix 885s ok 25 /GDateTime/new_from_unix_utc 885s ok 26 /GDateTime/new_from_timeval 885s ok 27 /GDateTime/new_from_timeval_utc 885s ok 28 /GDateTime/new_from_iso8601 885s ok 29 /GDateTime/new_full 885s ok 30 /GDateTime/now 885s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 885s ok 31 /GDateTime/test-6-days-until-end-of-the-month 885s # %a -> expected: Sat 885s # %a -> actual: Sat 885s # %A -> expected: Saturday 885s # %A -> actual: Saturday 885s # %b -> expected: Oct 885s # %b -> actual: Oct 885s # %B -> expected: October 885s # %B -> actual: October 885s # %d -> expected: 24 885s # %d -> actual: 24 885s # %d -> expected: 01 885s # %d -> actual: 01 885s # %e -> expected: 24 885s # %e -> actual: 24 885s # %e -> expected:  1 885s # %e -> actual:  1 885s # %f -> expected: 001000 885s # %f -> actual: 001000 885s # %h -> expected: Oct 885s # %h -> actual: Oct 885s # %H -> expected: 00 885s # %H -> actual: 00 885s # %H -> expected: 15 885s # %H -> actual: 15 885s # %I -> expected: 12 885s # %I -> actual: 12 885s # %I -> expected: 12 885s # %I -> actual: 12 885s # %I -> expected: 03 885s # %I -> actual: 03 885s # %j -> expected: 297 885s # %j -> actual: 297 885s # %k -> expected:  0 885s # %k -> actual:  0 885s # %k -> expected: 13 885s # %k -> actual: 13 885s # %l -> expected: 12 885s # %l -> actual: 12 885s # %I -> expected: 12 885s # %I -> actual: 12 885s # %l -> expected:  1 885s # %l -> actual:  1 885s # %l -> expected: 10 885s # %l -> actual: 10 885s # %m -> expected: 10 885s # %m -> actual: 10 885s # %M -> expected: 00 885s # %M -> actual: 00 885s # %p -> expected: AM 885s # %p -> actual: AM 885s # %p -> expected: PM 885s # %p -> actual: PM 885s # %P -> expected: am 885s # %P -> actual: am 885s # %P -> expected: pm 885s # %P -> actual: pm 885s # %r -> expected: 12:00:00 AM 885s # %r -> actual: 12:00:00 AM 885s # %r -> expected: 01:13:13 PM 885s # %r -> actual: 01:13:13 PM 885s # %R -> expected: 00:00 885s # %R -> actual: 00:00 885s # %R -> expected: 13:13 885s # %R -> actual: 13:13 885s # %S -> expected: 00 885s # %S -> actual: 00 885s # %t -> expected: 885s # %t -> actual: 885s # %u -> expected: 6 885s # %u -> actual: 6 885s # %x -> expected: 10/24/09 885s # %x -> actual: 10/24/09 885s # %X -> expected: 00:00:00 885s # %X -> actual: 00:00:00 885s # %X -> expected: 13:14:15 885s # %X -> actual: 13:14:15 885s # %y -> expected: 09 885s # %y -> actual: 09 885s # %Y -> expected: 2009 885s # %Y -> actual: 2009 885s # %% -> expected: % 885s # %% -> actual: % 885s # % -> expected: 885s # % -> actual: 885s # %9 -> expected: (null) 885s # %9 -> actual: (null) 885s # %Z -> expected: UTC 885s # %Z -> actual: UTC 885s ok 32 /GDateTime/printf 885s # %a -> expected: 885s # %a -> actual: 885s # %A -> expected: 885s # %A -> actual: 885s # %b -> expected: 10 885s # %b -> actual: 10 885s # %B -> expected: 10 885s # %B -> actual: 10 885s # %c -> expected: 2009ǯ1024 0000ʬ00 885s # %c -> actual: 2009ǯ1024 0000ʬ00 885s # %C -> expected: 20 885s # %C -> actual: 20 885s # %d -> expected: 24 885s # %d -> actual: 24 885s # %d -> expected: 01 885s # %d -> actual: 01 885s # %e -> expected: 24 885s # %e -> actual: 24 885s # %h -> expected: 10 885s # %h -> actual: 10 885s # %H -> expected: 00 885s # %H -> actual: 00 885s # %H -> expected: 15 885s # %H -> actual: 15 885s # %I -> expected: 12 885s # %I -> actual: 12 885s # %I -> expected: 12 885s # %I -> actual: 12 885s # %I -> expected: 03 885s # %I -> actual: 03 885s # %j -> expected: 297 885s # %j -> actual: 297 885s # %k -> expected: ?0 885s # %k -> actual: ?0 885s # %k -> expected: 13 885s # %k -> actual: 13 885s # %l -> expected: 12 885s # %l -> actual: 12 885s # %I -> expected: 12 885s # %I -> actual: 12 885s # %l -> expected: ?1 885s # %l -> actual: ?1 885s # %l -> expected: 10 885s # %l -> actual: 10 885s # %m -> expected: 10 885s # %m -> actual: 10 885s # %M -> expected: 00 885s # %M -> actual: 00 885s # %p -> expected: 885s # %p -> actual: 885s # %p -> expected: 885s # %p -> actual: 885s # %P -> expected: 885s # %P -> actual: 885s # %P -> expected: 885s # %P -> actual: 885s # %r -> expected: 1200ʬ00 885s # %r -> actual: 1200ʬ00 885s # %r -> expected: 0113ʬ13 885s # %r -> actual: 0113ʬ13 885s # %R -> expected: 00:00 885s # %R -> actual: 00:00 885s # %R -> expected: 13:13 885s # %R -> actual: 13:13 885s # %S -> expected: 00 885s # %S -> actual: 00 885s # %t -> expected: 885s # %t -> actual: 885s # %u -> expected: 6 885s # %u -> actual: 6 885s # %x -> expected: 2009ǯ1024 885s # %x -> actual: 2009ǯ1024 885s # %X -> expected: 0000ʬ00 885s # %X -> actual: 0000ʬ00 885s # %X -> expected: 1314ʬ15 885s # %X -> actual: 1314ʬ15 885s # %y -> expected: 09 885s # %y -> actual: 09 885s # %Y -> expected: 2009 885s # %Y -> actual: 2009 885s # %% -> expected: % 885s # %% -> actual: % 885s # % -> expected: 885s # % -> actual: 885s # %9 -> expected: (null) 885s # %9 -> actual: (null) 885s # %Ec -> expected: ʿ21ǯ1024 0000ʬ00 885s # %Ec -> actual: ʿ21ǯ1024 0000ʬ00 885s # %EC -> expected: ʿ 885s # %EC -> actual: ʿ 885s # %Ex -> expected: ʿ21ǯ1024 885s # %Ex -> actual: ʿ21ǯ1024 885s # %EX -> expected: 0000ʬ00 885s # %EX -> actual: 0000ʬ00 885s # %Ey -> expected: 21 885s # %Ey -> actual: 21 885s # %EY -> expected: ʿ21ǯ 885s # %EY -> actual: ʿ21ǯ 885s ok 33 /GDateTime/non_utf8_printf 885s # ???? -> expected: ???? 885s # ???? -> actual: ???? 885s # %H?%M -> expected: 23?15 885s # %H?%M -> actual: 23?15 885s # %H?%M -> expected: 23?15 885s # %H?%M -> actual: 23?15 885s ok 34 /GDateTime/format_unrepresentable 885s ok 35 /GDateTime/format_iso8601 886s # Executing: glib/gdatetime.test 886s ok 36 /GDateTime/strftime 886s # %d -> expected: 01 886s # %d -> actual: 01 886s # %_d -> expected: 1 886s # %_d -> actual: 1 886s # %-d -> expected: 1 886s # %-d -> actual: 1 886s # %0d -> expected: 01 886s # %0d -> actual: 01 886s # %d -> expected: 21 886s # %d -> actual: 21 886s # %_d -> expected: 21 886s # %_d -> actual: 21 886s # %-d -> expected: 21 886s # %-d -> actual: 21 886s # %0d -> expected: 21 886s # %0d -> actual: 21 886s # %e -> expected:  1 886s # %e -> actual:  1 886s # %_e -> expected: 1 886s # %_e -> actual: 1 886s # %-e -> expected: 1 886s # %-e -> actual: 1 886s # %0e -> expected: 01 886s # %0e -> actual: 01 886s # %e -> expected: 21 886s # %e -> actual: 21 886s # %_e -> expected: 21 886s # %_e -> actual: 21 886s # %-e -> expected: 21 886s # %-e -> actual: 21 886s # %0e -> expected: 21 886s # %0e -> actual: 21 886s # %a -> expected: Thu 886s # %a -> actual: Thu 886s # %^a -> expected: THU 886s # %^a -> actual: THU 886s # %#a -> expected: THU 886s # %#a -> actual: THU 886s # %A -> expected: Thursday 886s # %A -> actual: Thursday 886s # %^A -> expected: THURSDAY 886s # %^A -> actual: THURSDAY 886s # %#A -> expected: THURSDAY 886s # %#A -> actual: THURSDAY 886s # %b -> expected: Jan 886s # %b -> actual: Jan 886s # %^b -> expected: JAN 886s # %^b -> actual: JAN 886s # %#b -> expected: JAN 886s # %#b -> actual: JAN 886s # %B -> expected: January 886s # %B -> actual: January 886s # %^B -> expected: JANUARY 886s # %^B -> actual: JANUARY 886s # %#B -> expected: JANUARY 886s # %#B -> actual: JANUARY 886s # %h -> expected: Jan 886s # %h -> actual: Jan 886s # %^h -> expected: JAN 886s # %^h -> actual: JAN 886s # %#h -> expected: JAN 886s # %#h -> actual: JAN 886s # %Z -> expected: UTC 886s # %Z -> actual: UTC 886s # %^Z -> expected: UTC 886s # %^Z -> actual: UTC 886s # %#Z -> expected: utc 886s # %#Z -> actual: utc 886s # %H -> expected: 01 886s # %H -> actual: 01 886s # %_H -> expected: 1 886s # %_H -> actual: 1 886s # %-H -> expected: 1 886s # %-H -> actual: 1 886s # %0H -> expected: 01 886s # %0H -> actual: 01 886s # %H -> expected: 21 886s # %H -> actual: 21 886s # %_H -> expected: 21 886s # %_H -> actual: 21 886s # %-H -> expected: 21 886s # %-H -> actual: 21 886s # %0H -> expected: 21 886s # %0H -> actual: 21 886s # %I -> expected: 01 886s # %I -> actual: 01 886s # %_I -> expected: 1 886s # %_I -> actual: 1 886s # %-I -> expected: 1 886s # %-I -> actual: 1 886s # %0I -> expected: 01 886s # %0I -> actual: 01 886s # %I -> expected: 11 886s # %I -> actual: 11 886s # %_I -> expected: 11 886s # %_I -> actual: 11 886s # %-I -> expected: 11 886s # %-I -> actual: 11 886s # %0I -> expected: 11 886s # %0I -> actual: 11 886s # %k -> expected:  1 886s # %k -> actual:  1 886s # %_k -> expected: 1 886s # %_k -> actual: 1 886s # %-k -> expected: 1 886s # %-k -> actual: 1 886s # %0k -> expected: 01 886s # %0k -> actual: 01 886s # %l -> expected:  1 886s # %l -> actual:  1 886s # %_l -> expected: 1 886s # %_l -> actual: 1 886s # %-l -> expected: 1 886s # %-l -> actual: 1 886s # %0l -> expected: 01 886s # %0l -> actual: 01 886s # %l -> expected: 11 886s # %l -> actual: 11 886s # %_l -> expected: 11 886s # %_l -> actual: 11 886s # %-l -> expected: 11 886s # %-l -> actual: 11 886s # %0l -> expected: 11 886s # %0l -> actual: 11 886s # %p -> expected: AM 886s # %p -> actual: AM 886s # %^p -> expected: AM 886s # %^p -> actual: AM 886s # %#p -> expected: am 886s # %#p -> actual: am 886s # %P -> expected: am 886s # %P -> actual: am 886s # %^P -> expected: AM 886s # %^P -> actual: AM 886s # %#P -> expected: am 886s # %#P -> actual: am 886s # %OH -> expected: ۲۳ 886s # %OH -> actual: ۲۳ 886s # %OI -> expected: ۱۱ 886s # %OI -> actual: ۱۱ 886s # %OM -> expected: ۰۰ 886s # %OM -> actual: ۰۰ 886s # %Om -> expected: ۰۷ 886s # %Om -> actual: ۰۷ 886s # %0Om -> expected: ۰۷ 886s # %0Om -> actual: ۰۷ 886s # %-Om -> expected: ۷ 886s # %-Om -> actual: ۷ 886s # %_Om -> expected: ۷ 886s # %_Om -> actual: ۷ 886s # %c -> expected: thu 01 jan 2009 00:00:00 utc 886s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 886s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 886s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 886s # %C -> expected: 20 886s # %C -> actual: 20 886s # %EC -> expected: 20 886s # %EC -> actual: 20 886s # %x -> expected: 02/01/09 886s # %x -> actual: 02/01/09 886s # %Ex -> expected: 02/01/09 886s # %Ex -> actual: 02/01/09 886s # %X -> expected: 01:02:03 886s # %X -> actual: 01:02:03 886s # %EX -> expected: 01:02:03 886s # %EX -> actual: 01:02:03 886s # %y -> expected: 09 886s # %y -> actual: 09 886s # %Ey -> expected: 09 886s # %Ey -> actual: 09 886s # %Y -> expected: 2009 886s # %Y -> actual: 2009 886s # %EY -> expected: 2009 886s # %EY -> actual: 2009 886s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 886s # Bug Reference: http://bugzilla.gnome.org/749206 886s # %B -> expected: January 886s # %B -> actual: January 886s # %OB -> expected: February 886s # %OB -> actual: February 886s # %b -> expected: Mar 886s # %b -> actual: Mar 886s # %Ob -> expected: Apr 886s # %Ob -> actual: Apr 886s # %h -> expected: May 886s # %h -> actual: May 886s # %Oh -> expected: Jun 886s # %Oh -> actual: Jun 886s # %B -> expected: Juli 886s # %B -> actual: Juli 886s # %OB -> expected: August 886s # %OB -> actual: August 886s # %b -> expected: Sep 886s # %b -> actual: Sep 886s # %Ob -> expected: Okt 886s # %Ob -> actual: Okt 886s # %h -> expected: Nov 886s # %h -> actual: Nov 886s # %Oh -> expected: Dez 886s # %Oh -> actual: Dez 886s # %B -> expected: enero 886s # %B -> actual: enero 886s # %OB -> expected: febrero 886s # %OB -> actual: febrero 886s # %b -> expected: mar 886s # %b -> actual: mar 886s # %Ob -> expected: abr 886s # %Ob -> actual: abr 886s # %h -> expected: may 886s # %h -> actual: may 886s # %Oh -> expected: jun 886s # %Oh -> actual: jun 886s # %B -> expected: juillet 886s # %B -> actual: juillet 886s # %OB -> expected: août 886s # %OB -> actual: août 886s # %b -> expected: sept. 886s # %b -> actual: sept. 886s # %Ob -> expected: oct. 886s # %Ob -> actual: oct. 886s # %h -> expected: nov. 886s # %h -> actual: nov. 886s # %Oh -> expected: déc. 886s # %Oh -> actual: déc. 886s # %B -> expected: Ιανουαρίου 886s # %B -> actual: Ιανουαρίου 886s # %B -> expected: Φεβρουαρίου 886s # %B -> actual: Φεβρουαρίου 886s # %B -> expected: Μαρτίου 886s # %B -> actual: Μαρτίου 886s # %OB -> expected: Απρίλιος 886s # %OB -> actual: Απρίλιος 886s # %OB -> expected: Μάιος 886s # %OB -> actual: Μάιος 886s # %OB -> expected: Ιούνιος 886s # %OB -> actual: Ιούνιος 886s # %b -> expected: Ιουλ 886s # %b -> actual: Ιουλ 886s # %Ob -> expected: Αύγ 886s # %Ob -> actual: Αύγ 886s # %B -> expected: svibnja 886s # %B -> actual: svibnja 886s # %B -> expected: lipnja 886s # %B -> actual: lipnja 886s # %B -> expected: srpnja 886s # %B -> actual: srpnja 886s # %OB -> expected: Kolovoz 886s # %OB -> actual: kolovoz 886s # %OB -> expected: Rujan 886s # %OB -> actual: rujan 886s # %OB -> expected: Listopad 886s # %OB -> actual: listopad 886s # %b -> expected: Stu 886s # %b -> actual: stu 886s # %Ob -> expected: Pro 886s # %Ob -> actual: pro 886s # %B -> expected: sausio 886s # %B -> actual: sausio 886s # %B -> expected: vasario 886s # %B -> actual: vasario 886s # %B -> expected: kovo 886s # %B -> actual: kovo 886s # %OB -> expected: balandis 886s # %OB -> actual: balandis 886s # %OB -> expected: gegužė 886s # %OB -> actual: gegužė 886s # %OB -> expected: birželis 886s # %OB -> actual: birželis 886s # %b -> expected: liep. 886s # %b -> actual: liep. 886s # %Ob -> expected: rugp. 886s # %Ob -> actual: rugp. 886s # %B -> expected: maja 886s # %B -> actual: maja 886s # %B -> expected: czerwca 886s # %B -> actual: czerwca 886s # %B -> expected: lipca 886s # %B -> actual: lipca 886s # %OB -> expected: sierpień 886s # %OB -> actual: sierpień 886s # %OB -> expected: wrzesień 886s # %OB -> actual: wrzesień 886s # %OB -> expected: październik 886s # %OB -> actual: październik 886s # %b -> expected: lis 886s # %b -> actual: lis 886s # %Ob -> expected: gru 886s # %Ob -> actual: gru 886s # %B -> expected: января 886s # %B -> actual: января 886s # %B -> expected: февраля 886s # %B -> actual: февраля 886s # %B -> expected: марта 886s # %B -> actual: марта 886s # %OB -> expected: Апрель 886s # %OB -> actual: Апрель 886s # %OB -> expected: Май 886s # %OB -> actual: Май 886s # %OB -> expected: Июнь 886s # %OB -> actual: Июнь 886s # %b -> expected: июл 886s # %b -> actual: июл 886s # %Ob -> expected: авг 886s # %Ob -> actual: авг 886s # %b -> expected: мая 886s # %b -> actual: мая 886s # %Ob -> expected: май 886s # %Ob -> actual: май 886s ok 38 /GDateTime/month_names 886s ok 39 /GDateTime/to_local 886s ok 40 /GDateTime/to_unix 886s ok 41 /GDateTime/to_timeval 886s ok 42 /GDateTime/to_utc 886s ok 43 /GDateTime/now_utc 886s ok 44 /GDateTime/dst 886s # Bug Reference: http://bugzilla.gnome.org/642935 886s ok 45 /GDateTime/test_z 887s ok 46 /GDateTime/test-all-dates 887s # slow test /GDateTime/test-all-dates executed in 1.40 secs 887s ok 47 /GDateTime/unix_usec 887s # Start of new_from_unix tests 887s # Bug Reference: http://bugzilla.gnome.org/782089 887s ok 48 /GDateTime/new_from_unix/overflow 887s # End of new_from_unix tests 887s # Start of new_from_timeval tests 887s # Bug Reference: http://bugzilla.gnome.org/782089 887s # Maximum supported GTimeVal.tv_sec = 253402300799 887s ok 49 /GDateTime/new_from_timeval/overflow 887s # End of new_from_timeval tests 887s # Start of new_from_iso8601 tests 887s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 887s # Vector 0: 1990-11-01T10:21:17Z 887s # Vector 1: 19901101T102117Z 887s # Vector 2: 1970-01-01T00:00:17.12Z 887s # Vector 3: 1970-01-01T00:00:17.1234Z 887s # Vector 4: 1970-01-01T00:00:17.123456Z 887s # Vector 5: 1980-02-22T12:36:00+02:00 887s # Vector 6: 1990-12-31T15:59:60-08:00 887s # Vector 7: 887s # Vector 8: x 887s # Vector 9: 123x 887s # Vector 10: 2001-10+x 887s # Vector 11: 1980-02-22T 887s # Vector 12: 2001-10-08Tx 887s # Vector 13: 2001-10-08T10:11x 887s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 887s # Vector 15: 1980-02-22T10:36:00Zulu 887s # Vector 16: 2T0+819855292164632335 887s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 887s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 887s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 887s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 887s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 887s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 887s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 887s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 887s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 887s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 887s # Vector 27: 20180803T140805.446178377+0100 887s # Vector 28: 21474836480803T140805.446178377+0100 887s # Vector 29: 20181303T140805.446178377+0100 887s # Vector 30: 20180003T140805.446178377+0100 887s # Vector 31: 20180800T140805.446178377+0100 887s # Vector 32: 20180832T140805.446178377+0100 887s # Vector 33: 20180803T240805.446178377+0100 887s # Vector 34: 20180803T146005.446178377+0100 887s # Vector 35: 20180803T140863.446178377+0100 887s # Vector 36: 20180803T140805.446178377+10000 887s # Vector 37: -0005-01-01T00:00:00Z 887s # Vector 38: 2018-08-06 887s # Vector 39: 20180803T140805,446178377+0100 887s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 887s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 887s # Vector 42: 1990-11-01T10:21:17 887s # Vector 43: 1719W462 407777-07 887s # Vector 44: 4011090 260528Z 887s # Vector 45: 0000W011 228214-22 887s ok 50 /GDateTime/new_from_iso8601/2 887s # End of new_from_iso8601 tests 887s # Start of format_mixed tests 887s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 887s # %b -> expected: mar 887s # %b -> actual: Mar 887s # %B -> expected: march 887s # %B -> actual: March 887s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 887s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 887s # %b -> expected: mar 887s # %b -> actual: Mar 887s # %B -> expected: march 887s # %B -> actual: March 887s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 887s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 887s # %b -> expected: Mär 887s # %b -> actual: Mär 887s # %B -> expected: März 887s # %B -> actual: März 887s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 887s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 887s # %b -> expected: Mär 887s # %b -> actual: Mär 887s # %B -> expected: März 887s # %B -> actual: März 887s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 887s # End of format_mixed tests 887s # Start of strftime tests 887s # %r -> expected: (null) 887s # %r -> actual: (null) 887s ok 55 /GDateTime/strftime/error_handling 887s # End of strftime tests 887s # Start of eras tests 887s # %Ec -> expected: 令和05年06月01日 00時00分00秒 887s # %Ec -> actual: 令和05年06月01日 00時00分00秒 887s # %EC -> expected: 令和 887s # %EC -> actual: 令和 887s # %Ex -> expected: 令和05年06月01日 887s # %Ex -> actual: 令和05年06月01日 887s # %EX -> expected: 00時00分00秒 887s # %EX -> actual: 00時00分00秒 887s # %Ey -> expected: 05 887s # %Ey -> actual: 05 887s # %EY -> expected: 令和05年 887s # %EY -> actual: 令和05年 887s # %Ec -> expected: 平成31年04月30日 00時00分00秒 887s # %Ec -> actual: 平成31年04月30日 00時00分00秒 887s # %EC -> expected: 平成 887s # %EC -> actual: 平成 887s # %Ex -> expected: 平成31年04月30日 887s # %Ex -> actual: 平成31年04月30日 887s # %EX -> expected: 00時00分00秒 887s # %EX -> actual: 00時00分00秒 887s # %Ey -> expected: 31 887s # %Ey -> actual: 31 887s # %EY -> expected: 平成31年 887s # %EY -> actual: 平成31年 887s # %Ec -> expected: 昭和元年12月25日 00時00分00秒 887s # %Ec -> actual: 昭和元年12月25日 00時00分00秒 887s # %EC -> expected: 昭和 887s # %EC -> actual: 昭和 887s # %Ex -> expected: 昭和元年12月25日 887s # %Ex -> actual: 昭和元年12月25日 887s # %EX -> expected: 00時00分00秒 887s # %EX -> actual: 00時00分00秒 887s # %Ey -> expected: 01 887s # %Ey -> actual: 01 887s # %EY -> expected: 昭和元年 887s # %EY -> actual: 昭和元年 887s ok 56 /GDateTime/eras/japan 887s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests 887s # Vector 0: 887s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 887s # 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年 887s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Ey年 887s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Ey年 887s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Ey年 887s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Ey年 887s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Ey年 887s # Vector 8: + 887s # Vector 9: +: 887s # Vector 10: +:: 887s # Vector 11: +:200 887s # Vector 12: +:2nonsense 887s # Vector 13: +:2nonsense: 887s # Vector 14: +:2: 887s # Vector 15: +:2:: 887s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Ey年 887s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Ey年 887s # Vector 18: +:2:2020:+*:令和:%EC%Ey年 887s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Ey年 887s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Ey年 887s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Ey年 887s # Vector 22: +:2:2020/01:+*:令和:%EC%Ey年 887s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Ey年 887s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Ey年 887s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Ey年 887s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Ey年 887s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Ey年 887s # Vector 28: +:2:2020/01/01 887s # Vector 29: +:2:2020/01/01: 887s # Vector 30: +:2:2020/01/01:: 887s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Ey年 887s # Vector 32: +:2:2020/01/01:+* 887s # Vector 33: +:2:2020/01/01:+*: 887s # Vector 34: +:2:2020/01/01:+*:: 887s # Vector 35: +:2:2020/01/01:+*:令和 887s # Vector 36: +:2:2020/01/01:+*:令和: 887s # Vector 37: +:2:2020/01/01:+*:令和:; 887s ok 58 /GDateTime/eras/parsing 887s # End of eras tests 887s # End of GDateTime tests 887s # Start of GTimeZone tests 887s ok 59 /GTimeZone/find-interval 887s ok 60 /GTimeZone/adjust-time 887s ok 61 /GTimeZone/no-header 887s ok 62 /GTimeZone/no-header-identifier 887s ok 63 /GTimeZone/posix-parse 887s # Bug Reference: http://bugzilla.gnome.org/697715 887s ok 64 /GTimeZone/floating-point 887s # System time zone identifier: Etc/UTC 887s ok 65 /GTimeZone/identifier 887s # Vector 0: -158400 887s # Vector 1: -10000 887s # Vector 2: -3600 887s # Vector 3: -61 887s # Vector 4: -60 887s # Vector 5: -59 887s # Vector 6: 0 887s # Vector 7: 59 887s # Vector 8: 60 887s # Vector 9: 61 887s # Vector 10: 3600 887s # Vector 11: 10000 887s # Vector 12: 158400 887s ok 66 /GTimeZone/new-offset 887s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 887s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 887s ok 67 /GTimeZone/parse-rfc8536 887s # /GTimeZone/caching summary: GTimeZone instances are cached 887s ok 68 /GTimeZone/caching 887s # End of GTimeZone tests 887s ok - glib/gdatetime.test 887s # Running test: glib/io-channel.test 887s TAP version 13 887s # random seed: R02Sbe6350b02c5041b2a79d89c5219bc6ac 887s 1..2 887s # Start of io-channel tests 887s # Line one 887s # 887s # Line two 887s # 887s # Line three 887s # 887s # /* Hello */ 887s # 887s # \x1234\x567890\x6666 887s # 887s # read 62 bytes, wrote 62 bytes 887s ok 1 /io-channel/read-write 887s # Start of read-line tests 887s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 887s ok 2 /io-channel/read-line/embedded-nuls 887s # End of read-line tests 887s # End of io-channel tests 887s ok - glib/io-channel.test 887s # Running test: glib/signals-refcount3.test 887s TAP version 13 887s # random seed: R02S6ad652b6b88fb366f3cf32ac69568b86 887s 1..1 887s # Start of gobject tests 887s # Start of refcount tests 887s # init 0x6c238bcf420 887s # 887s # init 0x6c238bcf5c0 887s # 891s # Executing: glib/signals-refcount3.test 892s # dispose 0x6c238bcf420! 892s # 892s # dispose 0x6c238bcf5c0! 892s # 892s ok 1 /gobject/refcount/signals 892s # slow test /gobject/refcount/signals executed in 5.00 secs 892s # End of refcount tests 892s # End of gobject tests 892s ok - glib/signals-refcount3.test 892s # Running test: glib/socket-service.test 892s TAP version 13 892s # random seed: R02Sdabeee262929dcc8558308651e855189 892s 1..4 892s # Start of socket-service tests 892s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 892s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1cb50ba5c330 and GSocketClientAsyncConnectData 0x1cb50ba54620 892s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 892s ok 1 /socket-service/start-stop 892s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1cb50ba5de90 and GSocketClientAsyncConnectData 0x1cb50ba5dc30 892s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 892s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 892s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1cb50ba5e3a0 for GSocketClientAsyncConnectData 0x1cb50ba54620 892s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 892s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 892s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 892s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 892s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 892s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1cb50ba5f220 for GSocketClientAsyncConnectData 0x1cb50ba5dc30 892s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 892s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 892s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 892s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 892s ok 2 /socket-service/read_write_async 892s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1cb50ba5df70 and GSocketClientAsyncConnectData 0x1cb50ba5c900 892s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 892s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 892s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1cb50ba60160 for GSocketClientAsyncConnectData 0x1cb50ba5c900 892s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 892s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 892s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 892s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 892s ok 3 /socket-service/read_writev_async 892s # Start of threaded tests 892s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 892s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1cb50ba636f0 and GSocketClientAsyncConnectData 0x1cb50ba54620 892s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 892s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 892s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1cb50ba63870 for GSocketClientAsyncConnectData 0x1cb50ba54620 892s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 892s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 892s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 892s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 892s ok 4 /socket-service/threaded/712570 892s # End of threaded tests 892s # End of socket-service tests 892s ok - glib/socket-service.test 892s # Running test: glib/defaultvalue.test 892s TAP version 13 892s # random seed: R02S6f599ea9d9750b2d7f2c1283b5c055b1 892s 1..84 892s # Start of Default Values tests 892s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 892s ok 2 /Default Values/GAppLaunchContext 892s ok 3 /Default Values/GApplicationCommandLine 892s # skipping GApplication:is-remote 892s ok 4 /Default Values/GApplication 892s ok 5 /Default Values/GBinding # SKIP mandatory construct params 892s ok 6 /Default Values/GBindingGroup 892s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 892s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 892s ok 9 /Default Values/GBytesIcon 892s ok 10 /Default Values/GCancellable 892s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 892s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 892s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 892s ok 14 /Default Values/GCredentials 892s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 892s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 892s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 892s ok 18 /Default Values/GDBusAuthObserver 892s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 892s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 892s ok 21 /Default Values/GDBusMessage 892s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 892s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 892s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 892s ok 25 /Default Values/GDBusObjectProxy 892s ok 26 /Default Values/GDBusObjectSkeleton 892s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 892s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 892s ok 29 /Default Values/GEmblem 892s ok 30 /Default Values/GEmblemedIcon 892s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 892s ok 32 /Default Values/GFileInfo 892s ok 33 /Default Values/GFileInputStream 892s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 892s ok 35 /Default Values/GFileOutputStream 892s ok 36 /Default Values/GFilenameCompleter 892s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 892s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 892s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 892s ok 40 /Default Values/GInitiallyUnowned 892s ok 41 /Default Values/GIOModule 892s ok 42 /Default Values/GListStore 892s ok 43 /Default Values/GMemoryInputStream 892s ok 44 /Default Values/GMemoryOutputStream 892s ok 45 /Default Values/GMenu 892s ok 46 /Default Values/GMenuItem 892s ok 47 /Default Values/GMountOperation 892s ok 48 /Default Values/GNativeSocketAddress 892s ok 49 /Default Values/GNetworkAddress 892s ok 50 /Default Values/GNetworkService 892s ok 51 /Default Values/GNotification 892s ok 52 /Default Values/GObject 892s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 892s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 892s # skipping GProxyAddressEnumerator:proxy-resolver 892s ok 54 /Default Values/GProxyAddressEnumerator 892s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 892s ok 56 /Default Values/GSettings # SKIP mandatory construct params 892s ok 57 /Default Values/GSignalGroup 892s ok 58 /Default Values/GSimpleAction 892s ok 59 /Default Values/GSimpleActionGroup 892s ok 60 /Default Values/GSimpleAsyncResult 892s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 892s ok 62 /Default Values/GSimplePermission 892s ok 63 /Default Values/GSimpleProxyResolver 892s # skipping GSocketClient:proxy-resolver 892s ok 64 /Default Values/GSocketClient 892s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 892s ok 66 /Default Values/GSocket # SKIP initialization failed 892s ok 67 /Default Values/GSocketListener 892s ok 68 /Default Values/GSocketService 892s ok 69 /Default Values/GSubprocess # SKIP initialization failed 892s ok 70 /Default Values/GSubprocessLauncher 892s # GLib-GIO-DEBUG: GTask 0x7089dae5f90 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 892s ok 71 /Default Values/GTask 892s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 892s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 892s ok 74 /Default Values/GTestDBus 892s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 892s ok 76 /Default Values/GThreadedSocketService 892s ok 77 /Default Values/GTlsInteraction 892s ok 78 /Default Values/GTlsPassword 892s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 892s ok 80 /Default Values/GUnixFDList 892s ok 81 /Default Values/GVfs 892s ok 82 /Default Values/GVolumeMonitor 892s ok 83 /Default Values/GZlibCompressor 892s ok 84 /Default Values/GZlibDecompressor 892s # End of Default Values tests 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 892s ok - glib/defaultvalue.test 892s # Running test: glib/testing.test 892s TAP version 13 892s # random seed: R02Se8d251b2de6d56aca53df6a67018bc4b 892s 1..1 892s # Start of assert tests 892s ok 1 /assert/finalize_object 892s # Start of finalize_object tests 892s # Start of subprocess tests 892s # End of subprocess tests 892s # End of finalize_object tests 892s # End of assert tests 892s ok - glib/testing.test 892s # Running test: glib/gvariant.test 892s TAP version 13 892s # random seed: R02Sacdeb630d5d786c4a6d9c826c24fcf13 892s 1..64 892s # Start of gvariant tests 892s ok 1 /gvariant/type 892s ok 2 /gvariant/typeinfo 892s ok 3 /gvariant/string 892s ok 4 /gvariant/utf8 893s ok 5 /gvariant/containers 893s ok 6 /gvariant/format-strings 893s ok 7 /gvariant/invalid-varargs 893s ok 8 /gvariant/varargs 893s ok 9 /gvariant/valist 893s ok 10 /gvariant/builder-memory 893s ok 11 /gvariant/hashing 893s ok 12 /gvariant/byteswap 894s ok 13 /gvariant/parser 894s # slow test /gvariant/parser executed in 1.26 secs 894s ok 14 /gvariant/parse-failures 894s ok 15 /gvariant/parse-positional 894s ok 16 /gvariant/floating 894s ok 17 /gvariant/bytestring 894s ok 18 /gvariant/lookup-value 894s ok 19 /gvariant/lookup 894s ok 20 /gvariant/compare 894s ok 21 /gvariant/equal 894s ok 22 /gvariant/fixed-array 894s ok 23 /gvariant/check-format-string 894s ok 24 /gvariant/checksum-basic 894s ok 25 /gvariant/checksum-nested 894s ok 26 /gvariant/gbytes 894s ok 27 /gvariant/print-context 894s ok 28 /gvariant/error-quark 894s ok 29 /gvariant/stack-builder-init 894s ok 30 /gvariant/stack-dict-init 894s ok 31 /gvariant/unaligned-construction 894s # Start of type tests 894s # Start of string-scan tests 894s # Start of recursion tests 894s ok 32 /gvariant/type/string-scan/recursion/tuple 894s ok 33 /gvariant/type/string-scan/recursion/array 894s # End of recursion tests 894s # End of string-scan tests 894s # End of type tests 894s # Start of serialiser tests 894s ok 34 /gvariant/serialiser/maybe 895s ok 35 /gvariant/serialiser/array 895s ok 36 /gvariant/serialiser/tuple 895s ok 37 /gvariant/serialiser/variant 895s ok 38 /gvariant/serialiser/strings 896s # Executing: glib/gvariant.test 896s ok 39 /gvariant/serialiser/byteswap 896s # slow test /gvariant/serialiser/byteswap executed in 0.91 secs 896s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 896s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 896s ok 40 /gvariant/serialiser/children 896s # Start of fuzz tests 898s ok 41 /gvariant/serialiser/fuzz/1% 898s # slow test /gvariant/serialiser/fuzz/1% executed in 2.18 secs 898s ok 42 /gvariant/serialiser/fuzz/5% 898s # slow test /gvariant/serialiser/fuzz/5% executed in 0.57 secs 899s ok 43 /gvariant/serialiser/fuzz/9% 899s ok 44 /gvariant/serialiser/fuzz/13% 900s ok 45 /gvariant/serialiser/fuzz/17% 900s # slow test /gvariant/serialiser/fuzz/17% executed in 0.83 secs 900s # End of fuzz tests 900s # End of serialiser tests 900s # Start of varargs tests 900s # Start of subprocess tests 900s # End of subprocess tests 900s # End of varargs tests 900s # Start of byteswap tests 900s # /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. 900s ok 46 /gvariant/byteswap/non-normal-non-aligned 900s # End of byteswap tests 900s # Start of parser tests 900s ok 47 /gvariant/parser/integer-bounds 900s ok 48 /gvariant/parser/recursion 900s # Start of recursion tests 900s ok 49 /gvariant/parser/recursion/typedecls 900s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 900s # Text form 0: @mmmu 5 900s # Text form 1: @mmmas ['hello'] 900s # Text form 2: @mmmu just just nothing 900s # Text form 3: @mmmas just just nothing 900s # Text form 4: @mmmu just nothing 900s # Text form 5: @mmmas just nothing 900s # Text form 6: @mmmu nothing 900s # Text form 7: @mmmas nothing 900s ok 50 /gvariant/parser/recursion/maybes 900s # End of recursion tests 900s # End of parser tests 900s # Start of parse tests 900s # Start of subprocess tests 900s # End of subprocess tests 900s # End of parse tests 900s # Start of normal-checking tests 900s ok 51 /gvariant/normal-checking/tuples 900s ok 52 /gvariant/normal-checking/array-offsets 900s ok 53 /gvariant/normal-checking/array-offsets2 900s ok 54 /gvariant/normal-checking/tuple-offsets 900s ok 55 /gvariant/normal-checking/tuple-offsets2 900s ok 56 /gvariant/normal-checking/tuple-offsets3 900s ok 57 /gvariant/normal-checking/tuple-offsets4 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 900s ok 58 /gvariant/normal-checking/tuple-offsets5 900s ok 59 /gvariant/normal-checking/empty-object-path 900s # Start of array-offsets tests 900s ok 60 /gvariant/normal-checking/array-offsets/overlapped 900s ok 61 /gvariant/normal-checking/array-offsets/minimal-sized 900s # End of array-offsets tests 900s # Start of tuple-offsets tests 900s ok 62 /gvariant/normal-checking/tuple-offsets/minimal-sized 900s # End of tuple-offsets tests 900s # End of normal-checking tests 900s # Start of recursion-limits tests 900s ok 63 /gvariant/recursion-limits/variant-in-variant 900s ok 64 /gvariant/recursion-limits/array-in-variant 900s # End of recursion-limits tests 900s # End of gvariant tests 900s ok - glib/gvariant.test 900s # Running test: glib/unix.test 900s TAP version 13 900s # random seed: R02S4809444af69360fb93f34f96960ff994 900s 1..17 900s # Start of glib-unix tests 900s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 900s ok 1 /glib-unix/closefrom 900s ok 2 /glib-unix/pipe 900s # /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 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 900s ok 3 /glib-unix/pipe-stdio-overwrite 900s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 900s ok 4 /glib-unix/pipe-struct 900s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 900s ok 5 /glib-unix/pipe-struct-auto 900s ok 6 /glib-unix/error 900s ok 7 /glib-unix/nonblocking 900s ok 8 /glib-unix/sighup 900s # slow test /glib-unix/sighup executed in 0.50 secs 901s # Executing: glib/unix.test 901s ok 9 /glib-unix/sigterm 901s # slow test /glib-unix/sigterm executed in 0.50 secs 901s ok 10 /glib-unix/sighup_again 901s # slow test /glib-unix/sighup_again executed in 0.50 secs 901s ok 11 /glib-unix/sighup_add_remove 901s ok 12 /glib-unix/sighup_nested 903s ok 13 /glib-unix/callback_after_signal 903s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 904s ok 14 /glib-unix/child-wait 904s # Start of closefrom tests 904s # Start of subprocess tests 904s # End of subprocess tests 904s # End of closefrom tests 904s # Start of pipe tests 904s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 904s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 904s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 904s ok 15 /glib-unix/pipe/fd-cloexec 904s # End of pipe tests 904s # Start of get-passwd-entry tests 904s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 904s ok 16 /glib-unix/get-passwd-entry/root 904s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 904s ok 17 /glib-unix/get-passwd-entry/nonexistent 904s # End of get-passwd-entry tests 904s # End of glib-unix tests 904s ok - glib/unix.test 904s # SUMMARY: total=316; passed=315; skipped=1; failed=0; user=219.0s; system=44.4s; maxrss=176128 904s autopkgtest [01:16:39]: test installed-tests: -----------------------] 918s autopkgtest [01:16:53]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 918s installed-tests PASS 918s autopkgtest [01:16:53]: test closure-refcount: preparing testbed 922s Reading package lists... 922s Building dependency tree... 922s Reading state information... 922s Starting pkgProblemResolver with broken count: 0 923s Starting 2 pkgProblemResolver with broken count: 0 923s Done 923s The following NEW packages will be installed: 923s autopkgtest-satdep 923s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 923s Need to get 0 B/772 B of archives. 923s After this operation, 0 B of additional disk space will be used. 923s Get:1 /tmp/autopkgtest.4l9LOF/4-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [772 B] 923s Selecting previously unselected package autopkgtest-satdep. 923s (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 ... 71554 files and directories currently installed.) 923s Preparing to unpack .../4-autopkgtest-satdep.deb ... 923s Unpacking autopkgtest-satdep (0) ... 923s Setting up autopkgtest-satdep (0) ... 925s (Reading database ... 71554 files and directories currently installed.) 925s Removing autopkgtest-satdep (0) ... 926s autopkgtest [01:17:01]: test closure-refcount: [----------------------- 926s Running test: glib/closure-refcount.test 926s TAP version 13 926s # random seed: R02S1e1a023898b11c310153131278d9df10 926s 1..1 926s # Start of closure tests 926s # Init 0xd40e3f6f0a0 926s # Yielding from main thread 926s # Yielding from main thread 926s # Yielding from main thread 926s # Yielding from thread1 927s # Yielding from thread2 927s # Yielding from main thread 927s # Yielding from main thread 927s # Yielding from main thread 927s # Yielding from main thread 927s # Yielding from thread2 927s # Yielding from thread1 927s # Yielding from main thread 927s # Yielding from main thread 927s # Yielding from main thread 927s # Yielding from main thread 927s # Yielding from thread2 927s # Yielding from thread1 927s # Yielding from main thread 927s # Yielding from main thread 927s # Yielding from main thread 927s # Yielding from main thread 927s # Yielding from thread1 927s # Yielding from thread2 927s # Yielding from main thread 927s # Yielding from main thread 928s # Yielding from main thread 928s # Yielding from main thread 928s # Yielding from thread1 928s # Yielding from thread2 928s # Yielding from main thread 928s # Yielding from main thread 928s # Yielding from main thread 928s # Yielding from thread1 928s # Yielding from thread2 928s # Yielding from main thread 928s # Yielding from main thread 928s # Yielding from main thread 928s # Yielding from main thread 928s # Yielding from thread1 928s # Yielding from thread2 928s # Yielding from main thread 928s # Yielding from main thread 928s # Yielding from main thread 928s # Yielding from main thread 929s # Yielding from thread1 929s # Yielding from thread2 929s # Yielding from main thread 929s # Yielding from main thread 929s # Yielding from main thread 929s # Yielding from main thread 929s # Yielding from thread1 929s # Yielding from thread2 929s # Yielding from main thread 929s # Yielding from main thread 929s # Yielding from main thread 929s # Yielding from main thread 929s # Yielding from thread1 929s # Yielding from thread2 929s # Yielding from main thread 929s # Yielding from main thread 929s # Yielding from main thread 929s # Yielding from main thread 929s # Yielding from thread1 929s # Yielding from thread2 929s # Yielding from main thread 930s # Yielding from main thread 930s # Yielding from main thread 930s # Yielding from thread1 930s # Yielding from main thread 930s # Yielding from thread2 930s # Yielding from main thread 930s # Yielding from main thread 930s # Yielding from main thread 930s # Yielding from thread1 930s # Yielding from main thread 930s # Yielding from thread2 930s # Yielding from main thread 930s # Yielding from main thread 930s # Yielding from main thread 930s # Yielding from thread1 930s # Yielding from thread2 930s # Yielding from main thread 930s # Yielding from main thread 930s # Yielding from main thread 930s # Yielding from main thread 931s # Yielding from thread1 931s # Yielding from thread2 931s # Yielding from main thread 931s # Yielding from main thread 931s # Yielding from main thread 931s # Yielding from main thread 931s # Yielding from thread1 931s # Yielding from thread2 931s # Yielding from main thread 931s # Yielding from main thread 931s # Yielding from main thread 931s # Yielding from thread1 931s # Yielding from main thread 931s # Yielding from thread2 931s # Yielding from main thread 931s # Yielding from main thread 931s # Yielding from main thread 931s # Yielding from thread1 931s # Yielding from main thread 931s # Yielding from thread2 931s # Yielding from main thread 932s # Yielding from main thread 932s # Yielding from main thread 932s # Yielding from thread1 932s # Yielding from thread2 932s # Yielding from main thread 932s # Yielding from main thread 932s # Yielding from main thread 932s # Yielding from main thread 932s # Yielding from thread1 932s Executing: glib/closure-refcount.test 932s # Yielding from thread2 932s # Yielding from main thread 932s # Yielding from main thread 932s # Yielding from main thread 932s # Yielding from main thread 932s # Yielding from thread1 932s # Yielding from thread2 932s # Yielding from main thread 932s # Yielding from main thread 932s # Yielding from main thread 932s # Yielding from main thread 933s # Yielding from thread1 933s # Yielding from thread2 933s # Yielding from main thread 933s # Yielding from main thread 933s # Yielding from main thread 933s # Yielding from main thread 933s # Yielding from thread1 933s # Yielding from thread2 933s # Yielding from main thread 933s # Yielding from main thread 933s # Yielding from main thread 933s # Yielding from thread1 933s # Yielding from main thread 933s # Yielding from thread2 933s # Yielding from main thread 933s # Yielding from main thread 933s # Yielding from main thread 933s # Yielding from thread1 933s # Yielding from main thread 933s # Yielding from thread2 933s # Yielding from main thread 934s # Yielding from main thread 934s # Yielding from main thread 934s # Yielding from thread1 934s # Yielding from thread2 934s # Stopping 934s # Stopped 934s ok 1 /closure/refcount 934s # slow test /closure/refcount executed in 7.49 secs 934s # End of closure tests 934s PASS: glib/closure-refcount.test 934s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=7.5s; system=0.0s; maxrss=4096 934s autopkgtest [01:17:09]: test closure-refcount: -----------------------] 934s closure-refcount PASS 934s autopkgtest [01:17:09]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 935s autopkgtest [01:17:10]: test debugcontroller: preparing testbed 936s Reading package lists... 936s Building dependency tree... 936s Reading state information... 937s Starting pkgProblemResolver with broken count: 0 937s Starting 2 pkgProblemResolver with broken count: 0 937s Done 937s The following NEW packages will be installed: 937s autopkgtest-satdep 937s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 937s Need to get 0 B/776 B of archives. 937s After this operation, 0 B of additional disk space will be used. 937s Get:1 /tmp/autopkgtest.4l9LOF/5-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [776 B] 937s Selecting previously unselected package autopkgtest-satdep. 937s (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 ... 71554 files and directories currently installed.) 937s Preparing to unpack .../5-autopkgtest-satdep.deb ... 937s Unpacking autopkgtest-satdep (0) ... 937s Setting up autopkgtest-satdep (0) ... 939s (Reading database ... 71554 files and directories currently installed.) 939s Removing autopkgtest-satdep (0) ... 939s autopkgtest [01:17:14]: test debugcontroller: [----------------------- 940s Running test: glib/debugcontroller.test 940s TAP version 13 940s # random seed: R02S2743a3c119c8266fcbfe8f48a854b1a5 940s 1..3 940s # Start of debug-controller tests 940s # Start of dbus tests 940s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 940s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 940s # GLib-GIO-DEBUG: Debug output enabled 940s # GLib-GIO-DEBUG: Debug output disabled 940s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 940s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 940s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 940s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 940s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 940s ok 1 /debug-controller/dbus/basic 940s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 940s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 940s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 940s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 940s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 940s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 940s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 940s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 940s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 940s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 940s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 940s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 940s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 940s ok 2 /debug-controller/dbus/duplicate 940s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 940s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 940s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 940s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 940s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 940s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 940s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 940s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 940s # GLib-GIO-DEBUG: Debug output enabled 940s # GLib-GIO-DEBUG: Debug output disabled 940s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 940s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 940s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 940s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 940s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 940s ok 3 /debug-controller/dbus/properties 940s # End of dbus tests 940s # End of debug-controller tests 940s PASS: glib/debugcontroller.test 940s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=10240 940s autopkgtest [01:17:15]: test debugcontroller: -----------------------] 940s debugcontroller PASS 940s autopkgtest [01:17:15]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 941s autopkgtest [01:17:16]: test gdbus-server-auth: preparing testbed 942s Reading package lists... 942s Building dependency tree... 942s Reading state information... 942s Starting pkgProblemResolver with broken count: 0 942s Starting 2 pkgProblemResolver with broken count: 0 942s Done 943s The following NEW packages will be installed: 943s autopkgtest-satdep 943s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 943s Need to get 0 B/776 B of archives. 943s After this operation, 0 B of additional disk space will be used. 943s Get:1 /tmp/autopkgtest.4l9LOF/6-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [776 B] 943s Selecting previously unselected package autopkgtest-satdep. 943s (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 ... 71554 files and directories currently installed.) 943s Preparing to unpack .../6-autopkgtest-satdep.deb ... 943s Unpacking autopkgtest-satdep (0) ... 943s Setting up autopkgtest-satdep (0) ... 945s (Reading database ... 71554 files and directories currently installed.) 945s Removing autopkgtest-satdep (0) ... 945s autopkgtest [01:17:20]: test gdbus-server-auth: [----------------------- 945s Running test: glib/gdbus-server-auth.test 945s TAP version 13 945s # random seed: R02Saa00edd6bee4e45202107b516f9b31e7 945s 1..9 945s # Start of gdbus tests 945s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/.dirs/home 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/.dirs/cache 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/.dirs/system-config2 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/.dirs/config 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/.dirs/system-data2 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/.dirs/data 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/.dirs/state 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/.dirs/runtime 945s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_SHB4K2/gdbus-server-auth-87B4K2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 945s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_SHB4K2/gdbus-server-auth-87B4K2/dbus-F6rbkPFI 945s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 945s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 945s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 945s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 945s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 945s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16963 945s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 945s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 945s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 945s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 945s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 945s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 945s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16963 945s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 945s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 945s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 945s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 945s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 945s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 945s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16963 945s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 945s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16963 946s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16963 946s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16963 946s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16963 946s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16963 946s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16963 946s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16963 946s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16963 946s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16963 946s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16963 946s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16963 946s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16963 946s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16963 946s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16963 946s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16963 946s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16963 946s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16963 946s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16963 946s ok 1 /gdbus/server-auth 946s # Start of server-auth tests 946s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/abstract/.dirs/home 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/abstract/.dirs/cache 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/abstract/.dirs/system-config2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/abstract/.dirs/config 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/abstract/.dirs/system-data2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/abstract/.dirs/data 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/abstract/.dirs/state 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/abstract/.dirs/runtime 946s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_SHB4K2/gdbus-server-auth-6MRZK2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 946s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_SHB4K2/gdbus-server-auth-6MRZK2/dbus-rhAva051 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16963 946s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16963 946s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16963 946s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16963 946s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16963 946s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16963 946s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16963 946s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16963 946s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16963 946s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16963 946s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16963 946s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16963 946s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16963 946s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16963 946s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16963 946s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16963 946s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16963 946s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16963 946s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16963 946s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16963 946s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 946s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16963 946s ok 2 /gdbus/server-auth/abstract 946s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/tcp/.dirs/home 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/tcp/.dirs/cache 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/tcp/.dirs/system-config2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/tcp/.dirs/config 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/tcp/.dirs/system-data2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/tcp/.dirs/data 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/tcp/.dirs/state 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/tcp/.dirs/runtime 946s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 946s # Connectable address: tcp:host=127.0.0.1,port=40315 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 946s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 946s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 946s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 946s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 946s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 946s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 946s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 946s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 946s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 946s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 946s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 946s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 946s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 946s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 946s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 946s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 946s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 946s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 946s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 946s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 946s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 946s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 946s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 946s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 946s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 946s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 946s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 946s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 946s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 946s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 946s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 947s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 947s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 947s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 947s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 947s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 947s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 947s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 947s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 947s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 947s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 947s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 947s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 947s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 947s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 947s ok 3 /gdbus/server-auth/tcp 947s # slow test /gdbus/server-auth/tcp executed in 0.90 secs 947s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/anonymous/.dirs/home 947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/anonymous/.dirs/cache 947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/anonymous/.dirs/system-config2 947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/anonymous/.dirs/config 947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/anonymous/.dirs/system-data2 947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/anonymous/.dirs/data 947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/anonymous/.dirs/state 947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/anonymous/.dirs/runtime 947s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_SHB4K2/gdbus-server-auth-WIB3K2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 947s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_SHB4K2/gdbus-server-auth-WIB3K2/dbus-nDqaMK7f 947s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16963 947s ok 4 /gdbus/server-auth/anonymous 947s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/external/.dirs/home 947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/external/.dirs/cache 947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/external/.dirs/system-config2 947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/external/.dirs/config 947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/external/.dirs/system-data2 947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/external/.dirs/data 947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/external/.dirs/state 947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/external/.dirs/runtime 947s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_SHB4K2/gdbus-server-auth-VR02K2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 947s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_SHB4K2/gdbus-server-auth-VR02K2/dbus-dPlcDFNa 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16963 947s ok 5 /gdbus/server-auth/external 947s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/sha1/.dirs/home 947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/sha1/.dirs/cache 947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/sha1/.dirs/system-config2 947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/sha1/.dirs/config 947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/sha1/.dirs/system-data2 947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/sha1/.dirs/data 947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/sha1/.dirs/state 947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/sha1/.dirs/runtime 947s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_SHB4K2/gdbus-server-auth-T013K2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 947s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_SHB4K2/gdbus-server-auth-T013K2/dbus-vVpVUD0I 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16963 947s ok 6 /gdbus/server-auth/sha1 947s # Start of anonymous tests 947s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/anonymous/tcp/.dirs/home 947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/anonymous/tcp/.dirs/cache 947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/anonymous/tcp/.dirs/config 947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/anonymous/tcp/.dirs/data 947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/anonymous/tcp/.dirs/state 947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 947s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 947s # Connectable address: tcp:host=127.0.0.1,port=35233 947s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 947s ok 7 /gdbus/server-auth/anonymous/tcp 947s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.88 secs 947s # End of anonymous tests 947s # Start of external tests 947s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/external/require-same-user/.dirs/home 947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/external/require-same-user/.dirs/cache 947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/external/require-same-user/.dirs/config 947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/external/require-same-user/.dirs/data 947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/external/require-same-user/.dirs/state 947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/external/require-same-user/.dirs/runtime 947s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_SHB4K2/gdbus-server-auth-8VYVK2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 947s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_SHB4K2/gdbus-server-auth-8VYVK2/dbus-S1LGRSwF 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16963 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 947s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16963,uid=1000,gid=1000 947s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16963 947s ok 8 /gdbus/server-auth/external/require-same-user 947s # End of external tests 947s # Start of sha1 tests 947s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/sha1/tcp/.dirs/home 947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/sha1/tcp/.dirs/cache 947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/sha1/tcp/.dirs/config 947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/sha1/tcp/.dirs/data 947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/sha1/tcp/.dirs/state 947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_SHB4K2/gdbus/server-auth/sha1/tcp/.dirs/runtime 947s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 947s # Connectable address: tcp:host=127.0.0.1,port=44429 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 947s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 947s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 947s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 947s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 947s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 948s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 948s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 948s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 948s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 948s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 948s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 948s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 948s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 948s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 948s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 948s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 948s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 948s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 948s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 948s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 948s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 948s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 948s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 948s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 948s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 948s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 948s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 948s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 948s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 948s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 948s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 948s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 948s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 948s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 948s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 948s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 948s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 948s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 948s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 948s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 948s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 948s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 948s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 948s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 948s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 948s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 948s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 948s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 948s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 948s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 948s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 948s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 948s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 948s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 948s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 948s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 948s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 948s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 948s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 948s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 948s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 948s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 948s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 948s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 948s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 948s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 948s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 948s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 948s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 948s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 948s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 948s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 948s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 948s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 948s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 948s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 948s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 948s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 948s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 948s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 948s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 948s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 948s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 948s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 948s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 948s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 948s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 948s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 948s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 948s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 948s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 948s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 948s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 948s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 948s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 948s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 948s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 948s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 948s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 948s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 948s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 948s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 948s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 948s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 948s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 948s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 948s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 948s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 948s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 948s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 948s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 948s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 948s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 948s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 948s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 948s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 948s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 948s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 948s ok 9 /gdbus/server-auth/sha1/tcp 948s # slow test /gdbus/server-auth/sha1/tcp executed in 0.88 secs 948s # End of sha1 tests 948s # End of server-auth tests 948s # End of gdbus tests 948s PASS: glib/gdbus-server-auth.test 948s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.1s; maxrss=12288 949s autopkgtest [01:17:24]: test gdbus-server-auth: -----------------------] 949s gdbus-server-auth PASS 949s autopkgtest [01:17:24]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 950s autopkgtest [01:17:25]: test gdbus-threading: preparing testbed 951s Reading package lists... 952s Building dependency tree... 952s Reading state information... 952s Starting pkgProblemResolver with broken count: 0 952s Starting 2 pkgProblemResolver with broken count: 0 952s Done 952s The following NEW packages will be installed: 952s autopkgtest-satdep 952s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 952s Need to get 0 B/772 B of archives. 952s After this operation, 0 B of additional disk space will be used. 952s Get:1 /tmp/autopkgtest.4l9LOF/7-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [772 B] 952s Selecting previously unselected package autopkgtest-satdep. 952s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 71554 files and directories currently installed.) 952s Preparing to unpack .../7-autopkgtest-satdep.deb ... 952s Unpacking autopkgtest-satdep (0) ... 952s Setting up autopkgtest-satdep (0) ... 954s (Reading database ... 71554 files and directories currently installed.) 954s Removing autopkgtest-satdep (0) ... 955s autopkgtest [01:17:30]: test gdbus-threading: [----------------------- 955s Running test: glib/gdbus-threading.test 955s TAP version 13 955s # random seed: R02S6d622ce2845be17b00933d267e6c0542 955s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 955s 1..3 955s # Start of gdbus tests 955s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_NVNKK2/gdbus/delivery-in-thread/.dirs/home 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_NVNKK2/gdbus/delivery-in-thread/.dirs/cache 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_NVNKK2/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_NVNKK2/gdbus/delivery-in-thread/.dirs/system-config2 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_NVNKK2/gdbus/delivery-in-thread/.dirs/config 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_NVNKK2/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_NVNKK2/gdbus/delivery-in-thread/.dirs/system-data2 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_NVNKK2/gdbus/delivery-in-thread/.dirs/data 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_NVNKK2/gdbus/delivery-in-thread/.dirs/state 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_NVNKK2/gdbus/delivery-in-thread/.dirs/runtime 955s ok 1 /gdbus/delivery-in-thread 955s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_NVNKK2/gdbus/method-calls-in-thread/.dirs/home 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_NVNKK2/gdbus/method-calls-in-thread/.dirs/cache 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_NVNKK2/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_NVNKK2/gdbus/method-calls-in-thread/.dirs/system-config2 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_NVNKK2/gdbus/method-calls-in-thread/.dirs/config 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_NVNKK2/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_NVNKK2/gdbus/method-calls-in-thread/.dirs/system-data2 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_NVNKK2/gdbus/method-calls-in-thread/.dirs/data 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_NVNKK2/gdbus/method-calls-in-thread/.dirs/state 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_NVNKK2/gdbus/method-calls-in-thread/.dirs/runtime 956s ok 2 /gdbus/method-calls-in-thread 956s # slow test /gdbus/method-calls-in-thread executed in 0.84 secs 956s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_NVNKK2/gdbus/threaded-singleton/.dirs/home 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_NVNKK2/gdbus/threaded-singleton/.dirs/cache 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_NVNKK2/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_NVNKK2/gdbus/threaded-singleton/.dirs/system-config2 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_NVNKK2/gdbus/threaded-singleton/.dirs/config 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_NVNKK2/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_NVNKK2/gdbus/threaded-singleton/.dirs/system-data2 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_NVNKK2/gdbus/threaded-singleton/.dirs/data 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_NVNKK2/gdbus/threaded-singleton/.dirs/state 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_NVNKK2/gdbus/threaded-singleton/.dirs/runtime 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: refcount of 0x64cf98004c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 956s # GLib-GIO-DEBUG: refcount of 0x64cf98004c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: refcount of 0x64cf98005730 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: refcount of 0x64cf98001dd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: refcount of 0x64cf98001dd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: refcount of 0x64cf98001dd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: refcount of 0x64cf98001dd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: refcount of 0x64cf98001dd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: refcount of 0x64cf98001dd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: refcount of 0x64cf98001dd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: refcount of 0x64cf98001dd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: refcount of 0x64cf980065f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: refcount of 0x64cf980065f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 956s # GLib-GIO-DEBUG: refcount of 0x64cf980065f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: refcount of 0x64cf98006a40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: refcount of 0x64cf98006660 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: refcount of 0x64cf98006660 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: refcount of 0x64cf98006660 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: refcount of 0x64cf980029b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: refcount of 0x64cf980029b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: refcount of 0x64cf980029b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: refcount of 0x64cf980029b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: refcount of 0x64cf980029b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: refcount of 0x64cf980029b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: refcount of 0x64cf980029b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: refcount of 0x64cf98001910 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: refcount of 0x64cf98003210 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 957s # GLib-GIO-DEBUG: refcount of 0x64cf98003210 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: refcount of 0x64cf98003210 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: refcount of 0x64cf98003210 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: refcount of 0x64cf98003210 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 957s # GLib-GIO-DEBUG: refcount of 0x64cf98003210 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: refcount of 0x64cf98003210 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: refcount of 0x64cf98003210 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 957s # GLib-GIO-DEBUG: refcount of 0x64cf98003210 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: refcount of 0x64cf98001f30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: refcount of 0x64cf98001f30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: refcount of 0x64cf98004d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 958s # GLib-GIO-DEBUG: refcount of 0x64cf98004d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: refcount of 0x64cf98004d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: refcount of 0x64cf98004d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: refcount of 0x64cf98004d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: refcount of 0x64cf98004d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: refcount of 0x64cf98004d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: refcount of 0x64cf98004d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: refcount of 0x64cf98001640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: refcount of 0x64cf98001640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: refcount of 0x64cf98001640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: refcount of 0x64cf98001870 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: refcount of 0x64cf98001870 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: refcount of 0x64cf98001870 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: refcount of 0x64cf98001870 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: refcount of 0x64cf98001870 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: refcount of 0x64cf98001870 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: refcount of 0x64cf98001a40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: refcount of 0x64cf98001a40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: refcount of 0x64cf98001a40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: refcount of 0x64cf98001a40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: refcount of 0x64cf98001a40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: refcount of 0x64cf98001a40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: refcount of 0x64cf98001de0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: refcount of 0x64cf98006df0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: refcount of 0x64cf980078b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: refcount of 0x64cf98006df0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: refcount of 0x64cf98000a70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: refcount of 0x64cf98005c10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: refcount of 0x64cf98005c10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: refcount of 0x64cf98005c10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: refcount of 0x64cf98006d30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: refcount of 0x64cf98006d30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 959s # GLib-GIO-DEBUG: refcount of 0x64cf98006d30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: refcount of 0x64cf98006d30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 960s # GLib-GIO-DEBUG: refcount of 0x64cf98006d30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: refcount of 0x64cf98006d30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: refcount of 0x64cf98006d30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: refcount of 0x64cf98006d30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: refcount of 0x64cf98006d30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: refcount of 0x64cf98006d30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: refcount of 0x64cf98006d30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 960s # GLib-GIO-DEBUG: refcount of 0x64cf98006d30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 960s Executing: glib/gdbus-threading.test 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: refcount of 0x64cf98006d30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: refcount of 0x64cf98006d30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: refcount of 0x64cf98006ea0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: refcount of 0x64cf98006ea0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: refcount of 0x64cf98001610 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: refcount of 0x64cf98001610 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: refcount of 0x64cf98007e90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: refcount of 0x64cf98004b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: refcount of 0x64cf980033b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: refcount of 0x64cf980033b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 961s # GLib-GIO-DEBUG: refcount of 0x64cf980033b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 961s # GLib-GIO-DEBUG: refcount of 0x64cf980033b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 961s # GLib-GIO-DEBUG: refcount of 0x64cf980033b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 961s # GLib-GIO-DEBUG: refcount of 0x64cf980033b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 961s # GLib-GIO-DEBUG: refcount of 0x64cf98006570 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 961s # GLib-GIO-DEBUG: refcount of 0x64cf98006570 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 961s # GLib-GIO-DEBUG: refcount of 0x64cf98001ca0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 961s # GLib-GIO-DEBUG: refcount of 0x64cf98001ca0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 961s # GLib-GIO-DEBUG: refcount of 0x64cf98001ca0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 961s # GLib-GIO-DEBUG: refcount of 0x64cf98001ca0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 961s # GLib-GIO-DEBUG: refcount of 0x64cf98006570 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 961s # GLib-GIO-DEBUG: refcount of 0x64cf98005d70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 961s # GLib-GIO-DEBUG: refcount of 0x64cf98005d70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 961s # GLib-GIO-DEBUG: refcount of 0x64cf98005d70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 961s # GLib-GIO-DEBUG: refcount of 0x64cf98001610 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 961s # GLib-GIO-DEBUG: refcount of 0x64cf98001610 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 961s # GLib-GIO-DEBUG: refcount of 0x64cf98001610 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 961s # GLib-GIO-DEBUG: refcount of 0x64cf98001610 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 961s # GLib-GIO-DEBUG: refcount of 0x64cf98001610 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 962s # GLib-GIO-DEBUG: refcount of 0x64cf98001610 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 962s # GLib-GIO-DEBUG: refcount of 0x64cf98001610 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 962s # GLib-GIO-DEBUG: refcount of 0x64cf980033b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 962s # GLib-GIO-DEBUG: refcount of 0x64cf98006330 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 962s # GLib-GIO-DEBUG: refcount of 0x64cf98006300 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 962s # GLib-GIO-DEBUG: refcount of 0x64cf98006240 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 962s # GLib-GIO-DEBUG: refcount of 0x64cf98006240 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 962s # GLib-GIO-DEBUG: refcount of 0x64cf98005f60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 962s # GLib-GIO-DEBUG: refcount of 0x64cf98005f60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 962s # GLib-GIO-DEBUG: refcount of 0x64cf98005f50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 962s # GLib-GIO-DEBUG: refcount of 0x64cf98005f50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 962s # GLib-GIO-DEBUG: refcount of 0x64cf98004410 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 962s # GLib-GIO-DEBUG: refcount of 0x64cf98006ea0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 962s # GLib-GIO-DEBUG: refcount of 0x64cf98006ea0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 962s # GLib-GIO-DEBUG: refcount of 0x64cf98006ea0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 962s # GLib-GIO-DEBUG: refcount of 0x64cf98006ea0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 962s # GLib-GIO-DEBUG: refcount of 0x64cf98006ea0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 962s # GLib-GIO-DEBUG: refcount of 0x64cf98006ea0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 962s # GLib-GIO-DEBUG: refcount of 0x64cf98006ea0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 963s # GLib-GIO-DEBUG: refcount of 0x64cf98007af0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 963s # GLib-GIO-DEBUG: refcount of 0x64cf98007af0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 963s # GLib-GIO-DEBUG: refcount of 0x64cf98007af0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 963s # GLib-GIO-DEBUG: refcount of 0x64cf98007af0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 963s # GLib-GIO-DEBUG: refcount of 0x64cf98007af0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 963s # GLib-GIO-DEBUG: refcount of 0x64cf98007af0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 963s # GLib-GIO-DEBUG: refcount of 0x64cf98007af0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 963s # GLib-GIO-DEBUG: refcount of 0x64cf98007af0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 963s # GLib-GIO-DEBUG: refcount of 0x64cf98007af0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 963s # GLib-GIO-DEBUG: refcount of 0x64cf98007af0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 963s # GLib-GIO-DEBUG: refcount of 0x64cf98007af0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 963s # GLib-GIO-DEBUG: refcount of 0x64cf98007af0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 963s # GLib-GIO-DEBUG: refcount of 0x64cf98007af0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 963s # GLib-GIO-DEBUG: refcount of 0x64cf98007af0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 963s # GLib-GIO-DEBUG: refcount of 0x64cf98007af0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 963s # GLib-GIO-DEBUG: refcount of 0x64cf98007af0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 963s # GLib-GIO-DEBUG: refcount of 0x64cf98007af0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 963s # GLib-GIO-DEBUG: refcount of 0x64cf98007af0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 963s # GLib-GIO-DEBUG: refcount of 0x64cf980081e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 964s # GLib-GIO-DEBUG: refcount of 0x64cf98007af0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 964s # GLib-GIO-DEBUG: refcount of 0x64cf98007af0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 964s # GLib-GIO-DEBUG: refcount of 0x64cf98007af0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 964s # GLib-GIO-DEBUG: refcount of 0x64cf98007af0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 964s # GLib-GIO-DEBUG: refcount of 0x64cf98007af0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 964s # GLib-GIO-DEBUG: refcount of 0x64cf98007af0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 964s # GLib-GIO-DEBUG: refcount of 0x64cf98007af0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 964s # GLib-GIO-DEBUG: refcount of 0x64cf98007af0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 964s # GLib-GIO-DEBUG: refcount of 0x64cf98007af0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 964s # GLib-GIO-DEBUG: refcount of 0x64cf98007af0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 964s # GLib-GIO-DEBUG: refcount of 0x64cf98007af0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 964s # GLib-GIO-DEBUG: refcount of 0x64cf98007af0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 964s # GLib-GIO-DEBUG: refcount of 0x64cf98007af0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 964s # GLib-GIO-DEBUG: refcount of 0x64cf98004490 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 964s # GLib-GIO-DEBUG: refcount of 0x64cf98004490 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 964s # GLib-GIO-DEBUG: refcount of 0x64cf98004490 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 964s # GLib-GIO-DEBUG: refcount of 0x64cf98004490 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 964s # GLib-GIO-DEBUG: refcount of 0x64cf98004490 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 965s # GLib-GIO-DEBUG: refcount of 0x64cf98004490 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 965s # GLib-GIO-DEBUG: refcount of 0x64cf98004490 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 965s # GLib-GIO-DEBUG: refcount of 0x64cf98004490 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 965s # GLib-GIO-DEBUG: refcount of 0x64cf98004490 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 965s # GLib-GIO-DEBUG: refcount of 0x64cf98004490 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 965s # GLib-GIO-DEBUG: refcount of 0x64cf98001610 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 965s # GLib-GIO-DEBUG: refcount of 0x64cf98001610 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 965s # GLib-GIO-DEBUG: refcount of 0x64cf98001610 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 965s Executing: glib/gdbus-threading.test 965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 965s # GLib-GIO-DEBUG: refcount of 0x64cf98001610 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 965s # GLib-GIO-DEBUG: refcount of 0x64cf98001610 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 965s # GLib-GIO-DEBUG: refcount of 0x64cf98001610 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 965s # GLib-GIO-DEBUG: refcount of 0x64cf98004490 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 965s # GLib-GIO-DEBUG: refcount of 0x64cf98004490 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 965s # GLib-GIO-DEBUG: refcount of 0x64cf98004490 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 965s # GLib-GIO-DEBUG: refcount of 0x64cf98004490 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 965s # GLib-GIO-DEBUG: refcount of 0x64cf98004490 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 965s # GLib-GIO-DEBUG: refcount of 0x64cf98004490 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 965s # GLib-GIO-DEBUG: refcount of 0x64cf98004490 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 965s # GLib-GIO-DEBUG: refcount of 0x64cf98004490 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 966s # GLib-GIO-DEBUG: refcount of 0x64cf98001610 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 966s # GLib-GIO-DEBUG: refcount of 0x64cf98001610 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 966s # GLib-GIO-DEBUG: refcount of 0x64cf98001610 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 966s # GLib-GIO-DEBUG: refcount of 0x64cf98001610 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 966s # GLib-GIO-DEBUG: refcount of 0x64cf98001610 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 966s # GLib-GIO-DEBUG: refcount of 0x64cf98001a10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 966s # GLib-GIO-DEBUG: refcount of 0x64cf98007850 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 966s # GLib-GIO-DEBUG: refcount of 0x64cf98007850 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 966s # GLib-GIO-DEBUG: refcount of 0x64cf98007850 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 966s # GLib-GIO-DEBUG: refcount of 0x64cf98007110 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 966s # GLib-GIO-DEBUG: refcount of 0x64cf98001840 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 966s # GLib-GIO-DEBUG: refcount of 0x64cf98001840 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 966s # GLib-GIO-DEBUG: refcount of 0x64cf98001840 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 966s # GLib-GIO-DEBUG: refcount of 0x64cf98001840 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 966s # GLib-GIO-DEBUG: refcount of 0x64cf98001840 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 966s # GLib-GIO-DEBUG: refcount of 0x64cf98001640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 966s # GLib-GIO-DEBUG: refcount of 0x64cf98001640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 966s # GLib-GIO-DEBUG: refcount of 0x64cf98001640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 967s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 967s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 967s # GLib-GIO-DEBUG: refcount of 0x64cf98001640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 967s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 967s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 967s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 967s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 967s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 967s # GLib-GIO-DEBUG: refcount of 0x64cf98007190 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 967s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 967s # GLib-GIO-DEBUG: refcount of 0x64cf98007190 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 967s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 967s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 967s # GLib-GIO-DEBUG: refcount of 0x64cf98007190 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 967s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 967s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 967s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 967s # GLib-GIO-DEBUG: refcount of 0x64cf98007190 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 967s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 967s # GLib-GIO-DEBUG: refcount of 0x64cf98007190 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 967s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 967s # GLib-GIO-DEBUG: refcount of 0x64cf98007190 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 967s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 967s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 967s # GLib-GIO-DEBUG: refcount of 0x64cf98001d50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 967s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 967s # GLib-GIO-DEBUG: refcount of 0x64cf98006aa0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 967s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 967s # GLib-GIO-DEBUG: refcount of 0x64cf98006aa0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 967s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 967s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 967s # GLib-GIO-DEBUG: refcount of 0x64cf98006aa0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 967s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 967s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 967s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 967s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 967s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 967s # GLib-GIO-DEBUG: refcount of 0x64cf98004d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 967s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 967s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 967s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 967s # GLib-GIO-DEBUG: refcount of 0x64cf98004d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 967s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 967s # GLib-GIO-DEBUG: refcount of 0x64cf98004d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 967s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 967s # GLib-GIO-DEBUG: refcount of 0x64cf98004d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 967s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 967s # GLib-GIO-DEBUG: refcount of 0x64cf98004d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 967s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 967s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 967s # GLib-GIO-DEBUG: refcount of 0x64cf98004d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 967s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 967s # GLib-GIO-DEBUG: refcount of 0x64cf98004d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 967s # GLib-GIO-DEBUG: refcount of 0x64cf98004d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 968s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 968s # GLib-GIO-DEBUG: refcount of 0x64cf98004d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 968s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 968s # GLib-GIO-DEBUG: refcount of 0x64cf98004d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 968s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 968s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 968s # GLib-GIO-DEBUG: refcount of 0x64cf98004d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 968s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 968s # GLib-GIO-DEBUG: refcount of 0x64cf98004d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 968s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 968s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 968s # GLib-GIO-DEBUG: refcount of 0x64cf98007160 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 968s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 968s # GLib-GIO-DEBUG: refcount of 0x64cf98007160 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 968s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 968s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 968s # GLib-GIO-DEBUG: refcount of 0x64cf98007160 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 968s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 968s # GLib-GIO-DEBUG: refcount of 0x64cf98007160 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 968s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 968s # GLib-GIO-DEBUG: refcount of 0x64cf98007160 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 968s # GLib-GIO-DEBUG: refcount of 0x64cf98007160 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 968s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 968s # GLib-GIO-DEBUG: refcount of 0x64cf980078d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 968s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 968s # GLib-GIO-DEBUG: refcount of 0x64cf98004b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 968s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 968s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 968s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 968s # GLib-GIO-DEBUG: refcount of 0x64cf98004b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 968s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 968s # GLib-GIO-DEBUG: refcount of 0x64cf98004b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 968s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 968s # GLib-GIO-DEBUG: refcount of 0x64cf98004b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 968s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 968s # GLib-GIO-DEBUG: refcount of 0x64cf98004b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 968s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 968s # GLib-GIO-DEBUG: refcount of 0x64cf98004b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 968s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 968s # GLib-GIO-DEBUG: refcount of 0x64cf98004b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 968s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 968s # GLib-GIO-DEBUG: refcount of 0x64cf98004b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 969s # GLib-GIO-DEBUG: refcount of 0x64cf98004b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 969s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 969s # GLib-GIO-DEBUG: refcount of 0x64cf98004b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 969s # GLib-GIO-DEBUG: refcount of 0x64cf98004b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 969s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 969s # GLib-GIO-DEBUG: refcount of 0x64cf98004b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 969s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 969s # GLib-GIO-DEBUG: refcount of 0x64cf98004b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 969s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 969s # GLib-GIO-DEBUG: refcount of 0x64cf98004b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 969s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 969s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 969s # GLib-GIO-DEBUG: refcount of 0x64cf98004b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 969s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 969s # GLib-GIO-DEBUG: refcount of 0x64cf98003260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 969s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 969s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 969s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 969s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 969s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 969s # GLib-GIO-DEBUG: refcount of 0x64cf98003210 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 969s # GLib-GIO-DEBUG: refcount of 0x64cf98003210 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 969s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 969s # GLib-GIO-DEBUG: refcount of 0x64cf98003210 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 969s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 969s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 969s # GLib-GIO-DEBUG: refcount of 0x64cf98007f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 969s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 969s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 969s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 969s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 969s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 969s # GLib-GIO-DEBUG: refcount of 0x64cf98007890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 969s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 969s # GLib-GIO-DEBUG: refcount of 0x64cf98007890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 969s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 969s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 969s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 969s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 969s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 969s # GLib-GIO-DEBUG: refcount of 0x64cf980063d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 969s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 969s # GLib-GIO-DEBUG: refcount of 0x64cf980063d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 969s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 969s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 969s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 969s # GLib-GIO-DEBUG: refcount of 0x64cf98007eb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 969s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 969s # GLib-GIO-DEBUG: refcount of 0x64cf98007da0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 970s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 970s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 970s # GLib-GIO-DEBUG: refcount of 0x64cf98000a00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 970s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 970s # GLib-GIO-DEBUG: refcount of 0x64cf98008100 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 970s # GLib-GIO-DEBUG: refcount of 0x64cf98008100 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 970s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 970s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 970s # GLib-GIO-DEBUG: refcount of 0x64cf980080c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 970s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 970s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 970s # GLib-GIO-DEBUG: refcount of 0x64cf980080c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 970s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 970s # GLib-GIO-DEBUG: refcount of 0x64cf980080c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 970s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 970s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 970s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 970s # GLib-GIO-DEBUG: refcount of 0x64cf98006df0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 970s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 970s # GLib-GIO-DEBUG: refcount of 0x64cf98006df0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 970s Executing: glib/gdbus-threading.test 970s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 970s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 970s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 970s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 970s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 970s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 970s # GLib-GIO-DEBUG: refcount of 0x64cf980081f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 970s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 970s # GLib-GIO-DEBUG: refcount of 0x64cf98001f80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 970s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 970s # GLib-GIO-DEBUG: refcount of 0x64cf98001f80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 970s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 970s # GLib-GIO-DEBUG: refcount of 0x64cf98006d30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 970s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 970s # GLib-GIO-DEBUG: refcount of 0x64cf98006d30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 970s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 970s # GLib-GIO-DEBUG: refcount of 0x64cf98006d30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 970s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 970s # GLib-GIO-DEBUG: refcount of 0x64cf98006d30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 970s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 970s # GLib-GIO-DEBUG: refcount of 0x64cf98006d30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 970s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 970s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 970s # GLib-GIO-DEBUG: refcount of 0x64cf98006d30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 970s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 970s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 970s # GLib-GIO-DEBUG: refcount of 0x64cf98001610 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 970s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 970s # GLib-GIO-DEBUG: refcount of 0x64cf98001610 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 971s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 971s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 971s # GLib-GIO-DEBUG: refcount of 0x64cf98001610 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 971s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 971s # GLib-GIO-DEBUG: refcount of 0x64cf98001610 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 971s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 971s # GLib-GIO-DEBUG: refcount of 0x64cf98001610 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 971s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 971s # GLib-GIO-DEBUG: refcount of 0x64cf98001610 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 971s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 971s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 971s # GLib-GIO-DEBUG: refcount of 0x64cf98001610 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 971s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 971s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 971s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 971s # GLib-GIO-DEBUG: refcount of 0x64cf98001610 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 971s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 971s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 971s # GLib-GIO-DEBUG: refcount of 0x64cf98004700 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 971s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 971s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 971s # GLib-GIO-DEBUG: refcount of 0x64cf98004700 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 971s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 971s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 971s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 971s # GLib-GIO-DEBUG: refcount of 0x64cf98004700 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 971s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 971s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 971s # GLib-GIO-DEBUG: refcount of 0x64cf98004700 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 971s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 971s # GLib-GIO-DEBUG: refcount of 0x64cf98004700 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 971s # GLib-GIO-DEBUG: refcount of 0x64cf98004700 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 971s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 971s # GLib-GIO-DEBUG: refcount of 0x64cf98004700 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 971s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 971s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 971s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 971s # GLib-GIO-DEBUG: refcount of 0x64cf98004700 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 971s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 971s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 971s # GLib-GIO-DEBUG: refcount of 0x64cf98007360 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 971s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 971s # GLib-GIO-DEBUG: refcount of 0x64cf98001ff0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 971s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 971s # GLib-GIO-DEBUG: refcount of 0x64cf98001ff0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 971s # GLib-GIO-DEBUG: refcount of 0x64cf98001ff0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 971s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 971s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 971s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 971s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 971s # GLib-GIO-DEBUG: refcount of 0x64cf98006ea0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 972s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 972s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 972s # GLib-GIO-DEBUG: refcount of 0x64cf98006ea0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 972s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 972s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 972s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 972s # GLib-GIO-DEBUG: refcount of 0x64cf98006ea0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 972s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 972s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 972s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 972s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 972s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 972s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 972s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 972s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 972s # GLib-GIO-DEBUG: refcount of 0x64cf98006ea0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 972s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 972s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 972s # GLib-GIO-DEBUG: refcount of 0x64cf98006ea0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 972s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 972s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 972s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 972s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 972s # GLib-GIO-DEBUG: refcount of 0x64cf98006ea0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 972s # GLib-GIO-DEBUG: refcount of 0x64cf98006ea0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 972s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 972s # GLib-GIO-DEBUG: refcount of 0x64cf98006ea0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 972s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 972s # GLib-GIO-DEBUG: refcount of 0x64cf98006ea0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 972s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 972s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 972s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 972s # GLib-GIO-DEBUG: refcount of 0x64cf98006ea0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 972s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 972s # GLib-GIO-DEBUG: refcount of 0x64cf98007b90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 972s # GLib-GIO-DEBUG: refcount of 0x64cf98007b90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 972s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 972s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 972s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 972s # GLib-GIO-DEBUG: refcount of 0x64cf98007b90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 972s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 972s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 972s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 972s # GLib-GIO-DEBUG: refcount of 0x64cf98007b90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 972s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 972s # GLib-GIO-DEBUG: refcount of 0x64cf98007b90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 972s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 972s # GLib-GIO-DEBUG: refcount of 0x64cf98007b90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 972s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 972s # GLib-GIO-DEBUG: refcount of 0x64cf98007b90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 972s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 972s # GLib-GIO-DEBUG: refcount of 0x64cf98007b90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 972s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 972s # GLib-GIO-DEBUG: refcount of 0x64cf98007b90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 973s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 973s # GLib-GIO-DEBUG: refcount of 0x64cf98007b90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 973s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 973s # GLib-GIO-DEBUG: refcount of 0x64cf98008340 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 973s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 973s # GLib-GIO-DEBUG: refcount of 0x64cf98000a70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 973s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 973s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 973s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 973s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 973s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 973s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 973s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 973s # GLib-GIO-DEBUG: refcount of 0x64cf980018d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 973s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 973s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 973s # GLib-GIO-DEBUG: refcount of 0x64cf980018d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 973s # GLib-GIO-DEBUG: refcount of 0x64cf980018d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 973s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 973s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 973s # GLib-GIO-DEBUG: refcount of 0x64cf980018d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 973s # GLib-GIO-DEBUG: refcount of 0x64cf980018d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 973s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 973s # GLib-GIO-DEBUG: refcount of 0x64cf980018d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 973s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 973s # GLib-GIO-DEBUG: refcount of 0x64cf980018d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 973s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 973s # GLib-GIO-DEBUG: refcount of 0x64cf98006db0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 973s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 973s # GLib-GIO-DEBUG: refcount of 0x64cf98006db0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 973s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 973s # GLib-GIO-DEBUG: refcount of 0x64cf98006db0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 973s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 973s # GLib-GIO-DEBUG: refcount of 0x64cf98006db0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 973s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 973s # GLib-GIO-DEBUG: refcount of 0x64cf98006db0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 973s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 973s # GLib-GIO-DEBUG: refcount of 0x64cf98006db0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 973s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 973s # GLib-GIO-DEBUG: refcount of 0x64cf98006db0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 973s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 973s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 973s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 973s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 973s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 973s # GLib-GIO-DEBUG: refcount of 0x64cf98004ab0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 973s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 973s # GLib-GIO-DEBUG: refcount of 0x64cf98002d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 974s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 974s # GLib-GIO-DEBUG: refcount of 0x64cf98002d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 974s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 974s # GLib-GIO-DEBUG: refcount of 0x64cf98002d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 974s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 974s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 974s # GLib-GIO-DEBUG: refcount of 0x64cf98002d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 974s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 974s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 974s # GLib-GIO-DEBUG: refcount of 0x64cf98002d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 974s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 974s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 974s # GLib-GIO-DEBUG: refcount of 0x64cf980062c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 974s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 974s # GLib-GIO-DEBUG: refcount of 0x64cf980062c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 974s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 974s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 974s # GLib-GIO-DEBUG: refcount of 0x64cf980062c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 974s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 974s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 974s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 974s # GLib-GIO-DEBUG: refcount of 0x64cf98007cf0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 974s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 974s # GLib-GIO-DEBUG: refcount of 0x64cf98007cf0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 974s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 974s # GLib-GIO-DEBUG: refcount of 0x64cf98007cf0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 974s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 974s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 974s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 974s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 974s # GLib-GIO-DEBUG: refcount of 0x64cf98007cf0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 974s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 974s # GLib-GIO-DEBUG: refcount of 0x64cf98007cf0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 974s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 974s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 974s # GLib-GIO-DEBUG: refcount of 0x64cf98002040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 974s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 974s # GLib-GIO-DEBUG: refcount of 0x64cf98002040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 974s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 974s # GLib-GIO-DEBUG: refcount of 0x64cf980062e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 974s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 974s # GLib-GIO-DEBUG: refcount of 0x64cf980062e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 974s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 974s # GLib-GIO-DEBUG: refcount of 0x64cf98000a00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 974s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 974s # GLib-GIO-DEBUG: refcount of 0x64cf98000a00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: refcount of 0x64cf98000a00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: refcount of 0x64cf98000a00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: refcount of 0x64cf98000a00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: refcount of 0x64cf98000a00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: refcount of 0x64cf98002d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: refcount of 0x64cf98004490 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: refcount of 0x64cf98004490 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: refcount of 0x64cf98004490 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 975s Executing: glib/gdbus-threading.test 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: refcount of 0x64cf98004490 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: refcount of 0x64cf98007c90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: refcount of 0x64cf98007c90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: refcount of 0x64cf98007c90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: refcount of 0x64cf98007c90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: refcount of 0x64cf98005e90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: refcount of 0x64cf98005e90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: refcount of 0x64cf98005e90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 975s # GLib-GIO-DEBUG: refcount of 0x64cf98005e90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: refcount of 0x64cf98005e90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 975s # GLib-GIO-DEBUG: refcount of 0x64cf98005e90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: refcount of 0x64cf98007260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: refcount of 0x64cf98007190 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: refcount of 0x64cf98006e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: refcount of 0x64cf98006e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 976s # GLib-GIO-DEBUG: refcount of 0x64cf98006e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: refcount of 0x64cf98006e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: refcount of 0x64cf98006e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: refcount of 0x64cf98004490 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: refcount of 0x64cf98004490 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: refcount of 0x64cf98004490 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: refcount of 0x64cf98002d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: refcount of 0x64cf98002d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: refcount of 0x64cf98002d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: refcount of 0x64cf98002d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: refcount of 0x64cf98002d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: refcount of 0x64cf98002d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: refcount of 0x64cf98002d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: refcount of 0x64cf98002d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: refcount of 0x64cf98002d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 977s # GLib-GIO-DEBUG: refcount of 0x64cf98002d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: refcount of 0x64cf98002d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: refcount of 0x64cf98002d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: refcount of 0x64cf98002d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: refcount of 0x64cf98002d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: refcount of 0x64cf98002d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: refcount of 0x64cf98007d20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: refcount of 0x64cf98000a00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: refcount of 0x64cf98000a00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: refcount of 0x64cf98000a00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: refcount of 0x64cf98000a00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: refcount of 0x64cf98000a00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: refcount of 0x64cf98000a00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: refcount of 0x64cf98000a00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: refcount of 0x64cf98000a00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 977s # GLib-GIO-DEBUG: refcount of 0x64cf98000a00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: refcount of 0x64cf98000a00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: refcount of 0x64cf98000a00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 978s # GLib-GIO-DEBUG: refcount of 0x64cf98000a00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: refcount of 0x64cf98000a00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: refcount of 0x64cf98000a00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: refcount of 0x64cf98000a00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: refcount of 0x64cf98000a00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: refcount of 0x64cf98000a00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 978s # GLib-GIO-DEBUG: refcount of 0x64cf98000a00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: refcount of 0x64cf98007f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: refcount of 0x64cf98007f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: refcount of 0x64cf98007f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: refcount of 0x64cf98007f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: refcount of 0x64cf98007f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: refcount of 0x64cf98008270 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 978s # GLib-GIO-DEBUG: refcount of 0x64cf98008270 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: refcount of 0x64cf98008270 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: refcount of 0x64cf98007360 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 978s # GLib-GIO-DEBUG: refcount of 0x64cf98007360 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: refcount of 0x64cf98007360 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: refcount of 0x64cf98007360 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 979s # GLib-GIO-DEBUG: refcount of 0x64cf98007360 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 979s # GLib-GIO-DEBUG: refcount of 0x64cf98007360 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 979s # GLib-GIO-DEBUG: refcount of 0x64cf98007360 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 979s # GLib-GIO-DEBUG: refcount of 0x64cf98006a80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 979s # GLib-GIO-DEBUG: refcount of 0x64cf98006a80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 979s # GLib-GIO-DEBUG: refcount of 0x64cf98006a80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 979s # GLib-GIO-DEBUG: refcount of 0x64cf98006a80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 979s # GLib-GIO-DEBUG: refcount of 0x64cf98006a80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 979s ok 3 /gdbus/threaded-singleton 979s # slow test /gdbus/threaded-singleton executed in 23.31 secs 979s # End of gdbus tests 979s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 979s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 979s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 979s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 979s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 979s PASS: glib/gdbus-threading.test 979s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.8s; system=0.3s; maxrss=8192 979s autopkgtest [01:17:54]: test gdbus-threading: -----------------------] 980s gdbus-threading PASS 980s autopkgtest [01:17:55]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 980s autopkgtest [01:17:55]: test gmenumodel: preparing testbed 983s Reading package lists... 983s Building dependency tree... 983s Reading state information... 983s Starting pkgProblemResolver with broken count: 0 983s Starting 2 pkgProblemResolver with broken count: 0 983s Done 984s The following NEW packages will be installed: 984s autopkgtest-satdep 984s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 984s Need to get 0 B/780 B of archives. 984s After this operation, 0 B of additional disk space will be used. 984s Get:1 /tmp/autopkgtest.4l9LOF/8-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [780 B] 984s Selecting previously unselected package autopkgtest-satdep. 984s (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 ... 71554 files and directories currently installed.) 984s Preparing to unpack .../8-autopkgtest-satdep.deb ... 984s Unpacking autopkgtest-satdep (0) ... 984s Setting up autopkgtest-satdep (0) ... 986s (Reading database ... 71554 files and directories currently installed.) 986s Removing autopkgtest-satdep (0) ... 986s autopkgtest [01:18:01]: test gmenumodel: [----------------------- 987s Running test: glib/gmenumodel.test 987s TAP version 13 987s # random seed: R02S2511eee8d1c4613d03f89502372106bd 987s 1..14 987s # Start of gmenu tests 988s ok 1 /gmenu/equality 988s # slow test /gmenu/equality executed in 1.94 secs 991s ok 2 /gmenu/random 991s # slow test /gmenu/random executed in 2.39 secs 991s ok 3 /gmenu/attributes 991s ok 4 /gmenu/links 991s ok 5 /gmenu/mutable 991s ok 6 /gmenu/convenience 991s ok 7 /gmenu/menuitem 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s ok 8 /gmenu/input-validation 991s # Start of dbus tests 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s Executing: glib/gmenumodel.test 992s ok 9 /gmenu/dbus/roundtrip 992s # slow test /gmenu/dbus/roundtrip executed in 1.09 secs 992s ok 10 /gmenu/dbus/subscriptions 995s ok 11 /gmenu/dbus/threaded 995s # slow test /gmenu/dbus/threaded executed in 2.36 secs 995s # Start of peer tests 996s ok 12 /gmenu/dbus/peer/roundtrip 996s # slow test /gmenu/dbus/peer/roundtrip executed in 1.06 secs 996s ok 13 /gmenu/dbus/peer/subscriptions 996s # End of peer tests 996s # End of dbus tests 996s # Start of attributes tests 996s ok 14 /gmenu/attributes/iterate 996s # End of attributes tests 996s # End of gmenu tests 996s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 996s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 996s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 996s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 996s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 996s PASS: glib/gmenumodel.test 996s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=7.0s; system=0.2s; maxrss=24576 997s autopkgtest [01:18:12]: test gmenumodel: -----------------------] 997s autopkgtest [01:18:12]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 997s gmenumodel PASS 997s autopkgtest [01:18:12]: test mainloop: preparing testbed 999s Reading package lists... 999s Building dependency tree... 999s Reading state information... 999s Starting pkgProblemResolver with broken count: 0 999s Starting 2 pkgProblemResolver with broken count: 0 999s Done 999s The following NEW packages will be installed: 999s autopkgtest-satdep 999s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 999s Need to get 0 B/772 B of archives. 999s After this operation, 0 B of additional disk space will be used. 999s Get:1 /tmp/autopkgtest.4l9LOF/9-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [772 B] 1000s Selecting previously unselected package autopkgtest-satdep. 1000s (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 ... 71554 files and directories currently installed.) 1000s Preparing to unpack .../9-autopkgtest-satdep.deb ... 1000s Unpacking autopkgtest-satdep (0) ... 1000s Setting up autopkgtest-satdep (0) ... 1001s (Reading database ... 71554 files and directories currently installed.) 1001s Removing autopkgtest-satdep (0) ... 1002s autopkgtest [01:18:17]: test mainloop: [----------------------- 1002s Running test: glib/mainloop.test 1002s TAP version 13 1002s # random seed: R02S5a3aae8c3e45adc9af69613e14658730 1002s 1..45 1002s # Start of maincontext tests 1002s ok 1 /maincontext/basic 1002s # Add same-priority sources: 18 1002s # Find each source: 7 1002s # Remove in random order: 29 1002s ok 2 /maincontext/nsources_same_priority 1002s # Add different-priority sources: 22 1002s # Find each source: 7 1002s # Remove in random order: 33 1002s ok 3 /maincontext/nsources_different_priority 1003s # Add sources from threads: 261 1003s # Remove sources from threads: 33 1003s ok 4 /maincontext/nsources_threadpool 1003s ok 5 /maincontext/source_finalization 1003s # /maincontext/idle-once summary: Test g_idle_add_once() works 1003s ok 6 /maincontext/idle-once 1003s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1003s ok 7 /maincontext/timeout-once 1003s # Start of source_finalization_from_source tests 1003s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1003s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1003s ok 8 /maincontext/source_finalization_from_source/0 1003s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1003s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1003s ok 9 /maincontext/source_finalization_from_source/1 1003s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1003s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1003s ok 10 /maincontext/source_finalization_from_source/2 1003s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1003s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1003s ok 11 /maincontext/source_finalization_from_source/3 1003s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1003s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1003s ok 12 /maincontext/source_finalization_from_source/4 1003s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1003s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1003s ok 13 /maincontext/source_finalization_from_source/5 1003s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1003s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1003s ok 14 /maincontext/source_finalization_from_source/6 1003s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1003s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1003s ok 15 /maincontext/source_finalization_from_source/7 1003s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1003s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1003s ok 16 /maincontext/source_finalization_from_source/8 1003s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1003s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1003s ok 17 /maincontext/source_finalization_from_source/9 1003s # End of source_finalization_from_source tests 1003s # Start of source_finalization_from_dispatch tests 1003s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1003s ok 18 /maincontext/source_finalization_from_dispatch/0 1003s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1003s ok 19 /maincontext/source_finalization_from_dispatch/1 1003s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1003s ok 20 /maincontext/source_finalization_from_dispatch/2 1003s # End of source_finalization_from_dispatch tests 1003s # End of maincontext tests 1003s # Start of mainloop tests 1003s ok 21 /mainloop/basic 1003s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1003s ok 23 /mainloop/priorities 1003s ok 24 /mainloop/invoke 1003s # slow test /mainloop/invoke executed in 0.50 secs 1004s ok 25 /mainloop/child_sources 1004s # slow test /mainloop/child_sources executed in 1.18 secs 1006s ok 26 /mainloop/recursive_child_sources 1006s # slow test /mainloop/recursive_child_sources executed in 2.15 secs 1006s ok 27 /mainloop/recursive_loop_child_sources 1007s ok 28 /mainloop/swapping_child_sources 1007s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1007s ok 29 /mainloop/blocked_child_sources 1007s Executing: glib/mainloop.test 1008s ok 30 /mainloop/source_time 1008s # slow test /mainloop/source_time executed in 1.00 secs 1008s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1008s ok 31 /mainloop/overflow 1008s ok 32 /mainloop/ready-time 1008s # slow test /mainloop/ready-time executed in 0.50 secs 1008s ok 33 /mainloop/wakeup 1008s ok 34 /mainloop/remove-invalid 1008s ok 35 /mainloop/unref-while-pending 1009s ok 36 /mainloop/unix-fd 1009s # slow test /mainloop/unix-fd executed in 1.30 secs 1009s ok 37 /mainloop/unix-fd-source 1009s ok 38 /mainloop/source-unix-fd-api 1010s ok 39 /mainloop/wait 1010s ok 40 /mainloop/unix-file-poll 1010s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1010s ok 41 /mainloop/unix-fd-priority 1010s ok 42 /mainloop/nfds 1010s ok 43 /mainloop/steal-fd 1010s # Start of ownerless-polling tests 1010s ok 44 /mainloop/ownerless-polling/attach-first 1010s ok 45 /mainloop/ownerless-polling/pop-first 1010s # End of ownerless-polling tests 1010s # End of mainloop tests 1010s PASS: glib/mainloop.test 1010s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.8s; system=1.1s; maxrss=18432 1010s autopkgtest [01:18:25]: test mainloop: -----------------------] 1010s mainloop PASS 1010s autopkgtest [01:18:25]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 1011s autopkgtest [01:18:26]: test memory-monitor-dbus: preparing testbed 1012s Reading package lists... 1012s Building dependency tree... 1012s Reading state information... 1012s Starting pkgProblemResolver with broken count: 0 1012s Starting 2 pkgProblemResolver with broken count: 0 1012s Done 1013s The following NEW packages will be installed: 1013s autopkgtest-satdep 1013s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1013s Need to get 0 B/780 B of archives. 1013s After this operation, 0 B of additional disk space will be used. 1013s Get:1 /tmp/autopkgtest.4l9LOF/10-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [780 B] 1013s Selecting previously unselected package autopkgtest-satdep. 1013s (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 ... 71554 files and directories currently installed.) 1013s Preparing to unpack .../10-autopkgtest-satdep.deb ... 1013s Unpacking autopkgtest-satdep (0) ... 1013s Setting up autopkgtest-satdep (0) ... 1014s (Reading database ... 71554 files and directories currently installed.) 1014s Removing autopkgtest-satdep (0) ... 1015s autopkgtest [01:18:30]: test memory-monitor-dbus: [----------------------- 1015s Running test: glib/memory-monitor-dbus.test 1016s TAP version 13 1016s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 1016s # Received memory warning signal, level 1016s # Received memory warning signal, level 1016s # Received memory warning signal, level 1016s # Received memory warning signal, level 1016s 1..1 1016s PASS: glib/memory-monitor-dbus.test 1016s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.0s; maxrss=32768 1016s autopkgtest [01:18:31]: test memory-monitor-dbus: -----------------------] 1016s autopkgtest [01:18:31]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 1016s memory-monitor-dbus PASS 1017s autopkgtest [01:18:32]: test socket: preparing testbed 1018s Reading package lists... 1019s Building dependency tree... 1019s Reading state information... 1019s Starting pkgProblemResolver with broken count: 0 1019s Starting 2 pkgProblemResolver with broken count: 0 1019s Done 1019s The following NEW packages will be installed: 1019s autopkgtest-satdep 1019s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1019s Need to get 0 B/776 B of archives. 1019s After this operation, 0 B of additional disk space will be used. 1019s Get:1 /tmp/autopkgtest.4l9LOF/11-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [776 B] 1019s Selecting previously unselected package autopkgtest-satdep. 1019s (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 ... 71554 files and directories currently installed.) 1019s Preparing to unpack .../11-autopkgtest-satdep.deb ... 1019s Unpacking autopkgtest-satdep (0) ... 1019s Setting up autopkgtest-satdep (0) ... 1021s (Reading database ... 71554 files and directories currently installed.) 1021s Removing autopkgtest-satdep (0) ... 1021s autopkgtest [01:18:36]: test socket: [----------------------- 1022s Running test: glib/socket.test 1022s TAP version 13 1022s # random seed: R02S254aa00e421aa684e3c0486ba76ba2e1 1022s 1..28 1022s # Start of socket tests 1023s ok 1 /socket/ipv4_sync 1023s # slow test /socket/ipv4_sync executed in 1.00 secs 1024s ok 2 /socket/ipv4_async 1024s # slow test /socket/ipv4_async executed in 1.00 secs 1024s ok 3 /socket/ipv6_sync 1024s ok 4 /socket/ipv6_async 1024s ok 5 /socket/ipv6_v4mapped 1025s ok 6 /socket/close_graceful 1025s # slow test /socket/close_graceful executed in 1.00 secs 1025s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1025s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1025s ok 8 /socket/fd_reuse 1025s ok 9 /socket/address 1025s ok 10 /socket/unix-from-fd 1025s ok 11 /socket/unix-connection 1025s ok 12 /socket/unix-connection-ancillary-data 1025s ok 13 /socket/source-postmortem 1025s ok 14 /socket/read_write 1025s ok 15 /socket/read_writev 1025s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1025s ok 16 /socket/receive_bytes 1025s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1025s ok 17 /socket/receive_bytes_from 1025s # Start of ipv4_sync tests 1025s ok 18 /socket/ipv4_sync/datagram 1025s # Start of datagram tests 1026s ok 19 /socket/ipv4_sync/datagram/timeouts 1026s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1026s # End of datagram tests 1026s # End of ipv4_sync tests 1026s # Start of ipv6_sync tests 1026s ok 20 /socket/ipv6_sync/datagram 1026s # Start of datagram tests 1027s ok 21 /socket/ipv6_sync/datagram/timeouts 1027s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1027s # End of datagram tests 1027s # End of ipv6_sync tests 1027s # Start of reuse tests 1027s ok 22 /socket/reuse/tcp 1027s ok 23 /socket/reuse/udp 1027s # End of reuse tests 1027s # Start of get_available tests 1027s Executing: glib/socket.test 1027s ok 24 /socket/get_available/datagram 1027s ok 25 /socket/get_available/stream 1027s # End of get_available tests 1027s # Start of credentials tests 1027s # Supported on this OS: GCredentials:linux-ucred:pid=0 1027s ok 26 /socket/credentials/tcp_client 1027s # Supported on this OS: GCredentials:linux-ucred:pid=0 1027s ok 27 /socket/credentials/tcp_server 1027s # Supported on this OS: GCredentials:linux-ucred:pid=19315,uid=1000,gid=1000 1027s ok 28 /socket/credentials/unix_socketpair 1027s # End of credentials tests 1027s # End of socket tests 1027s PASS: glib/socket.test 1027s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=8192 1027s autopkgtest [01:18:42]: test socket: -----------------------] 1028s socket PASS 1028s autopkgtest [01:18:43]: test socket: - - - - - - - - - - results - - - - - - - - - - 1028s autopkgtest [01:18:43]: test testfilemonitor: preparing testbed 1029s Reading package lists... 1030s Building dependency tree... 1030s Reading state information... 1030s Starting pkgProblemResolver with broken count: 0 1030s Starting 2 pkgProblemResolver with broken count: 0 1030s Done 1030s The following NEW packages will be installed: 1030s autopkgtest-satdep 1030s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1030s Need to get 0 B/780 B of archives. 1030s After this operation, 0 B of additional disk space will be used. 1030s Get:1 /tmp/autopkgtest.4l9LOF/12-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [780 B] 1030s Selecting previously unselected package autopkgtest-satdep. 1030s (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 ... 71554 files and directories currently installed.) 1030s Preparing to unpack .../12-autopkgtest-satdep.deb ... 1030s Unpacking autopkgtest-satdep (0) ... 1030s Setting up autopkgtest-satdep (0) ... 1032s (Reading database ... 71554 files and directories currently installed.) 1032s Removing autopkgtest-satdep (0) ... 1032s autopkgtest [01:18:47]: test testfilemonitor: [----------------------- 1033s Running test: glib/testfilemonitor.test 1033s TAP version 13 1033s # random seed: R02S03cb91425125821b6def3ebc35966251 1033s 1..8 1033s # Start of monitor tests 1033s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1033s # Using temporary directory: /tmp/gio-test-testfilemonitor_YEINK2 1033s # Using GFileMonitor GInotifyFileMonitor 1035s ok 1 /monitor/atomic-replace 1035s # slow test /monitor/atomic-replace executed in 2.00 secs 1035s # Using temporary directory: /tmp/gio-test-testfilemonitor_MKUIK2 1035s # Using GFileMonitor GInotifyFileMonitor 1037s ok 2 /monitor/file-changes 1037s # slow test /monitor/file-changes executed in 2.50 secs 1037s # Using temporary directory: /tmp/gio-test-testfilemonitor_2H3YK2 1037s # Using GFileMonitor GInotifyFileMonitor 1038s Executing: glib/testfilemonitor.test 1041s ok 3 /monitor/dir-monitor 1041s # slow test /monitor/dir-monitor executed in 3.51 secs 1041s # Using temporary directory: /tmp/gio-test-testfilemonitor_NU1IK2 1041s # Using GFileMonitor GInotifyFileMonitor 1043s Executing: glib/testfilemonitor.test 1048s Executing: glib/testfilemonitor.test 1053s Executing: glib/testfilemonitor.test 1058s Executing: glib/testfilemonitor.test 1063s Executing: glib/testfilemonitor.test 1066s ok 4 /monitor/dir-not-existent 1066s # slow test /monitor/dir-not-existent executed in 25.02 secs 1066s # Using temporary directory: /tmp/gio-test-testfilemonitor_NRKJK2 1066s # Using GFileMonitor 0 GInotifyFileMonitor 1066s # Using GFileMonitor 1 GInotifyFileMonitor 1068s ok 5 /monitor/cross-dir-moves 1068s # slow test /monitor/cross-dir-moves executed in 2.00 secs 1068s # Using temporary directory: /tmp/gio-test-testfilemonitor_3LHJK2 1068s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn?t cause a deadlock. 1068s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 1068s ok 6 /monitor/finalize-in-callback 1068s # Using temporary directory: /tmp/gio-test-testfilemonitor_NOSJK2 1068s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1068s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1068s ok 7 /monitor/root 1068s # Start of file tests 1068s # Using temporary directory: /tmp/gio-test-testfilemonitor_NZMJK2 1068s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 1068s # Running with hard link tests 1068s # Using GFileMonitor GInotifyFileMonitor 1068s Executing: glib/testfilemonitor.test 1071s # Event 0 at expected index 7 skipped because it is marked as optional 1071s # Event 2 at expected index 11 skipped because it is marked as optional 1071s ok 8 /monitor/file/hard-links 1071s # slow test /monitor/file/hard-links executed in 3.51 secs 1071s # End of file tests 1071s # End of monitor tests 1071s PASS: glib/testfilemonitor.test 1071s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=8192 1072s autopkgtest [01:19:27]: test testfilemonitor: -----------------------] 1072s testfilemonitor PASS 1072s autopkgtest [01:19:27]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 1072s autopkgtest [01:19:27]: test thread-pool-slow: preparing testbed 1074s Reading package lists... 1074s Building dependency tree... 1074s Reading state information... 1074s Starting pkgProblemResolver with broken count: 0 1074s Starting 2 pkgProblemResolver with broken count: 0 1074s Done 1074s The following NEW packages will be installed: 1074s autopkgtest-satdep 1074s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1074s Need to get 0 B/772 B of archives. 1074s After this operation, 0 B of additional disk space will be used. 1074s Get:1 /tmp/autopkgtest.4l9LOF/13-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [772 B] 1075s Selecting previously unselected package autopkgtest-satdep. 1075s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 71554 files and directories currently installed.) 1075s Preparing to unpack .../13-autopkgtest-satdep.deb ... 1075s Unpacking autopkgtest-satdep (0) ... 1075s Setting up autopkgtest-satdep (0) ... 1076s (Reading database ... 71554 files and directories currently installed.) 1076s Removing autopkgtest-satdep (0) ... 1077s autopkgtest [01:19:32]: test thread-pool-slow: [----------------------- 1077s Running test: glib/thread-pool-slow.test 1077s TAP version 13 1077s # random seed: R02S99fdfccf361e46d261553368ea787393 1077s 1..7 1077s # Start of threadpool tests 1077s ok 1 /threadpool/functions 1078s ok 2 /threadpool/stop-unused 1078s # slow test /threadpool/stop-unused executed in 0.51 secs 1078s ok 3 /threadpool/pools 1078s # [unsorted] ===> pushed new thread with id:55, number of threads:1, unprocessed:0 1078s # [unsorted] ===> pushed new thread with id:84, number of threads:2, unprocessed:1 1078s # [unsorted] ===> pushed new thread with id:30, number of threads:3, unprocessed:1 1078s # [unsorted] ===> pushed new thread with id:24, number of threads:4, unprocessed:2 1078s # [unsorted] ===> pushed new thread with id:9, number of threads:5, unprocessed:3 1078s # [unsorted] ===> pushed new thread with id:52, number of threads:6, unprocessed:4 1078s # [unsorted] ===> pushed new thread with id:17, number of threads:7, unprocessed:5 1078s # [unsorted] ===> pushed new thread with id:13, number of threads:8, unprocessed:0 1078s # [unsorted] ===> pushed new thread with id:59, number of threads:9, unprocessed:1 1078s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:2 1078s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:3 1078s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:4 1078s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:5 1078s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:6 1078s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:7 1078s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:8 1078s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:9 1078s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:10 1078s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:11 1078s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:12 1078s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:13 1078s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:14 1078s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:15 1078s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:16 1078s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:17 1078s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:18 1078s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:19 1078s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:20 1078s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:21 1078s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:22 1078s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:23 1078s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:24 1078s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:25 1078s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:26 1078s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:27 1078s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:28 1078s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:29 1078s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:30 1078s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:31 1078s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:32 1078s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:33 1078s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:34 1078s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:35 1078s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:36 1078s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:37 1078s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:38 1078s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:39 1078s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:40 1078s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:41 1078s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:42 1078s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:43 1078s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:44 1078s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:45 1078s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:46 1078s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:47 1078s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:48 1078s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:49 1078s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:50 1078s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:51 1078s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:52 1078s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:53 1078s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:54 1078s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:55 1078s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:56 1078s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:57 1078s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:58 1078s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:59 1078s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:60 1078s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:61 1078s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:62 1078s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:63 1078s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:64 1078s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:65 1078s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:66 1078s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:67 1078s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:68 1078s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:69 1078s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:70 1078s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:71 1078s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:72 1078s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:73 1078s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:74 1078s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:75 1078s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:76 1078s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:77 1078s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:78 1078s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:79 1078s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:80 1078s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:81 1078s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:82 1078s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:83 1078s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:84 1078s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:85 1078s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:86 1078s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:87 1078s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:88 1078s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:89 1078s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:90 1078s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:91 1078s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:92 1078s ok 4 /threadpool/no-sort 1078s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:1 1078s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:2 1078s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:3 1078s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:4 1078s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:5 1078s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:6 1078s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:7 1078s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:8 1078s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:9 1078s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:10 1078s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:11 1078s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:12 1078s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:13 1078s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:14 1078s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:15 1078s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:16 1078s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:17 1078s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:18 1078s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:19 1078s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:20 1078s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:21 1078s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:22 1078s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:23 1078s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:24 1078s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:25 1078s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:26 1078s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:27 1078s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:28 1078s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:29 1078s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:30 1078s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:31 1078s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:32 1078s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:33 1078s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:34 1078s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:35 1078s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:36 1078s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:37 1078s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:38 1078s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:39 1078s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:40 1078s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:41 1078s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:42 1078s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:43 1078s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:44 1078s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:45 1078s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:46 1078s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:47 1078s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:48 1078s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:49 1078s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:50 1078s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:51 1078s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:52 1078s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:53 1078s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:54 1078s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:55 1078s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:56 1078s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:57 1078s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:58 1078s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:59 1078s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:60 1078s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:61 1078s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:62 1078s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:63 1078s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:64 1078s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:65 1078s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:66 1078s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:67 1078s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:68 1078s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:69 1078s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:70 1078s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:71 1078s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:72 1078s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:73 1078s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:74 1078s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:75 1078s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:76 1078s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:77 1078s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:78 1078s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:79 1078s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:80 1078s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:81 1078s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:82 1078s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:83 1078s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:84 1078s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:85 1078s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:86 1078s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:87 1078s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:88 1078s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:89 1078s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:90 1078s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:91 1078s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:92 1078s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:93 1078s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:94 1078s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:95 1078s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:96 1078s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:97 1078s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:98 1078s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:99 1078s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:100 1078s # Starting thread pool processing 1078s ok 5 /threadpool/sort 1078s ok 6 /threadpool/stop-unused-multiple 1078s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1078s # Pool idle thread count: 0, unprocessed jobs: 47 1079s # Pool idle thread count: 0, unprocessed jobs: 0 1079s # Pool idle thread count: 0, unprocessed jobs: 0 1079s # Pool idle thread count: 10, unprocessed jobs: 0 1079s # Pool idle thread count: 10, unprocessed jobs: 0 1080s # Pool idle thread count: 10, unprocessed jobs: 0 1080s # Pool idle thread count: 10, unprocessed jobs: 0 1080s # Pool idle thread count: 10, unprocessed jobs: 0 1080s # Pool idle thread count: 10, unprocessed jobs: 0 1081s # Pool idle thread count: 10, unprocessed jobs: 0 1081s # Pool idle thread count: 10, unprocessed jobs: 0 1081s # Pool idle thread count: 10, unprocessed jobs: 0 1081s # Pool idle thread count: 10, unprocessed jobs: 0 1082s # Pool idle thread count: 10, unprocessed jobs: 0 1082s # Pool idle thread count: 10, unprocessed jobs: 0 1082s # Pool idle thread count: 10, unprocessed jobs: 0 1082s # Pool idle thread count: 10, unprocessed jobs: 0 1083s # Pool idle thread count: 10, unprocessed jobs: 0 1083s # Pool idle thread count: 10, unprocessed jobs: 0 1083s Executing: glib/thread-pool-slow.test 1083s # Pool idle thread count: 10, unprocessed jobs: 0 1083s # Pool idle thread count: 10, unprocessed jobs: 0 1084s # Pool idle thread count: 10, unprocessed jobs: 0 1084s # Pool idle thread count: 10, unprocessed jobs: 0 1084s # Pool idle thread count: 10, unprocessed jobs: 0 1084s # Pool idle thread count: 10, unprocessed jobs: 0 1085s # Pool idle thread count: 10, unprocessed jobs: 0 1085s # Pool idle thread count: 10, unprocessed jobs: 0 1085s # Pool idle thread count: 10, unprocessed jobs: 0 1085s # Pool idle thread count: 10, unprocessed jobs: 0 1086s # Pool idle thread count: 10, unprocessed jobs: 0 1086s # Pool idle thread count: 10, unprocessed jobs: 0 1086s # Pool idle thread count: 10, unprocessed jobs: 0 1086s # Pool idle thread count: 10, unprocessed jobs: 0 1087s # Pool idle thread count: 10, unprocessed jobs: 0 1087s # Pool idle thread count: 10, unprocessed jobs: 0 1087s # Pool idle thread count: 10, unprocessed jobs: 2 1087s # Pool idle thread count: 8, unprocessed jobs: 0 1087s # Pool idle thread count: 8, unprocessed jobs: 0 1087s # Pool idle thread count: 8, unprocessed jobs: 0 1088s # Pool idle thread count: 10, unprocessed jobs: 0 1088s # Pool idle thread count: 10, unprocessed jobs: 0 1088s Executing: glib/thread-pool-slow.test 1088s # Pool idle thread count: 10, unprocessed jobs: 0 1088s # Pool idle thread count: 10, unprocessed jobs: 0 1089s # Pool idle thread count: 10, unprocessed jobs: 0 1089s # Pool idle thread count: 10, unprocessed jobs: 0 1089s # Pool idle thread count: 2, unprocessed jobs: 0 1089s # Pool idle thread count: 2, unprocessed jobs: 0 1090s # Pool idle thread count: 2, unprocessed jobs: 0 1090s # Pool idle thread count: 2, unprocessed jobs: 0 1090s # Pool idle thread count: 2, unprocessed jobs: 0 1090s # Pool idle thread count: 2, unprocessed jobs: 0 1091s # Pool idle thread count: 2, unprocessed jobs: 0 1091s # Pool idle thread count: 2, unprocessed jobs: 0 1091s # Pool idle thread count: 2, unprocessed jobs: 0 1091s # Pool idle thread count: 2, unprocessed jobs: 0 1092s # Pool idle thread count: 2, unprocessed jobs: 0 1092s # Pool idle thread count: 2, unprocessed jobs: 0 1092s # Pool idle thread count: 2, unprocessed jobs: 0 1092s # Pool idle thread count: 2, unprocessed jobs: 0 1093s Executing: glib/thread-pool-slow.test 1093s # Pool idle thread count: 2, unprocessed jobs: 0 1093s # Pool idle thread count: 2, unprocessed jobs: 0 1093s # Pool idle thread count: 2, unprocessed jobs: 0 1093s # Pool idle thread count: 2, unprocessed jobs: 0 1094s # Pool idle thread count: 2, unprocessed jobs: 0 1094s # Pool idle thread count: 2, unprocessed jobs: 0 1094s # Pool idle thread count: 2, unprocessed jobs: 0 1094s # Pool idle thread count: 2, unprocessed jobs: 0 1095s # Pool idle thread count: 2, unprocessed jobs: 0 1095s # Pool idle thread count: 2, unprocessed jobs: 0 1095s # Pool idle thread count: 2, unprocessed jobs: 0 1095s # Pool idle thread count: 2, unprocessed jobs: 0 1096s # Pool idle thread count: 2, unprocessed jobs: 0 1096s # Pool idle thread count: 2, unprocessed jobs: 0 1096s # Pool idle thread count: 2, unprocessed jobs: 0 1096s # Pool idle thread count: 2, unprocessed jobs: 0 1097s # Pool idle thread count: 2, unprocessed jobs: 0 1097s # Pool idle thread count: 2, unprocessed jobs: 0 1097s # Pool idle thread count: 2, unprocessed jobs: 0 1097s # Pool idle thread count: 2, unprocessed jobs: 0 1098s Executing: glib/thread-pool-slow.test 1098s ok 7 /threadpool/idle-time 1098s # slow test /threadpool/idle-time executed in 19.53 secs 1098s # End of threadpool tests 1098s PASS: glib/thread-pool-slow.test 1098s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.0s; maxrss=8192 1098s autopkgtest [01:19:53]: test thread-pool-slow: -----------------------] 1099s autopkgtest [01:19:54]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 1099s thread-pool-slow PASS 1099s autopkgtest [01:19:54]: test threadtests: preparing testbed 1100s Reading package lists... 1100s Building dependency tree... 1100s Reading state information... 1101s Starting pkgProblemResolver with broken count: 0 1101s Starting 2 pkgProblemResolver with broken count: 0 1101s Done 1101s The following NEW packages will be installed: 1101s autopkgtest-satdep 1101s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1101s Need to get 0 B/780 B of archives. 1101s After this operation, 0 B of additional disk space will be used. 1101s Get:1 /tmp/autopkgtest.4l9LOF/14-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [780 B] 1101s Selecting previously unselected package autopkgtest-satdep. 1101s (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 ... 71554 files and directories currently installed.) 1101s Preparing to unpack .../14-autopkgtest-satdep.deb ... 1101s Unpacking autopkgtest-satdep (0) ... 1101s Setting up autopkgtest-satdep (0) ... 1103s (Reading database ... 71554 files and directories currently installed.) 1103s Removing autopkgtest-satdep (0) ... 1103s autopkgtest [01:19:58]: test threadtests: [----------------------- 1104s Running test: glib/threadtests.test 1104s TAP version 13 1104s # random seed: R02S8fcea808e3b45150aec287f5cb900dc1 1104s 1..5 1104s # Start of GObject tests 1104s ok 1 /GObject/threaded-object-init 1104s ok 2 /GObject/threaded-weak-ref 1104s # slow test /GObject/threaded-weak-ref executed in 0.72 secs 1104s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1104s # /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 1105s ok 3 /GObject/threaded-toggle-notify 1105s # slow test /GObject/threaded-toggle-notify executed in 0.51 secs 1105s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1105s # Start of threaded-weak-ref tests 1105s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1105s # /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. 1105s ok 5 /GObject/threaded-weak-ref/on-finalization 1105s # End of threaded-weak-ref tests 1105s # End of GObject tests 1105s PASS: glib/threadtests.test 1105s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.7s; system=0.4s; maxrss=4096 1105s autopkgtest [01:20:00]: test threadtests: -----------------------] 1106s autopkgtest [01:20:01]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 1106s threadtests PASS 1106s autopkgtest [01:20:01]: test timeout: preparing testbed 1109s Reading package lists... 1109s Building dependency tree... 1109s Reading state information... 1110s Starting pkgProblemResolver with broken count: 0 1110s Starting 2 pkgProblemResolver with broken count: 0 1110s Done 1110s The following NEW packages will be installed: 1110s autopkgtest-satdep 1110s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1110s Need to get 0 B/780 B of archives. 1110s After this operation, 0 B of additional disk space will be used. 1110s Get:1 /tmp/autopkgtest.4l9LOF/15-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [780 B] 1110s Selecting previously unselected package autopkgtest-satdep. 1110s (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 ... 71554 files and directories currently installed.) 1110s Preparing to unpack .../15-autopkgtest-satdep.deb ... 1110s Unpacking autopkgtest-satdep (0) ... 1110s Setting up autopkgtest-satdep (0) ... 1112s (Reading database ... 71554 files and directories currently installed.) 1113s Removing autopkgtest-satdep (0) ... 1113s autopkgtest [01:20:08]: test timeout: [----------------------- 1113s Running test: glib/timeout.test 1113s TAP version 13 1113s # random seed: R02Saf562420b4bba7471b3e84b1d6ff3e47 1113s 1..5 1113s # Start of timeout tests 1113s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1115s ok 1 /timeout/seconds 1115s # slow test /timeout/seconds executed in 2.10 secs 1117s ok 2 /timeout/seconds-once 1117s # slow test /timeout/seconds-once executed in 2.10 secs 1117s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1119s Executing: glib/timeout.test 1120s ok 3 /timeout/weeks-overflow 1120s # slow test /timeout/weeks-overflow executed in 2.10 secs 1120s ok 4 /timeout/far-future-ready-time 1124s Executing: glib/timeout.test 1129s Executing: glib/timeout.test 1130s ok 5 /timeout/rounding 1130s # slow test /timeout/rounding executed in 10.45 secs 1130s # End of timeout tests 1130s PASS: glib/timeout.test 1130s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2048 1130s autopkgtest [01:20:25]: test timeout: -----------------------] 1131s autopkgtest [01:20:26]: test timeout: - - - - - - - - - - results - - - - - - - - - - 1131s timeout PASS 1131s autopkgtest [01:20:26]: test timer: preparing testbed 1133s Reading package lists... 1133s Building dependency tree... 1133s Reading state information... 1134s Starting pkgProblemResolver with broken count: 0 1134s Starting 2 pkgProblemResolver with broken count: 0 1134s Done 1134s The following NEW packages will be installed: 1134s autopkgtest-satdep 1134s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1134s Need to get 0 B/776 B of archives. 1134s After this operation, 0 B of additional disk space will be used. 1134s Get:1 /tmp/autopkgtest.4l9LOF/16-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [776 B] 1134s Selecting previously unselected package autopkgtest-satdep. 1134s (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 ... 71554 files and directories currently installed.) 1134s Preparing to unpack .../16-autopkgtest-satdep.deb ... 1134s Unpacking autopkgtest-satdep (0) ... 1134s Setting up autopkgtest-satdep (0) ... 1136s (Reading database ... 71554 files and directories currently installed.) 1136s Removing autopkgtest-satdep (0) ... 1136s autopkgtest [01:20:31]: test timer: [----------------------- 1137s Running test: glib/timer.test 1137s TAP version 13 1137s # random seed: R02Sa2f659fae4ea0b1dc0082020a165663a 1137s 1..10 1137s # Start of timer tests 1137s ok 1 /timer/basic 1137s ok 2 /timer/stop 1137s ok 3 /timer/continue 1137s ok 4 /timer/reset 1137s ok 5 /timer/is_active 1137s # End of timer tests 1137s # Start of timeval tests 1137s ok 6 /timeval/add 1137s ok 7 /timeval/from-iso8601 1137s ok 8 /timeval/to-iso8601 1137s # Start of to-iso8601 tests 1137s ok 9 /timeval/to-iso8601/overflow 1137s # End of to-iso8601 tests 1137s # End of timeval tests 1137s # Start of usleep tests 1137s ok 10 /usleep/with-zero-wait 1137s # End of usleep tests 1137s PASS: glib/timer.test 1137s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2048 1137s autopkgtest [01:20:32]: test timer: -----------------------] 1137s autopkgtest [01:20:32]: test timer: - - - - - - - - - - results - - - - - - - - - - 1137s timer PASS 1138s autopkgtest [01:20:33]: test 1065022-futureproofing: preparing testbed 1302s autopkgtest [01:23:17]: testbed dpkg architecture: ppc64el 1302s autopkgtest [01:23:17]: testbed apt version: 2.7.12 1302s autopkgtest [01:23:17]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1303s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 1303s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [449 kB] 1303s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [4812 B] 1303s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [45.5 kB] 1303s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [2818 kB] 1303s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el Packages [596 kB] 1303s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el c-n-f Metadata [3116 B] 1303s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted ppc64el Packages [1372 B] 1303s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted ppc64el c-n-f Metadata [116 B] 1303s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el Packages [3177 kB] 1304s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el c-n-f Metadata [8652 B] 1304s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse ppc64el Packages [41.2 kB] 1304s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse ppc64el c-n-f Metadata [116 B] 1307s Fetched 7261 kB in 2s (3663 kB/s) 1307s Reading package lists... 1309s Reading package lists... 1309s Building dependency tree... 1309s Reading state information... 1309s Calculating upgrade... 1309s The following packages will be REMOVED: 1309s libglib2.0-0 1309s The following NEW packages will be installed: 1309s libglib2.0-0t64 xdg-user-dirs 1309s The following packages will be upgraded: 1309s gir1.2-glib-2.0 libglib2.0-data 1310s 2 upgraded, 2 newly installed, 1 to remove and 0 not upgraded. 1310s Need to get 2022 kB of archives. 1310s After this operation, 204 kB of additional disk space will be used. 1310s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el gir1.2-glib-2.0 ppc64el 2.79.3-3ubuntu5 [182 kB] 1310s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libglib2.0-0t64 ppc64el 2.79.3-3ubuntu5 [1773 kB] 1310s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libglib2.0-data all 2.79.3-3ubuntu5 [46.6 kB] 1310s Get:4 http://ftpmaster.internal/ubuntu noble/main ppc64el xdg-user-dirs ppc64el 0.18-1 [20.0 kB] 1311s Fetched 2022 kB in 1s (2169 kB/s) 1311s (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 ... 70096 files and directories currently installed.) 1311s Preparing to unpack .../gir1.2-glib-2.0_2.79.3-3ubuntu5_ppc64el.deb ... 1311s Unpacking gir1.2-glib-2.0:ppc64el (2.79.3-3ubuntu5) over (2.79.2-1~ubuntu1) ... 1311s dpkg: libglib2.0-0:ppc64el: dependency problems, but removing anyway as you requested: 1311s udisks2 depends on libglib2.0-0 (>= 2.77.0). 1311s shared-mime-info depends on libglib2.0-0 (>= 2.75.3). 1311s python3-gi depends on libglib2.0-0 (>= 2.77.0). 1311s python3-dbus depends on libglib2.0-0 (>= 2.16.0). 1311s netplan.io depends on libglib2.0-0 (>= 2.70.0). 1311s netplan-generator depends on libglib2.0-0 (>= 2.70.0). 1311s libxmlb2:ppc64el depends on libglib2.0-0 (>= 2.54.0). 1311s libvolume-key1:ppc64el depends on libglib2.0-0 (>= 2.18.0). 1311s libudisks2-0:ppc64el depends on libglib2.0-0 (>= 2.75.3). 1311s libqrtr-glib0:ppc64el depends on libglib2.0-0 (>= 2.56). 1311s libqmi-proxy depends on libglib2.0-0 (>= 2.30.0). 1311s libqmi-glib5:ppc64el depends on libglib2.0-0 (>= 2.54.0). 1311s libpolkit-gobject-1-0:ppc64el depends on libglib2.0-0 (>= 2.38.0). 1311s libpolkit-agent-1-0:ppc64el depends on libglib2.0-0 (>= 2.38.0). 1311s libnetplan0:ppc64el depends on libglib2.0-0 (>= 2.75.3). 1311s libmm-glib0:ppc64el depends on libglib2.0-0 (>= 2.62.0). 1311s libmbim-proxy depends on libglib2.0-0 (>= 2.56). 1311s libmbim-glib4:ppc64el depends on libglib2.0-0 (>= 2.56). 1311s libjson-glib-1.0-0:ppc64el depends on libglib2.0-0 (>= 2.75.3). 1311s libjcat1:ppc64el depends on libglib2.0-0 (>= 2.75.3). 1311s libgusb2:ppc64el depends on libglib2.0-0 (>= 2.75.3). 1311s libgudev-1.0-0:ppc64el depends on libglib2.0-0 (>= 2.38.0). 1311s libgirepository-1.0-1:ppc64el depends on libglib2.0-0 (>= 2.79.0). 1311s libfwupd2:ppc64el depends on libglib2.0-0 (>= 2.79.0). 1311s libblockdev3:ppc64el depends on libglib2.0-0 (>= 2.42.2). 1311s libblockdev-utils3:ppc64el depends on libglib2.0-0 (>= 2.75.3). 1311s libblockdev-swap3:ppc64el depends on libglib2.0-0 (>= 2.42.2). 1311s libblockdev-part3:ppc64el depends on libglib2.0-0 (>= 2.42.2). 1311s libblockdev-nvme3:ppc64el depends on libglib2.0-0 (>= 2.42.2). 1311s libblockdev-mdraid3:ppc64el depends on libglib2.0-0 (>= 2.42.2). 1311s libblockdev-loop3:ppc64el depends on libglib2.0-0 (>= 2.42.2). 1311s libblockdev-fs3:ppc64el depends on libglib2.0-0 (>= 2.42.2). 1311s libblockdev-crypto3:ppc64el depends on libglib2.0-0 (>= 2.42.2). 1311s fwupd depends on libglib2.0-0 (>= 2.79.0). 1311s bolt depends on libglib2.0-0 (>= 2.56.0). 1311s 1311s (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 ... 70096 files and directories currently installed.) 1311s Removing libglib2.0-0:ppc64el (2.79.2-1~ubuntu1) ... 1311s Selecting previously unselected package libglib2.0-0t64:ppc64el. 1311s (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 ... 70071 files and directories currently installed.) 1311s Preparing to unpack .../libglib2.0-0t64_2.79.3-3ubuntu5_ppc64el.deb ... 1311s 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... 1311s removed '/var/lib/dpkg/info/libglib2.0-0:ppc64el.postrm' 1311s Unpacking libglib2.0-0t64:ppc64el (2.79.3-3ubuntu5) ... 1311s Preparing to unpack .../libglib2.0-data_2.79.3-3ubuntu5_all.deb ... 1311s Unpacking libglib2.0-data (2.79.3-3ubuntu5) over (2.79.2-1~ubuntu1) ... 1311s Selecting previously unselected package xdg-user-dirs. 1311s Preparing to unpack .../xdg-user-dirs_0.18-1_ppc64el.deb ... 1311s Unpacking xdg-user-dirs (0.18-1) ... 1311s Setting up xdg-user-dirs (0.18-1) ... 1311s Setting up libglib2.0-0t64:ppc64el (2.79.3-3ubuntu5) ... 1311s No schema files found: doing nothing. 1311s Setting up libglib2.0-data (2.79.3-3ubuntu5) ... 1311s Setting up gir1.2-glib-2.0:ppc64el (2.79.3-3ubuntu5) ... 1311s Processing triggers for man-db (2.12.0-3) ... 1312s Processing triggers for libc-bin (2.39-0ubuntu2) ... 1312s Reading package lists... 1312s Building dependency tree... 1312s Reading state information... 1312s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1312s Hit:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease 1312s Hit:2 http://ftpmaster.internal/ubuntu noble InRelease 1313s Hit:3 http://ftpmaster.internal/ubuntu noble-updates InRelease 1313s Hit:4 http://ftpmaster.internal/ubuntu noble-security InRelease 1314s Reading package lists... 1314s Reading package lists... 1314s Building dependency tree... 1314s Reading state information... 1314s Calculating upgrade... 1314s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1314s Reading package lists... 1314s Building dependency tree... 1314s Reading state information... 1315s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1318s Reading package lists... 1318s Building dependency tree... 1318s Reading state information... 1319s Starting pkgProblemResolver with broken count: 0 1319s Starting 2 pkgProblemResolver with broken count: 0 1319s Done 1319s The following additional packages will be installed: 1319s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 1319s libdconf1 session-migration 1319s Suggested packages: 1319s fakeroot 1319s The following NEW packages will be installed: 1319s autopkgtest-satdep dconf-gsettings-backend dconf-service dpkg-repack 1319s gsettings-desktop-schemas libdconf1 session-migration 1319s 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded. 1319s Need to get 157 kB/158 kB of archives. 1319s After this operation, 856 kB of additional disk space will be used. 1319s Get:1 /tmp/autopkgtest.4l9LOF/17-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [760 B] 1319s Get:2 http://ftpmaster.internal/ubuntu noble/main ppc64el libdconf1 ppc64el 0.40.0-4 [43.0 kB] 1319s Get:3 http://ftpmaster.internal/ubuntu noble/main ppc64el dconf-service ppc64el 0.40.0-4 [31.0 kB] 1319s Get:4 http://ftpmaster.internal/ubuntu noble/main ppc64el dconf-gsettings-backend ppc64el 0.40.0-4 [25.3 kB] 1319s Get:5 http://ftpmaster.internal/ubuntu noble/main ppc64el dpkg-repack all 1.52 [12.1 kB] 1319s Get:6 http://ftpmaster.internal/ubuntu noble/main ppc64el session-migration ppc64el 0.3.6 [10.0 kB] 1319s Get:7 http://ftpmaster.internal/ubuntu noble/main ppc64el gsettings-desktop-schemas all 46~beta-3ubuntu1 [35.3 kB] 1320s Fetched 157 kB in 0s (363 kB/s) 1320s Selecting previously unselected package libdconf1:ppc64el. 1320s (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 ... 70110 files and directories currently installed.) 1320s Preparing to unpack .../0-libdconf1_0.40.0-4_ppc64el.deb ... 1320s Unpacking libdconf1:ppc64el (0.40.0-4) ... 1320s Selecting previously unselected package dconf-service. 1320s Preparing to unpack .../1-dconf-service_0.40.0-4_ppc64el.deb ... 1320s Unpacking dconf-service (0.40.0-4) ... 1320s Selecting previously unselected package dconf-gsettings-backend:ppc64el. 1320s Preparing to unpack .../2-dconf-gsettings-backend_0.40.0-4_ppc64el.deb ... 1320s Unpacking dconf-gsettings-backend:ppc64el (0.40.0-4) ... 1320s Selecting previously unselected package dpkg-repack. 1320s Preparing to unpack .../3-dpkg-repack_1.52_all.deb ... 1320s Unpacking dpkg-repack (1.52) ... 1320s Selecting previously unselected package session-migration. 1320s Preparing to unpack .../4-session-migration_0.3.6_ppc64el.deb ... 1320s Unpacking session-migration (0.3.6) ... 1320s Selecting previously unselected package gsettings-desktop-schemas. 1320s Preparing to unpack .../5-gsettings-desktop-schemas_46~beta-3ubuntu1_all.deb ... 1320s Unpacking gsettings-desktop-schemas (46~beta-3ubuntu1) ... 1320s Selecting previously unselected package autopkgtest-satdep. 1320s Preparing to unpack .../6-17-autopkgtest-satdep.deb ... 1320s Unpacking autopkgtest-satdep (0) ... 1320s Setting up session-migration (0.3.6) ... 1320s Created symlink /etc/systemd/user/graphical-session-pre.target.wants/session-migration.service → /usr/lib/systemd/user/session-migration.service. 1320s Setting up dpkg-repack (1.52) ... 1320s Setting up libdconf1:ppc64el (0.40.0-4) ... 1320s Setting up dconf-service (0.40.0-4) ... 1320s Setting up dconf-gsettings-backend:ppc64el (0.40.0-4) ... 1320s Setting up gsettings-desktop-schemas (46~beta-3ubuntu1) ... 1320s Processing triggers for libc-bin (2.39-0ubuntu2) ... 1320s Processing triggers for man-db (2.12.0-3) ... 1320s Processing triggers for libglib2.0-0t64:ppc64el (2.79.3-3ubuntu5) ... 1320s Setting up autopkgtest-satdep (0) ... 1322s (Reading database ... 70193 files and directories currently installed.) 1322s Removing autopkgtest-satdep (0) ... 1328s autopkgtest [01:23:43]: test 1065022-futureproofing: [----------------------- 1329s + export DEBIAN_FRONTEND=noninteractive 1329s + n=0 1329s + failed=0 1329s + binary_package=libglib2.0-0t64 1329s + future_binary_package=libglib2.0-0xyz 1329s + pwd 1329s + srcdir=/tmp/autopkgtest.4l9LOF/build.Xk2/src 1329s + mktemp -d 1329s + tmpdir=/tmp/tmp.MqiLcUBByr 1329s + cd /tmp/tmp.MqiLcUBByr 1329s + [ -e /tmp/autopkgtest.4l9LOF/build.Xk2/src/debian/tests/manual/local-1065022.sources ] 1329s + dpkg-query -W dpkg-repack 1329s + dpkg-repack --generate libglib2.0-0t64 1329s dpkg-repack 1.52 1329s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file 1329s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.Y_9kQT for libglib2.0-0t64 1329s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.Y_9kQT ." 1329s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.Y_9kQT/DEBIAN/control 1329s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.Y_9kQT/DEBIAN/control 1329s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.Y_9kQT/DEBIAN/control 1329s + env binary_package=libglib2.0-0t64 future_binary_package=libglib2.0-0xyz perldpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'. 1329s -p -i -e s/^Package:.*$/Package: $ENV{future_binary_package}/; -e s/^(Breaks:.*)$/$1, $ENV{binary_package}/; -e s/^(Provides:.*)$/$1, $ENV{binary_package}/; -e s/^(Replaces:.*)$/$1, $ENV{binary_package}/; dpkg-repack.libglib2.0-0t64.Y_9kQT/DEBIAN/control 1329s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.Y_9kQT libglib2.0-0xyz.deb 1330s + apt-get -y install ./libglib2.0-0xyz.deb 1331s Reading package lists... 1331s Building dependency tree... 1331s Reading state information... 1331s The following packages were automatically installed and are no longer required: 1331s apport-symptoms libgirepository-1.0-1 python3-apport python3-httplib2 1331s python3-launchpadlib python3-lazr.restfulclient python3-lazr.uri 1331s python3-problem-report python3-pyparsing python3-six python3-systemd 1331s python3-wadllib 1331s Use 'sudo apt autoremove' to remove them. 1331s Suggested packages: 1331s low-memory-monitor 1331s The following packages will be REMOVED: 1331s apport apport-core-dump-handler gir1.2-girepository-2.0 gir1.2-glib-2.0 1331s libglib2.0-0t64 networkd-dispatcher python3-gi 1331s The following NEW packages will be installed: 1331s libglib2.0-0xyz 1331s 0 upgraded, 1 newly installed, 7 to remove and 0 not upgraded. 1331s Need to get 0 B/1773 kB of archives. 1331s After this operation, 3185 kB disk space will be freed. 1331s Get:1 /tmp/tmp.MqiLcUBByr/libglib2.0-0xyz.deb libglib2.0-0xyz ppc64el 2.79.3-3ubuntu5 [1773 kB] 1331s (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 ... 70193 files and directories currently installed.) 1331s Removing networkd-dispatcher (2.2.4-1) ... 1332s Removing apport-core-dump-handler (2.28.0-0ubuntu1) ... 1332s Removing apport (2.28.0-0ubuntu1) ... 1332s Removing python3-gi (3.47.0-3) ... 1333s Removing gir1.2-girepository-2.0:ppc64el (1.79.1-1) ... 1333s Removing gir1.2-glib-2.0:ppc64el (2.79.3-3ubuntu5) ... 1333s dpkg: libglib2.0-0t64:ppc64el: dependency problems, but removing anyway as you requested: 1333s udisks2 depends on libglib2.0-0 (>= 2.77.0); however: 1333s Package libglib2.0-0:ppc64el is not installed. 1333s Package libglib2.0-0t64:ppc64el which provides libglib2.0-0 is to be removed. 1333s shared-mime-info depends on libglib2.0-0 (>= 2.75.3); however: 1333s Package libglib2.0-0:ppc64el is not installed. 1333s Package libglib2.0-0t64:ppc64el which provides libglib2.0-0 is to be removed. 1333s session-migration depends on libglib2.0-0 (>= 2.51.1); however: 1333s Package libglib2.0-0:ppc64el is not installed. 1333s Package libglib2.0-0t64:ppc64el which provides libglib2.0-0 is to be removed. 1333s python3-dbus depends on libglib2.0-0 (>= 2.16.0); however: 1333s Package libglib2.0-0:ppc64el is not installed. 1333s Package libglib2.0-0t64:ppc64el which provides libglib2.0-0 is to be removed. 1333s netplan.io depends on libglib2.0-0 (>= 2.70.0); however: 1333s Package libglib2.0-0:ppc64el is not installed. 1333s Package libglib2.0-0t64:ppc64el which provides libglib2.0-0 is to be removed. 1333s netplan-generator depends on libglib2.0-0 (>= 2.70.0); however: 1333s Package libglib2.0-0:ppc64el is not installed. 1333s Package libglib2.0-0t64:ppc64el which provides libglib2.0-0 is to be removed. 1333s libxmlb2:ppc64el depends on libglib2.0-0 (>= 2.54.0); however: 1333s Package libglib2.0-0:ppc64el is not installed. 1333s Package libglib2.0-0t64:ppc64el which provides libglib2.0-0 is to be removed. 1333s libvolume-key1:ppc64el depends on libglib2.0-0 (>= 2.18.0); however: 1333s Package libglib2.0-0:ppc64el is not installed. 1333s Package libglib2.0-0t64:ppc64el which provides libglib2.0-0 is to be removed. 1333s libudisks2-0:ppc64el depends on libglib2.0-0 (>= 2.75.3); however: 1333s Package libglib2.0-0:ppc64el is not installed. 1333s Package libglib2.0-0t64:ppc64el which provides libglib2.0-0 is to be removed. 1333s libqrtr-glib0:ppc64el depends on libglib2.0-0 (>= 2.56); however: 1333s Package libglib2.0-0:ppc64el is not installed. 1333s Package libglib2.0-0t64:ppc64el which provides libglib2.0-0 is to be removed. 1333s libqmi-proxy depends on libglib2.0-0 (>= 2.30.0); however: 1333s Package libglib2.0-0:ppc64el is not installed. 1333s Package libglib2.0-0t64:ppc64el which provides libglib2.0-0 is to be removed. 1333s libqmi-glib5:ppc64el depends on libglib2.0-0 (>= 2.54.0); however: 1333s Package libglib2.0-0:ppc64el is not installed. 1333s Package libglib2.0-0t64:ppc64el which provides libglib2.0-0 is to be removed. 1333s libpolkit-gobject-1-0:ppc64el depends on libglib2.0-0 (>= 2.38.0); however: 1333s Package libglib2.0-0:ppc64el is not installed. 1333s Package libglib2.0-0t64:ppc64el which provides libglib2.0-0 is to be removed. 1333s libpolkit-agent-1-0:ppc64el depends on libglib2.0-0 (>= 2.38.0); however: 1333s Package libglib2.0-0:ppc64el is not installed. 1333s Package libglib2.0-0t64:ppc64el which provides libglib2.0-0 is to be removed. 1333s libnetplan0:ppc64el depends on libglib2.0-0 (>= 2.75.3); however: 1333s Package libglib2.0-0:ppc64el is not installed. 1333s Package libglib2.0-0t64:ppc64el which provides libglib2.0-0 is to be removed. 1333s libmm-glib0:ppc64el depends on libglib2.0-0 (>= 2.62.0); however: 1333s Package libglib2.0-0:ppc64el is not installed. 1333s Package libglib2.0-0t64:ppc64el which provides libglib2.0-0 is to be removed. 1333s libmbim-proxy depends on libglib2.0-0 (>= 2.56); however: 1333s Package libglib2.0-0:ppc64el is not installed. 1333s Package libglib2.0-0t64:ppc64el which provides libglib2.0-0 is to be removed. 1333s libmbim-glib4:ppc64el depends on libglib2.0-0 (>= 2.56); however: 1333s Package libglib2.0-0:ppc64el is not installed. 1333s Package libglib2.0-0t64:ppc64el which provides libglib2.0-0 is to be removed. 1333s libjson-glib-1.0-0:ppc64el depends on libglib2.0-0 (>= 2.75.3); however: 1333s Package libglib2.0-0:ppc64el is not installed. 1333s Package libglib2.0-0t64:ppc64el which provides libglib2.0-0 is to be removed. 1333s libjcat1:ppc64el depends on libglib2.0-0 (>= 2.75.3); however: 1333s Package libglib2.0-0:ppc64el is not installed. 1333s Package libglib2.0-0t64:ppc64el which provides libglib2.0-0 is to be removed. 1333s libgusb2:ppc64el depends on libglib2.0-0 (>= 2.75.3); however: 1333s Package libglib2.0-0:ppc64el is not installed. 1333s Package libglib2.0-0t64:ppc64el which provides libglib2.0-0 is to be removed. 1333s libgudev-1.0-0:ppc64el depends on libglib2.0-0 (>= 2.38.0); however: 1333s Package libglib2.0-0:ppc64el is not installed. 1333s Package libglib2.0-0t64:ppc64el which provides libglib2.0-0 is to be removed. 1333s libgirepository-1.0-1:ppc64el depends on libglib2.0-0 (>= 2.79.0); however: 1333s Package libglib2.0-0:ppc64el is not installed. 1333s Package libglib2.0-0t64:ppc64el which provides libglib2.0-0 is to be removed. 1333s libfwupd2:ppc64el depends on libglib2.0-0 (>= 2.79.0); however: 1333s Package libglib2.0-0:ppc64el is not installed. 1333s Package libglib2.0-0t64:ppc64el which provides libglib2.0-0 is to be removed. 1333s libdconf1:ppc64el depends on libglib2.0-0 (>= 2.55.2); however: 1333s Package libglib2.0-0:ppc64el is not installed. 1333s Package libglib2.0-0t64:ppc64el which provides libglib2.0-0 is to be removed. 1333s libblockdev3:ppc64el depends on libglib2.0-0 (>= 2.42.2); however: 1333s Package libglib2.0-0:ppc64el is not installed. 1333s Package libglib2.0-0t64:ppc64el which provides libglib2.0-0 is to be removed. 1333s libblockdev-utils3:ppc64el depends on libglib2.0-0 (>= 2.75.3); however: 1333s Package libglib2.0-0:ppc64el is not installed. 1333s Package libglib2.0-0t64:ppc64el which provides libglib2.0-0 is to be removed. 1333s libblockdev-swap3:ppc64el depends on libglib2.0-0 (>= 2.42.2); however: 1333s Package libglib2.0-0:ppc64el is not installed. 1333s Package libglib2.0-0t64:ppc64el which provides libglib2.0-0 is to be removed. 1333s libblockdev-part3:ppc64el depends on libglib2.0-0 (>= 2.42.2); however: 1333s Package libglib2.0-0:ppc64el is not installed. 1333s Package libglib2.0-0t64:ppc64el which provides libglib2.0-0 is to be removed. 1333s libblockdev-nvme3:ppc64el depends on libglib2.0-0 (>= 2.42.2); however: 1333s Package libglib2.0-0:ppc64el is not installed. 1333s Package libglib2.0-0t64:ppc64el which provides libglib2.0-0 is to be removed. 1333s libblockdev-mdraid3:ppc64el depends on libglib2.0-0 (>= 2.42.2); however: 1333s Package libglib2.0-0:ppc64el is not installed. 1333s Package libglib2.0-0t64:ppc64el which provides libglib2.0-0 is to be removed. 1333s libblockdev-loop3:ppc64el depends on libglib2.0-0 (>= 2.42.2); however: 1333s Package libglib2.0-0:ppc64el is not installed. 1333s Package libglib2.0-0t64:ppc64el which provides libglib2.0-0 is to be removed. 1333s libblockdev-fs3:ppc64el depends on libglib2.0-0 (>= 2.42.2); however: 1333s Package libglib2.0-0:ppc64el is not installed. 1333s Package libglib2.0-0t64:ppc64el which provides libglib2.0-0 is to be removed. 1333s libblockdev-crypto3:ppc64el depends on libglib2.0-0 (>= 2.42.2); however: 1333s Package libglib2.0-0:ppc64el is not installed. 1333s Package libglib2.0-0t64:ppc64el which provides libglib2.0-0 is to be removed. 1333s fwupd depends on libglib2.0-0 (>= 2.79.0); however: 1333s Package libglib2.0-0:ppc64el is not installed. 1333s Package libglib2.0-0t64:ppc64el which provides libglib2.0-0 is to be removed. 1333s dconf-service depends on libglib2.0-0 (>= 2.55.2); however: 1333s Package libglib2.0-0:ppc64el is not installed. 1333s Package libglib2.0-0t64:ppc64el which provides libglib2.0-0 is to be removed. 1333s dconf-gsettings-backend:ppc64el depends on libglib2.0-0 (>= 2.55.2); however: 1333s Package libglib2.0-0:ppc64el is not installed. 1333s Package libglib2.0-0t64:ppc64el which provides libglib2.0-0 is to be removed. 1333s bolt depends on libglib2.0-0 (>= 2.56.0); however: 1333s Package libglib2.0-0:ppc64el is not installed. 1333s Package libglib2.0-0t64:ppc64el which provides libglib2.0-0 is to be removed. 1333s 1333s Removing libglib2.0-0t64:ppc64el (2.79.3-3ubuntu5) ... 1333s Selecting previously unselected package libglib2.0-0xyz:ppc64el. 1333s (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 ... 70003 files and directories currently installed.) 1333s Preparing to unpack .../libglib2.0-0xyz.deb ... 1333s Unpacking libglib2.0-0xyz:ppc64el (2.79.3-3ubuntu5) ... 1333s Setting up libglib2.0-0xyz:ppc64el (2.79.3-3ubuntu5) ... 1333s Processing triggers for libc-bin (2.39-0ubuntu2) ... 1333s Processing triggers for man-db (2.12.0-3) ... 1333s ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1333s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1333s + n=1 1333s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1333s + echo ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1333s + ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1333s assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1333s + n=2 1333s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1333s + echo ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1334s + assert test -eok 3 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1334s ok 4 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1334s ok 5 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1334s ok 6 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1334s Reading package lists... 1334s Building dependency tree... /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1334s + n=3 1334s + test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1334s + echo ok 3 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1334s + assert test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1334s + n=4 1334s + test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1334s + echo ok 4 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1334s + assert test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1334s + n=5 1334s + test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1334s + echo ok 5 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1334s + assert test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1334s + n=6 1334s + test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1334s + echo ok 6 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1334s + apt-get -y purge libglib2.0-0t64 1334s 1334s Reading state information... 1334s The following packages were automatically installed and are no longer required: 1334s apport-symptoms libgirepository-1.0-1 python3-apport python3-httplib2 1334s python3-launchpadlib python3-lazr.restfulclient python3-lazr.uri 1334s python3-problem-report python3-pyparsing python3-six python3-systemd 1334s python3-wadllib 1334s Use 'sudo apt autoremove' to remove them. 1334s The following packages will be REMOVED: 1334s libglib2.0-0t64* 1334s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1334s After this operation, 0 B of additional disk space will be used. 1334s (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 ... 70024 files and directories currently installed.) 1334s Purging configuration files for libglib2.0-0t64:ppc64el (2.79.3-3ubuntu5) ... 1334s ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1334s ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1334s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1334s + n=7 1334s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1334s + echo ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1334s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1334s + n=8 1334s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1334s + echo ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1334s + assert test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1334s + n=9 1334s + test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1334s + echo ok 9 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1334s + ok 9 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1334s assert test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1334s + n=10 1334s + test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1334s + echo ok 10 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1334s ok 10 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1334s ok 11 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1334s + assert test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1334s + n=11 1334s + test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1334s + echo ok 11 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1334s ok 12 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1334s + assert test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1334s + n=12 1334s + test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1334s + echo ok 12 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1334s + apt-get -y purge libglib2.0-0xyz 1334s Reading package lists... 1334s Building dependency tree... 1334s Reading state information... 1335s The following packages were automatically installed and are no longer required: 1335s apport-symptoms jq libarchive13 libatasmart4 libbytesize-common libbytesize1 1335s libcurl3-gnutls libflashrom1 libftdi1-2 libglib2.0-data libgpgme11 libjq1 1335s libjson-glib-1.0-common libnspr4 libnss3 libnvme1 libonig5 libprotobuf-c1 1335s python3-apport python3-blinker python3-certifi python3-cffi-backend 1335s python3-chardet python3-configobj python3-cryptography python3-debconf 1335s python3-httplib2 python3-jwt python3-launchpadlib python3-lazr.restfulclient 1335s python3-lazr.uri python3-markdown-it python3-mdurl python3-netifaces 1335s python3-oauthlib python3-openssl python3-problem-report python3-pygments 1335s python3-pyparsing python3-requests python3-rich python3-six python3-systemd 1335s python3-urllib3 python3-wadllib xdg-user-dirs 1335s Use 'sudo apt autoremove' to remove them. 1335s The following packages will be REMOVED: 1335s bolt* cloud-init* dconf-gsettings-backend* dconf-service* fwupd* 1335s gsettings-desktop-schemas* libblockdev-crypto3* libblockdev-fs3* 1335s libblockdev-loop3* libblockdev-mdraid3* libblockdev-nvme3* 1335s libblockdev-part3* libblockdev-swap3* libblockdev-utils3* libblockdev3* 1335s libdconf1* libfwupd2* libgirepository-1.0-1* libglib2.0-0xyz* 1335s libgudev-1.0-0* libgusb2* libjcat1* libjson-glib-1.0-0* libmbim-glib4* 1335s libmbim-proxy* libmm-glib0* libnetplan0* libpolkit-agent-1-0* 1335s libpolkit-gobject-1-0* libqmi-glib5* libqmi-proxy* libqrtr-glib0* 1335s libudisks2-0* libvolume-key1* libxmlb2* netplan-generator* netplan.io* 1335s python3-dbus* python3-netplan* session-migration* shared-mime-info* 1335s ubuntu-minimal* udisks2* 1335s 0 upgraded, 0 newly installed, 43 to remove and 0 not upgraded. 1335s After this operation, 41.3 MB disk space will be freed. 1335s (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 ... 70024 files and directories currently installed.) 1335s Removing bolt (0.9.6-2) ... 1335s Removing cloud-init (24.1.1-0ubuntu1) ... 1336s Removing gsettings-desktop-schemas (46~beta-3ubuntu1) ... 1336s Removing dconf-gsettings-backend:ppc64el (0.40.0-4) ... 1336s Removing dconf-service (0.40.0-4) ... 1336s Removing fwupd (1.9.14-1) ... 1336s Removing udisks2 (2.10.1-1ubuntu2) ... 1337s Removing libblockdev-crypto3:ppc64el (3.1.0-1) ... 1337s Removing libblockdev-fs3:ppc64el (3.1.0-1) ... 1337s Removing libblockdev-loop3:ppc64el (3.1.0-1) ... 1337s Removing libblockdev-mdraid3:ppc64el (3.1.0-1) ... 1337s Removing libblockdev-nvme3:ppc64el (3.1.0-1) ... 1337s Removing libblockdev-part3:ppc64el (3.1.0-1) ... 1337s Removing libblockdev-swap3:ppc64el (3.1.0-1) ... 1337s Removing libblockdev3:ppc64el (3.1.0-1) ... 1337s Removing libblockdev-utils3:ppc64el (3.1.0-1) ... 1337s Removing libdconf1:ppc64el (0.40.0-4) ... 1337s Removing libfwupd2:ppc64el (1.9.14-1) ... 1337s Removing libgirepository-1.0-1:ppc64el (1.79.1-1) ... 1337s Removing session-migration (0.3.6) ... 1337s Removing shared-mime-info (2.4-1) ... 1337s Removing ubuntu-minimal (1.535) ... 1337s Removing netplan.io (0.107.1-3) ... 1337s dpkg: warning: while removing netplan.io, directory '/usr/share/netplan/netplan_cli/cli/commands' not empty so not removed 1337s Removing python3-dbus (1.3.2-5build1) ... 1337s Removing netplan-generator (0.107.1-3) ... 1337s dpkg: warning: while removing netplan-generator, directory '/etc/netplan' not empty so not removed 1337s Removing libgudev-1.0-0:ppc64el (1:238-3) ... 1337s Removing libgusb2:ppc64el (0.4.8-1) ... 1337s Removing libjcat1:ppc64el (0.2.0-2) ... 1337s Removing libjson-glib-1.0-0:ppc64el (1.8.0-2) ... 1337s Removing libqmi-proxy (1.34.0-2) ... 1337s Removing libqmi-glib5:ppc64el (1.34.0-2) ... 1337s Removing libmbim-proxy (1.30.0-1) ... 1337s Removing libmbim-glib4:ppc64el (1.30.0-1) ... 1337s Removing libmm-glib0:ppc64el (1.22.0-3) ... 1337s Removing python3-netplan (0.107.1-3) ... 1337s dpkg: warning: while removing python3-netplan, directory '/usr/lib/python3/dist-packages/netplan' not empty so not removed 1337s Removing libnetplan0:ppc64el (0.107.1-3) ... 1337s Removing libpolkit-agent-1-0:ppc64el (124-1) ... 1337s Removing libpolkit-gobject-1-0:ppc64el (124-1) ... 1337s Removing libqrtr-glib0:ppc64el (1.2.2-1ubuntu2) ... 1337s Removing libudisks2-0:ppc64el (2.10.1-1ubuntu2) ... 1337s Removing libvolume-key1:ppc64el (0.3.12-5build2) ... 1337s Removing libxmlb2:ppc64el (0.3.15-1) ... 1337s Removing libglib2.0-0xyz:ppc64el (2.79.3-3ubuntu5) ... 1337s Processing triggers for man-db (2.12.0-3) ... 1338s Processing triggers for dbus (1.14.10-4ubuntu1) ... 1338s Processing triggers for libc-bin (2.39-0ubuntu2) ... 1338s (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 ... 69121 files and directories currently installed.) 1338s Purging configuration files for udisks2 (2.10.1-1ubuntu2) ... 1338s Purging configuration files for session-migration (0.3.6) ... 1338s Purging configuration files for cloud-init (24.1.1-0ubuntu1) ... 1339s dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed 1339s Purging configuration files for libglib2.0-0xyz:ppc64el (2.79.3-3ubuntu5) ... 1339s Purging configuration files for libblockdev3:ppc64el (3.1.0-1) ... 1339s Purging configuration files for shared-mime-info (2.4-1) ... 1339s Purging configuration files for fwupd (1.9.14-1) ... 1339s Purging configuration files for bolt (0.9.6-2) ... 1340s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 1340s ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1340s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1340s + n=13 1340s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1340s + echo ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1340s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1340s + n=14 1340s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1340s + echo ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1340s + assert_not test -e /usr/lib/*/gio/modules/libdconfsettings.so 1340s + n=15 1340s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1340s + echo ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 1340s + assert_not test -e /usr/lib/*/gio/modules/giomodule.cache 1340s + n=16 1340s + test -e /usr/lib/*/gio/modules/giomodule.cache 1340s + echo ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 1340s + echo 1..16 1340s + exit 0 1340s ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1340s ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 1340s ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 1340s 1..16 1340s autopkgtest [01:23:55]: test 1065022-futureproofing: -----------------------] 1341s autopkgtest [01:23:56]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - - 1341s 1065022-futureproofing PASS 1341s autopkgtest [01:23:56]: @@@@@@@@@@@@@@@@@@@@ summary 1341s build PASS (superficial) 1341s build-static PASS (superficial) 1341s installed-tests PASS 1341s closure-refcount PASS 1341s debugcontroller PASS 1341s gdbus-server-auth PASS 1341s gdbus-threading PASS 1341s gmenumodel PASS 1341s mainloop PASS 1341s memory-monitor-dbus PASS 1341s socket PASS 1341s testfilemonitor PASS 1341s thread-pool-slow PASS 1341s threadtests PASS 1341s timeout PASS 1341s timer PASS 1341s 1065022-futureproofing PASS 1361s Creating nova instance adt-noble-ppc64el-glib2.0-20240314-010135-juju-7f2275-prod-proposed-migration-environment-2 from image adt/ubuntu-noble-ppc64el-server-20240314.img (UUID 438daa89-732e-4eab-98ca-4d7eade8166d)... 1361s Creating nova instance adt-noble-ppc64el-glib2.0-20240314-010135-juju-7f2275-prod-proposed-migration-environment-2 from image adt/ubuntu-noble-ppc64el-server-20240314.img (UUID 438daa89-732e-4eab-98ca-4d7eade8166d)... 1361s Creating nova instance adt-noble-ppc64el-glib2.0-20240314-010135-juju-7f2275-prod-proposed-migration-environment-2 from image adt/ubuntu-noble-ppc64el-server-20240314.img (UUID 438daa89-732e-4eab-98ca-4d7eade8166d)...